glue

package
v3.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 25, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CatalogDatabase

type CatalogDatabase struct {
	pulumi.CustomResourceState

	// The ARN of the Glue Catalog Database.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// ID of the Glue Catalog to create the database in. If omitted, this defaults to the AWS Account ID.
	CatalogId pulumi.StringOutput `pulumi:"catalogId"`
	// Description of the database.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The location of the database (for example, an HDFS path).
	LocationUri pulumi.StringPtrOutput `pulumi:"locationUri"`
	// The name of the database.
	Name pulumi.StringOutput `pulumi:"name"`
	// A list of key-value pairs that define parameters and properties of the database.
	Parameters pulumi.StringMapOutput `pulumi:"parameters"`
}

Provides a Glue Catalog Database Resource. You can refer to the [Glue Developer Guide](http://docs.aws.amazon.com/glue/latest/dg/populate-data-catalog.html) for a full explanation of the Glue Data Catalog functionality

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/glue"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := glue.NewCatalogDatabase(ctx, "awsGlueCatalogDatabase", &glue.CatalogDatabaseArgs{
			Name: pulumi.String("MyCatalogDatabase"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetCatalogDatabase

func GetCatalogDatabase(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CatalogDatabaseState, opts ...pulumi.ResourceOption) (*CatalogDatabase, error)

GetCatalogDatabase gets an existing CatalogDatabase resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCatalogDatabase

func NewCatalogDatabase(ctx *pulumi.Context,
	name string, args *CatalogDatabaseArgs, opts ...pulumi.ResourceOption) (*CatalogDatabase, error)

NewCatalogDatabase registers a new resource with the given unique name, arguments, and options.

type CatalogDatabaseArgs

type CatalogDatabaseArgs struct {
	// ID of the Glue Catalog to create the database in. If omitted, this defaults to the AWS Account ID.
	CatalogId pulumi.StringPtrInput
	// Description of the database.
	Description pulumi.StringPtrInput
	// The location of the database (for example, an HDFS path).
	LocationUri pulumi.StringPtrInput
	// The name of the database.
	Name pulumi.StringPtrInput
	// A list of key-value pairs that define parameters and properties of the database.
	Parameters pulumi.StringMapInput
}

The set of arguments for constructing a CatalogDatabase resource.

func (CatalogDatabaseArgs) ElementType

func (CatalogDatabaseArgs) ElementType() reflect.Type

type CatalogDatabaseState

type CatalogDatabaseState struct {
	// The ARN of the Glue Catalog Database.
	Arn pulumi.StringPtrInput
	// ID of the Glue Catalog to create the database in. If omitted, this defaults to the AWS Account ID.
	CatalogId pulumi.StringPtrInput
	// Description of the database.
	Description pulumi.StringPtrInput
	// The location of the database (for example, an HDFS path).
	LocationUri pulumi.StringPtrInput
	// The name of the database.
	Name pulumi.StringPtrInput
	// A list of key-value pairs that define parameters and properties of the database.
	Parameters pulumi.StringMapInput
}

func (CatalogDatabaseState) ElementType

func (CatalogDatabaseState) ElementType() reflect.Type

type CatalogTable

type CatalogTable struct {
	pulumi.CustomResourceState

	// The ARN of the Glue Table.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// ID of the Glue Catalog and database to create the table in. If omitted, this defaults to the AWS Account ID plus the database name.
	CatalogId pulumi.StringOutput `pulumi:"catalogId"`
	// Name of the metadata database where the table metadata resides. For Hive compatibility, this must be all lowercase.
	DatabaseName pulumi.StringOutput `pulumi:"databaseName"`
	// Description of the table.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Name of the SerDe.
	Name pulumi.StringOutput `pulumi:"name"`
	// Owner of the table.
	Owner pulumi.StringPtrOutput `pulumi:"owner"`
	// A map of initialization parameters for the SerDe, in key-value form.
	Parameters pulumi.StringMapOutput `pulumi:"parameters"`
	// A list of columns by which the table is partitioned. Only primitive types are supported as partition keys.
	PartitionKeys CatalogTablePartitionKeyArrayOutput `pulumi:"partitionKeys"`
	// Retention time for this table.
	Retention pulumi.IntPtrOutput `pulumi:"retention"`
	// A storage descriptor object containing information about the physical storage of this table. You can refer to the [Glue Developer Guide](https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-catalog-tables.html#aws-glue-api-catalog-tables-StorageDescriptor) for a full explanation of this object.
	StorageDescriptor CatalogTableStorageDescriptorPtrOutput `pulumi:"storageDescriptor"`
	// The type of this table (EXTERNAL_TABLE, VIRTUAL_VIEW, etc.).
	TableType pulumi.StringPtrOutput `pulumi:"tableType"`
	// If the table is a view, the expanded text of the view; otherwise null.
	ViewExpandedText pulumi.StringPtrOutput `pulumi:"viewExpandedText"`
	// If the table is a view, the original text of the view; otherwise null.
	ViewOriginalText pulumi.StringPtrOutput `pulumi:"viewOriginalText"`
}

Provides a Glue Catalog Table Resource. You can refer to the [Glue Developer Guide](http://docs.aws.amazon.com/glue/latest/dg/populate-data-catalog.html) for a full explanation of the Glue Data Catalog functionality.

## Example Usage ### Basic Table

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/glue"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := glue.NewCatalogTable(ctx, "awsGlueCatalogTable", &glue.CatalogTableArgs{
			DatabaseName: pulumi.String("MyCatalogDatabase"),
			Name:         pulumi.String("MyCatalogTable"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Parquet Table for Athena

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/glue"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := glue.NewCatalogTable(ctx, "awsGlueCatalogTable", &glue.CatalogTableArgs{
			DatabaseName: pulumi.String("MyCatalogDatabase"),
			Name:         pulumi.String("MyCatalogTable"),
			Parameters: pulumi.StringMap{
				"EXTERNAL":            pulumi.String("TRUE"),
				"parquet.compression": pulumi.String("SNAPPY"),
			},
			StorageDescriptor: &glue.CatalogTableStorageDescriptorArgs{
				Columns: glue.CatalogTableStorageDescriptorColumnArray{
					&glue.CatalogTableStorageDescriptorColumnArgs{
						Name: pulumi.String("my_string"),
						Type: pulumi.String("string"),
					},
					&glue.CatalogTableStorageDescriptorColumnArgs{
						Name: pulumi.String("my_double"),
						Type: pulumi.String("double"),
					},
					&glue.CatalogTableStorageDescriptorColumnArgs{
						Comment: pulumi.String(""),
						Name:    pulumi.String("my_date"),
						Type:    pulumi.String("date"),
					},
					&glue.CatalogTableStorageDescriptorColumnArgs{
						Comment: pulumi.String(""),
						Name:    pulumi.String("my_bigint"),
						Type:    pulumi.String("bigint"),
					},
					&glue.CatalogTableStorageDescriptorColumnArgs{
						Comment: pulumi.String(""),
						Name:    pulumi.String("my_struct"),
						Type:    pulumi.String("struct<my_nested_string:string>"),
					},
				},
				InputFormat:  pulumi.String("org.apache.hadoop.hive.ql.io.parquet.MapredParquetInputFormat"),
				Location:     pulumi.String("s3://my-bucket/event-streams/my-stream"),
				OutputFormat: pulumi.String("org.apache.hadoop.hive.ql.io.parquet.MapredParquetOutputFormat"),
				SerDeInfo: &glue.CatalogTableStorageDescriptorSerDeInfoArgs{
					Name: pulumi.String("my-stream"),
					Parameters: pulumi.StringMap{
						"serialization.format": pulumi.String("1"),
					},
					SerializationLibrary: pulumi.String("org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe"),
				},
			},
			TableType: pulumi.String("EXTERNAL_TABLE"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetCatalogTable

func GetCatalogTable(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CatalogTableState, opts ...pulumi.ResourceOption) (*CatalogTable, error)

GetCatalogTable gets an existing CatalogTable resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCatalogTable

func NewCatalogTable(ctx *pulumi.Context,
	name string, args *CatalogTableArgs, opts ...pulumi.ResourceOption) (*CatalogTable, error)

NewCatalogTable registers a new resource with the given unique name, arguments, and options.

type CatalogTableArgs

type CatalogTableArgs struct {
	// ID of the Glue Catalog and database to create the table in. If omitted, this defaults to the AWS Account ID plus the database name.
	CatalogId pulumi.StringPtrInput
	// Name of the metadata database where the table metadata resides. For Hive compatibility, this must be all lowercase.
	DatabaseName pulumi.StringInput
	// Description of the table.
	Description pulumi.StringPtrInput
	// Name of the SerDe.
	Name pulumi.StringPtrInput
	// Owner of the table.
	Owner pulumi.StringPtrInput
	// A map of initialization parameters for the SerDe, in key-value form.
	Parameters pulumi.StringMapInput
	// A list of columns by which the table is partitioned. Only primitive types are supported as partition keys.
	PartitionKeys CatalogTablePartitionKeyArrayInput
	// Retention time for this table.
	Retention pulumi.IntPtrInput
	// A storage descriptor object containing information about the physical storage of this table. You can refer to the [Glue Developer Guide](https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-catalog-tables.html#aws-glue-api-catalog-tables-StorageDescriptor) for a full explanation of this object.
	StorageDescriptor CatalogTableStorageDescriptorPtrInput
	// The type of this table (EXTERNAL_TABLE, VIRTUAL_VIEW, etc.).
	TableType pulumi.StringPtrInput
	// If the table is a view, the expanded text of the view; otherwise null.
	ViewExpandedText pulumi.StringPtrInput
	// If the table is a view, the original text of the view; otherwise null.
	ViewOriginalText pulumi.StringPtrInput
}

The set of arguments for constructing a CatalogTable resource.

func (CatalogTableArgs) ElementType

func (CatalogTableArgs) ElementType() reflect.Type

type CatalogTablePartitionKey

type CatalogTablePartitionKey struct {
	// Free-form text comment.
	Comment *string `pulumi:"comment"`
	// Name of the SerDe.
	Name string `pulumi:"name"`
	// The datatype of data in the Column.
	Type *string `pulumi:"type"`
}

type CatalogTablePartitionKeyArgs

type CatalogTablePartitionKeyArgs struct {
	// Free-form text comment.
	Comment pulumi.StringPtrInput `pulumi:"comment"`
	// Name of the SerDe.
	Name pulumi.StringInput `pulumi:"name"`
	// The datatype of data in the Column.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

func (CatalogTablePartitionKeyArgs) ElementType

func (CatalogTablePartitionKeyArgs) ToCatalogTablePartitionKeyOutput

func (i CatalogTablePartitionKeyArgs) ToCatalogTablePartitionKeyOutput() CatalogTablePartitionKeyOutput

func (CatalogTablePartitionKeyArgs) ToCatalogTablePartitionKeyOutputWithContext

func (i CatalogTablePartitionKeyArgs) ToCatalogTablePartitionKeyOutputWithContext(ctx context.Context) CatalogTablePartitionKeyOutput

type CatalogTablePartitionKeyArray

type CatalogTablePartitionKeyArray []CatalogTablePartitionKeyInput

func (CatalogTablePartitionKeyArray) ElementType

func (CatalogTablePartitionKeyArray) ToCatalogTablePartitionKeyArrayOutput

func (i CatalogTablePartitionKeyArray) ToCatalogTablePartitionKeyArrayOutput() CatalogTablePartitionKeyArrayOutput

func (CatalogTablePartitionKeyArray) ToCatalogTablePartitionKeyArrayOutputWithContext

func (i CatalogTablePartitionKeyArray) ToCatalogTablePartitionKeyArrayOutputWithContext(ctx context.Context) CatalogTablePartitionKeyArrayOutput

type CatalogTablePartitionKeyArrayInput

type CatalogTablePartitionKeyArrayInput interface {
	pulumi.Input

	ToCatalogTablePartitionKeyArrayOutput() CatalogTablePartitionKeyArrayOutput
	ToCatalogTablePartitionKeyArrayOutputWithContext(context.Context) CatalogTablePartitionKeyArrayOutput
}

CatalogTablePartitionKeyArrayInput is an input type that accepts CatalogTablePartitionKeyArray and CatalogTablePartitionKeyArrayOutput values. You can construct a concrete instance of `CatalogTablePartitionKeyArrayInput` via:

CatalogTablePartitionKeyArray{ CatalogTablePartitionKeyArgs{...} }

type CatalogTablePartitionKeyArrayOutput

type CatalogTablePartitionKeyArrayOutput struct{ *pulumi.OutputState }

func (CatalogTablePartitionKeyArrayOutput) ElementType

func (CatalogTablePartitionKeyArrayOutput) Index

func (CatalogTablePartitionKeyArrayOutput) ToCatalogTablePartitionKeyArrayOutput

func (o CatalogTablePartitionKeyArrayOutput) ToCatalogTablePartitionKeyArrayOutput() CatalogTablePartitionKeyArrayOutput

func (CatalogTablePartitionKeyArrayOutput) ToCatalogTablePartitionKeyArrayOutputWithContext

func (o CatalogTablePartitionKeyArrayOutput) ToCatalogTablePartitionKeyArrayOutputWithContext(ctx context.Context) CatalogTablePartitionKeyArrayOutput

type CatalogTablePartitionKeyInput

type CatalogTablePartitionKeyInput interface {
	pulumi.Input

	ToCatalogTablePartitionKeyOutput() CatalogTablePartitionKeyOutput
	ToCatalogTablePartitionKeyOutputWithContext(context.Context) CatalogTablePartitionKeyOutput
}

CatalogTablePartitionKeyInput is an input type that accepts CatalogTablePartitionKeyArgs and CatalogTablePartitionKeyOutput values. You can construct a concrete instance of `CatalogTablePartitionKeyInput` via:

CatalogTablePartitionKeyArgs{...}

type CatalogTablePartitionKeyOutput

type CatalogTablePartitionKeyOutput struct{ *pulumi.OutputState }

func (CatalogTablePartitionKeyOutput) Comment

Free-form text comment.

func (CatalogTablePartitionKeyOutput) ElementType

func (CatalogTablePartitionKeyOutput) Name

Name of the SerDe.

func (CatalogTablePartitionKeyOutput) ToCatalogTablePartitionKeyOutput

func (o CatalogTablePartitionKeyOutput) ToCatalogTablePartitionKeyOutput() CatalogTablePartitionKeyOutput

func (CatalogTablePartitionKeyOutput) ToCatalogTablePartitionKeyOutputWithContext

func (o CatalogTablePartitionKeyOutput) ToCatalogTablePartitionKeyOutputWithContext(ctx context.Context) CatalogTablePartitionKeyOutput

func (CatalogTablePartitionKeyOutput) Type

The datatype of data in the Column.

type CatalogTableState

type CatalogTableState struct {
	// The ARN of the Glue Table.
	Arn pulumi.StringPtrInput
	// ID of the Glue Catalog and database to create the table in. If omitted, this defaults to the AWS Account ID plus the database name.
	CatalogId pulumi.StringPtrInput
	// Name of the metadata database where the table metadata resides. For Hive compatibility, this must be all lowercase.
	DatabaseName pulumi.StringPtrInput
	// Description of the table.
	Description pulumi.StringPtrInput
	// Name of the SerDe.
	Name pulumi.StringPtrInput
	// Owner of the table.
	Owner pulumi.StringPtrInput
	// A map of initialization parameters for the SerDe, in key-value form.
	Parameters pulumi.StringMapInput
	// A list of columns by which the table is partitioned. Only primitive types are supported as partition keys.
	PartitionKeys CatalogTablePartitionKeyArrayInput
	// Retention time for this table.
	Retention pulumi.IntPtrInput
	// A storage descriptor object containing information about the physical storage of this table. You can refer to the [Glue Developer Guide](https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-catalog-tables.html#aws-glue-api-catalog-tables-StorageDescriptor) for a full explanation of this object.
	StorageDescriptor CatalogTableStorageDescriptorPtrInput
	// The type of this table (EXTERNAL_TABLE, VIRTUAL_VIEW, etc.).
	TableType pulumi.StringPtrInput
	// If the table is a view, the expanded text of the view; otherwise null.
	ViewExpandedText pulumi.StringPtrInput
	// If the table is a view, the original text of the view; otherwise null.
	ViewOriginalText pulumi.StringPtrInput
}

func (CatalogTableState) ElementType

func (CatalogTableState) ElementType() reflect.Type

type CatalogTableStorageDescriptor

type CatalogTableStorageDescriptor struct {
	// A list of reducer grouping columns, clustering columns, and bucketing columns in the table.
	BucketColumns []string `pulumi:"bucketColumns"`
	// A list of the Columns in the table.
	Columns []CatalogTableStorageDescriptorColumn `pulumi:"columns"`
	// True if the data in the table is compressed, or False if not.
	Compressed *bool `pulumi:"compressed"`
	// The input format: SequenceFileInputFormat (binary), or TextInputFormat, or a custom format.
	InputFormat *string `pulumi:"inputFormat"`
	// The physical location of the table. By default this takes the form of the warehouse location, followed by the database location in the warehouse, followed by the table name.
	Location *string `pulumi:"location"`
	// Must be specified if the table contains any dimension columns.
	NumberOfBuckets *int `pulumi:"numberOfBuckets"`
	// The output format: SequenceFileOutputFormat (binary), or IgnoreKeyTextOutputFormat, or a custom format.
	OutputFormat *string `pulumi:"outputFormat"`
	// A map of initialization parameters for the SerDe, in key-value form.
	Parameters map[string]string `pulumi:"parameters"`
	// Serialization/deserialization (SerDe) information.
	SerDeInfo *CatalogTableStorageDescriptorSerDeInfo `pulumi:"serDeInfo"`
	// Information about values that appear very frequently in a column (skewed values).
	SkewedInfo *CatalogTableStorageDescriptorSkewedInfo `pulumi:"skewedInfo"`
	// A list of Order objects specifying the sort order of each bucket in the table.
	SortColumns []CatalogTableStorageDescriptorSortColumn `pulumi:"sortColumns"`
	// True if the table data is stored in subdirectories, or False if not.
	StoredAsSubDirectories *bool `pulumi:"storedAsSubDirectories"`
}

type CatalogTableStorageDescriptorArgs

type CatalogTableStorageDescriptorArgs struct {
	// A list of reducer grouping columns, clustering columns, and bucketing columns in the table.
	BucketColumns pulumi.StringArrayInput `pulumi:"bucketColumns"`
	// A list of the Columns in the table.
	Columns CatalogTableStorageDescriptorColumnArrayInput `pulumi:"columns"`
	// True if the data in the table is compressed, or False if not.
	Compressed pulumi.BoolPtrInput `pulumi:"compressed"`
	// The input format: SequenceFileInputFormat (binary), or TextInputFormat, or a custom format.
	InputFormat pulumi.StringPtrInput `pulumi:"inputFormat"`
	// The physical location of the table. By default this takes the form of the warehouse location, followed by the database location in the warehouse, followed by the table name.
	Location pulumi.StringPtrInput `pulumi:"location"`
	// Must be specified if the table contains any dimension columns.
	NumberOfBuckets pulumi.IntPtrInput `pulumi:"numberOfBuckets"`
	// The output format: SequenceFileOutputFormat (binary), or IgnoreKeyTextOutputFormat, or a custom format.
	OutputFormat pulumi.StringPtrInput `pulumi:"outputFormat"`
	// A map of initialization parameters for the SerDe, in key-value form.
	Parameters pulumi.StringMapInput `pulumi:"parameters"`
	// Serialization/deserialization (SerDe) information.
	SerDeInfo CatalogTableStorageDescriptorSerDeInfoPtrInput `pulumi:"serDeInfo"`
	// Information about values that appear very frequently in a column (skewed values).
	SkewedInfo CatalogTableStorageDescriptorSkewedInfoPtrInput `pulumi:"skewedInfo"`
	// A list of Order objects specifying the sort order of each bucket in the table.
	SortColumns CatalogTableStorageDescriptorSortColumnArrayInput `pulumi:"sortColumns"`
	// True if the table data is stored in subdirectories, or False if not.
	StoredAsSubDirectories pulumi.BoolPtrInput `pulumi:"storedAsSubDirectories"`
}

func (CatalogTableStorageDescriptorArgs) ElementType

func (CatalogTableStorageDescriptorArgs) ToCatalogTableStorageDescriptorOutput

func (i CatalogTableStorageDescriptorArgs) ToCatalogTableStorageDescriptorOutput() CatalogTableStorageDescriptorOutput

func (CatalogTableStorageDescriptorArgs) ToCatalogTableStorageDescriptorOutputWithContext

func (i CatalogTableStorageDescriptorArgs) ToCatalogTableStorageDescriptorOutputWithContext(ctx context.Context) CatalogTableStorageDescriptorOutput

func (CatalogTableStorageDescriptorArgs) ToCatalogTableStorageDescriptorPtrOutput

func (i CatalogTableStorageDescriptorArgs) ToCatalogTableStorageDescriptorPtrOutput() CatalogTableStorageDescriptorPtrOutput

func (CatalogTableStorageDescriptorArgs) ToCatalogTableStorageDescriptorPtrOutputWithContext

func (i CatalogTableStorageDescriptorArgs) ToCatalogTableStorageDescriptorPtrOutputWithContext(ctx context.Context) CatalogTableStorageDescriptorPtrOutput

type CatalogTableStorageDescriptorColumn

type CatalogTableStorageDescriptorColumn struct {
	// Free-form text comment.
	Comment *string `pulumi:"comment"`
	// Name of the SerDe.
	Name string `pulumi:"name"`
	// The datatype of data in the Column.
	Type *string `pulumi:"type"`
}

type CatalogTableStorageDescriptorColumnArgs

type CatalogTableStorageDescriptorColumnArgs struct {
	// Free-form text comment.
	Comment pulumi.StringPtrInput `pulumi:"comment"`
	// Name of the SerDe.
	Name pulumi.StringInput `pulumi:"name"`
	// The datatype of data in the Column.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

func (CatalogTableStorageDescriptorColumnArgs) ElementType

func (CatalogTableStorageDescriptorColumnArgs) ToCatalogTableStorageDescriptorColumnOutput

func (i CatalogTableStorageDescriptorColumnArgs) ToCatalogTableStorageDescriptorColumnOutput() CatalogTableStorageDescriptorColumnOutput

func (CatalogTableStorageDescriptorColumnArgs) ToCatalogTableStorageDescriptorColumnOutputWithContext

func (i CatalogTableStorageDescriptorColumnArgs) ToCatalogTableStorageDescriptorColumnOutputWithContext(ctx context.Context) CatalogTableStorageDescriptorColumnOutput

type CatalogTableStorageDescriptorColumnArray

type CatalogTableStorageDescriptorColumnArray []CatalogTableStorageDescriptorColumnInput

func (CatalogTableStorageDescriptorColumnArray) ElementType

func (CatalogTableStorageDescriptorColumnArray) ToCatalogTableStorageDescriptorColumnArrayOutput

func (i CatalogTableStorageDescriptorColumnArray) ToCatalogTableStorageDescriptorColumnArrayOutput() CatalogTableStorageDescriptorColumnArrayOutput

func (CatalogTableStorageDescriptorColumnArray) ToCatalogTableStorageDescriptorColumnArrayOutputWithContext

func (i CatalogTableStorageDescriptorColumnArray) ToCatalogTableStorageDescriptorColumnArrayOutputWithContext(ctx context.Context) CatalogTableStorageDescriptorColumnArrayOutput

type CatalogTableStorageDescriptorColumnArrayInput

type CatalogTableStorageDescriptorColumnArrayInput interface {
	pulumi.Input

	ToCatalogTableStorageDescriptorColumnArrayOutput() CatalogTableStorageDescriptorColumnArrayOutput
	ToCatalogTableStorageDescriptorColumnArrayOutputWithContext(context.Context) CatalogTableStorageDescriptorColumnArrayOutput
}

CatalogTableStorageDescriptorColumnArrayInput is an input type that accepts CatalogTableStorageDescriptorColumnArray and CatalogTableStorageDescriptorColumnArrayOutput values. You can construct a concrete instance of `CatalogTableStorageDescriptorColumnArrayInput` via:

CatalogTableStorageDescriptorColumnArray{ CatalogTableStorageDescriptorColumnArgs{...} }

type CatalogTableStorageDescriptorColumnArrayOutput

type CatalogTableStorageDescriptorColumnArrayOutput struct{ *pulumi.OutputState }

func (CatalogTableStorageDescriptorColumnArrayOutput) ElementType

func (CatalogTableStorageDescriptorColumnArrayOutput) Index

func (CatalogTableStorageDescriptorColumnArrayOutput) ToCatalogTableStorageDescriptorColumnArrayOutput

func (o CatalogTableStorageDescriptorColumnArrayOutput) ToCatalogTableStorageDescriptorColumnArrayOutput() CatalogTableStorageDescriptorColumnArrayOutput

func (CatalogTableStorageDescriptorColumnArrayOutput) ToCatalogTableStorageDescriptorColumnArrayOutputWithContext

func (o CatalogTableStorageDescriptorColumnArrayOutput) ToCatalogTableStorageDescriptorColumnArrayOutputWithContext(ctx context.Context) CatalogTableStorageDescriptorColumnArrayOutput

type CatalogTableStorageDescriptorColumnInput

type CatalogTableStorageDescriptorColumnInput interface {
	pulumi.Input

	ToCatalogTableStorageDescriptorColumnOutput() CatalogTableStorageDescriptorColumnOutput
	ToCatalogTableStorageDescriptorColumnOutputWithContext(context.Context) CatalogTableStorageDescriptorColumnOutput
}

CatalogTableStorageDescriptorColumnInput is an input type that accepts CatalogTableStorageDescriptorColumnArgs and CatalogTableStorageDescriptorColumnOutput values. You can construct a concrete instance of `CatalogTableStorageDescriptorColumnInput` via:

CatalogTableStorageDescriptorColumnArgs{...}

type CatalogTableStorageDescriptorColumnOutput

type CatalogTableStorageDescriptorColumnOutput struct{ *pulumi.OutputState }

func (CatalogTableStorageDescriptorColumnOutput) Comment

Free-form text comment.

func (CatalogTableStorageDescriptorColumnOutput) ElementType

func (CatalogTableStorageDescriptorColumnOutput) Name

Name of the SerDe.

func (CatalogTableStorageDescriptorColumnOutput) ToCatalogTableStorageDescriptorColumnOutput

func (o CatalogTableStorageDescriptorColumnOutput) ToCatalogTableStorageDescriptorColumnOutput() CatalogTableStorageDescriptorColumnOutput

func (CatalogTableStorageDescriptorColumnOutput) ToCatalogTableStorageDescriptorColumnOutputWithContext

func (o CatalogTableStorageDescriptorColumnOutput) ToCatalogTableStorageDescriptorColumnOutputWithContext(ctx context.Context) CatalogTableStorageDescriptorColumnOutput

func (CatalogTableStorageDescriptorColumnOutput) Type

The datatype of data in the Column.

type CatalogTableStorageDescriptorInput

type CatalogTableStorageDescriptorInput interface {
	pulumi.Input

	ToCatalogTableStorageDescriptorOutput() CatalogTableStorageDescriptorOutput
	ToCatalogTableStorageDescriptorOutputWithContext(context.Context) CatalogTableStorageDescriptorOutput
}

CatalogTableStorageDescriptorInput is an input type that accepts CatalogTableStorageDescriptorArgs and CatalogTableStorageDescriptorOutput values. You can construct a concrete instance of `CatalogTableStorageDescriptorInput` via:

CatalogTableStorageDescriptorArgs{...}

type CatalogTableStorageDescriptorOutput

type CatalogTableStorageDescriptorOutput struct{ *pulumi.OutputState }

func (CatalogTableStorageDescriptorOutput) BucketColumns

A list of reducer grouping columns, clustering columns, and bucketing columns in the table.

func (CatalogTableStorageDescriptorOutput) Columns

A list of the Columns in the table.

func (CatalogTableStorageDescriptorOutput) Compressed

True if the data in the table is compressed, or False if not.

func (CatalogTableStorageDescriptorOutput) ElementType

func (CatalogTableStorageDescriptorOutput) InputFormat

The input format: SequenceFileInputFormat (binary), or TextInputFormat, or a custom format.

func (CatalogTableStorageDescriptorOutput) Location

The physical location of the table. By default this takes the form of the warehouse location, followed by the database location in the warehouse, followed by the table name.

func (CatalogTableStorageDescriptorOutput) NumberOfBuckets

Must be specified if the table contains any dimension columns.

func (CatalogTableStorageDescriptorOutput) OutputFormat

The output format: SequenceFileOutputFormat (binary), or IgnoreKeyTextOutputFormat, or a custom format.

func (CatalogTableStorageDescriptorOutput) Parameters

A map of initialization parameters for the SerDe, in key-value form.

func (CatalogTableStorageDescriptorOutput) SerDeInfo

Serialization/deserialization (SerDe) information.

func (CatalogTableStorageDescriptorOutput) SkewedInfo

Information about values that appear very frequently in a column (skewed values).

func (CatalogTableStorageDescriptorOutput) SortColumns

A list of Order objects specifying the sort order of each bucket in the table.

func (CatalogTableStorageDescriptorOutput) StoredAsSubDirectories

func (o CatalogTableStorageDescriptorOutput) StoredAsSubDirectories() pulumi.BoolPtrOutput

True if the table data is stored in subdirectories, or False if not.

func (CatalogTableStorageDescriptorOutput) ToCatalogTableStorageDescriptorOutput

func (o CatalogTableStorageDescriptorOutput) ToCatalogTableStorageDescriptorOutput() CatalogTableStorageDescriptorOutput

func (CatalogTableStorageDescriptorOutput) ToCatalogTableStorageDescriptorOutputWithContext

func (o CatalogTableStorageDescriptorOutput) ToCatalogTableStorageDescriptorOutputWithContext(ctx context.Context) CatalogTableStorageDescriptorOutput

func (CatalogTableStorageDescriptorOutput) ToCatalogTableStorageDescriptorPtrOutput

func (o CatalogTableStorageDescriptorOutput) ToCatalogTableStorageDescriptorPtrOutput() CatalogTableStorageDescriptorPtrOutput

func (CatalogTableStorageDescriptorOutput) ToCatalogTableStorageDescriptorPtrOutputWithContext

func (o CatalogTableStorageDescriptorOutput) ToCatalogTableStorageDescriptorPtrOutputWithContext(ctx context.Context) CatalogTableStorageDescriptorPtrOutput

type CatalogTableStorageDescriptorPtrInput

type CatalogTableStorageDescriptorPtrInput interface {
	pulumi.Input

	ToCatalogTableStorageDescriptorPtrOutput() CatalogTableStorageDescriptorPtrOutput
	ToCatalogTableStorageDescriptorPtrOutputWithContext(context.Context) CatalogTableStorageDescriptorPtrOutput
}

CatalogTableStorageDescriptorPtrInput is an input type that accepts CatalogTableStorageDescriptorArgs, CatalogTableStorageDescriptorPtr and CatalogTableStorageDescriptorPtrOutput values. You can construct a concrete instance of `CatalogTableStorageDescriptorPtrInput` via:

        CatalogTableStorageDescriptorArgs{...}

or:

        nil

type CatalogTableStorageDescriptorPtrOutput

type CatalogTableStorageDescriptorPtrOutput struct{ *pulumi.OutputState }

func (CatalogTableStorageDescriptorPtrOutput) BucketColumns

A list of reducer grouping columns, clustering columns, and bucketing columns in the table.

func (CatalogTableStorageDescriptorPtrOutput) Columns

A list of the Columns in the table.

func (CatalogTableStorageDescriptorPtrOutput) Compressed

True if the data in the table is compressed, or False if not.

func (CatalogTableStorageDescriptorPtrOutput) Elem

func (CatalogTableStorageDescriptorPtrOutput) ElementType

func (CatalogTableStorageDescriptorPtrOutput) InputFormat

The input format: SequenceFileInputFormat (binary), or TextInputFormat, or a custom format.

func (CatalogTableStorageDescriptorPtrOutput) Location

The physical location of the table. By default this takes the form of the warehouse location, followed by the database location in the warehouse, followed by the table name.

func (CatalogTableStorageDescriptorPtrOutput) NumberOfBuckets

Must be specified if the table contains any dimension columns.

func (CatalogTableStorageDescriptorPtrOutput) OutputFormat

The output format: SequenceFileOutputFormat (binary), or IgnoreKeyTextOutputFormat, or a custom format.

func (CatalogTableStorageDescriptorPtrOutput) Parameters

A map of initialization parameters for the SerDe, in key-value form.

func (CatalogTableStorageDescriptorPtrOutput) SerDeInfo

Serialization/deserialization (SerDe) information.

func (CatalogTableStorageDescriptorPtrOutput) SkewedInfo

Information about values that appear very frequently in a column (skewed values).

func (CatalogTableStorageDescriptorPtrOutput) SortColumns

A list of Order objects specifying the sort order of each bucket in the table.

func (CatalogTableStorageDescriptorPtrOutput) StoredAsSubDirectories

func (o CatalogTableStorageDescriptorPtrOutput) StoredAsSubDirectories() pulumi.BoolPtrOutput

True if the table data is stored in subdirectories, or False if not.

func (CatalogTableStorageDescriptorPtrOutput) ToCatalogTableStorageDescriptorPtrOutput

func (o CatalogTableStorageDescriptorPtrOutput) ToCatalogTableStorageDescriptorPtrOutput() CatalogTableStorageDescriptorPtrOutput

func (CatalogTableStorageDescriptorPtrOutput) ToCatalogTableStorageDescriptorPtrOutputWithContext

func (o CatalogTableStorageDescriptorPtrOutput) ToCatalogTableStorageDescriptorPtrOutputWithContext(ctx context.Context) CatalogTableStorageDescriptorPtrOutput

type CatalogTableStorageDescriptorSerDeInfo

type CatalogTableStorageDescriptorSerDeInfo struct {
	// Name of the SerDe.
	Name *string `pulumi:"name"`
	// A map of initialization parameters for the SerDe, in key-value form.
	Parameters map[string]string `pulumi:"parameters"`
	// Usually the class that implements the SerDe. An example is: org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe.
	SerializationLibrary *string `pulumi:"serializationLibrary"`
}

type CatalogTableStorageDescriptorSerDeInfoArgs

type CatalogTableStorageDescriptorSerDeInfoArgs struct {
	// Name of the SerDe.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// A map of initialization parameters for the SerDe, in key-value form.
	Parameters pulumi.StringMapInput `pulumi:"parameters"`
	// Usually the class that implements the SerDe. An example is: org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe.
	SerializationLibrary pulumi.StringPtrInput `pulumi:"serializationLibrary"`
}

func (CatalogTableStorageDescriptorSerDeInfoArgs) ElementType

func (CatalogTableStorageDescriptorSerDeInfoArgs) ToCatalogTableStorageDescriptorSerDeInfoOutput

func (i CatalogTableStorageDescriptorSerDeInfoArgs) ToCatalogTableStorageDescriptorSerDeInfoOutput() CatalogTableStorageDescriptorSerDeInfoOutput

func (CatalogTableStorageDescriptorSerDeInfoArgs) ToCatalogTableStorageDescriptorSerDeInfoOutputWithContext

func (i CatalogTableStorageDescriptorSerDeInfoArgs) ToCatalogTableStorageDescriptorSerDeInfoOutputWithContext(ctx context.Context) CatalogTableStorageDescriptorSerDeInfoOutput

func (CatalogTableStorageDescriptorSerDeInfoArgs) ToCatalogTableStorageDescriptorSerDeInfoPtrOutput

func (i CatalogTableStorageDescriptorSerDeInfoArgs) ToCatalogTableStorageDescriptorSerDeInfoPtrOutput() CatalogTableStorageDescriptorSerDeInfoPtrOutput

func (CatalogTableStorageDescriptorSerDeInfoArgs) ToCatalogTableStorageDescriptorSerDeInfoPtrOutputWithContext

func (i CatalogTableStorageDescriptorSerDeInfoArgs) ToCatalogTableStorageDescriptorSerDeInfoPtrOutputWithContext(ctx context.Context) CatalogTableStorageDescriptorSerDeInfoPtrOutput

type CatalogTableStorageDescriptorSerDeInfoInput

type CatalogTableStorageDescriptorSerDeInfoInput interface {
	pulumi.Input

	ToCatalogTableStorageDescriptorSerDeInfoOutput() CatalogTableStorageDescriptorSerDeInfoOutput
	ToCatalogTableStorageDescriptorSerDeInfoOutputWithContext(context.Context) CatalogTableStorageDescriptorSerDeInfoOutput
}

CatalogTableStorageDescriptorSerDeInfoInput is an input type that accepts CatalogTableStorageDescriptorSerDeInfoArgs and CatalogTableStorageDescriptorSerDeInfoOutput values. You can construct a concrete instance of `CatalogTableStorageDescriptorSerDeInfoInput` via:

CatalogTableStorageDescriptorSerDeInfoArgs{...}

type CatalogTableStorageDescriptorSerDeInfoOutput

type CatalogTableStorageDescriptorSerDeInfoOutput struct{ *pulumi.OutputState }

func (CatalogTableStorageDescriptorSerDeInfoOutput) ElementType

func (CatalogTableStorageDescriptorSerDeInfoOutput) Name

Name of the SerDe.

func (CatalogTableStorageDescriptorSerDeInfoOutput) Parameters

A map of initialization parameters for the SerDe, in key-value form.

func (CatalogTableStorageDescriptorSerDeInfoOutput) SerializationLibrary

Usually the class that implements the SerDe. An example is: org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe.

func (CatalogTableStorageDescriptorSerDeInfoOutput) ToCatalogTableStorageDescriptorSerDeInfoOutput

func (o CatalogTableStorageDescriptorSerDeInfoOutput) ToCatalogTableStorageDescriptorSerDeInfoOutput() CatalogTableStorageDescriptorSerDeInfoOutput

func (CatalogTableStorageDescriptorSerDeInfoOutput) ToCatalogTableStorageDescriptorSerDeInfoOutputWithContext

func (o CatalogTableStorageDescriptorSerDeInfoOutput) ToCatalogTableStorageDescriptorSerDeInfoOutputWithContext(ctx context.Context) CatalogTableStorageDescriptorSerDeInfoOutput

func (CatalogTableStorageDescriptorSerDeInfoOutput) ToCatalogTableStorageDescriptorSerDeInfoPtrOutput

func (o CatalogTableStorageDescriptorSerDeInfoOutput) ToCatalogTableStorageDescriptorSerDeInfoPtrOutput() CatalogTableStorageDescriptorSerDeInfoPtrOutput

func (CatalogTableStorageDescriptorSerDeInfoOutput) ToCatalogTableStorageDescriptorSerDeInfoPtrOutputWithContext

func (o CatalogTableStorageDescriptorSerDeInfoOutput) ToCatalogTableStorageDescriptorSerDeInfoPtrOutputWithContext(ctx context.Context) CatalogTableStorageDescriptorSerDeInfoPtrOutput

type CatalogTableStorageDescriptorSerDeInfoPtrInput

type CatalogTableStorageDescriptorSerDeInfoPtrInput interface {
	pulumi.Input

	ToCatalogTableStorageDescriptorSerDeInfoPtrOutput() CatalogTableStorageDescriptorSerDeInfoPtrOutput
	ToCatalogTableStorageDescriptorSerDeInfoPtrOutputWithContext(context.Context) CatalogTableStorageDescriptorSerDeInfoPtrOutput
}

CatalogTableStorageDescriptorSerDeInfoPtrInput is an input type that accepts CatalogTableStorageDescriptorSerDeInfoArgs, CatalogTableStorageDescriptorSerDeInfoPtr and CatalogTableStorageDescriptorSerDeInfoPtrOutput values. You can construct a concrete instance of `CatalogTableStorageDescriptorSerDeInfoPtrInput` via:

        CatalogTableStorageDescriptorSerDeInfoArgs{...}

or:

        nil

type CatalogTableStorageDescriptorSerDeInfoPtrOutput

type CatalogTableStorageDescriptorSerDeInfoPtrOutput struct{ *pulumi.OutputState }

func (CatalogTableStorageDescriptorSerDeInfoPtrOutput) Elem

func (CatalogTableStorageDescriptorSerDeInfoPtrOutput) ElementType

func (CatalogTableStorageDescriptorSerDeInfoPtrOutput) Name

Name of the SerDe.

func (CatalogTableStorageDescriptorSerDeInfoPtrOutput) Parameters

A map of initialization parameters for the SerDe, in key-value form.

func (CatalogTableStorageDescriptorSerDeInfoPtrOutput) SerializationLibrary

Usually the class that implements the SerDe. An example is: org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe.

func (CatalogTableStorageDescriptorSerDeInfoPtrOutput) ToCatalogTableStorageDescriptorSerDeInfoPtrOutput

func (o CatalogTableStorageDescriptorSerDeInfoPtrOutput) ToCatalogTableStorageDescriptorSerDeInfoPtrOutput() CatalogTableStorageDescriptorSerDeInfoPtrOutput

func (CatalogTableStorageDescriptorSerDeInfoPtrOutput) ToCatalogTableStorageDescriptorSerDeInfoPtrOutputWithContext

func (o CatalogTableStorageDescriptorSerDeInfoPtrOutput) ToCatalogTableStorageDescriptorSerDeInfoPtrOutputWithContext(ctx context.Context) CatalogTableStorageDescriptorSerDeInfoPtrOutput

type CatalogTableStorageDescriptorSkewedInfo

type CatalogTableStorageDescriptorSkewedInfo struct {
	// A list of names of columns that contain skewed values.
	SkewedColumnNames []string `pulumi:"skewedColumnNames"`
	// A list of values that appear so frequently as to be considered skewed.
	SkewedColumnValueLocationMaps map[string]string `pulumi:"skewedColumnValueLocationMaps"`
	// A map of skewed values to the columns that contain them.
	SkewedColumnValues []string `pulumi:"skewedColumnValues"`
}

type CatalogTableStorageDescriptorSkewedInfoArgs

type CatalogTableStorageDescriptorSkewedInfoArgs struct {
	// A list of names of columns that contain skewed values.
	SkewedColumnNames pulumi.StringArrayInput `pulumi:"skewedColumnNames"`
	// A list of values that appear so frequently as to be considered skewed.
	SkewedColumnValueLocationMaps pulumi.StringMapInput `pulumi:"skewedColumnValueLocationMaps"`
	// A map of skewed values to the columns that contain them.
	SkewedColumnValues pulumi.StringArrayInput `pulumi:"skewedColumnValues"`
}

func (CatalogTableStorageDescriptorSkewedInfoArgs) ElementType

func (CatalogTableStorageDescriptorSkewedInfoArgs) ToCatalogTableStorageDescriptorSkewedInfoOutput

func (i CatalogTableStorageDescriptorSkewedInfoArgs) ToCatalogTableStorageDescriptorSkewedInfoOutput() CatalogTableStorageDescriptorSkewedInfoOutput

func (CatalogTableStorageDescriptorSkewedInfoArgs) ToCatalogTableStorageDescriptorSkewedInfoOutputWithContext

func (i CatalogTableStorageDescriptorSkewedInfoArgs) ToCatalogTableStorageDescriptorSkewedInfoOutputWithContext(ctx context.Context) CatalogTableStorageDescriptorSkewedInfoOutput

func (CatalogTableStorageDescriptorSkewedInfoArgs) ToCatalogTableStorageDescriptorSkewedInfoPtrOutput

func (i CatalogTableStorageDescriptorSkewedInfoArgs) ToCatalogTableStorageDescriptorSkewedInfoPtrOutput() CatalogTableStorageDescriptorSkewedInfoPtrOutput

func (CatalogTableStorageDescriptorSkewedInfoArgs) ToCatalogTableStorageDescriptorSkewedInfoPtrOutputWithContext

func (i CatalogTableStorageDescriptorSkewedInfoArgs) ToCatalogTableStorageDescriptorSkewedInfoPtrOutputWithContext(ctx context.Context) CatalogTableStorageDescriptorSkewedInfoPtrOutput

type CatalogTableStorageDescriptorSkewedInfoInput

type CatalogTableStorageDescriptorSkewedInfoInput interface {
	pulumi.Input

	ToCatalogTableStorageDescriptorSkewedInfoOutput() CatalogTableStorageDescriptorSkewedInfoOutput
	ToCatalogTableStorageDescriptorSkewedInfoOutputWithContext(context.Context) CatalogTableStorageDescriptorSkewedInfoOutput
}

CatalogTableStorageDescriptorSkewedInfoInput is an input type that accepts CatalogTableStorageDescriptorSkewedInfoArgs and CatalogTableStorageDescriptorSkewedInfoOutput values. You can construct a concrete instance of `CatalogTableStorageDescriptorSkewedInfoInput` via:

CatalogTableStorageDescriptorSkewedInfoArgs{...}

type CatalogTableStorageDescriptorSkewedInfoOutput

type CatalogTableStorageDescriptorSkewedInfoOutput struct{ *pulumi.OutputState }

func (CatalogTableStorageDescriptorSkewedInfoOutput) ElementType

func (CatalogTableStorageDescriptorSkewedInfoOutput) SkewedColumnNames

A list of names of columns that contain skewed values.

func (CatalogTableStorageDescriptorSkewedInfoOutput) SkewedColumnValueLocationMaps

func (o CatalogTableStorageDescriptorSkewedInfoOutput) SkewedColumnValueLocationMaps() pulumi.StringMapOutput

A list of values that appear so frequently as to be considered skewed.

func (CatalogTableStorageDescriptorSkewedInfoOutput) SkewedColumnValues

A map of skewed values to the columns that contain them.

func (CatalogTableStorageDescriptorSkewedInfoOutput) ToCatalogTableStorageDescriptorSkewedInfoOutput

func (o CatalogTableStorageDescriptorSkewedInfoOutput) ToCatalogTableStorageDescriptorSkewedInfoOutput() CatalogTableStorageDescriptorSkewedInfoOutput

func (CatalogTableStorageDescriptorSkewedInfoOutput) ToCatalogTableStorageDescriptorSkewedInfoOutputWithContext

func (o CatalogTableStorageDescriptorSkewedInfoOutput) ToCatalogTableStorageDescriptorSkewedInfoOutputWithContext(ctx context.Context) CatalogTableStorageDescriptorSkewedInfoOutput

func (CatalogTableStorageDescriptorSkewedInfoOutput) ToCatalogTableStorageDescriptorSkewedInfoPtrOutput

func (o CatalogTableStorageDescriptorSkewedInfoOutput) ToCatalogTableStorageDescriptorSkewedInfoPtrOutput() CatalogTableStorageDescriptorSkewedInfoPtrOutput

func (CatalogTableStorageDescriptorSkewedInfoOutput) ToCatalogTableStorageDescriptorSkewedInfoPtrOutputWithContext

func (o CatalogTableStorageDescriptorSkewedInfoOutput) ToCatalogTableStorageDescriptorSkewedInfoPtrOutputWithContext(ctx context.Context) CatalogTableStorageDescriptorSkewedInfoPtrOutput

type CatalogTableStorageDescriptorSkewedInfoPtrInput

type CatalogTableStorageDescriptorSkewedInfoPtrInput interface {
	pulumi.Input

	ToCatalogTableStorageDescriptorSkewedInfoPtrOutput() CatalogTableStorageDescriptorSkewedInfoPtrOutput
	ToCatalogTableStorageDescriptorSkewedInfoPtrOutputWithContext(context.Context) CatalogTableStorageDescriptorSkewedInfoPtrOutput
}

CatalogTableStorageDescriptorSkewedInfoPtrInput is an input type that accepts CatalogTableStorageDescriptorSkewedInfoArgs, CatalogTableStorageDescriptorSkewedInfoPtr and CatalogTableStorageDescriptorSkewedInfoPtrOutput values. You can construct a concrete instance of `CatalogTableStorageDescriptorSkewedInfoPtrInput` via:

        CatalogTableStorageDescriptorSkewedInfoArgs{...}

or:

        nil

type CatalogTableStorageDescriptorSkewedInfoPtrOutput

type CatalogTableStorageDescriptorSkewedInfoPtrOutput struct{ *pulumi.OutputState }

func (CatalogTableStorageDescriptorSkewedInfoPtrOutput) Elem

func (CatalogTableStorageDescriptorSkewedInfoPtrOutput) ElementType

func (CatalogTableStorageDescriptorSkewedInfoPtrOutput) SkewedColumnNames

A list of names of columns that contain skewed values.

func (CatalogTableStorageDescriptorSkewedInfoPtrOutput) SkewedColumnValueLocationMaps

A list of values that appear so frequently as to be considered skewed.

func (CatalogTableStorageDescriptorSkewedInfoPtrOutput) SkewedColumnValues

A map of skewed values to the columns that contain them.

func (CatalogTableStorageDescriptorSkewedInfoPtrOutput) ToCatalogTableStorageDescriptorSkewedInfoPtrOutput

func (o CatalogTableStorageDescriptorSkewedInfoPtrOutput) ToCatalogTableStorageDescriptorSkewedInfoPtrOutput() CatalogTableStorageDescriptorSkewedInfoPtrOutput

func (CatalogTableStorageDescriptorSkewedInfoPtrOutput) ToCatalogTableStorageDescriptorSkewedInfoPtrOutputWithContext

func (o CatalogTableStorageDescriptorSkewedInfoPtrOutput) ToCatalogTableStorageDescriptorSkewedInfoPtrOutputWithContext(ctx context.Context) CatalogTableStorageDescriptorSkewedInfoPtrOutput

type CatalogTableStorageDescriptorSortColumn

type CatalogTableStorageDescriptorSortColumn struct {
	// The name of the column.
	Column string `pulumi:"column"`
	// Indicates that the column is sorted in ascending order (== 1), or in descending order (==0).
	SortOrder int `pulumi:"sortOrder"`
}

type CatalogTableStorageDescriptorSortColumnArgs

type CatalogTableStorageDescriptorSortColumnArgs struct {
	// The name of the column.
	Column pulumi.StringInput `pulumi:"column"`
	// Indicates that the column is sorted in ascending order (== 1), or in descending order (==0).
	SortOrder pulumi.IntInput `pulumi:"sortOrder"`
}

func (CatalogTableStorageDescriptorSortColumnArgs) ElementType

func (CatalogTableStorageDescriptorSortColumnArgs) ToCatalogTableStorageDescriptorSortColumnOutput

func (i CatalogTableStorageDescriptorSortColumnArgs) ToCatalogTableStorageDescriptorSortColumnOutput() CatalogTableStorageDescriptorSortColumnOutput

func (CatalogTableStorageDescriptorSortColumnArgs) ToCatalogTableStorageDescriptorSortColumnOutputWithContext

func (i CatalogTableStorageDescriptorSortColumnArgs) ToCatalogTableStorageDescriptorSortColumnOutputWithContext(ctx context.Context) CatalogTableStorageDescriptorSortColumnOutput

type CatalogTableStorageDescriptorSortColumnArray

type CatalogTableStorageDescriptorSortColumnArray []CatalogTableStorageDescriptorSortColumnInput

func (CatalogTableStorageDescriptorSortColumnArray) ElementType

func (CatalogTableStorageDescriptorSortColumnArray) ToCatalogTableStorageDescriptorSortColumnArrayOutput

func (i CatalogTableStorageDescriptorSortColumnArray) ToCatalogTableStorageDescriptorSortColumnArrayOutput() CatalogTableStorageDescriptorSortColumnArrayOutput

func (CatalogTableStorageDescriptorSortColumnArray) ToCatalogTableStorageDescriptorSortColumnArrayOutputWithContext

func (i CatalogTableStorageDescriptorSortColumnArray) ToCatalogTableStorageDescriptorSortColumnArrayOutputWithContext(ctx context.Context) CatalogTableStorageDescriptorSortColumnArrayOutput

type CatalogTableStorageDescriptorSortColumnArrayInput

type CatalogTableStorageDescriptorSortColumnArrayInput interface {
	pulumi.Input

	ToCatalogTableStorageDescriptorSortColumnArrayOutput() CatalogTableStorageDescriptorSortColumnArrayOutput
	ToCatalogTableStorageDescriptorSortColumnArrayOutputWithContext(context.Context) CatalogTableStorageDescriptorSortColumnArrayOutput
}

CatalogTableStorageDescriptorSortColumnArrayInput is an input type that accepts CatalogTableStorageDescriptorSortColumnArray and CatalogTableStorageDescriptorSortColumnArrayOutput values. You can construct a concrete instance of `CatalogTableStorageDescriptorSortColumnArrayInput` via:

CatalogTableStorageDescriptorSortColumnArray{ CatalogTableStorageDescriptorSortColumnArgs{...} }

type CatalogTableStorageDescriptorSortColumnArrayOutput

type CatalogTableStorageDescriptorSortColumnArrayOutput struct{ *pulumi.OutputState }

func (CatalogTableStorageDescriptorSortColumnArrayOutput) ElementType

func (CatalogTableStorageDescriptorSortColumnArrayOutput) Index

func (CatalogTableStorageDescriptorSortColumnArrayOutput) ToCatalogTableStorageDescriptorSortColumnArrayOutput

func (o CatalogTableStorageDescriptorSortColumnArrayOutput) ToCatalogTableStorageDescriptorSortColumnArrayOutput() CatalogTableStorageDescriptorSortColumnArrayOutput

func (CatalogTableStorageDescriptorSortColumnArrayOutput) ToCatalogTableStorageDescriptorSortColumnArrayOutputWithContext

func (o CatalogTableStorageDescriptorSortColumnArrayOutput) ToCatalogTableStorageDescriptorSortColumnArrayOutputWithContext(ctx context.Context) CatalogTableStorageDescriptorSortColumnArrayOutput

type CatalogTableStorageDescriptorSortColumnInput

type CatalogTableStorageDescriptorSortColumnInput interface {
	pulumi.Input

	ToCatalogTableStorageDescriptorSortColumnOutput() CatalogTableStorageDescriptorSortColumnOutput
	ToCatalogTableStorageDescriptorSortColumnOutputWithContext(context.Context) CatalogTableStorageDescriptorSortColumnOutput
}

CatalogTableStorageDescriptorSortColumnInput is an input type that accepts CatalogTableStorageDescriptorSortColumnArgs and CatalogTableStorageDescriptorSortColumnOutput values. You can construct a concrete instance of `CatalogTableStorageDescriptorSortColumnInput` via:

CatalogTableStorageDescriptorSortColumnArgs{...}

type CatalogTableStorageDescriptorSortColumnOutput

type CatalogTableStorageDescriptorSortColumnOutput struct{ *pulumi.OutputState }

func (CatalogTableStorageDescriptorSortColumnOutput) Column

The name of the column.

func (CatalogTableStorageDescriptorSortColumnOutput) ElementType

func (CatalogTableStorageDescriptorSortColumnOutput) SortOrder

Indicates that the column is sorted in ascending order (== 1), or in descending order (==0).

func (CatalogTableStorageDescriptorSortColumnOutput) ToCatalogTableStorageDescriptorSortColumnOutput

func (o CatalogTableStorageDescriptorSortColumnOutput) ToCatalogTableStorageDescriptorSortColumnOutput() CatalogTableStorageDescriptorSortColumnOutput

func (CatalogTableStorageDescriptorSortColumnOutput) ToCatalogTableStorageDescriptorSortColumnOutputWithContext

func (o CatalogTableStorageDescriptorSortColumnOutput) ToCatalogTableStorageDescriptorSortColumnOutputWithContext(ctx context.Context) CatalogTableStorageDescriptorSortColumnOutput

type Classifier

type Classifier struct {
	pulumi.CustomResourceState

	// A classifier for Csv content. Defined below.
	CsvClassifier ClassifierCsvClassifierPtrOutput `pulumi:"csvClassifier"`
	// A classifier that uses grok patterns. Defined below.
	GrokClassifier ClassifierGrokClassifierPtrOutput `pulumi:"grokClassifier"`
	// A classifier for JSON content. Defined below.
	JsonClassifier ClassifierJsonClassifierPtrOutput `pulumi:"jsonClassifier"`
	// The name of the classifier.
	Name pulumi.StringOutput `pulumi:"name"`
	// A classifier for XML content. Defined below.
	XmlClassifier ClassifierXmlClassifierPtrOutput `pulumi:"xmlClassifier"`
}

Provides a Glue Classifier resource.

> **NOTE:** It is only valid to create one type of classifier (csv, grok, JSON, or XML). Changing classifier types will recreate the classifier.

## Example Usage ### Csv Classifier

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/glue"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := glue.NewClassifier(ctx, "example", &glue.ClassifierArgs{
			CsvClassifier: &glue.ClassifierCsvClassifierArgs{
				AllowSingleColumn:    pulumi.Bool(false),
				ContainsHeader:       pulumi.String("PRESENT"),
				Delimiter:            pulumi.String(","),
				DisableValueTrimming: pulumi.Bool(false),
				Headers: pulumi.StringArray{
					pulumi.String("example1"),
					pulumi.String("example2"),
				},
				QuoteSymbol: pulumi.String("'"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Grok Classifier

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/glue"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := glue.NewClassifier(ctx, "example", &glue.ClassifierArgs{
			GrokClassifier: &glue.ClassifierGrokClassifierArgs{
				Classification: pulumi.String("example"),
				GrokPattern:    pulumi.String("example"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### JSON Classifier

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/glue"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := glue.NewClassifier(ctx, "example", &glue.ClassifierArgs{
			JsonClassifier: &glue.ClassifierJsonClassifierArgs{
				JsonPath: pulumi.String("example"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### XML Classifier

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/glue"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := glue.NewClassifier(ctx, "example", &glue.ClassifierArgs{
			XmlClassifier: &glue.ClassifierXmlClassifierArgs{
				Classification: pulumi.String("example"),
				RowTag:         pulumi.String("example"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetClassifier

func GetClassifier(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ClassifierState, opts ...pulumi.ResourceOption) (*Classifier, error)

GetClassifier gets an existing Classifier resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewClassifier

func NewClassifier(ctx *pulumi.Context,
	name string, args *ClassifierArgs, opts ...pulumi.ResourceOption) (*Classifier, error)

NewClassifier registers a new resource with the given unique name, arguments, and options.

type ClassifierArgs

type ClassifierArgs struct {
	// A classifier for Csv content. Defined below.
	CsvClassifier ClassifierCsvClassifierPtrInput
	// A classifier that uses grok patterns. Defined below.
	GrokClassifier ClassifierGrokClassifierPtrInput
	// A classifier for JSON content. Defined below.
	JsonClassifier ClassifierJsonClassifierPtrInput
	// The name of the classifier.
	Name pulumi.StringPtrInput
	// A classifier for XML content. Defined below.
	XmlClassifier ClassifierXmlClassifierPtrInput
}

The set of arguments for constructing a Classifier resource.

func (ClassifierArgs) ElementType

func (ClassifierArgs) ElementType() reflect.Type

type ClassifierCsvClassifier

type ClassifierCsvClassifier struct {
	// Enables the processing of files that contain only one column.
	AllowSingleColumn *bool `pulumi:"allowSingleColumn"`
	// Indicates whether the CSV file contains a header. This can be one of "ABSENT", "PRESENT", or "UNKNOWN".
	ContainsHeader *string `pulumi:"containsHeader"`
	// The delimiter used in the Csv to separate columns.
	Delimiter *string `pulumi:"delimiter"`
	// Specifies whether to trim column values.
	DisableValueTrimming *bool `pulumi:"disableValueTrimming"`
	// A list of strings representing column names.
	Headers []string `pulumi:"headers"`
	// A custom symbol to denote what combines content into a single column value. It must be different from the column delimiter.
	QuoteSymbol *string `pulumi:"quoteSymbol"`
}

type ClassifierCsvClassifierArgs

type ClassifierCsvClassifierArgs struct {
	// Enables the processing of files that contain only one column.
	AllowSingleColumn pulumi.BoolPtrInput `pulumi:"allowSingleColumn"`
	// Indicates whether the CSV file contains a header. This can be one of "ABSENT", "PRESENT", or "UNKNOWN".
	ContainsHeader pulumi.StringPtrInput `pulumi:"containsHeader"`
	// The delimiter used in the Csv to separate columns.
	Delimiter pulumi.StringPtrInput `pulumi:"delimiter"`
	// Specifies whether to trim column values.
	DisableValueTrimming pulumi.BoolPtrInput `pulumi:"disableValueTrimming"`
	// A list of strings representing column names.
	Headers pulumi.StringArrayInput `pulumi:"headers"`
	// A custom symbol to denote what combines content into a single column value. It must be different from the column delimiter.
	QuoteSymbol pulumi.StringPtrInput `pulumi:"quoteSymbol"`
}

func (ClassifierCsvClassifierArgs) ElementType

func (ClassifierCsvClassifierArgs) ToClassifierCsvClassifierOutput

func (i ClassifierCsvClassifierArgs) ToClassifierCsvClassifierOutput() ClassifierCsvClassifierOutput

func (ClassifierCsvClassifierArgs) ToClassifierCsvClassifierOutputWithContext

func (i ClassifierCsvClassifierArgs) ToClassifierCsvClassifierOutputWithContext(ctx context.Context) ClassifierCsvClassifierOutput

func (ClassifierCsvClassifierArgs) ToClassifierCsvClassifierPtrOutput

func (i ClassifierCsvClassifierArgs) ToClassifierCsvClassifierPtrOutput() ClassifierCsvClassifierPtrOutput

func (ClassifierCsvClassifierArgs) ToClassifierCsvClassifierPtrOutputWithContext

func (i ClassifierCsvClassifierArgs) ToClassifierCsvClassifierPtrOutputWithContext(ctx context.Context) ClassifierCsvClassifierPtrOutput

type ClassifierCsvClassifierInput

type ClassifierCsvClassifierInput interface {
	pulumi.Input

	ToClassifierCsvClassifierOutput() ClassifierCsvClassifierOutput
	ToClassifierCsvClassifierOutputWithContext(context.Context) ClassifierCsvClassifierOutput
}

ClassifierCsvClassifierInput is an input type that accepts ClassifierCsvClassifierArgs and ClassifierCsvClassifierOutput values. You can construct a concrete instance of `ClassifierCsvClassifierInput` via:

ClassifierCsvClassifierArgs{...}

type ClassifierCsvClassifierOutput

type ClassifierCsvClassifierOutput struct{ *pulumi.OutputState }

func (ClassifierCsvClassifierOutput) AllowSingleColumn

func (o ClassifierCsvClassifierOutput) AllowSingleColumn() pulumi.BoolPtrOutput

Enables the processing of files that contain only one column.

func (ClassifierCsvClassifierOutput) ContainsHeader

Indicates whether the CSV file contains a header. This can be one of "ABSENT", "PRESENT", or "UNKNOWN".

func (ClassifierCsvClassifierOutput) Delimiter

The delimiter used in the Csv to separate columns.

func (ClassifierCsvClassifierOutput) DisableValueTrimming

func (o ClassifierCsvClassifierOutput) DisableValueTrimming() pulumi.BoolPtrOutput

Specifies whether to trim column values.

func (ClassifierCsvClassifierOutput) ElementType

func (ClassifierCsvClassifierOutput) Headers

A list of strings representing column names.

func (ClassifierCsvClassifierOutput) QuoteSymbol

A custom symbol to denote what combines content into a single column value. It must be different from the column delimiter.

func (ClassifierCsvClassifierOutput) ToClassifierCsvClassifierOutput

func (o ClassifierCsvClassifierOutput) ToClassifierCsvClassifierOutput() ClassifierCsvClassifierOutput

func (ClassifierCsvClassifierOutput) ToClassifierCsvClassifierOutputWithContext

func (o ClassifierCsvClassifierOutput) ToClassifierCsvClassifierOutputWithContext(ctx context.Context) ClassifierCsvClassifierOutput

func (ClassifierCsvClassifierOutput) ToClassifierCsvClassifierPtrOutput

func (o ClassifierCsvClassifierOutput) ToClassifierCsvClassifierPtrOutput() ClassifierCsvClassifierPtrOutput

func (ClassifierCsvClassifierOutput) ToClassifierCsvClassifierPtrOutputWithContext

func (o ClassifierCsvClassifierOutput) ToClassifierCsvClassifierPtrOutputWithContext(ctx context.Context) ClassifierCsvClassifierPtrOutput

type ClassifierCsvClassifierPtrInput

type ClassifierCsvClassifierPtrInput interface {
	pulumi.Input

	ToClassifierCsvClassifierPtrOutput() ClassifierCsvClassifierPtrOutput
	ToClassifierCsvClassifierPtrOutputWithContext(context.Context) ClassifierCsvClassifierPtrOutput
}

ClassifierCsvClassifierPtrInput is an input type that accepts ClassifierCsvClassifierArgs, ClassifierCsvClassifierPtr and ClassifierCsvClassifierPtrOutput values. You can construct a concrete instance of `ClassifierCsvClassifierPtrInput` via:

        ClassifierCsvClassifierArgs{...}

or:

        nil

type ClassifierCsvClassifierPtrOutput

type ClassifierCsvClassifierPtrOutput struct{ *pulumi.OutputState }

func (ClassifierCsvClassifierPtrOutput) AllowSingleColumn

Enables the processing of files that contain only one column.

func (ClassifierCsvClassifierPtrOutput) ContainsHeader

Indicates whether the CSV file contains a header. This can be one of "ABSENT", "PRESENT", or "UNKNOWN".

func (ClassifierCsvClassifierPtrOutput) Delimiter

The delimiter used in the Csv to separate columns.

func (ClassifierCsvClassifierPtrOutput) DisableValueTrimming

func (o ClassifierCsvClassifierPtrOutput) DisableValueTrimming() pulumi.BoolPtrOutput

Specifies whether to trim column values.

func (ClassifierCsvClassifierPtrOutput) Elem

func (ClassifierCsvClassifierPtrOutput) ElementType

func (ClassifierCsvClassifierPtrOutput) Headers

A list of strings representing column names.

func (ClassifierCsvClassifierPtrOutput) QuoteSymbol

A custom symbol to denote what combines content into a single column value. It must be different from the column delimiter.

func (ClassifierCsvClassifierPtrOutput) ToClassifierCsvClassifierPtrOutput

func (o ClassifierCsvClassifierPtrOutput) ToClassifierCsvClassifierPtrOutput() ClassifierCsvClassifierPtrOutput

func (ClassifierCsvClassifierPtrOutput) ToClassifierCsvClassifierPtrOutputWithContext

func (o ClassifierCsvClassifierPtrOutput) ToClassifierCsvClassifierPtrOutputWithContext(ctx context.Context) ClassifierCsvClassifierPtrOutput

type ClassifierGrokClassifier

type ClassifierGrokClassifier struct {
	// An identifier of the data format that the classifier matches.
	Classification string `pulumi:"classification"`
	// Custom grok patterns used by this classifier.
	CustomPatterns *string `pulumi:"customPatterns"`
	// The grok pattern used by this classifier.
	GrokPattern string `pulumi:"grokPattern"`
}

type ClassifierGrokClassifierArgs

type ClassifierGrokClassifierArgs struct {
	// An identifier of the data format that the classifier matches.
	Classification pulumi.StringInput `pulumi:"classification"`
	// Custom grok patterns used by this classifier.
	CustomPatterns pulumi.StringPtrInput `pulumi:"customPatterns"`
	// The grok pattern used by this classifier.
	GrokPattern pulumi.StringInput `pulumi:"grokPattern"`
}

func (ClassifierGrokClassifierArgs) ElementType

func (ClassifierGrokClassifierArgs) ToClassifierGrokClassifierOutput

func (i ClassifierGrokClassifierArgs) ToClassifierGrokClassifierOutput() ClassifierGrokClassifierOutput

func (ClassifierGrokClassifierArgs) ToClassifierGrokClassifierOutputWithContext

func (i ClassifierGrokClassifierArgs) ToClassifierGrokClassifierOutputWithContext(ctx context.Context) ClassifierGrokClassifierOutput

func (ClassifierGrokClassifierArgs) ToClassifierGrokClassifierPtrOutput

func (i ClassifierGrokClassifierArgs) ToClassifierGrokClassifierPtrOutput() ClassifierGrokClassifierPtrOutput

func (ClassifierGrokClassifierArgs) ToClassifierGrokClassifierPtrOutputWithContext

func (i ClassifierGrokClassifierArgs) ToClassifierGrokClassifierPtrOutputWithContext(ctx context.Context) ClassifierGrokClassifierPtrOutput

type ClassifierGrokClassifierInput

type ClassifierGrokClassifierInput interface {
	pulumi.Input

	ToClassifierGrokClassifierOutput() ClassifierGrokClassifierOutput
	ToClassifierGrokClassifierOutputWithContext(context.Context) ClassifierGrokClassifierOutput
}

ClassifierGrokClassifierInput is an input type that accepts ClassifierGrokClassifierArgs and ClassifierGrokClassifierOutput values. You can construct a concrete instance of `ClassifierGrokClassifierInput` via:

ClassifierGrokClassifierArgs{...}

type ClassifierGrokClassifierOutput

type ClassifierGrokClassifierOutput struct{ *pulumi.OutputState }

func (ClassifierGrokClassifierOutput) Classification

An identifier of the data format that the classifier matches.

func (ClassifierGrokClassifierOutput) CustomPatterns

Custom grok patterns used by this classifier.

func (ClassifierGrokClassifierOutput) ElementType

func (ClassifierGrokClassifierOutput) GrokPattern

The grok pattern used by this classifier.

func (ClassifierGrokClassifierOutput) ToClassifierGrokClassifierOutput

func (o ClassifierGrokClassifierOutput) ToClassifierGrokClassifierOutput() ClassifierGrokClassifierOutput

func (ClassifierGrokClassifierOutput) ToClassifierGrokClassifierOutputWithContext

func (o ClassifierGrokClassifierOutput) ToClassifierGrokClassifierOutputWithContext(ctx context.Context) ClassifierGrokClassifierOutput

func (ClassifierGrokClassifierOutput) ToClassifierGrokClassifierPtrOutput

func (o ClassifierGrokClassifierOutput) ToClassifierGrokClassifierPtrOutput() ClassifierGrokClassifierPtrOutput

func (ClassifierGrokClassifierOutput) ToClassifierGrokClassifierPtrOutputWithContext

func (o ClassifierGrokClassifierOutput) ToClassifierGrokClassifierPtrOutputWithContext(ctx context.Context) ClassifierGrokClassifierPtrOutput

type ClassifierGrokClassifierPtrInput

type ClassifierGrokClassifierPtrInput interface {
	pulumi.Input

	ToClassifierGrokClassifierPtrOutput() ClassifierGrokClassifierPtrOutput
	ToClassifierGrokClassifierPtrOutputWithContext(context.Context) ClassifierGrokClassifierPtrOutput
}

ClassifierGrokClassifierPtrInput is an input type that accepts ClassifierGrokClassifierArgs, ClassifierGrokClassifierPtr and ClassifierGrokClassifierPtrOutput values. You can construct a concrete instance of `ClassifierGrokClassifierPtrInput` via:

        ClassifierGrokClassifierArgs{...}

or:

        nil

type ClassifierGrokClassifierPtrOutput

type ClassifierGrokClassifierPtrOutput struct{ *pulumi.OutputState }

func (ClassifierGrokClassifierPtrOutput) Classification

An identifier of the data format that the classifier matches.

func (ClassifierGrokClassifierPtrOutput) CustomPatterns

Custom grok patterns used by this classifier.

func (ClassifierGrokClassifierPtrOutput) Elem

func (ClassifierGrokClassifierPtrOutput) ElementType

func (ClassifierGrokClassifierPtrOutput) GrokPattern

The grok pattern used by this classifier.

func (ClassifierGrokClassifierPtrOutput) ToClassifierGrokClassifierPtrOutput

func (o ClassifierGrokClassifierPtrOutput) ToClassifierGrokClassifierPtrOutput() ClassifierGrokClassifierPtrOutput

func (ClassifierGrokClassifierPtrOutput) ToClassifierGrokClassifierPtrOutputWithContext

func (o ClassifierGrokClassifierPtrOutput) ToClassifierGrokClassifierPtrOutputWithContext(ctx context.Context) ClassifierGrokClassifierPtrOutput

type ClassifierJsonClassifier

type ClassifierJsonClassifier struct {
	// A `JsonPath` string defining the JSON data for the classifier to classify. AWS Glue supports a subset of `JsonPath`, as described in [Writing JsonPath Custom Classifiers](https://docs.aws.amazon.com/glue/latest/dg/custom-classifier.html#custom-classifier-json).
	JsonPath string `pulumi:"jsonPath"`
}

type ClassifierJsonClassifierArgs

type ClassifierJsonClassifierArgs struct {
	// A `JsonPath` string defining the JSON data for the classifier to classify. AWS Glue supports a subset of `JsonPath`, as described in [Writing JsonPath Custom Classifiers](https://docs.aws.amazon.com/glue/latest/dg/custom-classifier.html#custom-classifier-json).
	JsonPath pulumi.StringInput `pulumi:"jsonPath"`
}

func (ClassifierJsonClassifierArgs) ElementType

func (ClassifierJsonClassifierArgs) ToClassifierJsonClassifierOutput

func (i ClassifierJsonClassifierArgs) ToClassifierJsonClassifierOutput() ClassifierJsonClassifierOutput

func (ClassifierJsonClassifierArgs) ToClassifierJsonClassifierOutputWithContext

func (i ClassifierJsonClassifierArgs) ToClassifierJsonClassifierOutputWithContext(ctx context.Context) ClassifierJsonClassifierOutput

func (ClassifierJsonClassifierArgs) ToClassifierJsonClassifierPtrOutput

func (i ClassifierJsonClassifierArgs) ToClassifierJsonClassifierPtrOutput() ClassifierJsonClassifierPtrOutput

func (ClassifierJsonClassifierArgs) ToClassifierJsonClassifierPtrOutputWithContext

func (i ClassifierJsonClassifierArgs) ToClassifierJsonClassifierPtrOutputWithContext(ctx context.Context) ClassifierJsonClassifierPtrOutput

type ClassifierJsonClassifierInput

type ClassifierJsonClassifierInput interface {
	pulumi.Input

	ToClassifierJsonClassifierOutput() ClassifierJsonClassifierOutput
	ToClassifierJsonClassifierOutputWithContext(context.Context) ClassifierJsonClassifierOutput
}

ClassifierJsonClassifierInput is an input type that accepts ClassifierJsonClassifierArgs and ClassifierJsonClassifierOutput values. You can construct a concrete instance of `ClassifierJsonClassifierInput` via:

ClassifierJsonClassifierArgs{...}

type ClassifierJsonClassifierOutput

type ClassifierJsonClassifierOutput struct{ *pulumi.OutputState }

func (ClassifierJsonClassifierOutput) ElementType

func (ClassifierJsonClassifierOutput) JsonPath

A `JsonPath` string defining the JSON data for the classifier to classify. AWS Glue supports a subset of `JsonPath`, as described in [Writing JsonPath Custom Classifiers](https://docs.aws.amazon.com/glue/latest/dg/custom-classifier.html#custom-classifier-json).

func (ClassifierJsonClassifierOutput) ToClassifierJsonClassifierOutput

func (o ClassifierJsonClassifierOutput) ToClassifierJsonClassifierOutput() ClassifierJsonClassifierOutput

func (ClassifierJsonClassifierOutput) ToClassifierJsonClassifierOutputWithContext

func (o ClassifierJsonClassifierOutput) ToClassifierJsonClassifierOutputWithContext(ctx context.Context) ClassifierJsonClassifierOutput

func (ClassifierJsonClassifierOutput) ToClassifierJsonClassifierPtrOutput

func (o ClassifierJsonClassifierOutput) ToClassifierJsonClassifierPtrOutput() ClassifierJsonClassifierPtrOutput

func (ClassifierJsonClassifierOutput) ToClassifierJsonClassifierPtrOutputWithContext

func (o ClassifierJsonClassifierOutput) ToClassifierJsonClassifierPtrOutputWithContext(ctx context.Context) ClassifierJsonClassifierPtrOutput

type ClassifierJsonClassifierPtrInput

type ClassifierJsonClassifierPtrInput interface {
	pulumi.Input

	ToClassifierJsonClassifierPtrOutput() ClassifierJsonClassifierPtrOutput
	ToClassifierJsonClassifierPtrOutputWithContext(context.Context) ClassifierJsonClassifierPtrOutput
}

ClassifierJsonClassifierPtrInput is an input type that accepts ClassifierJsonClassifierArgs, ClassifierJsonClassifierPtr and ClassifierJsonClassifierPtrOutput values. You can construct a concrete instance of `ClassifierJsonClassifierPtrInput` via:

        ClassifierJsonClassifierArgs{...}

or:

        nil

type ClassifierJsonClassifierPtrOutput

type ClassifierJsonClassifierPtrOutput struct{ *pulumi.OutputState }

func (ClassifierJsonClassifierPtrOutput) Elem

func (ClassifierJsonClassifierPtrOutput) ElementType

func (ClassifierJsonClassifierPtrOutput) JsonPath

A `JsonPath` string defining the JSON data for the classifier to classify. AWS Glue supports a subset of `JsonPath`, as described in [Writing JsonPath Custom Classifiers](https://docs.aws.amazon.com/glue/latest/dg/custom-classifier.html#custom-classifier-json).

func (ClassifierJsonClassifierPtrOutput) ToClassifierJsonClassifierPtrOutput

func (o ClassifierJsonClassifierPtrOutput) ToClassifierJsonClassifierPtrOutput() ClassifierJsonClassifierPtrOutput

func (ClassifierJsonClassifierPtrOutput) ToClassifierJsonClassifierPtrOutputWithContext

func (o ClassifierJsonClassifierPtrOutput) ToClassifierJsonClassifierPtrOutputWithContext(ctx context.Context) ClassifierJsonClassifierPtrOutput

type ClassifierState

type ClassifierState struct {
	// A classifier for Csv content. Defined below.
	CsvClassifier ClassifierCsvClassifierPtrInput
	// A classifier that uses grok patterns. Defined below.
	GrokClassifier ClassifierGrokClassifierPtrInput
	// A classifier for JSON content. Defined below.
	JsonClassifier ClassifierJsonClassifierPtrInput
	// The name of the classifier.
	Name pulumi.StringPtrInput
	// A classifier for XML content. Defined below.
	XmlClassifier ClassifierXmlClassifierPtrInput
}

func (ClassifierState) ElementType

func (ClassifierState) ElementType() reflect.Type

type ClassifierXmlClassifier

type ClassifierXmlClassifier struct {
	// An identifier of the data format that the classifier matches.
	Classification string `pulumi:"classification"`
	// The XML tag designating the element that contains each record in an XML document being parsed. Note that this cannot identify a self-closing element (closed by `/>`). An empty row element that contains only attributes can be parsed as long as it ends with a closing tag (for example, `<row item_a="A" item_b="B"></row>` is okay, but `<row item_a="A" item_b="B" />` is not).
	RowTag string `pulumi:"rowTag"`
}

type ClassifierXmlClassifierArgs

type ClassifierXmlClassifierArgs struct {
	// An identifier of the data format that the classifier matches.
	Classification pulumi.StringInput `pulumi:"classification"`
	// The XML tag designating the element that contains each record in an XML document being parsed. Note that this cannot identify a self-closing element (closed by `/>`). An empty row element that contains only attributes can be parsed as long as it ends with a closing tag (for example, `<row item_a="A" item_b="B"></row>` is okay, but `<row item_a="A" item_b="B" />` is not).
	RowTag pulumi.StringInput `pulumi:"rowTag"`
}

func (ClassifierXmlClassifierArgs) ElementType

func (ClassifierXmlClassifierArgs) ToClassifierXmlClassifierOutput

func (i ClassifierXmlClassifierArgs) ToClassifierXmlClassifierOutput() ClassifierXmlClassifierOutput

func (ClassifierXmlClassifierArgs) ToClassifierXmlClassifierOutputWithContext

func (i ClassifierXmlClassifierArgs) ToClassifierXmlClassifierOutputWithContext(ctx context.Context) ClassifierXmlClassifierOutput

func (ClassifierXmlClassifierArgs) ToClassifierXmlClassifierPtrOutput

func (i ClassifierXmlClassifierArgs) ToClassifierXmlClassifierPtrOutput() ClassifierXmlClassifierPtrOutput

func (ClassifierXmlClassifierArgs) ToClassifierXmlClassifierPtrOutputWithContext

func (i ClassifierXmlClassifierArgs) ToClassifierXmlClassifierPtrOutputWithContext(ctx context.Context) ClassifierXmlClassifierPtrOutput

type ClassifierXmlClassifierInput

type ClassifierXmlClassifierInput interface {
	pulumi.Input

	ToClassifierXmlClassifierOutput() ClassifierXmlClassifierOutput
	ToClassifierXmlClassifierOutputWithContext(context.Context) ClassifierXmlClassifierOutput
}

ClassifierXmlClassifierInput is an input type that accepts ClassifierXmlClassifierArgs and ClassifierXmlClassifierOutput values. You can construct a concrete instance of `ClassifierXmlClassifierInput` via:

ClassifierXmlClassifierArgs{...}

type ClassifierXmlClassifierOutput

type ClassifierXmlClassifierOutput struct{ *pulumi.OutputState }

func (ClassifierXmlClassifierOutput) Classification

An identifier of the data format that the classifier matches.

func (ClassifierXmlClassifierOutput) ElementType

func (ClassifierXmlClassifierOutput) RowTag

The XML tag designating the element that contains each record in an XML document being parsed. Note that this cannot identify a self-closing element (closed by `/>`). An empty row element that contains only attributes can be parsed as long as it ends with a closing tag (for example, `<row item_a="A" item_b="B"></row>` is okay, but `<row item_a="A" item_b="B" />` is not).

func (ClassifierXmlClassifierOutput) ToClassifierXmlClassifierOutput

func (o ClassifierXmlClassifierOutput) ToClassifierXmlClassifierOutput() ClassifierXmlClassifierOutput

func (ClassifierXmlClassifierOutput) ToClassifierXmlClassifierOutputWithContext

func (o ClassifierXmlClassifierOutput) ToClassifierXmlClassifierOutputWithContext(ctx context.Context) ClassifierXmlClassifierOutput

func (ClassifierXmlClassifierOutput) ToClassifierXmlClassifierPtrOutput

func (o ClassifierXmlClassifierOutput) ToClassifierXmlClassifierPtrOutput() ClassifierXmlClassifierPtrOutput

func (ClassifierXmlClassifierOutput) ToClassifierXmlClassifierPtrOutputWithContext

func (o ClassifierXmlClassifierOutput) ToClassifierXmlClassifierPtrOutputWithContext(ctx context.Context) ClassifierXmlClassifierPtrOutput

type ClassifierXmlClassifierPtrInput

type ClassifierXmlClassifierPtrInput interface {
	pulumi.Input

	ToClassifierXmlClassifierPtrOutput() ClassifierXmlClassifierPtrOutput
	ToClassifierXmlClassifierPtrOutputWithContext(context.Context) ClassifierXmlClassifierPtrOutput
}

ClassifierXmlClassifierPtrInput is an input type that accepts ClassifierXmlClassifierArgs, ClassifierXmlClassifierPtr and ClassifierXmlClassifierPtrOutput values. You can construct a concrete instance of `ClassifierXmlClassifierPtrInput` via:

        ClassifierXmlClassifierArgs{...}

or:

        nil

type ClassifierXmlClassifierPtrOutput

type ClassifierXmlClassifierPtrOutput struct{ *pulumi.OutputState }

func (ClassifierXmlClassifierPtrOutput) Classification

An identifier of the data format that the classifier matches.

func (ClassifierXmlClassifierPtrOutput) Elem

func (ClassifierXmlClassifierPtrOutput) ElementType

func (ClassifierXmlClassifierPtrOutput) RowTag

The XML tag designating the element that contains each record in an XML document being parsed. Note that this cannot identify a self-closing element (closed by `/>`). An empty row element that contains only attributes can be parsed as long as it ends with a closing tag (for example, `<row item_a="A" item_b="B"></row>` is okay, but `<row item_a="A" item_b="B" />` is not).

func (ClassifierXmlClassifierPtrOutput) ToClassifierXmlClassifierPtrOutput

func (o ClassifierXmlClassifierPtrOutput) ToClassifierXmlClassifierPtrOutput() ClassifierXmlClassifierPtrOutput

func (ClassifierXmlClassifierPtrOutput) ToClassifierXmlClassifierPtrOutputWithContext

func (o ClassifierXmlClassifierPtrOutput) ToClassifierXmlClassifierPtrOutputWithContext(ctx context.Context) ClassifierXmlClassifierPtrOutput

type Connection

type Connection struct {
	pulumi.CustomResourceState

	// The ARN of the Glue Connection.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The ID of the Data Catalog in which to create the connection. If none is supplied, the AWS account ID is used by default.
	CatalogId pulumi.StringOutput `pulumi:"catalogId"`
	// A map of key-value pairs used as parameters for this connection.
	ConnectionProperties pulumi.StringMapOutput `pulumi:"connectionProperties"`
	// The type of the connection. Supported are: `JDBC`, `MONGODB`, `KAFKA`, and `NETWORK`. Defaults to `JBDC`.
	ConnectionType pulumi.StringPtrOutput `pulumi:"connectionType"`
	// Description of the connection.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// A list of criteria that can be used in selecting this connection.
	MatchCriterias pulumi.StringArrayOutput `pulumi:"matchCriterias"`
	// The name of the connection.
	Name pulumi.StringOutput `pulumi:"name"`
	// A map of physical connection requirements, such as VPC and SecurityGroup. Defined below.
	PhysicalConnectionRequirements ConnectionPhysicalConnectionRequirementsPtrOutput `pulumi:"physicalConnectionRequirements"`
}

Provides a Glue Connection resource.

## Example Usage ### Non-VPC Connection

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/glue"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := glue.NewConnection(ctx, "example", &glue.ConnectionArgs{
			ConnectionProperties: pulumi.StringMap{
				"JDBC_CONNECTION_URL": pulumi.String("jdbc:mysql://example.com/exampledatabase"),
				"PASSWORD":            pulumi.String("examplepassword"),
				"USERNAME":            pulumi.String("exampleusername"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetConnection

func GetConnection(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ConnectionState, opts ...pulumi.ResourceOption) (*Connection, error)

GetConnection gets an existing Connection resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewConnection

func NewConnection(ctx *pulumi.Context,
	name string, args *ConnectionArgs, opts ...pulumi.ResourceOption) (*Connection, error)

NewConnection registers a new resource with the given unique name, arguments, and options.

type ConnectionArgs

type ConnectionArgs struct {
	// The ID of the Data Catalog in which to create the connection. If none is supplied, the AWS account ID is used by default.
	CatalogId pulumi.StringPtrInput
	// A map of key-value pairs used as parameters for this connection.
	ConnectionProperties pulumi.StringMapInput
	// The type of the connection. Supported are: `JDBC`, `MONGODB`, `KAFKA`, and `NETWORK`. Defaults to `JBDC`.
	ConnectionType pulumi.StringPtrInput
	// Description of the connection.
	Description pulumi.StringPtrInput
	// A list of criteria that can be used in selecting this connection.
	MatchCriterias pulumi.StringArrayInput
	// The name of the connection.
	Name pulumi.StringPtrInput
	// A map of physical connection requirements, such as VPC and SecurityGroup. Defined below.
	PhysicalConnectionRequirements ConnectionPhysicalConnectionRequirementsPtrInput
}

The set of arguments for constructing a Connection resource.

func (ConnectionArgs) ElementType

func (ConnectionArgs) ElementType() reflect.Type

type ConnectionPhysicalConnectionRequirements

type ConnectionPhysicalConnectionRequirements struct {
	// The availability zone of the connection. This field is redundant and implied by `subnetId`, but is currently an api requirement.
	AvailabilityZone *string `pulumi:"availabilityZone"`
	// The security group ID list used by the connection.
	SecurityGroupIdLists []string `pulumi:"securityGroupIdLists"`
	// The subnet ID used by the connection.
	SubnetId *string `pulumi:"subnetId"`
}

type ConnectionPhysicalConnectionRequirementsArgs

type ConnectionPhysicalConnectionRequirementsArgs struct {
	// The availability zone of the connection. This field is redundant and implied by `subnetId`, but is currently an api requirement.
	AvailabilityZone pulumi.StringPtrInput `pulumi:"availabilityZone"`
	// The security group ID list used by the connection.
	SecurityGroupIdLists pulumi.StringArrayInput `pulumi:"securityGroupIdLists"`
	// The subnet ID used by the connection.
	SubnetId pulumi.StringPtrInput `pulumi:"subnetId"`
}

func (ConnectionPhysicalConnectionRequirementsArgs) ElementType

func (ConnectionPhysicalConnectionRequirementsArgs) ToConnectionPhysicalConnectionRequirementsOutput

func (i ConnectionPhysicalConnectionRequirementsArgs) ToConnectionPhysicalConnectionRequirementsOutput() ConnectionPhysicalConnectionRequirementsOutput

func (ConnectionPhysicalConnectionRequirementsArgs) ToConnectionPhysicalConnectionRequirementsOutputWithContext

func (i ConnectionPhysicalConnectionRequirementsArgs) ToConnectionPhysicalConnectionRequirementsOutputWithContext(ctx context.Context) ConnectionPhysicalConnectionRequirementsOutput

func (ConnectionPhysicalConnectionRequirementsArgs) ToConnectionPhysicalConnectionRequirementsPtrOutput

func (i ConnectionPhysicalConnectionRequirementsArgs) ToConnectionPhysicalConnectionRequirementsPtrOutput() ConnectionPhysicalConnectionRequirementsPtrOutput

func (ConnectionPhysicalConnectionRequirementsArgs) ToConnectionPhysicalConnectionRequirementsPtrOutputWithContext

func (i ConnectionPhysicalConnectionRequirementsArgs) ToConnectionPhysicalConnectionRequirementsPtrOutputWithContext(ctx context.Context) ConnectionPhysicalConnectionRequirementsPtrOutput

type ConnectionPhysicalConnectionRequirementsInput

type ConnectionPhysicalConnectionRequirementsInput interface {
	pulumi.Input

	ToConnectionPhysicalConnectionRequirementsOutput() ConnectionPhysicalConnectionRequirementsOutput
	ToConnectionPhysicalConnectionRequirementsOutputWithContext(context.Context) ConnectionPhysicalConnectionRequirementsOutput
}

ConnectionPhysicalConnectionRequirementsInput is an input type that accepts ConnectionPhysicalConnectionRequirementsArgs and ConnectionPhysicalConnectionRequirementsOutput values. You can construct a concrete instance of `ConnectionPhysicalConnectionRequirementsInput` via:

ConnectionPhysicalConnectionRequirementsArgs{...}

type ConnectionPhysicalConnectionRequirementsOutput

type ConnectionPhysicalConnectionRequirementsOutput struct{ *pulumi.OutputState }

func (ConnectionPhysicalConnectionRequirementsOutput) AvailabilityZone

The availability zone of the connection. This field is redundant and implied by `subnetId`, but is currently an api requirement.

func (ConnectionPhysicalConnectionRequirementsOutput) ElementType

func (ConnectionPhysicalConnectionRequirementsOutput) SecurityGroupIdLists

The security group ID list used by the connection.

func (ConnectionPhysicalConnectionRequirementsOutput) SubnetId

The subnet ID used by the connection.

func (ConnectionPhysicalConnectionRequirementsOutput) ToConnectionPhysicalConnectionRequirementsOutput

func (o ConnectionPhysicalConnectionRequirementsOutput) ToConnectionPhysicalConnectionRequirementsOutput() ConnectionPhysicalConnectionRequirementsOutput

func (ConnectionPhysicalConnectionRequirementsOutput) ToConnectionPhysicalConnectionRequirementsOutputWithContext

func (o ConnectionPhysicalConnectionRequirementsOutput) ToConnectionPhysicalConnectionRequirementsOutputWithContext(ctx context.Context) ConnectionPhysicalConnectionRequirementsOutput

func (ConnectionPhysicalConnectionRequirementsOutput) ToConnectionPhysicalConnectionRequirementsPtrOutput

func (o ConnectionPhysicalConnectionRequirementsOutput) ToConnectionPhysicalConnectionRequirementsPtrOutput() ConnectionPhysicalConnectionRequirementsPtrOutput

func (ConnectionPhysicalConnectionRequirementsOutput) ToConnectionPhysicalConnectionRequirementsPtrOutputWithContext

func (o ConnectionPhysicalConnectionRequirementsOutput) ToConnectionPhysicalConnectionRequirementsPtrOutputWithContext(ctx context.Context) ConnectionPhysicalConnectionRequirementsPtrOutput

type ConnectionPhysicalConnectionRequirementsPtrInput

type ConnectionPhysicalConnectionRequirementsPtrInput interface {
	pulumi.Input

	ToConnectionPhysicalConnectionRequirementsPtrOutput() ConnectionPhysicalConnectionRequirementsPtrOutput
	ToConnectionPhysicalConnectionRequirementsPtrOutputWithContext(context.Context) ConnectionPhysicalConnectionRequirementsPtrOutput
}

ConnectionPhysicalConnectionRequirementsPtrInput is an input type that accepts ConnectionPhysicalConnectionRequirementsArgs, ConnectionPhysicalConnectionRequirementsPtr and ConnectionPhysicalConnectionRequirementsPtrOutput values. You can construct a concrete instance of `ConnectionPhysicalConnectionRequirementsPtrInput` via:

        ConnectionPhysicalConnectionRequirementsArgs{...}

or:

        nil

type ConnectionPhysicalConnectionRequirementsPtrOutput

type ConnectionPhysicalConnectionRequirementsPtrOutput struct{ *pulumi.OutputState }

func (ConnectionPhysicalConnectionRequirementsPtrOutput) AvailabilityZone

The availability zone of the connection. This field is redundant and implied by `subnetId`, but is currently an api requirement.

func (ConnectionPhysicalConnectionRequirementsPtrOutput) Elem

func (ConnectionPhysicalConnectionRequirementsPtrOutput) ElementType

func (ConnectionPhysicalConnectionRequirementsPtrOutput) SecurityGroupIdLists

The security group ID list used by the connection.

func (ConnectionPhysicalConnectionRequirementsPtrOutput) SubnetId

The subnet ID used by the connection.

func (ConnectionPhysicalConnectionRequirementsPtrOutput) ToConnectionPhysicalConnectionRequirementsPtrOutput

func (o ConnectionPhysicalConnectionRequirementsPtrOutput) ToConnectionPhysicalConnectionRequirementsPtrOutput() ConnectionPhysicalConnectionRequirementsPtrOutput

func (ConnectionPhysicalConnectionRequirementsPtrOutput) ToConnectionPhysicalConnectionRequirementsPtrOutputWithContext

func (o ConnectionPhysicalConnectionRequirementsPtrOutput) ToConnectionPhysicalConnectionRequirementsPtrOutputWithContext(ctx context.Context) ConnectionPhysicalConnectionRequirementsPtrOutput

type ConnectionState

type ConnectionState struct {
	// The ARN of the Glue Connection.
	Arn pulumi.StringPtrInput
	// The ID of the Data Catalog in which to create the connection. If none is supplied, the AWS account ID is used by default.
	CatalogId pulumi.StringPtrInput
	// A map of key-value pairs used as parameters for this connection.
	ConnectionProperties pulumi.StringMapInput
	// The type of the connection. Supported are: `JDBC`, `MONGODB`, `KAFKA`, and `NETWORK`. Defaults to `JBDC`.
	ConnectionType pulumi.StringPtrInput
	// Description of the connection.
	Description pulumi.StringPtrInput
	// A list of criteria that can be used in selecting this connection.
	MatchCriterias pulumi.StringArrayInput
	// The name of the connection.
	Name pulumi.StringPtrInput
	// A map of physical connection requirements, such as VPC and SecurityGroup. Defined below.
	PhysicalConnectionRequirements ConnectionPhysicalConnectionRequirementsPtrInput
}

func (ConnectionState) ElementType

func (ConnectionState) ElementType() reflect.Type

type Crawler

type Crawler struct {
	pulumi.CustomResourceState

	// The ARN of the crawler
	Arn            pulumi.StringOutput             `pulumi:"arn"`
	CatalogTargets CrawlerCatalogTargetArrayOutput `pulumi:"catalogTargets"`
	// List of custom classifiers. By default, all AWS classifiers are included in a crawl, but these custom classifiers always override the default classifiers for a given classification.
	Classifiers pulumi.StringArrayOutput `pulumi:"classifiers"`
	// JSON string of configuration information.
	Configuration pulumi.StringPtrOutput `pulumi:"configuration"`
	// Glue database where results are written.
	DatabaseName pulumi.StringOutput `pulumi:"databaseName"`
	// Description of the crawler.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// List of nested DynamoDB target arguments. See below.
	DynamodbTargets CrawlerDynamodbTargetArrayOutput `pulumi:"dynamodbTargets"`
	// List of nested JBDC target arguments. See below.
	JdbcTargets CrawlerJdbcTargetArrayOutput `pulumi:"jdbcTargets"`
	// Name of the crawler.
	Name pulumi.StringOutput `pulumi:"name"`
	// The IAM role friendly name (including path without leading slash), or ARN of an IAM role, used by the crawler to access other resources.
	Role pulumi.StringOutput `pulumi:"role"`
	// List nested Amazon S3 target arguments. See below.
	S3Targets CrawlerS3TargetArrayOutput `pulumi:"s3Targets"`
	// A cron expression used to specify the schedule. For more information, see [Time-Based Schedules for Jobs and Crawlers](https://docs.aws.amazon.com/glue/latest/dg/monitor-data-warehouse-schedule.html). For example, to run something every day at 12:15 UTC, you would specify: `cron(15 12 * * ? *)`.
	Schedule pulumi.StringPtrOutput `pulumi:"schedule"`
	// Policy for the crawler's update and deletion behavior.
	SchemaChangePolicy CrawlerSchemaChangePolicyPtrOutput `pulumi:"schemaChangePolicy"`
	// The name of Security Configuration to be used by the crawler
	SecurityConfiguration pulumi.StringPtrOutput `pulumi:"securityConfiguration"`
	// The table prefix used for catalog tables that are created.
	TablePrefix pulumi.StringPtrOutput `pulumi:"tablePrefix"`
	// Key-value map of resource tags
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Manages a Glue Crawler. More information can be found in the [AWS Glue Developer Guide](https://docs.aws.amazon.com/glue/latest/dg/add-crawler.html)

## Example Usage ### DynamoDB Target

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/glue"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := glue.NewCrawler(ctx, "example", &glue.CrawlerArgs{
			DatabaseName: pulumi.Any(aws_glue_catalog_database.Example.Name),
			Role:         pulumi.Any(aws_iam_role.Example.Arn),
			DynamodbTargets: glue.CrawlerDynamodbTargetArray{
				&glue.CrawlerDynamodbTargetArgs{
					Path: pulumi.String("table-name"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### JDBC Target

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/glue"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := glue.NewCrawler(ctx, "example", &glue.CrawlerArgs{
			DatabaseName: pulumi.Any(aws_glue_catalog_database.Example.Name),
			Role:         pulumi.Any(aws_iam_role.Example.Arn),
			JdbcTargets: glue.CrawlerJdbcTargetArray{
				&glue.CrawlerJdbcTargetArgs{
					ConnectionName: pulumi.Any(aws_glue_connection.Example.Name),
					Path:           pulumi.String(fmt.Sprintf("%v%v", "database-name/", "%")),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### S3 Target

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/glue"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := glue.NewCrawler(ctx, "example", &glue.CrawlerArgs{
			DatabaseName: pulumi.Any(aws_glue_catalog_database.Example.Name),
			Role:         pulumi.Any(aws_iam_role.Example.Arn),
			S3Targets: glue.CrawlerS3TargetArray{
				&glue.CrawlerS3TargetArgs{
					Path: pulumi.String(fmt.Sprintf("%v%v", "s3://", aws_s3_bucket.Example.Bucket)),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetCrawler

func GetCrawler(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CrawlerState, opts ...pulumi.ResourceOption) (*Crawler, error)

GetCrawler gets an existing Crawler resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCrawler

func NewCrawler(ctx *pulumi.Context,
	name string, args *CrawlerArgs, opts ...pulumi.ResourceOption) (*Crawler, error)

NewCrawler registers a new resource with the given unique name, arguments, and options.

type CrawlerArgs

type CrawlerArgs struct {
	CatalogTargets CrawlerCatalogTargetArrayInput
	// List of custom classifiers. By default, all AWS classifiers are included in a crawl, but these custom classifiers always override the default classifiers for a given classification.
	Classifiers pulumi.StringArrayInput
	// JSON string of configuration information.
	Configuration pulumi.StringPtrInput
	// Glue database where results are written.
	DatabaseName pulumi.StringInput
	// Description of the crawler.
	Description pulumi.StringPtrInput
	// List of nested DynamoDB target arguments. See below.
	DynamodbTargets CrawlerDynamodbTargetArrayInput
	// List of nested JBDC target arguments. See below.
	JdbcTargets CrawlerJdbcTargetArrayInput
	// Name of the crawler.
	Name pulumi.StringPtrInput
	// The IAM role friendly name (including path without leading slash), or ARN of an IAM role, used by the crawler to access other resources.
	Role pulumi.StringInput
	// List nested Amazon S3 target arguments. See below.
	S3Targets CrawlerS3TargetArrayInput
	// A cron expression used to specify the schedule. For more information, see [Time-Based Schedules for Jobs and Crawlers](https://docs.aws.amazon.com/glue/latest/dg/monitor-data-warehouse-schedule.html). For example, to run something every day at 12:15 UTC, you would specify: `cron(15 12 * * ? *)`.
	Schedule pulumi.StringPtrInput
	// Policy for the crawler's update and deletion behavior.
	SchemaChangePolicy CrawlerSchemaChangePolicyPtrInput
	// The name of Security Configuration to be used by the crawler
	SecurityConfiguration pulumi.StringPtrInput
	// The table prefix used for catalog tables that are created.
	TablePrefix pulumi.StringPtrInput
	// Key-value map of resource tags
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Crawler resource.

func (CrawlerArgs) ElementType

func (CrawlerArgs) ElementType() reflect.Type

type CrawlerCatalogTarget

type CrawlerCatalogTarget struct {
	// The name of the Glue database to be synchronized.
	DatabaseName string `pulumi:"databaseName"`
	// A list of catalog tables to be synchronized.
	Tables []string `pulumi:"tables"`
}

type CrawlerCatalogTargetArgs

type CrawlerCatalogTargetArgs struct {
	// The name of the Glue database to be synchronized.
	DatabaseName pulumi.StringInput `pulumi:"databaseName"`
	// A list of catalog tables to be synchronized.
	Tables pulumi.StringArrayInput `pulumi:"tables"`
}

func (CrawlerCatalogTargetArgs) ElementType

func (CrawlerCatalogTargetArgs) ElementType() reflect.Type

func (CrawlerCatalogTargetArgs) ToCrawlerCatalogTargetOutput

func (i CrawlerCatalogTargetArgs) ToCrawlerCatalogTargetOutput() CrawlerCatalogTargetOutput

func (CrawlerCatalogTargetArgs) ToCrawlerCatalogTargetOutputWithContext

func (i CrawlerCatalogTargetArgs) ToCrawlerCatalogTargetOutputWithContext(ctx context.Context) CrawlerCatalogTargetOutput

type CrawlerCatalogTargetArray

type CrawlerCatalogTargetArray []CrawlerCatalogTargetInput

func (CrawlerCatalogTargetArray) ElementType

func (CrawlerCatalogTargetArray) ElementType() reflect.Type

func (CrawlerCatalogTargetArray) ToCrawlerCatalogTargetArrayOutput

func (i CrawlerCatalogTargetArray) ToCrawlerCatalogTargetArrayOutput() CrawlerCatalogTargetArrayOutput

func (CrawlerCatalogTargetArray) ToCrawlerCatalogTargetArrayOutputWithContext

func (i CrawlerCatalogTargetArray) ToCrawlerCatalogTargetArrayOutputWithContext(ctx context.Context) CrawlerCatalogTargetArrayOutput

type CrawlerCatalogTargetArrayInput

type CrawlerCatalogTargetArrayInput interface {
	pulumi.Input

	ToCrawlerCatalogTargetArrayOutput() CrawlerCatalogTargetArrayOutput
	ToCrawlerCatalogTargetArrayOutputWithContext(context.Context) CrawlerCatalogTargetArrayOutput
}

CrawlerCatalogTargetArrayInput is an input type that accepts CrawlerCatalogTargetArray and CrawlerCatalogTargetArrayOutput values. You can construct a concrete instance of `CrawlerCatalogTargetArrayInput` via:

CrawlerCatalogTargetArray{ CrawlerCatalogTargetArgs{...} }

type CrawlerCatalogTargetArrayOutput

type CrawlerCatalogTargetArrayOutput struct{ *pulumi.OutputState }

func (CrawlerCatalogTargetArrayOutput) ElementType

func (CrawlerCatalogTargetArrayOutput) Index

func (CrawlerCatalogTargetArrayOutput) ToCrawlerCatalogTargetArrayOutput

func (o CrawlerCatalogTargetArrayOutput) ToCrawlerCatalogTargetArrayOutput() CrawlerCatalogTargetArrayOutput

func (CrawlerCatalogTargetArrayOutput) ToCrawlerCatalogTargetArrayOutputWithContext

func (o CrawlerCatalogTargetArrayOutput) ToCrawlerCatalogTargetArrayOutputWithContext(ctx context.Context) CrawlerCatalogTargetArrayOutput

type CrawlerCatalogTargetInput

type CrawlerCatalogTargetInput interface {
	pulumi.Input

	ToCrawlerCatalogTargetOutput() CrawlerCatalogTargetOutput
	ToCrawlerCatalogTargetOutputWithContext(context.Context) CrawlerCatalogTargetOutput
}

CrawlerCatalogTargetInput is an input type that accepts CrawlerCatalogTargetArgs and CrawlerCatalogTargetOutput values. You can construct a concrete instance of `CrawlerCatalogTargetInput` via:

CrawlerCatalogTargetArgs{...}

type CrawlerCatalogTargetOutput

type CrawlerCatalogTargetOutput struct{ *pulumi.OutputState }

func (CrawlerCatalogTargetOutput) DatabaseName

The name of the Glue database to be synchronized.

func (CrawlerCatalogTargetOutput) ElementType

func (CrawlerCatalogTargetOutput) ElementType() reflect.Type

func (CrawlerCatalogTargetOutput) Tables

A list of catalog tables to be synchronized.

func (CrawlerCatalogTargetOutput) ToCrawlerCatalogTargetOutput

func (o CrawlerCatalogTargetOutput) ToCrawlerCatalogTargetOutput() CrawlerCatalogTargetOutput

func (CrawlerCatalogTargetOutput) ToCrawlerCatalogTargetOutputWithContext

func (o CrawlerCatalogTargetOutput) ToCrawlerCatalogTargetOutputWithContext(ctx context.Context) CrawlerCatalogTargetOutput

type CrawlerDynamodbTarget

type CrawlerDynamodbTarget struct {
	// The name of the DynamoDB table to crawl.
	Path string `pulumi:"path"`
	// Indicates whether to scan all the records, or to sample rows from the table. Scanning all the records can take a long time when the table is not a high throughput table.  defaults to `true`.
	ScanAll *bool `pulumi:"scanAll"`
	// The percentage of the configured read capacity units to use by the AWS Glue crawler. The valid values are null or a value between 0.1 to 1.5.
	ScanRate *float64 `pulumi:"scanRate"`
}

type CrawlerDynamodbTargetArgs

type CrawlerDynamodbTargetArgs struct {
	// The name of the DynamoDB table to crawl.
	Path pulumi.StringInput `pulumi:"path"`
	// Indicates whether to scan all the records, or to sample rows from the table. Scanning all the records can take a long time when the table is not a high throughput table.  defaults to `true`.
	ScanAll pulumi.BoolPtrInput `pulumi:"scanAll"`
	// The percentage of the configured read capacity units to use by the AWS Glue crawler. The valid values are null or a value between 0.1 to 1.5.
	ScanRate pulumi.Float64PtrInput `pulumi:"scanRate"`
}

func (CrawlerDynamodbTargetArgs) ElementType

func (CrawlerDynamodbTargetArgs) ElementType() reflect.Type

func (CrawlerDynamodbTargetArgs) ToCrawlerDynamodbTargetOutput

func (i CrawlerDynamodbTargetArgs) ToCrawlerDynamodbTargetOutput() CrawlerDynamodbTargetOutput

func (CrawlerDynamodbTargetArgs) ToCrawlerDynamodbTargetOutputWithContext

func (i CrawlerDynamodbTargetArgs) ToCrawlerDynamodbTargetOutputWithContext(ctx context.Context) CrawlerDynamodbTargetOutput

type CrawlerDynamodbTargetArray

type CrawlerDynamodbTargetArray []CrawlerDynamodbTargetInput

func (CrawlerDynamodbTargetArray) ElementType

func (CrawlerDynamodbTargetArray) ElementType() reflect.Type

func (CrawlerDynamodbTargetArray) ToCrawlerDynamodbTargetArrayOutput

func (i CrawlerDynamodbTargetArray) ToCrawlerDynamodbTargetArrayOutput() CrawlerDynamodbTargetArrayOutput

func (CrawlerDynamodbTargetArray) ToCrawlerDynamodbTargetArrayOutputWithContext

func (i CrawlerDynamodbTargetArray) ToCrawlerDynamodbTargetArrayOutputWithContext(ctx context.Context) CrawlerDynamodbTargetArrayOutput

type CrawlerDynamodbTargetArrayInput

type CrawlerDynamodbTargetArrayInput interface {
	pulumi.Input

	ToCrawlerDynamodbTargetArrayOutput() CrawlerDynamodbTargetArrayOutput
	ToCrawlerDynamodbTargetArrayOutputWithContext(context.Context) CrawlerDynamodbTargetArrayOutput
}

CrawlerDynamodbTargetArrayInput is an input type that accepts CrawlerDynamodbTargetArray and CrawlerDynamodbTargetArrayOutput values. You can construct a concrete instance of `CrawlerDynamodbTargetArrayInput` via:

CrawlerDynamodbTargetArray{ CrawlerDynamodbTargetArgs{...} }

type CrawlerDynamodbTargetArrayOutput

type CrawlerDynamodbTargetArrayOutput struct{ *pulumi.OutputState }

func (CrawlerDynamodbTargetArrayOutput) ElementType

func (CrawlerDynamodbTargetArrayOutput) Index

func (CrawlerDynamodbTargetArrayOutput) ToCrawlerDynamodbTargetArrayOutput

func (o CrawlerDynamodbTargetArrayOutput) ToCrawlerDynamodbTargetArrayOutput() CrawlerDynamodbTargetArrayOutput

func (CrawlerDynamodbTargetArrayOutput) ToCrawlerDynamodbTargetArrayOutputWithContext

func (o CrawlerDynamodbTargetArrayOutput) ToCrawlerDynamodbTargetArrayOutputWithContext(ctx context.Context) CrawlerDynamodbTargetArrayOutput

type CrawlerDynamodbTargetInput

type CrawlerDynamodbTargetInput interface {
	pulumi.Input

	ToCrawlerDynamodbTargetOutput() CrawlerDynamodbTargetOutput
	ToCrawlerDynamodbTargetOutputWithContext(context.Context) CrawlerDynamodbTargetOutput
}

CrawlerDynamodbTargetInput is an input type that accepts CrawlerDynamodbTargetArgs and CrawlerDynamodbTargetOutput values. You can construct a concrete instance of `CrawlerDynamodbTargetInput` via:

CrawlerDynamodbTargetArgs{...}

type CrawlerDynamodbTargetOutput

type CrawlerDynamodbTargetOutput struct{ *pulumi.OutputState }

func (CrawlerDynamodbTargetOutput) ElementType

func (CrawlerDynamodbTargetOutput) Path

The name of the DynamoDB table to crawl.

func (CrawlerDynamodbTargetOutput) ScanAll added in v3.5.0

Indicates whether to scan all the records, or to sample rows from the table. Scanning all the records can take a long time when the table is not a high throughput table. defaults to `true`.

func (CrawlerDynamodbTargetOutput) ScanRate added in v3.5.0

The percentage of the configured read capacity units to use by the AWS Glue crawler. The valid values are null or a value between 0.1 to 1.5.

func (CrawlerDynamodbTargetOutput) ToCrawlerDynamodbTargetOutput

func (o CrawlerDynamodbTargetOutput) ToCrawlerDynamodbTargetOutput() CrawlerDynamodbTargetOutput

func (CrawlerDynamodbTargetOutput) ToCrawlerDynamodbTargetOutputWithContext

func (o CrawlerDynamodbTargetOutput) ToCrawlerDynamodbTargetOutputWithContext(ctx context.Context) CrawlerDynamodbTargetOutput

type CrawlerJdbcTarget

type CrawlerJdbcTarget struct {
	// The name of the connection to use to connect to the JDBC target.
	ConnectionName string `pulumi:"connectionName"`
	// A list of glob patterns used to exclude from the crawl.
	Exclusions []string `pulumi:"exclusions"`
	// The path of the JDBC target.
	Path string `pulumi:"path"`
}

type CrawlerJdbcTargetArgs

type CrawlerJdbcTargetArgs struct {
	// The name of the connection to use to connect to the JDBC target.
	ConnectionName pulumi.StringInput `pulumi:"connectionName"`
	// A list of glob patterns used to exclude from the crawl.
	Exclusions pulumi.StringArrayInput `pulumi:"exclusions"`
	// The path of the JDBC target.
	Path pulumi.StringInput `pulumi:"path"`
}

func (CrawlerJdbcTargetArgs) ElementType

func (CrawlerJdbcTargetArgs) ElementType() reflect.Type

func (CrawlerJdbcTargetArgs) ToCrawlerJdbcTargetOutput

func (i CrawlerJdbcTargetArgs) ToCrawlerJdbcTargetOutput() CrawlerJdbcTargetOutput

func (CrawlerJdbcTargetArgs) ToCrawlerJdbcTargetOutputWithContext

func (i CrawlerJdbcTargetArgs) ToCrawlerJdbcTargetOutputWithContext(ctx context.Context) CrawlerJdbcTargetOutput

type CrawlerJdbcTargetArray

type CrawlerJdbcTargetArray []CrawlerJdbcTargetInput

func (CrawlerJdbcTargetArray) ElementType

func (CrawlerJdbcTargetArray) ElementType() reflect.Type

func (CrawlerJdbcTargetArray) ToCrawlerJdbcTargetArrayOutput

func (i CrawlerJdbcTargetArray) ToCrawlerJdbcTargetArrayOutput() CrawlerJdbcTargetArrayOutput

func (CrawlerJdbcTargetArray) ToCrawlerJdbcTargetArrayOutputWithContext

func (i CrawlerJdbcTargetArray) ToCrawlerJdbcTargetArrayOutputWithContext(ctx context.Context) CrawlerJdbcTargetArrayOutput

type CrawlerJdbcTargetArrayInput

type CrawlerJdbcTargetArrayInput interface {
	pulumi.Input

	ToCrawlerJdbcTargetArrayOutput() CrawlerJdbcTargetArrayOutput
	ToCrawlerJdbcTargetArrayOutputWithContext(context.Context) CrawlerJdbcTargetArrayOutput
}

CrawlerJdbcTargetArrayInput is an input type that accepts CrawlerJdbcTargetArray and CrawlerJdbcTargetArrayOutput values. You can construct a concrete instance of `CrawlerJdbcTargetArrayInput` via:

CrawlerJdbcTargetArray{ CrawlerJdbcTargetArgs{...} }

type CrawlerJdbcTargetArrayOutput

type CrawlerJdbcTargetArrayOutput struct{ *pulumi.OutputState }

func (CrawlerJdbcTargetArrayOutput) ElementType

func (CrawlerJdbcTargetArrayOutput) Index

func (CrawlerJdbcTargetArrayOutput) ToCrawlerJdbcTargetArrayOutput

func (o CrawlerJdbcTargetArrayOutput) ToCrawlerJdbcTargetArrayOutput() CrawlerJdbcTargetArrayOutput

func (CrawlerJdbcTargetArrayOutput) ToCrawlerJdbcTargetArrayOutputWithContext

func (o CrawlerJdbcTargetArrayOutput) ToCrawlerJdbcTargetArrayOutputWithContext(ctx context.Context) CrawlerJdbcTargetArrayOutput

type CrawlerJdbcTargetInput

type CrawlerJdbcTargetInput interface {
	pulumi.Input

	ToCrawlerJdbcTargetOutput() CrawlerJdbcTargetOutput
	ToCrawlerJdbcTargetOutputWithContext(context.Context) CrawlerJdbcTargetOutput
}

CrawlerJdbcTargetInput is an input type that accepts CrawlerJdbcTargetArgs and CrawlerJdbcTargetOutput values. You can construct a concrete instance of `CrawlerJdbcTargetInput` via:

CrawlerJdbcTargetArgs{...}

type CrawlerJdbcTargetOutput

type CrawlerJdbcTargetOutput struct{ *pulumi.OutputState }

func (CrawlerJdbcTargetOutput) ConnectionName

func (o CrawlerJdbcTargetOutput) ConnectionName() pulumi.StringOutput

The name of the connection to use to connect to the JDBC target.

func (CrawlerJdbcTargetOutput) ElementType

func (CrawlerJdbcTargetOutput) ElementType() reflect.Type

func (CrawlerJdbcTargetOutput) Exclusions

A list of glob patterns used to exclude from the crawl.

func (CrawlerJdbcTargetOutput) Path

The path of the JDBC target.

func (CrawlerJdbcTargetOutput) ToCrawlerJdbcTargetOutput

func (o CrawlerJdbcTargetOutput) ToCrawlerJdbcTargetOutput() CrawlerJdbcTargetOutput

func (CrawlerJdbcTargetOutput) ToCrawlerJdbcTargetOutputWithContext

func (o CrawlerJdbcTargetOutput) ToCrawlerJdbcTargetOutputWithContext(ctx context.Context) CrawlerJdbcTargetOutput

type CrawlerS3Target

type CrawlerS3Target struct {
	// A list of glob patterns used to exclude from the crawl.
	Exclusions []string `pulumi:"exclusions"`
	// The name of the DynamoDB table to crawl.
	Path string `pulumi:"path"`
}

type CrawlerS3TargetArgs

type CrawlerS3TargetArgs struct {
	// A list of glob patterns used to exclude from the crawl.
	Exclusions pulumi.StringArrayInput `pulumi:"exclusions"`
	// The name of the DynamoDB table to crawl.
	Path pulumi.StringInput `pulumi:"path"`
}

func (CrawlerS3TargetArgs) ElementType

func (CrawlerS3TargetArgs) ElementType() reflect.Type

func (CrawlerS3TargetArgs) ToCrawlerS3TargetOutput

func (i CrawlerS3TargetArgs) ToCrawlerS3TargetOutput() CrawlerS3TargetOutput

func (CrawlerS3TargetArgs) ToCrawlerS3TargetOutputWithContext

func (i CrawlerS3TargetArgs) ToCrawlerS3TargetOutputWithContext(ctx context.Context) CrawlerS3TargetOutput

type CrawlerS3TargetArray

type CrawlerS3TargetArray []CrawlerS3TargetInput

func (CrawlerS3TargetArray) ElementType

func (CrawlerS3TargetArray) ElementType() reflect.Type

func (CrawlerS3TargetArray) ToCrawlerS3TargetArrayOutput

func (i CrawlerS3TargetArray) ToCrawlerS3TargetArrayOutput() CrawlerS3TargetArrayOutput

func (CrawlerS3TargetArray) ToCrawlerS3TargetArrayOutputWithContext

func (i CrawlerS3TargetArray) ToCrawlerS3TargetArrayOutputWithContext(ctx context.Context) CrawlerS3TargetArrayOutput

type CrawlerS3TargetArrayInput

type CrawlerS3TargetArrayInput interface {
	pulumi.Input

	ToCrawlerS3TargetArrayOutput() CrawlerS3TargetArrayOutput
	ToCrawlerS3TargetArrayOutputWithContext(context.Context) CrawlerS3TargetArrayOutput
}

CrawlerS3TargetArrayInput is an input type that accepts CrawlerS3TargetArray and CrawlerS3TargetArrayOutput values. You can construct a concrete instance of `CrawlerS3TargetArrayInput` via:

CrawlerS3TargetArray{ CrawlerS3TargetArgs{...} }

type CrawlerS3TargetArrayOutput

type CrawlerS3TargetArrayOutput struct{ *pulumi.OutputState }

func (CrawlerS3TargetArrayOutput) ElementType

func (CrawlerS3TargetArrayOutput) ElementType() reflect.Type

func (CrawlerS3TargetArrayOutput) Index

func (CrawlerS3TargetArrayOutput) ToCrawlerS3TargetArrayOutput

func (o CrawlerS3TargetArrayOutput) ToCrawlerS3TargetArrayOutput() CrawlerS3TargetArrayOutput

func (CrawlerS3TargetArrayOutput) ToCrawlerS3TargetArrayOutputWithContext

func (o CrawlerS3TargetArrayOutput) ToCrawlerS3TargetArrayOutputWithContext(ctx context.Context) CrawlerS3TargetArrayOutput

type CrawlerS3TargetInput

type CrawlerS3TargetInput interface {
	pulumi.Input

	ToCrawlerS3TargetOutput() CrawlerS3TargetOutput
	ToCrawlerS3TargetOutputWithContext(context.Context) CrawlerS3TargetOutput
}

CrawlerS3TargetInput is an input type that accepts CrawlerS3TargetArgs and CrawlerS3TargetOutput values. You can construct a concrete instance of `CrawlerS3TargetInput` via:

CrawlerS3TargetArgs{...}

type CrawlerS3TargetOutput

type CrawlerS3TargetOutput struct{ *pulumi.OutputState }

func (CrawlerS3TargetOutput) ElementType

func (CrawlerS3TargetOutput) ElementType() reflect.Type

func (CrawlerS3TargetOutput) Exclusions

A list of glob patterns used to exclude from the crawl.

func (CrawlerS3TargetOutput) Path

The name of the DynamoDB table to crawl.

func (CrawlerS3TargetOutput) ToCrawlerS3TargetOutput

func (o CrawlerS3TargetOutput) ToCrawlerS3TargetOutput() CrawlerS3TargetOutput

func (CrawlerS3TargetOutput) ToCrawlerS3TargetOutputWithContext

func (o CrawlerS3TargetOutput) ToCrawlerS3TargetOutputWithContext(ctx context.Context) CrawlerS3TargetOutput

type CrawlerSchemaChangePolicy

type CrawlerSchemaChangePolicy struct {
	// The deletion behavior when the crawler finds a deleted object. Valid values: `LOG`, `DELETE_FROM_DATABASE`, or `DEPRECATE_IN_DATABASE`. Defaults to `DEPRECATE_IN_DATABASE`.
	DeleteBehavior *string `pulumi:"deleteBehavior"`
	// The update behavior when the crawler finds a changed schema. Valid values: `LOG` or `UPDATE_IN_DATABASE`. Defaults to `UPDATE_IN_DATABASE`.
	UpdateBehavior *string `pulumi:"updateBehavior"`
}

type CrawlerSchemaChangePolicyArgs

type CrawlerSchemaChangePolicyArgs struct {
	// The deletion behavior when the crawler finds a deleted object. Valid values: `LOG`, `DELETE_FROM_DATABASE`, or `DEPRECATE_IN_DATABASE`. Defaults to `DEPRECATE_IN_DATABASE`.
	DeleteBehavior pulumi.StringPtrInput `pulumi:"deleteBehavior"`
	// The update behavior when the crawler finds a changed schema. Valid values: `LOG` or `UPDATE_IN_DATABASE`. Defaults to `UPDATE_IN_DATABASE`.
	UpdateBehavior pulumi.StringPtrInput `pulumi:"updateBehavior"`
}

func (CrawlerSchemaChangePolicyArgs) ElementType

func (CrawlerSchemaChangePolicyArgs) ToCrawlerSchemaChangePolicyOutput

func (i CrawlerSchemaChangePolicyArgs) ToCrawlerSchemaChangePolicyOutput() CrawlerSchemaChangePolicyOutput

func (CrawlerSchemaChangePolicyArgs) ToCrawlerSchemaChangePolicyOutputWithContext

func (i CrawlerSchemaChangePolicyArgs) ToCrawlerSchemaChangePolicyOutputWithContext(ctx context.Context) CrawlerSchemaChangePolicyOutput

func (CrawlerSchemaChangePolicyArgs) ToCrawlerSchemaChangePolicyPtrOutput

func (i CrawlerSchemaChangePolicyArgs) ToCrawlerSchemaChangePolicyPtrOutput() CrawlerSchemaChangePolicyPtrOutput

func (CrawlerSchemaChangePolicyArgs) ToCrawlerSchemaChangePolicyPtrOutputWithContext

func (i CrawlerSchemaChangePolicyArgs) ToCrawlerSchemaChangePolicyPtrOutputWithContext(ctx context.Context) CrawlerSchemaChangePolicyPtrOutput

type CrawlerSchemaChangePolicyInput

type CrawlerSchemaChangePolicyInput interface {
	pulumi.Input

	ToCrawlerSchemaChangePolicyOutput() CrawlerSchemaChangePolicyOutput
	ToCrawlerSchemaChangePolicyOutputWithContext(context.Context) CrawlerSchemaChangePolicyOutput
}

CrawlerSchemaChangePolicyInput is an input type that accepts CrawlerSchemaChangePolicyArgs and CrawlerSchemaChangePolicyOutput values. You can construct a concrete instance of `CrawlerSchemaChangePolicyInput` via:

CrawlerSchemaChangePolicyArgs{...}

type CrawlerSchemaChangePolicyOutput

type CrawlerSchemaChangePolicyOutput struct{ *pulumi.OutputState }

func (CrawlerSchemaChangePolicyOutput) DeleteBehavior

The deletion behavior when the crawler finds a deleted object. Valid values: `LOG`, `DELETE_FROM_DATABASE`, or `DEPRECATE_IN_DATABASE`. Defaults to `DEPRECATE_IN_DATABASE`.

func (CrawlerSchemaChangePolicyOutput) ElementType

func (CrawlerSchemaChangePolicyOutput) ToCrawlerSchemaChangePolicyOutput

func (o CrawlerSchemaChangePolicyOutput) ToCrawlerSchemaChangePolicyOutput() CrawlerSchemaChangePolicyOutput

func (CrawlerSchemaChangePolicyOutput) ToCrawlerSchemaChangePolicyOutputWithContext

func (o CrawlerSchemaChangePolicyOutput) ToCrawlerSchemaChangePolicyOutputWithContext(ctx context.Context) CrawlerSchemaChangePolicyOutput

func (CrawlerSchemaChangePolicyOutput) ToCrawlerSchemaChangePolicyPtrOutput

func (o CrawlerSchemaChangePolicyOutput) ToCrawlerSchemaChangePolicyPtrOutput() CrawlerSchemaChangePolicyPtrOutput

func (CrawlerSchemaChangePolicyOutput) ToCrawlerSchemaChangePolicyPtrOutputWithContext

func (o CrawlerSchemaChangePolicyOutput) ToCrawlerSchemaChangePolicyPtrOutputWithContext(ctx context.Context) CrawlerSchemaChangePolicyPtrOutput

func (CrawlerSchemaChangePolicyOutput) UpdateBehavior

The update behavior when the crawler finds a changed schema. Valid values: `LOG` or `UPDATE_IN_DATABASE`. Defaults to `UPDATE_IN_DATABASE`.

type CrawlerSchemaChangePolicyPtrInput

type CrawlerSchemaChangePolicyPtrInput interface {
	pulumi.Input

	ToCrawlerSchemaChangePolicyPtrOutput() CrawlerSchemaChangePolicyPtrOutput
	ToCrawlerSchemaChangePolicyPtrOutputWithContext(context.Context) CrawlerSchemaChangePolicyPtrOutput
}

CrawlerSchemaChangePolicyPtrInput is an input type that accepts CrawlerSchemaChangePolicyArgs, CrawlerSchemaChangePolicyPtr and CrawlerSchemaChangePolicyPtrOutput values. You can construct a concrete instance of `CrawlerSchemaChangePolicyPtrInput` via:

        CrawlerSchemaChangePolicyArgs{...}

or:

        nil

type CrawlerSchemaChangePolicyPtrOutput

type CrawlerSchemaChangePolicyPtrOutput struct{ *pulumi.OutputState }

func (CrawlerSchemaChangePolicyPtrOutput) DeleteBehavior

The deletion behavior when the crawler finds a deleted object. Valid values: `LOG`, `DELETE_FROM_DATABASE`, or `DEPRECATE_IN_DATABASE`. Defaults to `DEPRECATE_IN_DATABASE`.

func (CrawlerSchemaChangePolicyPtrOutput) Elem

func (CrawlerSchemaChangePolicyPtrOutput) ElementType

func (CrawlerSchemaChangePolicyPtrOutput) ToCrawlerSchemaChangePolicyPtrOutput

func (o CrawlerSchemaChangePolicyPtrOutput) ToCrawlerSchemaChangePolicyPtrOutput() CrawlerSchemaChangePolicyPtrOutput

func (CrawlerSchemaChangePolicyPtrOutput) ToCrawlerSchemaChangePolicyPtrOutputWithContext

func (o CrawlerSchemaChangePolicyPtrOutput) ToCrawlerSchemaChangePolicyPtrOutputWithContext(ctx context.Context) CrawlerSchemaChangePolicyPtrOutput

func (CrawlerSchemaChangePolicyPtrOutput) UpdateBehavior

The update behavior when the crawler finds a changed schema. Valid values: `LOG` or `UPDATE_IN_DATABASE`. Defaults to `UPDATE_IN_DATABASE`.

type CrawlerState

type CrawlerState struct {
	// The ARN of the crawler
	Arn            pulumi.StringPtrInput
	CatalogTargets CrawlerCatalogTargetArrayInput
	// List of custom classifiers. By default, all AWS classifiers are included in a crawl, but these custom classifiers always override the default classifiers for a given classification.
	Classifiers pulumi.StringArrayInput
	// JSON string of configuration information.
	Configuration pulumi.StringPtrInput
	// Glue database where results are written.
	DatabaseName pulumi.StringPtrInput
	// Description of the crawler.
	Description pulumi.StringPtrInput
	// List of nested DynamoDB target arguments. See below.
	DynamodbTargets CrawlerDynamodbTargetArrayInput
	// List of nested JBDC target arguments. See below.
	JdbcTargets CrawlerJdbcTargetArrayInput
	// Name of the crawler.
	Name pulumi.StringPtrInput
	// The IAM role friendly name (including path without leading slash), or ARN of an IAM role, used by the crawler to access other resources.
	Role pulumi.StringPtrInput
	// List nested Amazon S3 target arguments. See below.
	S3Targets CrawlerS3TargetArrayInput
	// A cron expression used to specify the schedule. For more information, see [Time-Based Schedules for Jobs and Crawlers](https://docs.aws.amazon.com/glue/latest/dg/monitor-data-warehouse-schedule.html). For example, to run something every day at 12:15 UTC, you would specify: `cron(15 12 * * ? *)`.
	Schedule pulumi.StringPtrInput
	// Policy for the crawler's update and deletion behavior.
	SchemaChangePolicy CrawlerSchemaChangePolicyPtrInput
	// The name of Security Configuration to be used by the crawler
	SecurityConfiguration pulumi.StringPtrInput
	// The table prefix used for catalog tables that are created.
	TablePrefix pulumi.StringPtrInput
	// Key-value map of resource tags
	Tags pulumi.StringMapInput
}

func (CrawlerState) ElementType

func (CrawlerState) ElementType() reflect.Type

type GetScriptArgs

type GetScriptArgs struct {
	// A list of the edges in the DAG. Defined below.
	DagEdges []GetScriptDagEdge `pulumi:"dagEdges"`
	// A list of the nodes in the DAG. Defined below.
	DagNodes []GetScriptDagNode `pulumi:"dagNodes"`
	// The programming language of the resulting code from the DAG. Defaults to `PYTHON`. Valid values are `PYTHON` and `SCALA`.
	Language *string `pulumi:"language"`
}

A collection of arguments for invoking getScript.

type GetScriptDagEdge

type GetScriptDagEdge struct {
	// The ID of the node at which the edge starts.
	Source string `pulumi:"source"`
	// The ID of the node at which the edge ends.
	Target string `pulumi:"target"`
	// The target of the edge.
	TargetParameter *string `pulumi:"targetParameter"`
}

type GetScriptDagEdgeArgs

type GetScriptDagEdgeArgs struct {
	// The ID of the node at which the edge starts.
	Source pulumi.StringInput `pulumi:"source"`
	// The ID of the node at which the edge ends.
	Target pulumi.StringInput `pulumi:"target"`
	// The target of the edge.
	TargetParameter pulumi.StringPtrInput `pulumi:"targetParameter"`
}

func (GetScriptDagEdgeArgs) ElementType

func (GetScriptDagEdgeArgs) ElementType() reflect.Type

func (GetScriptDagEdgeArgs) ToGetScriptDagEdgeOutput

func (i GetScriptDagEdgeArgs) ToGetScriptDagEdgeOutput() GetScriptDagEdgeOutput

func (GetScriptDagEdgeArgs) ToGetScriptDagEdgeOutputWithContext

func (i GetScriptDagEdgeArgs) ToGetScriptDagEdgeOutputWithContext(ctx context.Context) GetScriptDagEdgeOutput

type GetScriptDagEdgeArray

type GetScriptDagEdgeArray []GetScriptDagEdgeInput

func (GetScriptDagEdgeArray) ElementType

func (GetScriptDagEdgeArray) ElementType() reflect.Type

func (GetScriptDagEdgeArray) ToGetScriptDagEdgeArrayOutput

func (i GetScriptDagEdgeArray) ToGetScriptDagEdgeArrayOutput() GetScriptDagEdgeArrayOutput

func (GetScriptDagEdgeArray) ToGetScriptDagEdgeArrayOutputWithContext

func (i GetScriptDagEdgeArray) ToGetScriptDagEdgeArrayOutputWithContext(ctx context.Context) GetScriptDagEdgeArrayOutput

type GetScriptDagEdgeArrayInput

type GetScriptDagEdgeArrayInput interface {
	pulumi.Input

	ToGetScriptDagEdgeArrayOutput() GetScriptDagEdgeArrayOutput
	ToGetScriptDagEdgeArrayOutputWithContext(context.Context) GetScriptDagEdgeArrayOutput
}

GetScriptDagEdgeArrayInput is an input type that accepts GetScriptDagEdgeArray and GetScriptDagEdgeArrayOutput values. You can construct a concrete instance of `GetScriptDagEdgeArrayInput` via:

GetScriptDagEdgeArray{ GetScriptDagEdgeArgs{...} }

type GetScriptDagEdgeArrayOutput

type GetScriptDagEdgeArrayOutput struct{ *pulumi.OutputState }

func (GetScriptDagEdgeArrayOutput) ElementType

func (GetScriptDagEdgeArrayOutput) Index

func (GetScriptDagEdgeArrayOutput) ToGetScriptDagEdgeArrayOutput

func (o GetScriptDagEdgeArrayOutput) ToGetScriptDagEdgeArrayOutput() GetScriptDagEdgeArrayOutput

func (GetScriptDagEdgeArrayOutput) ToGetScriptDagEdgeArrayOutputWithContext

func (o GetScriptDagEdgeArrayOutput) ToGetScriptDagEdgeArrayOutputWithContext(ctx context.Context) GetScriptDagEdgeArrayOutput

type GetScriptDagEdgeInput

type GetScriptDagEdgeInput interface {
	pulumi.Input

	ToGetScriptDagEdgeOutput() GetScriptDagEdgeOutput
	ToGetScriptDagEdgeOutputWithContext(context.Context) GetScriptDagEdgeOutput
}

GetScriptDagEdgeInput is an input type that accepts GetScriptDagEdgeArgs and GetScriptDagEdgeOutput values. You can construct a concrete instance of `GetScriptDagEdgeInput` via:

GetScriptDagEdgeArgs{...}

type GetScriptDagEdgeOutput

type GetScriptDagEdgeOutput struct{ *pulumi.OutputState }

func (GetScriptDagEdgeOutput) ElementType

func (GetScriptDagEdgeOutput) ElementType() reflect.Type

func (GetScriptDagEdgeOutput) Source

The ID of the node at which the edge starts.

func (GetScriptDagEdgeOutput) Target

The ID of the node at which the edge ends.

func (GetScriptDagEdgeOutput) TargetParameter

func (o GetScriptDagEdgeOutput) TargetParameter() pulumi.StringPtrOutput

The target of the edge.

func (GetScriptDagEdgeOutput) ToGetScriptDagEdgeOutput

func (o GetScriptDagEdgeOutput) ToGetScriptDagEdgeOutput() GetScriptDagEdgeOutput

func (GetScriptDagEdgeOutput) ToGetScriptDagEdgeOutputWithContext

func (o GetScriptDagEdgeOutput) ToGetScriptDagEdgeOutputWithContext(ctx context.Context) GetScriptDagEdgeOutput

type GetScriptDagNode

type GetScriptDagNode struct {
	// Nested configuration an argument or property of a node. Defined below.
	Args []GetScriptDagNodeArg `pulumi:"args"`
	// A node identifier that is unique within the node's graph.
	Id string `pulumi:"id"`
	// The line number of the node.
	LineNumber *int `pulumi:"lineNumber"`
	// The type of node this is.
	NodeType string `pulumi:"nodeType"`
}

type GetScriptDagNodeArg

type GetScriptDagNodeArg struct {
	// The name of the argument or property.
	Name string `pulumi:"name"`
	// Boolean if the value is used as a parameter. Defaults to `false`.
	Param *bool `pulumi:"param"`
	// The value of the argument or property.
	Value string `pulumi:"value"`
}

type GetScriptDagNodeArgArgs

type GetScriptDagNodeArgArgs struct {
	// The name of the argument or property.
	Name pulumi.StringInput `pulumi:"name"`
	// Boolean if the value is used as a parameter. Defaults to `false`.
	Param pulumi.BoolPtrInput `pulumi:"param"`
	// The value of the argument or property.
	Value pulumi.StringInput `pulumi:"value"`
}

func (GetScriptDagNodeArgArgs) ElementType

func (GetScriptDagNodeArgArgs) ElementType() reflect.Type

func (GetScriptDagNodeArgArgs) ToGetScriptDagNodeArgOutput

func (i GetScriptDagNodeArgArgs) ToGetScriptDagNodeArgOutput() GetScriptDagNodeArgOutput

func (GetScriptDagNodeArgArgs) ToGetScriptDagNodeArgOutputWithContext

func (i GetScriptDagNodeArgArgs) ToGetScriptDagNodeArgOutputWithContext(ctx context.Context) GetScriptDagNodeArgOutput

type GetScriptDagNodeArgArray

type GetScriptDagNodeArgArray []GetScriptDagNodeArgInput

func (GetScriptDagNodeArgArray) ElementType

func (GetScriptDagNodeArgArray) ElementType() reflect.Type

func (GetScriptDagNodeArgArray) ToGetScriptDagNodeArgArrayOutput

func (i GetScriptDagNodeArgArray) ToGetScriptDagNodeArgArrayOutput() GetScriptDagNodeArgArrayOutput

func (GetScriptDagNodeArgArray) ToGetScriptDagNodeArgArrayOutputWithContext

func (i GetScriptDagNodeArgArray) ToGetScriptDagNodeArgArrayOutputWithContext(ctx context.Context) GetScriptDagNodeArgArrayOutput

type GetScriptDagNodeArgArrayInput

type GetScriptDagNodeArgArrayInput interface {
	pulumi.Input

	ToGetScriptDagNodeArgArrayOutput() GetScriptDagNodeArgArrayOutput
	ToGetScriptDagNodeArgArrayOutputWithContext(context.Context) GetScriptDagNodeArgArrayOutput
}

GetScriptDagNodeArgArrayInput is an input type that accepts GetScriptDagNodeArgArray and GetScriptDagNodeArgArrayOutput values. You can construct a concrete instance of `GetScriptDagNodeArgArrayInput` via:

GetScriptDagNodeArgArray{ GetScriptDagNodeArgArgs{...} }

type GetScriptDagNodeArgArrayOutput

type GetScriptDagNodeArgArrayOutput struct{ *pulumi.OutputState }

func (GetScriptDagNodeArgArrayOutput) ElementType

func (GetScriptDagNodeArgArrayOutput) Index

func (GetScriptDagNodeArgArrayOutput) ToGetScriptDagNodeArgArrayOutput

func (o GetScriptDagNodeArgArrayOutput) ToGetScriptDagNodeArgArrayOutput() GetScriptDagNodeArgArrayOutput

func (GetScriptDagNodeArgArrayOutput) ToGetScriptDagNodeArgArrayOutputWithContext

func (o GetScriptDagNodeArgArrayOutput) ToGetScriptDagNodeArgArrayOutputWithContext(ctx context.Context) GetScriptDagNodeArgArrayOutput

type GetScriptDagNodeArgInput

type GetScriptDagNodeArgInput interface {
	pulumi.Input

	ToGetScriptDagNodeArgOutput() GetScriptDagNodeArgOutput
	ToGetScriptDagNodeArgOutputWithContext(context.Context) GetScriptDagNodeArgOutput
}

GetScriptDagNodeArgInput is an input type that accepts GetScriptDagNodeArgArgs and GetScriptDagNodeArgOutput values. You can construct a concrete instance of `GetScriptDagNodeArgInput` via:

GetScriptDagNodeArgArgs{...}

type GetScriptDagNodeArgOutput

type GetScriptDagNodeArgOutput struct{ *pulumi.OutputState }

func (GetScriptDagNodeArgOutput) ElementType

func (GetScriptDagNodeArgOutput) ElementType() reflect.Type

func (GetScriptDagNodeArgOutput) Name

The name of the argument or property.

func (GetScriptDagNodeArgOutput) Param

Boolean if the value is used as a parameter. Defaults to `false`.

func (GetScriptDagNodeArgOutput) ToGetScriptDagNodeArgOutput

func (o GetScriptDagNodeArgOutput) ToGetScriptDagNodeArgOutput() GetScriptDagNodeArgOutput

func (GetScriptDagNodeArgOutput) ToGetScriptDagNodeArgOutputWithContext

func (o GetScriptDagNodeArgOutput) ToGetScriptDagNodeArgOutputWithContext(ctx context.Context) GetScriptDagNodeArgOutput

func (GetScriptDagNodeArgOutput) Value

The value of the argument or property.

type GetScriptDagNodeArgs

type GetScriptDagNodeArgs struct {
	// Nested configuration an argument or property of a node. Defined below.
	Args GetScriptDagNodeArgArrayInput `pulumi:"args"`
	// A node identifier that is unique within the node's graph.
	Id pulumi.StringInput `pulumi:"id"`
	// The line number of the node.
	LineNumber pulumi.IntPtrInput `pulumi:"lineNumber"`
	// The type of node this is.
	NodeType pulumi.StringInput `pulumi:"nodeType"`
}

func (GetScriptDagNodeArgs) ElementType

func (GetScriptDagNodeArgs) ElementType() reflect.Type

func (GetScriptDagNodeArgs) ToGetScriptDagNodeOutput

func (i GetScriptDagNodeArgs) ToGetScriptDagNodeOutput() GetScriptDagNodeOutput

func (GetScriptDagNodeArgs) ToGetScriptDagNodeOutputWithContext

func (i GetScriptDagNodeArgs) ToGetScriptDagNodeOutputWithContext(ctx context.Context) GetScriptDagNodeOutput

type GetScriptDagNodeArray

type GetScriptDagNodeArray []GetScriptDagNodeInput

func (GetScriptDagNodeArray) ElementType

func (GetScriptDagNodeArray) ElementType() reflect.Type

func (GetScriptDagNodeArray) ToGetScriptDagNodeArrayOutput

func (i GetScriptDagNodeArray) ToGetScriptDagNodeArrayOutput() GetScriptDagNodeArrayOutput

func (GetScriptDagNodeArray) ToGetScriptDagNodeArrayOutputWithContext

func (i GetScriptDagNodeArray) ToGetScriptDagNodeArrayOutputWithContext(ctx context.Context) GetScriptDagNodeArrayOutput

type GetScriptDagNodeArrayInput

type GetScriptDagNodeArrayInput interface {
	pulumi.Input

	ToGetScriptDagNodeArrayOutput() GetScriptDagNodeArrayOutput
	ToGetScriptDagNodeArrayOutputWithContext(context.Context) GetScriptDagNodeArrayOutput
}

GetScriptDagNodeArrayInput is an input type that accepts GetScriptDagNodeArray and GetScriptDagNodeArrayOutput values. You can construct a concrete instance of `GetScriptDagNodeArrayInput` via:

GetScriptDagNodeArray{ GetScriptDagNodeArgs{...} }

type GetScriptDagNodeArrayOutput

type GetScriptDagNodeArrayOutput struct{ *pulumi.OutputState }

func (GetScriptDagNodeArrayOutput) ElementType

func (GetScriptDagNodeArrayOutput) Index

func (GetScriptDagNodeArrayOutput) ToGetScriptDagNodeArrayOutput

func (o GetScriptDagNodeArrayOutput) ToGetScriptDagNodeArrayOutput() GetScriptDagNodeArrayOutput

func (GetScriptDagNodeArrayOutput) ToGetScriptDagNodeArrayOutputWithContext

func (o GetScriptDagNodeArrayOutput) ToGetScriptDagNodeArrayOutputWithContext(ctx context.Context) GetScriptDagNodeArrayOutput

type GetScriptDagNodeInput

type GetScriptDagNodeInput interface {
	pulumi.Input

	ToGetScriptDagNodeOutput() GetScriptDagNodeOutput
	ToGetScriptDagNodeOutputWithContext(context.Context) GetScriptDagNodeOutput
}

GetScriptDagNodeInput is an input type that accepts GetScriptDagNodeArgs and GetScriptDagNodeOutput values. You can construct a concrete instance of `GetScriptDagNodeInput` via:

GetScriptDagNodeArgs{...}

type GetScriptDagNodeOutput

type GetScriptDagNodeOutput struct{ *pulumi.OutputState }

func (GetScriptDagNodeOutput) Args

Nested configuration an argument or property of a node. Defined below.

func (GetScriptDagNodeOutput) ElementType

func (GetScriptDagNodeOutput) ElementType() reflect.Type

func (GetScriptDagNodeOutput) Id

A node identifier that is unique within the node's graph.

func (GetScriptDagNodeOutput) LineNumber

The line number of the node.

func (GetScriptDagNodeOutput) NodeType

The type of node this is.

func (GetScriptDagNodeOutput) ToGetScriptDagNodeOutput

func (o GetScriptDagNodeOutput) ToGetScriptDagNodeOutput() GetScriptDagNodeOutput

func (GetScriptDagNodeOutput) ToGetScriptDagNodeOutputWithContext

func (o GetScriptDagNodeOutput) ToGetScriptDagNodeOutputWithContext(ctx context.Context) GetScriptDagNodeOutput

type GetScriptResult

type GetScriptResult struct {
	DagEdges []GetScriptDagEdge `pulumi:"dagEdges"`
	DagNodes []GetScriptDagNode `pulumi:"dagNodes"`
	// The provider-assigned unique ID for this managed resource.
	Id       string  `pulumi:"id"`
	Language *string `pulumi:"language"`
	// The Python script generated from the DAG when the `language` argument is set to `PYTHON`.
	PythonScript string `pulumi:"pythonScript"`
	// The Scala code generated from the DAG when the `language` argument is set to `SCALA`.
	ScalaCode string `pulumi:"scalaCode"`
}

A collection of values returned by getScript.

func GetScript

func GetScript(ctx *pulumi.Context, args *GetScriptArgs, opts ...pulumi.InvokeOption) (*GetScriptResult, error)

Use this data source to generate a Glue script from a Directed Acyclic Graph (DAG).

## Example Usage ### Generate Python Script

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/glue"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := "PYTHON"
		example, err := glue.GetScript(ctx, &glue.GetScriptArgs{
			Language: &opt0,
			DagEdges: []glue.GetScriptDagEdge{
				glue.GetScriptDagEdge{
					Source: "datasource0",
					Target: "applymapping1",
				},
				glue.GetScriptDagEdge{
					Source: "applymapping1",
					Target: "selectfields2",
				},
				glue.GetScriptDagEdge{
					Source: "selectfields2",
					Target: "resolvechoice3",
				},
				glue.GetScriptDagEdge{
					Source: "resolvechoice3",
					Target: "datasink4",
				},
			},
			DagNodes: []glue.GetScriptDagNode{
				glue.GetScriptDagNode{
					Id:       "datasource0",
					NodeType: "DataSource",
					Args: []glue.GetScriptDagNodeArg{
						glue.GetScriptDagNodeArg{
							Name:  "database",
							Value: fmt.Sprintf("%v%v%v", "\"", aws_glue_catalog_database.Source.Name, "\""),
						},
						glue.GetScriptDagNodeArg{
							Name:  "table_name",
							Value: fmt.Sprintf("%v%v%v", "\"", aws_glue_catalog_table.Source.Name, "\""),
						},
					},
				},
				glue.GetScriptDagNode{
					Id:       "applymapping1",
					NodeType: "ApplyMapping",
					Args: []glue.GetScriptDagNodeArg{
						glue.GetScriptDagNodeArg{
							Name:  "mapping",
							Value: "[(\"column1\", \"string\", \"column1\", \"string\")]",
						},
					},
				},
				glue.GetScriptDagNode{
					Id:       "selectfields2",
					NodeType: "SelectFields",
					Args: []glue.GetScriptDagNodeArg{
						glue.GetScriptDagNodeArg{
							Name:  "paths",
							Value: "[\"column1\"]",
						},
					},
				},
				glue.GetScriptDagNode{
					Id:       "resolvechoice3",
					NodeType: "ResolveChoice",
					Args: []glue.GetScriptDagNodeArg{
						glue.GetScriptDagNodeArg{
							Name:  "choice",
							Value: "\"MATCH_CATALOG\"",
						},
						glue.GetScriptDagNodeArg{
							Name:  "database",
							Value: fmt.Sprintf("%v%v%v", "\"", aws_glue_catalog_database.Destination.Name, "\""),
						},
						glue.GetScriptDagNodeArg{
							Name:  "table_name",
							Value: fmt.Sprintf("%v%v%v", "\"", aws_glue_catalog_table.Destination.Name, "\""),
						},
					},
				},
				glue.GetScriptDagNode{
					Id:       "datasink4",
					NodeType: "DataSink",
					Args: []glue.GetScriptDagNodeArg{
						glue.GetScriptDagNodeArg{
							Name:  "database",
							Value: fmt.Sprintf("%v%v%v", "\"", aws_glue_catalog_database.Destination.Name, "\""),
						},
						glue.GetScriptDagNodeArg{
							Name:  "table_name",
							Value: fmt.Sprintf("%v%v%v", "\"", aws_glue_catalog_table.Destination.Name, "\""),
						},
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("pythonScript", example.PythonScript)
		return nil
	})
}

``` ### Generate Scala Code

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/glue"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := "SCALA"
		example, err := glue.GetScript(ctx, &glue.GetScriptArgs{
			Language: &opt0,
			DagEdges: []glue.GetScriptDagEdge{
				glue.GetScriptDagEdge{
					Source: "datasource0",
					Target: "applymapping1",
				},
				glue.GetScriptDagEdge{
					Source: "applymapping1",
					Target: "selectfields2",
				},
				glue.GetScriptDagEdge{
					Source: "selectfields2",
					Target: "resolvechoice3",
				},
				glue.GetScriptDagEdge{
					Source: "resolvechoice3",
					Target: "datasink4",
				},
			},
			DagNodes: []glue.GetScriptDagNode{
				glue.GetScriptDagNode{
					Id:       "datasource0",
					NodeType: "DataSource",
					Args: []glue.GetScriptDagNodeArg{
						glue.GetScriptDagNodeArg{
							Name:  "database",
							Value: fmt.Sprintf("%v%v%v", "\"", aws_glue_catalog_database.Source.Name, "\""),
						},
						glue.GetScriptDagNodeArg{
							Name:  "table_name",
							Value: fmt.Sprintf("%v%v%v", "\"", aws_glue_catalog_table.Source.Name, "\""),
						},
					},
				},
				glue.GetScriptDagNode{
					Id:       "applymapping1",
					NodeType: "ApplyMapping",
					Args: []glue.GetScriptDagNodeArg{
						glue.GetScriptDagNodeArg{
							Name:  "mappings",
							Value: "[(\"column1\", \"string\", \"column1\", \"string\")]",
						},
					},
				},
				glue.GetScriptDagNode{
					Id:       "selectfields2",
					NodeType: "SelectFields",
					Args: []glue.GetScriptDagNodeArg{
						glue.GetScriptDagNodeArg{
							Name:  "paths",
							Value: "[\"column1\"]",
						},
					},
				},
				glue.GetScriptDagNode{
					Id:       "resolvechoice3",
					NodeType: "ResolveChoice",
					Args: []glue.GetScriptDagNodeArg{
						glue.GetScriptDagNodeArg{
							Name:  "choice",
							Value: "\"MATCH_CATALOG\"",
						},
						glue.GetScriptDagNodeArg{
							Name:  "database",
							Value: fmt.Sprintf("%v%v%v", "\"", aws_glue_catalog_database.Destination.Name, "\""),
						},
						glue.GetScriptDagNodeArg{
							Name:  "table_name",
							Value: fmt.Sprintf("%v%v%v", "\"", aws_glue_catalog_table.Destination.Name, "\""),
						},
					},
				},
				glue.GetScriptDagNode{
					Id:       "datasink4",
					NodeType: "DataSink",
					Args: []glue.GetScriptDagNodeArg{
						glue.GetScriptDagNodeArg{
							Name:  "database",
							Value: fmt.Sprintf("%v%v%v", "\"", aws_glue_catalog_database.Destination.Name, "\""),
						},
						glue.GetScriptDagNodeArg{
							Name:  "table_name",
							Value: fmt.Sprintf("%v%v%v", "\"", aws_glue_catalog_table.Destination.Name, "\""),
						},
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("scalaCode", example.ScalaCode)
		return nil
	})
}

```

type Job

type Job struct {
	pulumi.CustomResourceState

	// Amazon Resource Name (ARN) of Glue Job
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The command of the job. Defined below.
	Command JobCommandOutput `pulumi:"command"`
	// The list of connections used for this job.
	Connections pulumi.StringArrayOutput `pulumi:"connections"`
	// The map of default arguments for this job. You can specify arguments here that your own job-execution script consumes, as well as arguments that AWS Glue itself consumes. For information about how to specify and consume your own Job arguments, see the [Calling AWS Glue APIs in Python](http://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-python-calling.html) topic in the developer guide. For information about the key-value pairs that AWS Glue consumes to set up your job, see the [Special Parameters Used by AWS Glue](http://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-python-glue-arguments.html) topic in the developer guide.
	DefaultArguments pulumi.StringMapOutput `pulumi:"defaultArguments"`
	// Description of the job.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Execution property of the job. Defined below.
	ExecutionProperty JobExecutionPropertyOutput `pulumi:"executionProperty"`
	// The version of glue to use, for example "1.0". For information about available versions, see the [AWS Glue Release Notes](https://docs.aws.amazon.com/glue/latest/dg/release-notes.html).
	GlueVersion pulumi.StringOutput `pulumi:"glueVersion"`
	// The maximum number of AWS Glue data processing units (DPUs) that can be allocated when this job runs. `Required` when `pythonshell` is set, accept either `0.0625` or `1.0`. Use `numberOfWorkers` and `workerType` arguments instead with `glueVersion` `2.0` and above.
	MaxCapacity pulumi.Float64Output `pulumi:"maxCapacity"`
	// The maximum number of times to retry this job if it fails.
	MaxRetries pulumi.IntPtrOutput `pulumi:"maxRetries"`
	// The name you assign to this job. It must be unique in your account.
	Name pulumi.StringOutput `pulumi:"name"`
	// Non-overridable arguments for this job, specified as name-value pairs.
	NonOverridableArguments pulumi.StringMapOutput `pulumi:"nonOverridableArguments"`
	// Notification property of the job. Defined below.
	NotificationProperty JobNotificationPropertyOutput `pulumi:"notificationProperty"`
	// The number of workers of a defined workerType that are allocated when a job runs.
	NumberOfWorkers pulumi.IntPtrOutput `pulumi:"numberOfWorkers"`
	// The ARN of the IAM role associated with this job.
	RoleArn pulumi.StringOutput `pulumi:"roleArn"`
	// The name of the Security Configuration to be associated with the job.
	SecurityConfiguration pulumi.StringPtrOutput `pulumi:"securityConfiguration"`
	// Key-value map of resource tags
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// The job timeout in minutes. The default is 2880 minutes (48 hours).
	Timeout pulumi.IntPtrOutput `pulumi:"timeout"`
	// The type of predefined worker that is allocated when a job runs. Accepts a value of Standard, G.1X, or G.2X.
	WorkerType pulumi.StringPtrOutput `pulumi:"workerType"`
}

Provides a Glue Job resource.

> Glue functionality, such as monitoring and logging of jobs, is typically managed with the `defaultArguments` argument. See the [Special Parameters Used by AWS Glue](https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html) topic in the Glue developer guide for additional information.

## Example Usage ### Python Job

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/glue"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := glue.NewJob(ctx, "example", &glue.JobArgs{
			RoleArn: pulumi.Any(aws_iam_role.Example.Arn),
			Command: &glue.JobCommandArgs{
				ScriptLocation: pulumi.String(fmt.Sprintf("%v%v%v", "s3://", aws_s3_bucket.Example.Bucket, "/example.py")),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Scala Job

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/glue"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := glue.NewJob(ctx, "example", &glue.JobArgs{
			RoleArn: pulumi.Any(aws_iam_role.Example.Arn),
			Command: &glue.JobCommandArgs{
				ScriptLocation: pulumi.String(fmt.Sprintf("%v%v%v", "s3://", aws_s3_bucket.Example.Bucket, "/example.scala")),
			},
			DefaultArguments: pulumi.StringMap{
				"--job-language": pulumi.String("scala"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Enabling CloudWatch Logs and Metrics

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/cloudwatch"
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/glue"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleLogGroup, err := cloudwatch.NewLogGroup(ctx, "exampleLogGroup", &cloudwatch.LogGroupArgs{
			RetentionInDays: pulumi.Int(14),
		})
		if err != nil {
			return err
		}
		_, err = glue.NewJob(ctx, "exampleJob", &glue.JobArgs{
			DefaultArguments: pulumi.StringMap{
				"--continuous-log-logGroup":          exampleLogGroup.Name,
				"--enable-continuous-cloudwatch-log": pulumi.String("true"),
				"--enable-continuous-log-filter":     pulumi.String("true"),
				"--enable-metrics":                   pulumi.String(""),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetJob

func GetJob(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *JobState, opts ...pulumi.ResourceOption) (*Job, error)

GetJob gets an existing Job resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewJob

func NewJob(ctx *pulumi.Context,
	name string, args *JobArgs, opts ...pulumi.ResourceOption) (*Job, error)

NewJob registers a new resource with the given unique name, arguments, and options.

type JobArgs

type JobArgs struct {
	// The command of the job. Defined below.
	Command JobCommandInput
	// The list of connections used for this job.
	Connections pulumi.StringArrayInput
	// The map of default arguments for this job. You can specify arguments here that your own job-execution script consumes, as well as arguments that AWS Glue itself consumes. For information about how to specify and consume your own Job arguments, see the [Calling AWS Glue APIs in Python](http://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-python-calling.html) topic in the developer guide. For information about the key-value pairs that AWS Glue consumes to set up your job, see the [Special Parameters Used by AWS Glue](http://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-python-glue-arguments.html) topic in the developer guide.
	DefaultArguments pulumi.StringMapInput
	// Description of the job.
	Description pulumi.StringPtrInput
	// Execution property of the job. Defined below.
	ExecutionProperty JobExecutionPropertyPtrInput
	// The version of glue to use, for example "1.0". For information about available versions, see the [AWS Glue Release Notes](https://docs.aws.amazon.com/glue/latest/dg/release-notes.html).
	GlueVersion pulumi.StringPtrInput
	// The maximum number of AWS Glue data processing units (DPUs) that can be allocated when this job runs. `Required` when `pythonshell` is set, accept either `0.0625` or `1.0`. Use `numberOfWorkers` and `workerType` arguments instead with `glueVersion` `2.0` and above.
	MaxCapacity pulumi.Float64PtrInput
	// The maximum number of times to retry this job if it fails.
	MaxRetries pulumi.IntPtrInput
	// The name you assign to this job. It must be unique in your account.
	Name pulumi.StringPtrInput
	// Non-overridable arguments for this job, specified as name-value pairs.
	NonOverridableArguments pulumi.StringMapInput
	// Notification property of the job. Defined below.
	NotificationProperty JobNotificationPropertyPtrInput
	// The number of workers of a defined workerType that are allocated when a job runs.
	NumberOfWorkers pulumi.IntPtrInput
	// The ARN of the IAM role associated with this job.
	RoleArn pulumi.StringInput
	// The name of the Security Configuration to be associated with the job.
	SecurityConfiguration pulumi.StringPtrInput
	// Key-value map of resource tags
	Tags pulumi.StringMapInput
	// The job timeout in minutes. The default is 2880 minutes (48 hours).
	Timeout pulumi.IntPtrInput
	// The type of predefined worker that is allocated when a job runs. Accepts a value of Standard, G.1X, or G.2X.
	WorkerType pulumi.StringPtrInput
}

The set of arguments for constructing a Job resource.

func (JobArgs) ElementType

func (JobArgs) ElementType() reflect.Type

type JobCommand

type JobCommand struct {
	// The name of the job command. Defaults to `glueetl`. Use `pythonshell` for Python Shell Job Type, `maxCapacity` needs to be set if `pythonshell` is chosen.
	Name *string `pulumi:"name"`
	// The Python version being used to execute a Python shell job. Allowed values are 2 or 3.
	PythonVersion *string `pulumi:"pythonVersion"`
	// Specifies the S3 path to a script that executes a job.
	ScriptLocation string `pulumi:"scriptLocation"`
}

type JobCommandArgs

type JobCommandArgs struct {
	// The name of the job command. Defaults to `glueetl`. Use `pythonshell` for Python Shell Job Type, `maxCapacity` needs to be set if `pythonshell` is chosen.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The Python version being used to execute a Python shell job. Allowed values are 2 or 3.
	PythonVersion pulumi.StringPtrInput `pulumi:"pythonVersion"`
	// Specifies the S3 path to a script that executes a job.
	ScriptLocation pulumi.StringInput `pulumi:"scriptLocation"`
}

func (JobCommandArgs) ElementType

func (JobCommandArgs) ElementType() reflect.Type

func (JobCommandArgs) ToJobCommandOutput

func (i JobCommandArgs) ToJobCommandOutput() JobCommandOutput

func (JobCommandArgs) ToJobCommandOutputWithContext

func (i JobCommandArgs) ToJobCommandOutputWithContext(ctx context.Context) JobCommandOutput

func (JobCommandArgs) ToJobCommandPtrOutput

func (i JobCommandArgs) ToJobCommandPtrOutput() JobCommandPtrOutput

func (JobCommandArgs) ToJobCommandPtrOutputWithContext

func (i JobCommandArgs) ToJobCommandPtrOutputWithContext(ctx context.Context) JobCommandPtrOutput

type JobCommandInput

type JobCommandInput interface {
	pulumi.Input

	ToJobCommandOutput() JobCommandOutput
	ToJobCommandOutputWithContext(context.Context) JobCommandOutput
}

JobCommandInput is an input type that accepts JobCommandArgs and JobCommandOutput values. You can construct a concrete instance of `JobCommandInput` via:

JobCommandArgs{...}

type JobCommandOutput

type JobCommandOutput struct{ *pulumi.OutputState }

func (JobCommandOutput) ElementType

func (JobCommandOutput) ElementType() reflect.Type

func (JobCommandOutput) Name

The name of the job command. Defaults to `glueetl`. Use `pythonshell` for Python Shell Job Type, `maxCapacity` needs to be set if `pythonshell` is chosen.

func (JobCommandOutput) PythonVersion

func (o JobCommandOutput) PythonVersion() pulumi.StringPtrOutput

The Python version being used to execute a Python shell job. Allowed values are 2 or 3.

func (JobCommandOutput) ScriptLocation

func (o JobCommandOutput) ScriptLocation() pulumi.StringOutput

Specifies the S3 path to a script that executes a job.

func (JobCommandOutput) ToJobCommandOutput

func (o JobCommandOutput) ToJobCommandOutput() JobCommandOutput

func (JobCommandOutput) ToJobCommandOutputWithContext

func (o JobCommandOutput) ToJobCommandOutputWithContext(ctx context.Context) JobCommandOutput

func (JobCommandOutput) ToJobCommandPtrOutput

func (o JobCommandOutput) ToJobCommandPtrOutput() JobCommandPtrOutput

func (JobCommandOutput) ToJobCommandPtrOutputWithContext

func (o JobCommandOutput) ToJobCommandPtrOutputWithContext(ctx context.Context) JobCommandPtrOutput

type JobCommandPtrInput

type JobCommandPtrInput interface {
	pulumi.Input

	ToJobCommandPtrOutput() JobCommandPtrOutput
	ToJobCommandPtrOutputWithContext(context.Context) JobCommandPtrOutput
}

JobCommandPtrInput is an input type that accepts JobCommandArgs, JobCommandPtr and JobCommandPtrOutput values. You can construct a concrete instance of `JobCommandPtrInput` via:

        JobCommandArgs{...}

or:

        nil

func JobCommandPtr

func JobCommandPtr(v *JobCommandArgs) JobCommandPtrInput

type JobCommandPtrOutput

type JobCommandPtrOutput struct{ *pulumi.OutputState }

func (JobCommandPtrOutput) Elem

func (JobCommandPtrOutput) ElementType

func (JobCommandPtrOutput) ElementType() reflect.Type

func (JobCommandPtrOutput) Name

The name of the job command. Defaults to `glueetl`. Use `pythonshell` for Python Shell Job Type, `maxCapacity` needs to be set if `pythonshell` is chosen.

func (JobCommandPtrOutput) PythonVersion

func (o JobCommandPtrOutput) PythonVersion() pulumi.StringPtrOutput

The Python version being used to execute a Python shell job. Allowed values are 2 or 3.

func (JobCommandPtrOutput) ScriptLocation

func (o JobCommandPtrOutput) ScriptLocation() pulumi.StringPtrOutput

Specifies the S3 path to a script that executes a job.

func (JobCommandPtrOutput) ToJobCommandPtrOutput

func (o JobCommandPtrOutput) ToJobCommandPtrOutput() JobCommandPtrOutput

func (JobCommandPtrOutput) ToJobCommandPtrOutputWithContext

func (o JobCommandPtrOutput) ToJobCommandPtrOutputWithContext(ctx context.Context) JobCommandPtrOutput

type JobExecutionProperty

type JobExecutionProperty struct {
	// The maximum number of concurrent runs allowed for a job. The default is 1.
	MaxConcurrentRuns *int `pulumi:"maxConcurrentRuns"`
}

type JobExecutionPropertyArgs

type JobExecutionPropertyArgs struct {
	// The maximum number of concurrent runs allowed for a job. The default is 1.
	MaxConcurrentRuns pulumi.IntPtrInput `pulumi:"maxConcurrentRuns"`
}

func (JobExecutionPropertyArgs) ElementType

func (JobExecutionPropertyArgs) ElementType() reflect.Type

func (JobExecutionPropertyArgs) ToJobExecutionPropertyOutput

func (i JobExecutionPropertyArgs) ToJobExecutionPropertyOutput() JobExecutionPropertyOutput

func (JobExecutionPropertyArgs) ToJobExecutionPropertyOutputWithContext

func (i JobExecutionPropertyArgs) ToJobExecutionPropertyOutputWithContext(ctx context.Context) JobExecutionPropertyOutput

func (JobExecutionPropertyArgs) ToJobExecutionPropertyPtrOutput

func (i JobExecutionPropertyArgs) ToJobExecutionPropertyPtrOutput() JobExecutionPropertyPtrOutput

func (JobExecutionPropertyArgs) ToJobExecutionPropertyPtrOutputWithContext

func (i JobExecutionPropertyArgs) ToJobExecutionPropertyPtrOutputWithContext(ctx context.Context) JobExecutionPropertyPtrOutput

type JobExecutionPropertyInput

type JobExecutionPropertyInput interface {
	pulumi.Input

	ToJobExecutionPropertyOutput() JobExecutionPropertyOutput
	ToJobExecutionPropertyOutputWithContext(context.Context) JobExecutionPropertyOutput
}

JobExecutionPropertyInput is an input type that accepts JobExecutionPropertyArgs and JobExecutionPropertyOutput values. You can construct a concrete instance of `JobExecutionPropertyInput` via:

JobExecutionPropertyArgs{...}

type JobExecutionPropertyOutput

type JobExecutionPropertyOutput struct{ *pulumi.OutputState }

func (JobExecutionPropertyOutput) ElementType

func (JobExecutionPropertyOutput) ElementType() reflect.Type

func (JobExecutionPropertyOutput) MaxConcurrentRuns

func (o JobExecutionPropertyOutput) MaxConcurrentRuns() pulumi.IntPtrOutput

The maximum number of concurrent runs allowed for a job. The default is 1.

func (JobExecutionPropertyOutput) ToJobExecutionPropertyOutput

func (o JobExecutionPropertyOutput) ToJobExecutionPropertyOutput() JobExecutionPropertyOutput

func (JobExecutionPropertyOutput) ToJobExecutionPropertyOutputWithContext

func (o JobExecutionPropertyOutput) ToJobExecutionPropertyOutputWithContext(ctx context.Context) JobExecutionPropertyOutput

func (JobExecutionPropertyOutput) ToJobExecutionPropertyPtrOutput

func (o JobExecutionPropertyOutput) ToJobExecutionPropertyPtrOutput() JobExecutionPropertyPtrOutput

func (JobExecutionPropertyOutput) ToJobExecutionPropertyPtrOutputWithContext

func (o JobExecutionPropertyOutput) ToJobExecutionPropertyPtrOutputWithContext(ctx context.Context) JobExecutionPropertyPtrOutput

type JobExecutionPropertyPtrInput

type JobExecutionPropertyPtrInput interface {
	pulumi.Input

	ToJobExecutionPropertyPtrOutput() JobExecutionPropertyPtrOutput
	ToJobExecutionPropertyPtrOutputWithContext(context.Context) JobExecutionPropertyPtrOutput
}

JobExecutionPropertyPtrInput is an input type that accepts JobExecutionPropertyArgs, JobExecutionPropertyPtr and JobExecutionPropertyPtrOutput values. You can construct a concrete instance of `JobExecutionPropertyPtrInput` via:

        JobExecutionPropertyArgs{...}

or:

        nil

type JobExecutionPropertyPtrOutput

type JobExecutionPropertyPtrOutput struct{ *pulumi.OutputState }

func (JobExecutionPropertyPtrOutput) Elem

func (JobExecutionPropertyPtrOutput) ElementType

func (JobExecutionPropertyPtrOutput) MaxConcurrentRuns

func (o JobExecutionPropertyPtrOutput) MaxConcurrentRuns() pulumi.IntPtrOutput

The maximum number of concurrent runs allowed for a job. The default is 1.

func (JobExecutionPropertyPtrOutput) ToJobExecutionPropertyPtrOutput

func (o JobExecutionPropertyPtrOutput) ToJobExecutionPropertyPtrOutput() JobExecutionPropertyPtrOutput

func (JobExecutionPropertyPtrOutput) ToJobExecutionPropertyPtrOutputWithContext

func (o JobExecutionPropertyPtrOutput) ToJobExecutionPropertyPtrOutputWithContext(ctx context.Context) JobExecutionPropertyPtrOutput

type JobNotificationProperty

type JobNotificationProperty struct {
	// After a job run starts, the number of minutes to wait before sending a job run delay notification.
	NotifyDelayAfter *int `pulumi:"notifyDelayAfter"`
}

type JobNotificationPropertyArgs

type JobNotificationPropertyArgs struct {
	// After a job run starts, the number of minutes to wait before sending a job run delay notification.
	NotifyDelayAfter pulumi.IntPtrInput `pulumi:"notifyDelayAfter"`
}

func (JobNotificationPropertyArgs) ElementType

func (JobNotificationPropertyArgs) ToJobNotificationPropertyOutput

func (i JobNotificationPropertyArgs) ToJobNotificationPropertyOutput() JobNotificationPropertyOutput

func (JobNotificationPropertyArgs) ToJobNotificationPropertyOutputWithContext

func (i JobNotificationPropertyArgs) ToJobNotificationPropertyOutputWithContext(ctx context.Context) JobNotificationPropertyOutput

func (JobNotificationPropertyArgs) ToJobNotificationPropertyPtrOutput

func (i JobNotificationPropertyArgs) ToJobNotificationPropertyPtrOutput() JobNotificationPropertyPtrOutput

func (JobNotificationPropertyArgs) ToJobNotificationPropertyPtrOutputWithContext

func (i JobNotificationPropertyArgs) ToJobNotificationPropertyPtrOutputWithContext(ctx context.Context) JobNotificationPropertyPtrOutput

type JobNotificationPropertyInput

type JobNotificationPropertyInput interface {
	pulumi.Input

	ToJobNotificationPropertyOutput() JobNotificationPropertyOutput
	ToJobNotificationPropertyOutputWithContext(context.Context) JobNotificationPropertyOutput
}

JobNotificationPropertyInput is an input type that accepts JobNotificationPropertyArgs and JobNotificationPropertyOutput values. You can construct a concrete instance of `JobNotificationPropertyInput` via:

JobNotificationPropertyArgs{...}

type JobNotificationPropertyOutput

type JobNotificationPropertyOutput struct{ *pulumi.OutputState }

func (JobNotificationPropertyOutput) ElementType

func (JobNotificationPropertyOutput) NotifyDelayAfter

func (o JobNotificationPropertyOutput) NotifyDelayAfter() pulumi.IntPtrOutput

After a job run starts, the number of minutes to wait before sending a job run delay notification.

func (JobNotificationPropertyOutput) ToJobNotificationPropertyOutput

func (o JobNotificationPropertyOutput) ToJobNotificationPropertyOutput() JobNotificationPropertyOutput

func (JobNotificationPropertyOutput) ToJobNotificationPropertyOutputWithContext

func (o JobNotificationPropertyOutput) ToJobNotificationPropertyOutputWithContext(ctx context.Context) JobNotificationPropertyOutput

func (JobNotificationPropertyOutput) ToJobNotificationPropertyPtrOutput

func (o JobNotificationPropertyOutput) ToJobNotificationPropertyPtrOutput() JobNotificationPropertyPtrOutput

func (JobNotificationPropertyOutput) ToJobNotificationPropertyPtrOutputWithContext

func (o JobNotificationPropertyOutput) ToJobNotificationPropertyPtrOutputWithContext(ctx context.Context) JobNotificationPropertyPtrOutput

type JobNotificationPropertyPtrInput

type JobNotificationPropertyPtrInput interface {
	pulumi.Input

	ToJobNotificationPropertyPtrOutput() JobNotificationPropertyPtrOutput
	ToJobNotificationPropertyPtrOutputWithContext(context.Context) JobNotificationPropertyPtrOutput
}

JobNotificationPropertyPtrInput is an input type that accepts JobNotificationPropertyArgs, JobNotificationPropertyPtr and JobNotificationPropertyPtrOutput values. You can construct a concrete instance of `JobNotificationPropertyPtrInput` via:

        JobNotificationPropertyArgs{...}

or:

        nil

type JobNotificationPropertyPtrOutput

type JobNotificationPropertyPtrOutput struct{ *pulumi.OutputState }

func (JobNotificationPropertyPtrOutput) Elem

func (JobNotificationPropertyPtrOutput) ElementType

func (JobNotificationPropertyPtrOutput) NotifyDelayAfter

After a job run starts, the number of minutes to wait before sending a job run delay notification.

func (JobNotificationPropertyPtrOutput) ToJobNotificationPropertyPtrOutput

func (o JobNotificationPropertyPtrOutput) ToJobNotificationPropertyPtrOutput() JobNotificationPropertyPtrOutput

func (JobNotificationPropertyPtrOutput) ToJobNotificationPropertyPtrOutputWithContext

func (o JobNotificationPropertyPtrOutput) ToJobNotificationPropertyPtrOutputWithContext(ctx context.Context) JobNotificationPropertyPtrOutput

type JobState

type JobState struct {
	// Amazon Resource Name (ARN) of Glue Job
	Arn pulumi.StringPtrInput
	// The command of the job. Defined below.
	Command JobCommandPtrInput
	// The list of connections used for this job.
	Connections pulumi.StringArrayInput
	// The map of default arguments for this job. You can specify arguments here that your own job-execution script consumes, as well as arguments that AWS Glue itself consumes. For information about how to specify and consume your own Job arguments, see the [Calling AWS Glue APIs in Python](http://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-python-calling.html) topic in the developer guide. For information about the key-value pairs that AWS Glue consumes to set up your job, see the [Special Parameters Used by AWS Glue](http://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-python-glue-arguments.html) topic in the developer guide.
	DefaultArguments pulumi.StringMapInput
	// Description of the job.
	Description pulumi.StringPtrInput
	// Execution property of the job. Defined below.
	ExecutionProperty JobExecutionPropertyPtrInput
	// The version of glue to use, for example "1.0". For information about available versions, see the [AWS Glue Release Notes](https://docs.aws.amazon.com/glue/latest/dg/release-notes.html).
	GlueVersion pulumi.StringPtrInput
	// The maximum number of AWS Glue data processing units (DPUs) that can be allocated when this job runs. `Required` when `pythonshell` is set, accept either `0.0625` or `1.0`. Use `numberOfWorkers` and `workerType` arguments instead with `glueVersion` `2.0` and above.
	MaxCapacity pulumi.Float64PtrInput
	// The maximum number of times to retry this job if it fails.
	MaxRetries pulumi.IntPtrInput
	// The name you assign to this job. It must be unique in your account.
	Name pulumi.StringPtrInput
	// Non-overridable arguments for this job, specified as name-value pairs.
	NonOverridableArguments pulumi.StringMapInput
	// Notification property of the job. Defined below.
	NotificationProperty JobNotificationPropertyPtrInput
	// The number of workers of a defined workerType that are allocated when a job runs.
	NumberOfWorkers pulumi.IntPtrInput
	// The ARN of the IAM role associated with this job.
	RoleArn pulumi.StringPtrInput
	// The name of the Security Configuration to be associated with the job.
	SecurityConfiguration pulumi.StringPtrInput
	// Key-value map of resource tags
	Tags pulumi.StringMapInput
	// The job timeout in minutes. The default is 2880 minutes (48 hours).
	Timeout pulumi.IntPtrInput
	// The type of predefined worker that is allocated when a job runs. Accepts a value of Standard, G.1X, or G.2X.
	WorkerType pulumi.StringPtrInput
}

func (JobState) ElementType

func (JobState) ElementType() reflect.Type

type SecurityConfiguration

type SecurityConfiguration struct {
	pulumi.CustomResourceState

	// Configuration block containing encryption configuration. Detailed below.
	EncryptionConfiguration SecurityConfigurationEncryptionConfigurationOutput `pulumi:"encryptionConfiguration"`
	// Name of the security configuration.
	Name pulumi.StringOutput `pulumi:"name"`
}

Manages a Glue Security Configuration.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/glue"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := glue.NewSecurityConfiguration(ctx, "example", &glue.SecurityConfigurationArgs{
			EncryptionConfiguration: &glue.SecurityConfigurationEncryptionConfigurationArgs{
				CloudwatchEncryption: &glue.SecurityConfigurationEncryptionConfigurationCloudwatchEncryptionArgs{
					CloudwatchEncryptionMode: pulumi.String("DISABLED"),
				},
				JobBookmarksEncryption: &glue.SecurityConfigurationEncryptionConfigurationJobBookmarksEncryptionArgs{
					JobBookmarksEncryptionMode: pulumi.String("DISABLED"),
				},
				S3Encryption: &glue.SecurityConfigurationEncryptionConfigurationS3EncryptionArgs{
					KmsKeyArn:        pulumi.Any(data.Aws_kms_key.Example.Arn),
					S3EncryptionMode: pulumi.String("SSE-KMS"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetSecurityConfiguration

func GetSecurityConfiguration(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SecurityConfigurationState, opts ...pulumi.ResourceOption) (*SecurityConfiguration, error)

GetSecurityConfiguration gets an existing SecurityConfiguration resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewSecurityConfiguration

func NewSecurityConfiguration(ctx *pulumi.Context,
	name string, args *SecurityConfigurationArgs, opts ...pulumi.ResourceOption) (*SecurityConfiguration, error)

NewSecurityConfiguration registers a new resource with the given unique name, arguments, and options.

type SecurityConfigurationArgs

type SecurityConfigurationArgs struct {
	// Configuration block containing encryption configuration. Detailed below.
	EncryptionConfiguration SecurityConfigurationEncryptionConfigurationInput
	// Name of the security configuration.
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a SecurityConfiguration resource.

func (SecurityConfigurationArgs) ElementType

func (SecurityConfigurationArgs) ElementType() reflect.Type

type SecurityConfigurationEncryptionConfiguration

type SecurityConfigurationEncryptionConfiguration struct {
	CloudwatchEncryption   SecurityConfigurationEncryptionConfigurationCloudwatchEncryption   `pulumi:"cloudwatchEncryption"`
	JobBookmarksEncryption SecurityConfigurationEncryptionConfigurationJobBookmarksEncryption `pulumi:"jobBookmarksEncryption"`
	// A ` s3Encryption  ` block as described below, which contains encryption configuration for S3 data.
	S3Encryption SecurityConfigurationEncryptionConfigurationS3Encryption `pulumi:"s3Encryption"`
}

type SecurityConfigurationEncryptionConfigurationArgs

type SecurityConfigurationEncryptionConfigurationArgs struct {
	CloudwatchEncryption   SecurityConfigurationEncryptionConfigurationCloudwatchEncryptionInput   `pulumi:"cloudwatchEncryption"`
	JobBookmarksEncryption SecurityConfigurationEncryptionConfigurationJobBookmarksEncryptionInput `pulumi:"jobBookmarksEncryption"`
	// A ` s3Encryption  ` block as described below, which contains encryption configuration for S3 data.
	S3Encryption SecurityConfigurationEncryptionConfigurationS3EncryptionInput `pulumi:"s3Encryption"`
}

func (SecurityConfigurationEncryptionConfigurationArgs) ElementType

func (SecurityConfigurationEncryptionConfigurationArgs) ToSecurityConfigurationEncryptionConfigurationOutput

func (i SecurityConfigurationEncryptionConfigurationArgs) ToSecurityConfigurationEncryptionConfigurationOutput() SecurityConfigurationEncryptionConfigurationOutput

func (SecurityConfigurationEncryptionConfigurationArgs) ToSecurityConfigurationEncryptionConfigurationOutputWithContext

func (i SecurityConfigurationEncryptionConfigurationArgs) ToSecurityConfigurationEncryptionConfigurationOutputWithContext(ctx context.Context) SecurityConfigurationEncryptionConfigurationOutput

func (SecurityConfigurationEncryptionConfigurationArgs) ToSecurityConfigurationEncryptionConfigurationPtrOutput

func (i SecurityConfigurationEncryptionConfigurationArgs) ToSecurityConfigurationEncryptionConfigurationPtrOutput() SecurityConfigurationEncryptionConfigurationPtrOutput

func (SecurityConfigurationEncryptionConfigurationArgs) ToSecurityConfigurationEncryptionConfigurationPtrOutputWithContext

func (i SecurityConfigurationEncryptionConfigurationArgs) ToSecurityConfigurationEncryptionConfigurationPtrOutputWithContext(ctx context.Context) SecurityConfigurationEncryptionConfigurationPtrOutput

type SecurityConfigurationEncryptionConfigurationCloudwatchEncryption

type SecurityConfigurationEncryptionConfigurationCloudwatchEncryption struct {
	// Encryption mode to use for CloudWatch data. Valid values: `DISABLED`, `SSE-KMS`. Default value: `DISABLED`.
	CloudwatchEncryptionMode *string `pulumi:"cloudwatchEncryptionMode"`
	// Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.
	KmsKeyArn *string `pulumi:"kmsKeyArn"`
}

type SecurityConfigurationEncryptionConfigurationCloudwatchEncryptionArgs

type SecurityConfigurationEncryptionConfigurationCloudwatchEncryptionArgs struct {
	// Encryption mode to use for CloudWatch data. Valid values: `DISABLED`, `SSE-KMS`. Default value: `DISABLED`.
	CloudwatchEncryptionMode pulumi.StringPtrInput `pulumi:"cloudwatchEncryptionMode"`
	// Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.
	KmsKeyArn pulumi.StringPtrInput `pulumi:"kmsKeyArn"`
}

func (SecurityConfigurationEncryptionConfigurationCloudwatchEncryptionArgs) ElementType

func (SecurityConfigurationEncryptionConfigurationCloudwatchEncryptionArgs) ToSecurityConfigurationEncryptionConfigurationCloudwatchEncryptionOutput

func (SecurityConfigurationEncryptionConfigurationCloudwatchEncryptionArgs) ToSecurityConfigurationEncryptionConfigurationCloudwatchEncryptionOutputWithContext

func (i SecurityConfigurationEncryptionConfigurationCloudwatchEncryptionArgs) ToSecurityConfigurationEncryptionConfigurationCloudwatchEncryptionOutputWithContext(ctx context.Context) SecurityConfigurationEncryptionConfigurationCloudwatchEncryptionOutput

func (SecurityConfigurationEncryptionConfigurationCloudwatchEncryptionArgs) ToSecurityConfigurationEncryptionConfigurationCloudwatchEncryptionPtrOutput

func (SecurityConfigurationEncryptionConfigurationCloudwatchEncryptionArgs) ToSecurityConfigurationEncryptionConfigurationCloudwatchEncryptionPtrOutputWithContext

func (i SecurityConfigurationEncryptionConfigurationCloudwatchEncryptionArgs) ToSecurityConfigurationEncryptionConfigurationCloudwatchEncryptionPtrOutputWithContext(ctx context.Context) SecurityConfigurationEncryptionConfigurationCloudwatchEncryptionPtrOutput

type SecurityConfigurationEncryptionConfigurationCloudwatchEncryptionInput

type SecurityConfigurationEncryptionConfigurationCloudwatchEncryptionInput interface {
	pulumi.Input

	ToSecurityConfigurationEncryptionConfigurationCloudwatchEncryptionOutput() SecurityConfigurationEncryptionConfigurationCloudwatchEncryptionOutput
	ToSecurityConfigurationEncryptionConfigurationCloudwatchEncryptionOutputWithContext(context.Context) SecurityConfigurationEncryptionConfigurationCloudwatchEncryptionOutput
}

SecurityConfigurationEncryptionConfigurationCloudwatchEncryptionInput is an input type that accepts SecurityConfigurationEncryptionConfigurationCloudwatchEncryptionArgs and SecurityConfigurationEncryptionConfigurationCloudwatchEncryptionOutput values. You can construct a concrete instance of `SecurityConfigurationEncryptionConfigurationCloudwatchEncryptionInput` via:

SecurityConfigurationEncryptionConfigurationCloudwatchEncryptionArgs{...}

type SecurityConfigurationEncryptionConfigurationCloudwatchEncryptionOutput

type SecurityConfigurationEncryptionConfigurationCloudwatchEncryptionOutput struct{ *pulumi.OutputState }

func (SecurityConfigurationEncryptionConfigurationCloudwatchEncryptionOutput) CloudwatchEncryptionMode

Encryption mode to use for CloudWatch data. Valid values: `DISABLED`, `SSE-KMS`. Default value: `DISABLED`.

func (SecurityConfigurationEncryptionConfigurationCloudwatchEncryptionOutput) ElementType

func (SecurityConfigurationEncryptionConfigurationCloudwatchEncryptionOutput) KmsKeyArn

Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.

func (SecurityConfigurationEncryptionConfigurationCloudwatchEncryptionOutput) ToSecurityConfigurationEncryptionConfigurationCloudwatchEncryptionOutput

func (SecurityConfigurationEncryptionConfigurationCloudwatchEncryptionOutput) ToSecurityConfigurationEncryptionConfigurationCloudwatchEncryptionOutputWithContext

func (o SecurityConfigurationEncryptionConfigurationCloudwatchEncryptionOutput) ToSecurityConfigurationEncryptionConfigurationCloudwatchEncryptionOutputWithContext(ctx context.Context) SecurityConfigurationEncryptionConfigurationCloudwatchEncryptionOutput

func (SecurityConfigurationEncryptionConfigurationCloudwatchEncryptionOutput) ToSecurityConfigurationEncryptionConfigurationCloudwatchEncryptionPtrOutput

func (SecurityConfigurationEncryptionConfigurationCloudwatchEncryptionOutput) ToSecurityConfigurationEncryptionConfigurationCloudwatchEncryptionPtrOutputWithContext

func (o SecurityConfigurationEncryptionConfigurationCloudwatchEncryptionOutput) ToSecurityConfigurationEncryptionConfigurationCloudwatchEncryptionPtrOutputWithContext(ctx context.Context) SecurityConfigurationEncryptionConfigurationCloudwatchEncryptionPtrOutput

type SecurityConfigurationEncryptionConfigurationCloudwatchEncryptionPtrInput

type SecurityConfigurationEncryptionConfigurationCloudwatchEncryptionPtrInput interface {
	pulumi.Input

	ToSecurityConfigurationEncryptionConfigurationCloudwatchEncryptionPtrOutput() SecurityConfigurationEncryptionConfigurationCloudwatchEncryptionPtrOutput
	ToSecurityConfigurationEncryptionConfigurationCloudwatchEncryptionPtrOutputWithContext(context.Context) SecurityConfigurationEncryptionConfigurationCloudwatchEncryptionPtrOutput
}

SecurityConfigurationEncryptionConfigurationCloudwatchEncryptionPtrInput is an input type that accepts SecurityConfigurationEncryptionConfigurationCloudwatchEncryptionArgs, SecurityConfigurationEncryptionConfigurationCloudwatchEncryptionPtr and SecurityConfigurationEncryptionConfigurationCloudwatchEncryptionPtrOutput values. You can construct a concrete instance of `SecurityConfigurationEncryptionConfigurationCloudwatchEncryptionPtrInput` via:

        SecurityConfigurationEncryptionConfigurationCloudwatchEncryptionArgs{...}

or:

        nil

type SecurityConfigurationEncryptionConfigurationCloudwatchEncryptionPtrOutput

type SecurityConfigurationEncryptionConfigurationCloudwatchEncryptionPtrOutput struct{ *pulumi.OutputState }

func (SecurityConfigurationEncryptionConfigurationCloudwatchEncryptionPtrOutput) CloudwatchEncryptionMode

Encryption mode to use for CloudWatch data. Valid values: `DISABLED`, `SSE-KMS`. Default value: `DISABLED`.

func (SecurityConfigurationEncryptionConfigurationCloudwatchEncryptionPtrOutput) Elem

func (SecurityConfigurationEncryptionConfigurationCloudwatchEncryptionPtrOutput) ElementType

func (SecurityConfigurationEncryptionConfigurationCloudwatchEncryptionPtrOutput) KmsKeyArn

Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.

func (SecurityConfigurationEncryptionConfigurationCloudwatchEncryptionPtrOutput) ToSecurityConfigurationEncryptionConfigurationCloudwatchEncryptionPtrOutput

func (SecurityConfigurationEncryptionConfigurationCloudwatchEncryptionPtrOutput) ToSecurityConfigurationEncryptionConfigurationCloudwatchEncryptionPtrOutputWithContext

type SecurityConfigurationEncryptionConfigurationInput

type SecurityConfigurationEncryptionConfigurationInput interface {
	pulumi.Input

	ToSecurityConfigurationEncryptionConfigurationOutput() SecurityConfigurationEncryptionConfigurationOutput
	ToSecurityConfigurationEncryptionConfigurationOutputWithContext(context.Context) SecurityConfigurationEncryptionConfigurationOutput
}

SecurityConfigurationEncryptionConfigurationInput is an input type that accepts SecurityConfigurationEncryptionConfigurationArgs and SecurityConfigurationEncryptionConfigurationOutput values. You can construct a concrete instance of `SecurityConfigurationEncryptionConfigurationInput` via:

SecurityConfigurationEncryptionConfigurationArgs{...}

type SecurityConfigurationEncryptionConfigurationJobBookmarksEncryption

type SecurityConfigurationEncryptionConfigurationJobBookmarksEncryption struct {
	// Encryption mode to use for job bookmarks data. Valid values: `CSE-KMS`, `DISABLED`. Default value: `DISABLED`.
	JobBookmarksEncryptionMode *string `pulumi:"jobBookmarksEncryptionMode"`
	// Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.
	KmsKeyArn *string `pulumi:"kmsKeyArn"`
}

type SecurityConfigurationEncryptionConfigurationJobBookmarksEncryptionArgs

type SecurityConfigurationEncryptionConfigurationJobBookmarksEncryptionArgs struct {
	// Encryption mode to use for job bookmarks data. Valid values: `CSE-KMS`, `DISABLED`. Default value: `DISABLED`.
	JobBookmarksEncryptionMode pulumi.StringPtrInput `pulumi:"jobBookmarksEncryptionMode"`
	// Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.
	KmsKeyArn pulumi.StringPtrInput `pulumi:"kmsKeyArn"`
}

func (SecurityConfigurationEncryptionConfigurationJobBookmarksEncryptionArgs) ElementType

func (SecurityConfigurationEncryptionConfigurationJobBookmarksEncryptionArgs) ToSecurityConfigurationEncryptionConfigurationJobBookmarksEncryptionOutput

func (SecurityConfigurationEncryptionConfigurationJobBookmarksEncryptionArgs) ToSecurityConfigurationEncryptionConfigurationJobBookmarksEncryptionOutputWithContext

func (i SecurityConfigurationEncryptionConfigurationJobBookmarksEncryptionArgs) ToSecurityConfigurationEncryptionConfigurationJobBookmarksEncryptionOutputWithContext(ctx context.Context) SecurityConfigurationEncryptionConfigurationJobBookmarksEncryptionOutput

func (SecurityConfigurationEncryptionConfigurationJobBookmarksEncryptionArgs) ToSecurityConfigurationEncryptionConfigurationJobBookmarksEncryptionPtrOutput

func (SecurityConfigurationEncryptionConfigurationJobBookmarksEncryptionArgs) ToSecurityConfigurationEncryptionConfigurationJobBookmarksEncryptionPtrOutputWithContext

func (i SecurityConfigurationEncryptionConfigurationJobBookmarksEncryptionArgs) ToSecurityConfigurationEncryptionConfigurationJobBookmarksEncryptionPtrOutputWithContext(ctx context.Context) SecurityConfigurationEncryptionConfigurationJobBookmarksEncryptionPtrOutput

type SecurityConfigurationEncryptionConfigurationJobBookmarksEncryptionInput

type SecurityConfigurationEncryptionConfigurationJobBookmarksEncryptionInput interface {
	pulumi.Input

	ToSecurityConfigurationEncryptionConfigurationJobBookmarksEncryptionOutput() SecurityConfigurationEncryptionConfigurationJobBookmarksEncryptionOutput
	ToSecurityConfigurationEncryptionConfigurationJobBookmarksEncryptionOutputWithContext(context.Context) SecurityConfigurationEncryptionConfigurationJobBookmarksEncryptionOutput
}

SecurityConfigurationEncryptionConfigurationJobBookmarksEncryptionInput is an input type that accepts SecurityConfigurationEncryptionConfigurationJobBookmarksEncryptionArgs and SecurityConfigurationEncryptionConfigurationJobBookmarksEncryptionOutput values. You can construct a concrete instance of `SecurityConfigurationEncryptionConfigurationJobBookmarksEncryptionInput` via:

SecurityConfigurationEncryptionConfigurationJobBookmarksEncryptionArgs{...}

type SecurityConfigurationEncryptionConfigurationJobBookmarksEncryptionOutput

type SecurityConfigurationEncryptionConfigurationJobBookmarksEncryptionOutput struct{ *pulumi.OutputState }

func (SecurityConfigurationEncryptionConfigurationJobBookmarksEncryptionOutput) ElementType

func (SecurityConfigurationEncryptionConfigurationJobBookmarksEncryptionOutput) JobBookmarksEncryptionMode

Encryption mode to use for job bookmarks data. Valid values: `CSE-KMS`, `DISABLED`. Default value: `DISABLED`.

func (SecurityConfigurationEncryptionConfigurationJobBookmarksEncryptionOutput) KmsKeyArn

Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.

func (SecurityConfigurationEncryptionConfigurationJobBookmarksEncryptionOutput) ToSecurityConfigurationEncryptionConfigurationJobBookmarksEncryptionOutput

func (SecurityConfigurationEncryptionConfigurationJobBookmarksEncryptionOutput) ToSecurityConfigurationEncryptionConfigurationJobBookmarksEncryptionOutputWithContext

func (SecurityConfigurationEncryptionConfigurationJobBookmarksEncryptionOutput) ToSecurityConfigurationEncryptionConfigurationJobBookmarksEncryptionPtrOutput

func (SecurityConfigurationEncryptionConfigurationJobBookmarksEncryptionOutput) ToSecurityConfigurationEncryptionConfigurationJobBookmarksEncryptionPtrOutputWithContext

func (o SecurityConfigurationEncryptionConfigurationJobBookmarksEncryptionOutput) ToSecurityConfigurationEncryptionConfigurationJobBookmarksEncryptionPtrOutputWithContext(ctx context.Context) SecurityConfigurationEncryptionConfigurationJobBookmarksEncryptionPtrOutput

type SecurityConfigurationEncryptionConfigurationJobBookmarksEncryptionPtrInput

type SecurityConfigurationEncryptionConfigurationJobBookmarksEncryptionPtrInput interface {
	pulumi.Input

	ToSecurityConfigurationEncryptionConfigurationJobBookmarksEncryptionPtrOutput() SecurityConfigurationEncryptionConfigurationJobBookmarksEncryptionPtrOutput
	ToSecurityConfigurationEncryptionConfigurationJobBookmarksEncryptionPtrOutputWithContext(context.Context) SecurityConfigurationEncryptionConfigurationJobBookmarksEncryptionPtrOutput
}

SecurityConfigurationEncryptionConfigurationJobBookmarksEncryptionPtrInput is an input type that accepts SecurityConfigurationEncryptionConfigurationJobBookmarksEncryptionArgs, SecurityConfigurationEncryptionConfigurationJobBookmarksEncryptionPtr and SecurityConfigurationEncryptionConfigurationJobBookmarksEncryptionPtrOutput values. You can construct a concrete instance of `SecurityConfigurationEncryptionConfigurationJobBookmarksEncryptionPtrInput` via:

        SecurityConfigurationEncryptionConfigurationJobBookmarksEncryptionArgs{...}

or:

        nil

type SecurityConfigurationEncryptionConfigurationJobBookmarksEncryptionPtrOutput

type SecurityConfigurationEncryptionConfigurationJobBookmarksEncryptionPtrOutput struct{ *pulumi.OutputState }

func (SecurityConfigurationEncryptionConfigurationJobBookmarksEncryptionPtrOutput) Elem

func (SecurityConfigurationEncryptionConfigurationJobBookmarksEncryptionPtrOutput) ElementType

func (SecurityConfigurationEncryptionConfigurationJobBookmarksEncryptionPtrOutput) JobBookmarksEncryptionMode

Encryption mode to use for job bookmarks data. Valid values: `CSE-KMS`, `DISABLED`. Default value: `DISABLED`.

func (SecurityConfigurationEncryptionConfigurationJobBookmarksEncryptionPtrOutput) KmsKeyArn

Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.

func (SecurityConfigurationEncryptionConfigurationJobBookmarksEncryptionPtrOutput) ToSecurityConfigurationEncryptionConfigurationJobBookmarksEncryptionPtrOutput

func (SecurityConfigurationEncryptionConfigurationJobBookmarksEncryptionPtrOutput) ToSecurityConfigurationEncryptionConfigurationJobBookmarksEncryptionPtrOutputWithContext

type SecurityConfigurationEncryptionConfigurationOutput

type SecurityConfigurationEncryptionConfigurationOutput struct{ *pulumi.OutputState }

func (SecurityConfigurationEncryptionConfigurationOutput) CloudwatchEncryption

func (SecurityConfigurationEncryptionConfigurationOutput) ElementType

func (SecurityConfigurationEncryptionConfigurationOutput) S3Encryption

A ` s3Encryption ` block as described below, which contains encryption configuration for S3 data.

func (SecurityConfigurationEncryptionConfigurationOutput) ToSecurityConfigurationEncryptionConfigurationOutput

func (o SecurityConfigurationEncryptionConfigurationOutput) ToSecurityConfigurationEncryptionConfigurationOutput() SecurityConfigurationEncryptionConfigurationOutput

func (SecurityConfigurationEncryptionConfigurationOutput) ToSecurityConfigurationEncryptionConfigurationOutputWithContext

func (o SecurityConfigurationEncryptionConfigurationOutput) ToSecurityConfigurationEncryptionConfigurationOutputWithContext(ctx context.Context) SecurityConfigurationEncryptionConfigurationOutput

func (SecurityConfigurationEncryptionConfigurationOutput) ToSecurityConfigurationEncryptionConfigurationPtrOutput

func (o SecurityConfigurationEncryptionConfigurationOutput) ToSecurityConfigurationEncryptionConfigurationPtrOutput() SecurityConfigurationEncryptionConfigurationPtrOutput

func (SecurityConfigurationEncryptionConfigurationOutput) ToSecurityConfigurationEncryptionConfigurationPtrOutputWithContext

func (o SecurityConfigurationEncryptionConfigurationOutput) ToSecurityConfigurationEncryptionConfigurationPtrOutputWithContext(ctx context.Context) SecurityConfigurationEncryptionConfigurationPtrOutput

type SecurityConfigurationEncryptionConfigurationPtrInput

type SecurityConfigurationEncryptionConfigurationPtrInput interface {
	pulumi.Input

	ToSecurityConfigurationEncryptionConfigurationPtrOutput() SecurityConfigurationEncryptionConfigurationPtrOutput
	ToSecurityConfigurationEncryptionConfigurationPtrOutputWithContext(context.Context) SecurityConfigurationEncryptionConfigurationPtrOutput
}

SecurityConfigurationEncryptionConfigurationPtrInput is an input type that accepts SecurityConfigurationEncryptionConfigurationArgs, SecurityConfigurationEncryptionConfigurationPtr and SecurityConfigurationEncryptionConfigurationPtrOutput values. You can construct a concrete instance of `SecurityConfigurationEncryptionConfigurationPtrInput` via:

        SecurityConfigurationEncryptionConfigurationArgs{...}

or:

        nil

type SecurityConfigurationEncryptionConfigurationPtrOutput

type SecurityConfigurationEncryptionConfigurationPtrOutput struct{ *pulumi.OutputState }

func (SecurityConfigurationEncryptionConfigurationPtrOutput) Elem

func (SecurityConfigurationEncryptionConfigurationPtrOutput) ElementType

func (SecurityConfigurationEncryptionConfigurationPtrOutput) S3Encryption

A ` s3Encryption ` block as described below, which contains encryption configuration for S3 data.

func (SecurityConfigurationEncryptionConfigurationPtrOutput) ToSecurityConfigurationEncryptionConfigurationPtrOutput

func (SecurityConfigurationEncryptionConfigurationPtrOutput) ToSecurityConfigurationEncryptionConfigurationPtrOutputWithContext

func (o SecurityConfigurationEncryptionConfigurationPtrOutput) ToSecurityConfigurationEncryptionConfigurationPtrOutputWithContext(ctx context.Context) SecurityConfigurationEncryptionConfigurationPtrOutput

type SecurityConfigurationEncryptionConfigurationS3Encryption

type SecurityConfigurationEncryptionConfigurationS3Encryption struct {
	// Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.
	KmsKeyArn *string `pulumi:"kmsKeyArn"`
	// Encryption mode to use for S3 data. Valid values: `DISABLED`, `SSE-KMS`, `SSE-S3`. Default value: `DISABLED`.
	S3EncryptionMode *string `pulumi:"s3EncryptionMode"`
}

type SecurityConfigurationEncryptionConfigurationS3EncryptionArgs

type SecurityConfigurationEncryptionConfigurationS3EncryptionArgs struct {
	// Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.
	KmsKeyArn pulumi.StringPtrInput `pulumi:"kmsKeyArn"`
	// Encryption mode to use for S3 data. Valid values: `DISABLED`, `SSE-KMS`, `SSE-S3`. Default value: `DISABLED`.
	S3EncryptionMode pulumi.StringPtrInput `pulumi:"s3EncryptionMode"`
}

func (SecurityConfigurationEncryptionConfigurationS3EncryptionArgs) ElementType

func (SecurityConfigurationEncryptionConfigurationS3EncryptionArgs) ToSecurityConfigurationEncryptionConfigurationS3EncryptionOutput

func (SecurityConfigurationEncryptionConfigurationS3EncryptionArgs) ToSecurityConfigurationEncryptionConfigurationS3EncryptionOutputWithContext

func (i SecurityConfigurationEncryptionConfigurationS3EncryptionArgs) ToSecurityConfigurationEncryptionConfigurationS3EncryptionOutputWithContext(ctx context.Context) SecurityConfigurationEncryptionConfigurationS3EncryptionOutput

func (SecurityConfigurationEncryptionConfigurationS3EncryptionArgs) ToSecurityConfigurationEncryptionConfigurationS3EncryptionPtrOutput

func (SecurityConfigurationEncryptionConfigurationS3EncryptionArgs) ToSecurityConfigurationEncryptionConfigurationS3EncryptionPtrOutputWithContext

func (i SecurityConfigurationEncryptionConfigurationS3EncryptionArgs) ToSecurityConfigurationEncryptionConfigurationS3EncryptionPtrOutputWithContext(ctx context.Context) SecurityConfigurationEncryptionConfigurationS3EncryptionPtrOutput

type SecurityConfigurationEncryptionConfigurationS3EncryptionInput

type SecurityConfigurationEncryptionConfigurationS3EncryptionInput interface {
	pulumi.Input

	ToSecurityConfigurationEncryptionConfigurationS3EncryptionOutput() SecurityConfigurationEncryptionConfigurationS3EncryptionOutput
	ToSecurityConfigurationEncryptionConfigurationS3EncryptionOutputWithContext(context.Context) SecurityConfigurationEncryptionConfigurationS3EncryptionOutput
}

SecurityConfigurationEncryptionConfigurationS3EncryptionInput is an input type that accepts SecurityConfigurationEncryptionConfigurationS3EncryptionArgs and SecurityConfigurationEncryptionConfigurationS3EncryptionOutput values. You can construct a concrete instance of `SecurityConfigurationEncryptionConfigurationS3EncryptionInput` via:

SecurityConfigurationEncryptionConfigurationS3EncryptionArgs{...}

type SecurityConfigurationEncryptionConfigurationS3EncryptionOutput

type SecurityConfigurationEncryptionConfigurationS3EncryptionOutput struct{ *pulumi.OutputState }

func (SecurityConfigurationEncryptionConfigurationS3EncryptionOutput) ElementType

func (SecurityConfigurationEncryptionConfigurationS3EncryptionOutput) KmsKeyArn

Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.

func (SecurityConfigurationEncryptionConfigurationS3EncryptionOutput) S3EncryptionMode

Encryption mode to use for S3 data. Valid values: `DISABLED`, `SSE-KMS`, `SSE-S3`. Default value: `DISABLED`.

func (SecurityConfigurationEncryptionConfigurationS3EncryptionOutput) ToSecurityConfigurationEncryptionConfigurationS3EncryptionOutput

func (SecurityConfigurationEncryptionConfigurationS3EncryptionOutput) ToSecurityConfigurationEncryptionConfigurationS3EncryptionOutputWithContext

func (o SecurityConfigurationEncryptionConfigurationS3EncryptionOutput) ToSecurityConfigurationEncryptionConfigurationS3EncryptionOutputWithContext(ctx context.Context) SecurityConfigurationEncryptionConfigurationS3EncryptionOutput

func (SecurityConfigurationEncryptionConfigurationS3EncryptionOutput) ToSecurityConfigurationEncryptionConfigurationS3EncryptionPtrOutput

func (SecurityConfigurationEncryptionConfigurationS3EncryptionOutput) ToSecurityConfigurationEncryptionConfigurationS3EncryptionPtrOutputWithContext

func (o SecurityConfigurationEncryptionConfigurationS3EncryptionOutput) ToSecurityConfigurationEncryptionConfigurationS3EncryptionPtrOutputWithContext(ctx context.Context) SecurityConfigurationEncryptionConfigurationS3EncryptionPtrOutput

type SecurityConfigurationEncryptionConfigurationS3EncryptionPtrInput

type SecurityConfigurationEncryptionConfigurationS3EncryptionPtrInput interface {
	pulumi.Input

	ToSecurityConfigurationEncryptionConfigurationS3EncryptionPtrOutput() SecurityConfigurationEncryptionConfigurationS3EncryptionPtrOutput
	ToSecurityConfigurationEncryptionConfigurationS3EncryptionPtrOutputWithContext(context.Context) SecurityConfigurationEncryptionConfigurationS3EncryptionPtrOutput
}

SecurityConfigurationEncryptionConfigurationS3EncryptionPtrInput is an input type that accepts SecurityConfigurationEncryptionConfigurationS3EncryptionArgs, SecurityConfigurationEncryptionConfigurationS3EncryptionPtr and SecurityConfigurationEncryptionConfigurationS3EncryptionPtrOutput values. You can construct a concrete instance of `SecurityConfigurationEncryptionConfigurationS3EncryptionPtrInput` via:

        SecurityConfigurationEncryptionConfigurationS3EncryptionArgs{...}

or:

        nil

type SecurityConfigurationEncryptionConfigurationS3EncryptionPtrOutput

type SecurityConfigurationEncryptionConfigurationS3EncryptionPtrOutput struct{ *pulumi.OutputState }

func (SecurityConfigurationEncryptionConfigurationS3EncryptionPtrOutput) Elem

func (SecurityConfigurationEncryptionConfigurationS3EncryptionPtrOutput) ElementType

func (SecurityConfigurationEncryptionConfigurationS3EncryptionPtrOutput) KmsKeyArn

Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.

func (SecurityConfigurationEncryptionConfigurationS3EncryptionPtrOutput) S3EncryptionMode

Encryption mode to use for S3 data. Valid values: `DISABLED`, `SSE-KMS`, `SSE-S3`. Default value: `DISABLED`.

func (SecurityConfigurationEncryptionConfigurationS3EncryptionPtrOutput) ToSecurityConfigurationEncryptionConfigurationS3EncryptionPtrOutput

func (SecurityConfigurationEncryptionConfigurationS3EncryptionPtrOutput) ToSecurityConfigurationEncryptionConfigurationS3EncryptionPtrOutputWithContext

func (o SecurityConfigurationEncryptionConfigurationS3EncryptionPtrOutput) ToSecurityConfigurationEncryptionConfigurationS3EncryptionPtrOutputWithContext(ctx context.Context) SecurityConfigurationEncryptionConfigurationS3EncryptionPtrOutput

type SecurityConfigurationState

type SecurityConfigurationState struct {
	// Configuration block containing encryption configuration. Detailed below.
	EncryptionConfiguration SecurityConfigurationEncryptionConfigurationPtrInput
	// Name of the security configuration.
	Name pulumi.StringPtrInput
}

func (SecurityConfigurationState) ElementType

func (SecurityConfigurationState) ElementType() reflect.Type

type Trigger

type Trigger struct {
	pulumi.CustomResourceState

	// List of actions initiated by this trigger when it fires. Defined below.
	Actions TriggerActionArrayOutput `pulumi:"actions"`
	// Amazon Resource Name (ARN) of Glue Trigger
	Arn pulumi.StringOutput `pulumi:"arn"`
	// A description of the new trigger.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Start the trigger. Defaults to `true`. Not valid to disable for `ON_DEMAND` type.
	Enabled pulumi.BoolPtrOutput `pulumi:"enabled"`
	// The name of the trigger.
	Name pulumi.StringOutput `pulumi:"name"`
	// A predicate to specify when the new trigger should fire. Required when trigger type is `CONDITIONAL`. Defined below.
	Predicate TriggerPredicatePtrOutput `pulumi:"predicate"`
	// A cron expression used to specify the schedule. [Time-Based Schedules for Jobs and Crawlers](https://docs.aws.amazon.com/glue/latest/dg/monitor-data-warehouse-schedule.html)
	Schedule pulumi.StringPtrOutput `pulumi:"schedule"`
	// Key-value map of resource tags
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// The type of trigger. Valid values are `CONDITIONAL`, `ON_DEMAND`, and `SCHEDULED`.
	Type pulumi.StringOutput `pulumi:"type"`
	// A workflow to which the trigger should be associated to. Every workflow graph (DAG) needs a starting trigger (`ON_DEMAND` or `SCHEDULED` type) and can contain multiple additional `CONDITIONAL` triggers.
	WorkflowName pulumi.StringPtrOutput `pulumi:"workflowName"`
}

Manages a Glue Trigger resource.

## Example Usage ### Conditional Trigger

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/glue"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := glue.NewTrigger(ctx, "example", &glue.TriggerArgs{
			Type: pulumi.String("CONDITIONAL"),
			Actions: glue.TriggerActionArray{
				&glue.TriggerActionArgs{
					JobName: pulumi.Any(aws_glue_job.Example1.Name),
				},
			},
			Predicate: &glue.TriggerPredicateArgs{
				Conditions: glue.TriggerPredicateConditionArray{
					&glue.TriggerPredicateConditionArgs{
						JobName: pulumi.Any(aws_glue_job.Example2.Name),
						State:   pulumi.String("SUCCEEDED"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### On-Demand Trigger

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/glue"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := glue.NewTrigger(ctx, "example", &glue.TriggerArgs{
			Type: pulumi.String("ON_DEMAND"),
			Actions: glue.TriggerActionArray{
				&glue.TriggerActionArgs{
					JobName: pulumi.Any(aws_glue_job.Example.Name),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Scheduled Trigger

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/glue"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := glue.NewTrigger(ctx, "example", &glue.TriggerArgs{
			Schedule: pulumi.String("cron(15 12 * * ? *)"),
			Type:     pulumi.String("SCHEDULED"),
			Actions: glue.TriggerActionArray{
				&glue.TriggerActionArgs{
					JobName: pulumi.Any(aws_glue_job.Example.Name),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Conditional Trigger with Crawler Action

**Note:** Triggers can have both a crawler action and a crawler condition, just no example provided.

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/glue"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := glue.NewTrigger(ctx, "example", &glue.TriggerArgs{
			Type: pulumi.String("CONDITIONAL"),
			Actions: glue.TriggerActionArray{
				&glue.TriggerActionArgs{
					CrawlerName: pulumi.Any(aws_glue_crawler.Example1.Name),
				},
			},
			Predicate: &glue.TriggerPredicateArgs{
				Conditions: glue.TriggerPredicateConditionArray{
					&glue.TriggerPredicateConditionArgs{
						JobName: pulumi.Any(aws_glue_job.Example2.Name),
						State:   pulumi.String("SUCCEEDED"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Conditional Trigger with Crawler Condition

**Note:** Triggers can have both a crawler action and a crawler condition, just no example provided.

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/glue"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := glue.NewTrigger(ctx, "example", &glue.TriggerArgs{
			Type: pulumi.String("CONDITIONAL"),
			Actions: glue.TriggerActionArray{
				&glue.TriggerActionArgs{
					JobName: pulumi.Any(aws_glue_job.Example1.Name),
				},
			},
			Predicate: &glue.TriggerPredicateArgs{
				Conditions: glue.TriggerPredicateConditionArray{
					&glue.TriggerPredicateConditionArgs{
						CrawlerName: pulumi.Any(aws_glue_crawler.Example2.Name),
						CrawlState:  pulumi.String("SUCCEEDED"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetTrigger

func GetTrigger(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TriggerState, opts ...pulumi.ResourceOption) (*Trigger, error)

GetTrigger gets an existing Trigger resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewTrigger

func NewTrigger(ctx *pulumi.Context,
	name string, args *TriggerArgs, opts ...pulumi.ResourceOption) (*Trigger, error)

NewTrigger registers a new resource with the given unique name, arguments, and options.

type TriggerAction

type TriggerAction struct {
	// Arguments to be passed to the job. You can specify arguments here that your own job-execution script consumes, as well as arguments that AWS Glue itself consumes.
	Arguments map[string]string `pulumi:"arguments"`
	// The name of the crawler to be executed. Conflicts with `jobName`.
	CrawlerName *string `pulumi:"crawlerName"`
	// The name of a job to be executed. Conflicts with `crawlerName`.
	JobName *string `pulumi:"jobName"`
	// The job run timeout in minutes. It overrides the timeout value of the job.
	Timeout *int `pulumi:"timeout"`
}

type TriggerActionArgs

type TriggerActionArgs struct {
	// Arguments to be passed to the job. You can specify arguments here that your own job-execution script consumes, as well as arguments that AWS Glue itself consumes.
	Arguments pulumi.StringMapInput `pulumi:"arguments"`
	// The name of the crawler to be executed. Conflicts with `jobName`.
	CrawlerName pulumi.StringPtrInput `pulumi:"crawlerName"`
	// The name of a job to be executed. Conflicts with `crawlerName`.
	JobName pulumi.StringPtrInput `pulumi:"jobName"`
	// The job run timeout in minutes. It overrides the timeout value of the job.
	Timeout pulumi.IntPtrInput `pulumi:"timeout"`
}

func (TriggerActionArgs) ElementType

func (TriggerActionArgs) ElementType() reflect.Type

func (TriggerActionArgs) ToTriggerActionOutput

func (i TriggerActionArgs) ToTriggerActionOutput() TriggerActionOutput

func (TriggerActionArgs) ToTriggerActionOutputWithContext

func (i TriggerActionArgs) ToTriggerActionOutputWithContext(ctx context.Context) TriggerActionOutput

type TriggerActionArray

type TriggerActionArray []TriggerActionInput

func (TriggerActionArray) ElementType

func (TriggerActionArray) ElementType() reflect.Type

func (TriggerActionArray) ToTriggerActionArrayOutput

func (i TriggerActionArray) ToTriggerActionArrayOutput() TriggerActionArrayOutput

func (TriggerActionArray) ToTriggerActionArrayOutputWithContext

func (i TriggerActionArray) ToTriggerActionArrayOutputWithContext(ctx context.Context) TriggerActionArrayOutput

type TriggerActionArrayInput

type TriggerActionArrayInput interface {
	pulumi.Input

	ToTriggerActionArrayOutput() TriggerActionArrayOutput
	ToTriggerActionArrayOutputWithContext(context.Context) TriggerActionArrayOutput
}

TriggerActionArrayInput is an input type that accepts TriggerActionArray and TriggerActionArrayOutput values. You can construct a concrete instance of `TriggerActionArrayInput` via:

TriggerActionArray{ TriggerActionArgs{...} }

type TriggerActionArrayOutput

type TriggerActionArrayOutput struct{ *pulumi.OutputState }

func (TriggerActionArrayOutput) ElementType

func (TriggerActionArrayOutput) ElementType() reflect.Type

func (TriggerActionArrayOutput) Index

func (TriggerActionArrayOutput) ToTriggerActionArrayOutput

func (o TriggerActionArrayOutput) ToTriggerActionArrayOutput() TriggerActionArrayOutput

func (TriggerActionArrayOutput) ToTriggerActionArrayOutputWithContext

func (o TriggerActionArrayOutput) ToTriggerActionArrayOutputWithContext(ctx context.Context) TriggerActionArrayOutput

type TriggerActionInput

type TriggerActionInput interface {
	pulumi.Input

	ToTriggerActionOutput() TriggerActionOutput
	ToTriggerActionOutputWithContext(context.Context) TriggerActionOutput
}

TriggerActionInput is an input type that accepts TriggerActionArgs and TriggerActionOutput values. You can construct a concrete instance of `TriggerActionInput` via:

TriggerActionArgs{...}

type TriggerActionOutput

type TriggerActionOutput struct{ *pulumi.OutputState }

func (TriggerActionOutput) Arguments

Arguments to be passed to the job. You can specify arguments here that your own job-execution script consumes, as well as arguments that AWS Glue itself consumes.

func (TriggerActionOutput) CrawlerName

func (o TriggerActionOutput) CrawlerName() pulumi.StringPtrOutput

The name of the crawler to be executed. Conflicts with `jobName`.

func (TriggerActionOutput) ElementType

func (TriggerActionOutput) ElementType() reflect.Type

func (TriggerActionOutput) JobName

The name of a job to be executed. Conflicts with `crawlerName`.

func (TriggerActionOutput) Timeout

The job run timeout in minutes. It overrides the timeout value of the job.

func (TriggerActionOutput) ToTriggerActionOutput

func (o TriggerActionOutput) ToTriggerActionOutput() TriggerActionOutput

func (TriggerActionOutput) ToTriggerActionOutputWithContext

func (o TriggerActionOutput) ToTriggerActionOutputWithContext(ctx context.Context) TriggerActionOutput

type TriggerArgs

type TriggerArgs struct {
	// List of actions initiated by this trigger when it fires. Defined below.
	Actions TriggerActionArrayInput
	// A description of the new trigger.
	Description pulumi.StringPtrInput
	// Start the trigger. Defaults to `true`. Not valid to disable for `ON_DEMAND` type.
	Enabled pulumi.BoolPtrInput
	// The name of the trigger.
	Name pulumi.StringPtrInput
	// A predicate to specify when the new trigger should fire. Required when trigger type is `CONDITIONAL`. Defined below.
	Predicate TriggerPredicatePtrInput
	// A cron expression used to specify the schedule. [Time-Based Schedules for Jobs and Crawlers](https://docs.aws.amazon.com/glue/latest/dg/monitor-data-warehouse-schedule.html)
	Schedule pulumi.StringPtrInput
	// Key-value map of resource tags
	Tags pulumi.StringMapInput
	// The type of trigger. Valid values are `CONDITIONAL`, `ON_DEMAND`, and `SCHEDULED`.
	Type pulumi.StringInput
	// A workflow to which the trigger should be associated to. Every workflow graph (DAG) needs a starting trigger (`ON_DEMAND` or `SCHEDULED` type) and can contain multiple additional `CONDITIONAL` triggers.
	WorkflowName pulumi.StringPtrInput
}

The set of arguments for constructing a Trigger resource.

func (TriggerArgs) ElementType

func (TriggerArgs) ElementType() reflect.Type

type TriggerPredicate

type TriggerPredicate struct {
	// A list of the conditions that determine when the trigger will fire. Defined below.
	Conditions []TriggerPredicateCondition `pulumi:"conditions"`
	// How to handle multiple conditions. Defaults to `AND`. Valid values are `AND` or `ANY`.
	Logical *string `pulumi:"logical"`
}

type TriggerPredicateArgs

type TriggerPredicateArgs struct {
	// A list of the conditions that determine when the trigger will fire. Defined below.
	Conditions TriggerPredicateConditionArrayInput `pulumi:"conditions"`
	// How to handle multiple conditions. Defaults to `AND`. Valid values are `AND` or `ANY`.
	Logical pulumi.StringPtrInput `pulumi:"logical"`
}

func (TriggerPredicateArgs) ElementType

func (TriggerPredicateArgs) ElementType() reflect.Type

func (TriggerPredicateArgs) ToTriggerPredicateOutput

func (i TriggerPredicateArgs) ToTriggerPredicateOutput() TriggerPredicateOutput

func (TriggerPredicateArgs) ToTriggerPredicateOutputWithContext

func (i TriggerPredicateArgs) ToTriggerPredicateOutputWithContext(ctx context.Context) TriggerPredicateOutput

func (TriggerPredicateArgs) ToTriggerPredicatePtrOutput

func (i TriggerPredicateArgs) ToTriggerPredicatePtrOutput() TriggerPredicatePtrOutput

func (TriggerPredicateArgs) ToTriggerPredicatePtrOutputWithContext

func (i TriggerPredicateArgs) ToTriggerPredicatePtrOutputWithContext(ctx context.Context) TriggerPredicatePtrOutput

type TriggerPredicateCondition

type TriggerPredicateCondition struct {
	// The condition crawl state. Currently, the values supported are `RUNNING`, `SUCCEEDED`, `CANCELLED`, and `FAILED`. If this is specified, `crawlerName` must also be specified. Conflicts with `state`.
	CrawlState *string `pulumi:"crawlState"`
	// The name of the crawler to watch. If this is specified, `crawlState` must also be specified. Conflicts with `jobName`.
	CrawlerName *string `pulumi:"crawlerName"`
	// The name of the job to watch. If this is specified, `state` must also be specified. Conflicts with `crawlerName`.
	JobName *string `pulumi:"jobName"`
	// A logical operator. Defaults to `EQUALS`.
	LogicalOperator *string `pulumi:"logicalOperator"`
	// The condition job state. Currently, the values supported are `SUCCEEDED`, `STOPPED`, `TIMEOUT` and `FAILED`. If this is specified, `jobName` must also be specified. Conflicts with `crawlerState`.
	State *string `pulumi:"state"`
}

type TriggerPredicateConditionArgs

type TriggerPredicateConditionArgs struct {
	// The condition crawl state. Currently, the values supported are `RUNNING`, `SUCCEEDED`, `CANCELLED`, and `FAILED`. If this is specified, `crawlerName` must also be specified. Conflicts with `state`.
	CrawlState pulumi.StringPtrInput `pulumi:"crawlState"`
	// The name of the crawler to watch. If this is specified, `crawlState` must also be specified. Conflicts with `jobName`.
	CrawlerName pulumi.StringPtrInput `pulumi:"crawlerName"`
	// The name of the job to watch. If this is specified, `state` must also be specified. Conflicts with `crawlerName`.
	JobName pulumi.StringPtrInput `pulumi:"jobName"`
	// A logical operator. Defaults to `EQUALS`.
	LogicalOperator pulumi.StringPtrInput `pulumi:"logicalOperator"`
	// The condition job state. Currently, the values supported are `SUCCEEDED`, `STOPPED`, `TIMEOUT` and `FAILED`. If this is specified, `jobName` must also be specified. Conflicts with `crawlerState`.
	State pulumi.StringPtrInput `pulumi:"state"`
}

func (TriggerPredicateConditionArgs) ElementType

func (TriggerPredicateConditionArgs) ToTriggerPredicateConditionOutput

func (i TriggerPredicateConditionArgs) ToTriggerPredicateConditionOutput() TriggerPredicateConditionOutput

func (TriggerPredicateConditionArgs) ToTriggerPredicateConditionOutputWithContext

func (i TriggerPredicateConditionArgs) ToTriggerPredicateConditionOutputWithContext(ctx context.Context) TriggerPredicateConditionOutput

type TriggerPredicateConditionArray

type TriggerPredicateConditionArray []TriggerPredicateConditionInput

func (TriggerPredicateConditionArray) ElementType

func (TriggerPredicateConditionArray) ToTriggerPredicateConditionArrayOutput

func (i TriggerPredicateConditionArray) ToTriggerPredicateConditionArrayOutput() TriggerPredicateConditionArrayOutput

func (TriggerPredicateConditionArray) ToTriggerPredicateConditionArrayOutputWithContext

func (i TriggerPredicateConditionArray) ToTriggerPredicateConditionArrayOutputWithContext(ctx context.Context) TriggerPredicateConditionArrayOutput

type TriggerPredicateConditionArrayInput

type TriggerPredicateConditionArrayInput interface {
	pulumi.Input

	ToTriggerPredicateConditionArrayOutput() TriggerPredicateConditionArrayOutput
	ToTriggerPredicateConditionArrayOutputWithContext(context.Context) TriggerPredicateConditionArrayOutput
}

TriggerPredicateConditionArrayInput is an input type that accepts TriggerPredicateConditionArray and TriggerPredicateConditionArrayOutput values. You can construct a concrete instance of `TriggerPredicateConditionArrayInput` via:

TriggerPredicateConditionArray{ TriggerPredicateConditionArgs{...} }

type TriggerPredicateConditionArrayOutput

type TriggerPredicateConditionArrayOutput struct{ *pulumi.OutputState }

func (TriggerPredicateConditionArrayOutput) ElementType

func (TriggerPredicateConditionArrayOutput) Index

func (TriggerPredicateConditionArrayOutput) ToTriggerPredicateConditionArrayOutput

func (o TriggerPredicateConditionArrayOutput) ToTriggerPredicateConditionArrayOutput() TriggerPredicateConditionArrayOutput

func (TriggerPredicateConditionArrayOutput) ToTriggerPredicateConditionArrayOutputWithContext

func (o TriggerPredicateConditionArrayOutput) ToTriggerPredicateConditionArrayOutputWithContext(ctx context.Context) TriggerPredicateConditionArrayOutput

type TriggerPredicateConditionInput

type TriggerPredicateConditionInput interface {
	pulumi.Input

	ToTriggerPredicateConditionOutput() TriggerPredicateConditionOutput
	ToTriggerPredicateConditionOutputWithContext(context.Context) TriggerPredicateConditionOutput
}

TriggerPredicateConditionInput is an input type that accepts TriggerPredicateConditionArgs and TriggerPredicateConditionOutput values. You can construct a concrete instance of `TriggerPredicateConditionInput` via:

TriggerPredicateConditionArgs{...}

type TriggerPredicateConditionOutput

type TriggerPredicateConditionOutput struct{ *pulumi.OutputState }

func (TriggerPredicateConditionOutput) CrawlState

The condition crawl state. Currently, the values supported are `RUNNING`, `SUCCEEDED`, `CANCELLED`, and `FAILED`. If this is specified, `crawlerName` must also be specified. Conflicts with `state`.

func (TriggerPredicateConditionOutput) CrawlerName

The name of the crawler to watch. If this is specified, `crawlState` must also be specified. Conflicts with `jobName`.

func (TriggerPredicateConditionOutput) ElementType

func (TriggerPredicateConditionOutput) JobName

The name of the job to watch. If this is specified, `state` must also be specified. Conflicts with `crawlerName`.

func (TriggerPredicateConditionOutput) LogicalOperator

A logical operator. Defaults to `EQUALS`.

func (TriggerPredicateConditionOutput) State

The condition job state. Currently, the values supported are `SUCCEEDED`, `STOPPED`, `TIMEOUT` and `FAILED`. If this is specified, `jobName` must also be specified. Conflicts with `crawlerState`.

func (TriggerPredicateConditionOutput) ToTriggerPredicateConditionOutput

func (o TriggerPredicateConditionOutput) ToTriggerPredicateConditionOutput() TriggerPredicateConditionOutput

func (TriggerPredicateConditionOutput) ToTriggerPredicateConditionOutputWithContext

func (o TriggerPredicateConditionOutput) ToTriggerPredicateConditionOutputWithContext(ctx context.Context) TriggerPredicateConditionOutput

type TriggerPredicateInput

type TriggerPredicateInput interface {
	pulumi.Input

	ToTriggerPredicateOutput() TriggerPredicateOutput
	ToTriggerPredicateOutputWithContext(context.Context) TriggerPredicateOutput
}

TriggerPredicateInput is an input type that accepts TriggerPredicateArgs and TriggerPredicateOutput values. You can construct a concrete instance of `TriggerPredicateInput` via:

TriggerPredicateArgs{...}

type TriggerPredicateOutput

type TriggerPredicateOutput struct{ *pulumi.OutputState }

func (TriggerPredicateOutput) Conditions

A list of the conditions that determine when the trigger will fire. Defined below.

func (TriggerPredicateOutput) ElementType

func (TriggerPredicateOutput) ElementType() reflect.Type

func (TriggerPredicateOutput) Logical

How to handle multiple conditions. Defaults to `AND`. Valid values are `AND` or `ANY`.

func (TriggerPredicateOutput) ToTriggerPredicateOutput

func (o TriggerPredicateOutput) ToTriggerPredicateOutput() TriggerPredicateOutput

func (TriggerPredicateOutput) ToTriggerPredicateOutputWithContext

func (o TriggerPredicateOutput) ToTriggerPredicateOutputWithContext(ctx context.Context) TriggerPredicateOutput

func (TriggerPredicateOutput) ToTriggerPredicatePtrOutput

func (o TriggerPredicateOutput) ToTriggerPredicatePtrOutput() TriggerPredicatePtrOutput

func (TriggerPredicateOutput) ToTriggerPredicatePtrOutputWithContext

func (o TriggerPredicateOutput) ToTriggerPredicatePtrOutputWithContext(ctx context.Context) TriggerPredicatePtrOutput

type TriggerPredicatePtrInput

type TriggerPredicatePtrInput interface {
	pulumi.Input

	ToTriggerPredicatePtrOutput() TriggerPredicatePtrOutput
	ToTriggerPredicatePtrOutputWithContext(context.Context) TriggerPredicatePtrOutput
}

TriggerPredicatePtrInput is an input type that accepts TriggerPredicateArgs, TriggerPredicatePtr and TriggerPredicatePtrOutput values. You can construct a concrete instance of `TriggerPredicatePtrInput` via:

        TriggerPredicateArgs{...}

or:

        nil

type TriggerPredicatePtrOutput

type TriggerPredicatePtrOutput struct{ *pulumi.OutputState }

func (TriggerPredicatePtrOutput) Conditions

A list of the conditions that determine when the trigger will fire. Defined below.

func (TriggerPredicatePtrOutput) Elem

func (TriggerPredicatePtrOutput) ElementType

func (TriggerPredicatePtrOutput) ElementType() reflect.Type

func (TriggerPredicatePtrOutput) Logical

How to handle multiple conditions. Defaults to `AND`. Valid values are `AND` or `ANY`.

func (TriggerPredicatePtrOutput) ToTriggerPredicatePtrOutput

func (o TriggerPredicatePtrOutput) ToTriggerPredicatePtrOutput() TriggerPredicatePtrOutput

func (TriggerPredicatePtrOutput) ToTriggerPredicatePtrOutputWithContext

func (o TriggerPredicatePtrOutput) ToTriggerPredicatePtrOutputWithContext(ctx context.Context) TriggerPredicatePtrOutput

type TriggerState

type TriggerState struct {
	// List of actions initiated by this trigger when it fires. Defined below.
	Actions TriggerActionArrayInput
	// Amazon Resource Name (ARN) of Glue Trigger
	Arn pulumi.StringPtrInput
	// A description of the new trigger.
	Description pulumi.StringPtrInput
	// Start the trigger. Defaults to `true`. Not valid to disable for `ON_DEMAND` type.
	Enabled pulumi.BoolPtrInput
	// The name of the trigger.
	Name pulumi.StringPtrInput
	// A predicate to specify when the new trigger should fire. Required when trigger type is `CONDITIONAL`. Defined below.
	Predicate TriggerPredicatePtrInput
	// A cron expression used to specify the schedule. [Time-Based Schedules for Jobs and Crawlers](https://docs.aws.amazon.com/glue/latest/dg/monitor-data-warehouse-schedule.html)
	Schedule pulumi.StringPtrInput
	// Key-value map of resource tags
	Tags pulumi.StringMapInput
	// The type of trigger. Valid values are `CONDITIONAL`, `ON_DEMAND`, and `SCHEDULED`.
	Type pulumi.StringPtrInput
	// A workflow to which the trigger should be associated to. Every workflow graph (DAG) needs a starting trigger (`ON_DEMAND` or `SCHEDULED` type) and can contain multiple additional `CONDITIONAL` triggers.
	WorkflowName pulumi.StringPtrInput
}

func (TriggerState) ElementType

func (TriggerState) ElementType() reflect.Type

type UserDefinedFunction added in v3.3.0

type UserDefinedFunction struct {
	pulumi.CustomResourceState

	Arn pulumi.StringOutput `pulumi:"arn"`
	// ID of the Glue Catalog to create the function in. If omitted, this defaults to the AWS Account ID.
	CatalogId pulumi.StringPtrOutput `pulumi:"catalogId"`
	// The Java class that contains the function code.
	ClassName  pulumi.StringOutput `pulumi:"className"`
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// The name of the Database to create the Function.
	DatabaseName pulumi.StringOutput `pulumi:"databaseName"`
	// The name of the function.
	Name pulumi.StringOutput `pulumi:"name"`
	// The owner of the function.
	OwnerName pulumi.StringOutput `pulumi:"ownerName"`
	// The owner type. can be one of `USER`, `ROLE`, and `GROUP`.
	OwnerType pulumi.StringOutput `pulumi:"ownerType"`
	// The configuration block for Resource URIs. See resource uris below for more details.
	ResourceUris UserDefinedFunctionResourceUriArrayOutput `pulumi:"resourceUris"`
}

Provides a Glue User Defined Function Resource.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/glue"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleCatalogDatabase, err := glue.NewCatalogDatabase(ctx, "exampleCatalogDatabase", &glue.CatalogDatabaseArgs{
			Name: pulumi.String("my_database"),
		})
		if err != nil {
			return err
		}
		_, err = glue.NewUserDefinedFunction(ctx, "exampleUserDefinedFunction", &glue.UserDefinedFunctionArgs{
			CatalogId:    exampleCatalogDatabase.CatalogId,
			DatabaseName: exampleCatalogDatabase.Name,
			ClassName:    pulumi.String("class"),
			OwnerName:    pulumi.String("owner"),
			OwnerType:    pulumi.String("GROUP"),
			ResourceUris: glue.UserDefinedFunctionResourceUriArray{
				&glue.UserDefinedFunctionResourceUriArgs{
					ResourceType: pulumi.String("ARCHIVE"),
					Uri:          pulumi.String("uri"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetUserDefinedFunction added in v3.3.0

func GetUserDefinedFunction(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *UserDefinedFunctionState, opts ...pulumi.ResourceOption) (*UserDefinedFunction, error)

GetUserDefinedFunction gets an existing UserDefinedFunction resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewUserDefinedFunction added in v3.3.0

func NewUserDefinedFunction(ctx *pulumi.Context,
	name string, args *UserDefinedFunctionArgs, opts ...pulumi.ResourceOption) (*UserDefinedFunction, error)

NewUserDefinedFunction registers a new resource with the given unique name, arguments, and options.

type UserDefinedFunctionArgs added in v3.3.0

type UserDefinedFunctionArgs struct {
	// ID of the Glue Catalog to create the function in. If omitted, this defaults to the AWS Account ID.
	CatalogId pulumi.StringPtrInput
	// The Java class that contains the function code.
	ClassName pulumi.StringInput
	// The name of the Database to create the Function.
	DatabaseName pulumi.StringInput
	// The name of the function.
	Name pulumi.StringPtrInput
	// The owner of the function.
	OwnerName pulumi.StringInput
	// The owner type. can be one of `USER`, `ROLE`, and `GROUP`.
	OwnerType pulumi.StringInput
	// The configuration block for Resource URIs. See resource uris below for more details.
	ResourceUris UserDefinedFunctionResourceUriArrayInput
}

The set of arguments for constructing a UserDefinedFunction resource.

func (UserDefinedFunctionArgs) ElementType added in v3.3.0

func (UserDefinedFunctionArgs) ElementType() reflect.Type

type UserDefinedFunctionResourceUri added in v3.3.0

type UserDefinedFunctionResourceUri struct {
	// The type of the resource. can be one of `JAR`, `FILE`, and `ARCHIVE`.
	ResourceType string `pulumi:"resourceType"`
	// The URI for accessing the resource.
	Uri string `pulumi:"uri"`
}

type UserDefinedFunctionResourceUriArgs added in v3.3.0

type UserDefinedFunctionResourceUriArgs struct {
	// The type of the resource. can be one of `JAR`, `FILE`, and `ARCHIVE`.
	ResourceType pulumi.StringInput `pulumi:"resourceType"`
	// The URI for accessing the resource.
	Uri pulumi.StringInput `pulumi:"uri"`
}

func (UserDefinedFunctionResourceUriArgs) ElementType added in v3.3.0

func (UserDefinedFunctionResourceUriArgs) ToUserDefinedFunctionResourceUriOutput added in v3.3.0

func (i UserDefinedFunctionResourceUriArgs) ToUserDefinedFunctionResourceUriOutput() UserDefinedFunctionResourceUriOutput

func (UserDefinedFunctionResourceUriArgs) ToUserDefinedFunctionResourceUriOutputWithContext added in v3.3.0

func (i UserDefinedFunctionResourceUriArgs) ToUserDefinedFunctionResourceUriOutputWithContext(ctx context.Context) UserDefinedFunctionResourceUriOutput

type UserDefinedFunctionResourceUriArray added in v3.3.0

type UserDefinedFunctionResourceUriArray []UserDefinedFunctionResourceUriInput

func (UserDefinedFunctionResourceUriArray) ElementType added in v3.3.0

func (UserDefinedFunctionResourceUriArray) ToUserDefinedFunctionResourceUriArrayOutput added in v3.3.0

func (i UserDefinedFunctionResourceUriArray) ToUserDefinedFunctionResourceUriArrayOutput() UserDefinedFunctionResourceUriArrayOutput

func (UserDefinedFunctionResourceUriArray) ToUserDefinedFunctionResourceUriArrayOutputWithContext added in v3.3.0

func (i UserDefinedFunctionResourceUriArray) ToUserDefinedFunctionResourceUriArrayOutputWithContext(ctx context.Context) UserDefinedFunctionResourceUriArrayOutput

type UserDefinedFunctionResourceUriArrayInput added in v3.3.0

type UserDefinedFunctionResourceUriArrayInput interface {
	pulumi.Input

	ToUserDefinedFunctionResourceUriArrayOutput() UserDefinedFunctionResourceUriArrayOutput
	ToUserDefinedFunctionResourceUriArrayOutputWithContext(context.Context) UserDefinedFunctionResourceUriArrayOutput
}

UserDefinedFunctionResourceUriArrayInput is an input type that accepts UserDefinedFunctionResourceUriArray and UserDefinedFunctionResourceUriArrayOutput values. You can construct a concrete instance of `UserDefinedFunctionResourceUriArrayInput` via:

UserDefinedFunctionResourceUriArray{ UserDefinedFunctionResourceUriArgs{...} }

type UserDefinedFunctionResourceUriArrayOutput added in v3.3.0

type UserDefinedFunctionResourceUriArrayOutput struct{ *pulumi.OutputState }

func (UserDefinedFunctionResourceUriArrayOutput) ElementType added in v3.3.0

func (UserDefinedFunctionResourceUriArrayOutput) Index added in v3.3.0

func (UserDefinedFunctionResourceUriArrayOutput) ToUserDefinedFunctionResourceUriArrayOutput added in v3.3.0

func (o UserDefinedFunctionResourceUriArrayOutput) ToUserDefinedFunctionResourceUriArrayOutput() UserDefinedFunctionResourceUriArrayOutput

func (UserDefinedFunctionResourceUriArrayOutput) ToUserDefinedFunctionResourceUriArrayOutputWithContext added in v3.3.0

func (o UserDefinedFunctionResourceUriArrayOutput) ToUserDefinedFunctionResourceUriArrayOutputWithContext(ctx context.Context) UserDefinedFunctionResourceUriArrayOutput

type UserDefinedFunctionResourceUriInput added in v3.3.0

type UserDefinedFunctionResourceUriInput interface {
	pulumi.Input

	ToUserDefinedFunctionResourceUriOutput() UserDefinedFunctionResourceUriOutput
	ToUserDefinedFunctionResourceUriOutputWithContext(context.Context) UserDefinedFunctionResourceUriOutput
}

UserDefinedFunctionResourceUriInput is an input type that accepts UserDefinedFunctionResourceUriArgs and UserDefinedFunctionResourceUriOutput values. You can construct a concrete instance of `UserDefinedFunctionResourceUriInput` via:

UserDefinedFunctionResourceUriArgs{...}

type UserDefinedFunctionResourceUriOutput added in v3.3.0

type UserDefinedFunctionResourceUriOutput struct{ *pulumi.OutputState }

func (UserDefinedFunctionResourceUriOutput) ElementType added in v3.3.0

func (UserDefinedFunctionResourceUriOutput) ResourceType added in v3.3.0

The type of the resource. can be one of `JAR`, `FILE`, and `ARCHIVE`.

func (UserDefinedFunctionResourceUriOutput) ToUserDefinedFunctionResourceUriOutput added in v3.3.0

func (o UserDefinedFunctionResourceUriOutput) ToUserDefinedFunctionResourceUriOutput() UserDefinedFunctionResourceUriOutput

func (UserDefinedFunctionResourceUriOutput) ToUserDefinedFunctionResourceUriOutputWithContext added in v3.3.0

func (o UserDefinedFunctionResourceUriOutput) ToUserDefinedFunctionResourceUriOutputWithContext(ctx context.Context) UserDefinedFunctionResourceUriOutput

func (UserDefinedFunctionResourceUriOutput) Uri added in v3.3.0

The URI for accessing the resource.

type UserDefinedFunctionState added in v3.3.0

type UserDefinedFunctionState struct {
	Arn pulumi.StringPtrInput
	// ID of the Glue Catalog to create the function in. If omitted, this defaults to the AWS Account ID.
	CatalogId pulumi.StringPtrInput
	// The Java class that contains the function code.
	ClassName  pulumi.StringPtrInput
	CreateTime pulumi.StringPtrInput
	// The name of the Database to create the Function.
	DatabaseName pulumi.StringPtrInput
	// The name of the function.
	Name pulumi.StringPtrInput
	// The owner of the function.
	OwnerName pulumi.StringPtrInput
	// The owner type. can be one of `USER`, `ROLE`, and `GROUP`.
	OwnerType pulumi.StringPtrInput
	// The configuration block for Resource URIs. See resource uris below for more details.
	ResourceUris UserDefinedFunctionResourceUriArrayInput
}

func (UserDefinedFunctionState) ElementType added in v3.3.0

func (UserDefinedFunctionState) ElementType() reflect.Type

type Workflow

type Workflow struct {
	pulumi.CustomResourceState

	// Amazon Resource Name (ARN) of Glue Workflow
	Arn pulumi.StringOutput `pulumi:"arn"`
	// A map of default run properties for this workflow. These properties are passed to all jobs associated to the workflow.
	DefaultRunProperties pulumi.MapOutput `pulumi:"defaultRunProperties"`
	// Description of the workflow.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Prevents exceeding the maximum number of concurrent runs of any of the component jobs. If you leave this parameter blank, there is no limit to the number of concurrent workflow runs.
	MaxConcurrentRuns pulumi.IntPtrOutput `pulumi:"maxConcurrentRuns"`
	// The name you assign to this workflow.
	Name pulumi.StringOutput `pulumi:"name"`
	// Key-value map of resource tags
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Provides a Glue Workflow resource. The workflow graph (DAG) can be build using the `glue.Trigger` resource. See the example below for creating a graph with four nodes (two triggers and two jobs).

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/glue"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := glue.NewWorkflow(ctx, "example", nil)
		if err != nil {
			return err
		}
		_, err = glue.NewTrigger(ctx, "example_start", &glue.TriggerArgs{
			Type:         pulumi.String("ON_DEMAND"),
			WorkflowName: example.Name,
			Actions: glue.TriggerActionArray{
				&glue.TriggerActionArgs{
					JobName: pulumi.String("example-job"),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = glue.NewTrigger(ctx, "example_inner", &glue.TriggerArgs{
			Type:         pulumi.String("CONDITIONAL"),
			WorkflowName: example.Name,
			Predicate: &glue.TriggerPredicateArgs{
				Conditions: glue.TriggerPredicateConditionArray{
					&glue.TriggerPredicateConditionArgs{
						JobName: pulumi.String("example-job"),
						State:   pulumi.String("SUCCEEDED"),
					},
				},
			},
			Actions: glue.TriggerActionArray{
				&glue.TriggerActionArgs{
					JobName: pulumi.String("another-example-job"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetWorkflow

func GetWorkflow(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *WorkflowState, opts ...pulumi.ResourceOption) (*Workflow, error)

GetWorkflow gets an existing Workflow resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewWorkflow

func NewWorkflow(ctx *pulumi.Context,
	name string, args *WorkflowArgs, opts ...pulumi.ResourceOption) (*Workflow, error)

NewWorkflow registers a new resource with the given unique name, arguments, and options.

type WorkflowArgs

type WorkflowArgs struct {
	// A map of default run properties for this workflow. These properties are passed to all jobs associated to the workflow.
	DefaultRunProperties pulumi.MapInput
	// Description of the workflow.
	Description pulumi.StringPtrInput
	// Prevents exceeding the maximum number of concurrent runs of any of the component jobs. If you leave this parameter blank, there is no limit to the number of concurrent workflow runs.
	MaxConcurrentRuns pulumi.IntPtrInput
	// The name you assign to this workflow.
	Name pulumi.StringPtrInput
	// Key-value map of resource tags
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Workflow resource.

func (WorkflowArgs) ElementType

func (WorkflowArgs) ElementType() reflect.Type

type WorkflowState

type WorkflowState struct {
	// Amazon Resource Name (ARN) of Glue Workflow
	Arn pulumi.StringPtrInput
	// A map of default run properties for this workflow. These properties are passed to all jobs associated to the workflow.
	DefaultRunProperties pulumi.MapInput
	// Description of the workflow.
	Description pulumi.StringPtrInput
	// Prevents exceeding the maximum number of concurrent runs of any of the component jobs. If you leave this parameter blank, there is no limit to the number of concurrent workflow runs.
	MaxConcurrentRuns pulumi.IntPtrInput
	// The name you assign to this workflow.
	Name pulumi.StringPtrInput
	// Key-value map of resource tags
	Tags pulumi.StringMapInput
}

func (WorkflowState) ElementType

func (WorkflowState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL