appsync

package
v4.36.0 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2022 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiCache added in v4.36.0

type ApiCache struct {
	pulumi.CustomResourceState

	// Caching behavior. Valid values are `FULL_REQUEST_CACHING` and `PER_RESOLVER_CACHING`.
	ApiCachingBehavior pulumi.StringOutput `pulumi:"apiCachingBehavior"`
	// The GraphQL API ID.
	ApiId pulumi.StringOutput `pulumi:"apiId"`
	// At-rest encryption flag for cache. You cannot update this setting after creation.
	AtRestEncryptionEnabled pulumi.BoolPtrOutput `pulumi:"atRestEncryptionEnabled"`
	// Transit encryption flag when connecting to cache. You cannot update this setting after creation.
	TransitEncryptionEnabled pulumi.BoolPtrOutput `pulumi:"transitEncryptionEnabled"`
	// TTL in seconds for cache entries.
	Ttl pulumi.IntOutput `pulumi:"ttl"`
	// The cache instance type. Valid values are `SMALL`, `MEDIUM`, `LARGE`, `XLARGE`, `LARGE_2X`, `LARGE_4X`, `LARGE_8X`, `LARGE_12X`, `T2_SMALL`, `T2_MEDIUM`, `R4_LARGE`, `R4_XLARGE`, `R4_2XLARGE`, `R4_4XLARGE`, `R4_8XLARGE`.
	Type pulumi.StringOutput `pulumi:"type"`
}

Provides an AppSync API Cache.

## Import

`aws_appsync_api_cache` can be imported using the AppSync API ID, e.g.,

```sh

$ pulumi import aws:appsync/apiCache:ApiCache example xxxxx

```

func GetApiCache added in v4.36.0

func GetApiCache(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ApiCacheState, opts ...pulumi.ResourceOption) (*ApiCache, error)

GetApiCache gets an existing ApiCache 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 NewApiCache added in v4.36.0

func NewApiCache(ctx *pulumi.Context,
	name string, args *ApiCacheArgs, opts ...pulumi.ResourceOption) (*ApiCache, error)

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

func (*ApiCache) ElementType added in v4.36.0

func (*ApiCache) ElementType() reflect.Type

func (*ApiCache) ToApiCacheOutput added in v4.36.0

func (i *ApiCache) ToApiCacheOutput() ApiCacheOutput

func (*ApiCache) ToApiCacheOutputWithContext added in v4.36.0

func (i *ApiCache) ToApiCacheOutputWithContext(ctx context.Context) ApiCacheOutput

func (*ApiCache) ToApiCachePtrOutput added in v4.36.0

func (i *ApiCache) ToApiCachePtrOutput() ApiCachePtrOutput

func (*ApiCache) ToApiCachePtrOutputWithContext added in v4.36.0

func (i *ApiCache) ToApiCachePtrOutputWithContext(ctx context.Context) ApiCachePtrOutput

type ApiCacheArgs added in v4.36.0

type ApiCacheArgs struct {
	// Caching behavior. Valid values are `FULL_REQUEST_CACHING` and `PER_RESOLVER_CACHING`.
	ApiCachingBehavior pulumi.StringInput
	// The GraphQL API ID.
	ApiId pulumi.StringInput
	// At-rest encryption flag for cache. You cannot update this setting after creation.
	AtRestEncryptionEnabled pulumi.BoolPtrInput
	// Transit encryption flag when connecting to cache. You cannot update this setting after creation.
	TransitEncryptionEnabled pulumi.BoolPtrInput
	// TTL in seconds for cache entries.
	Ttl pulumi.IntInput
	// The cache instance type. Valid values are `SMALL`, `MEDIUM`, `LARGE`, `XLARGE`, `LARGE_2X`, `LARGE_4X`, `LARGE_8X`, `LARGE_12X`, `T2_SMALL`, `T2_MEDIUM`, `R4_LARGE`, `R4_XLARGE`, `R4_2XLARGE`, `R4_4XLARGE`, `R4_8XLARGE`.
	Type pulumi.StringInput
}

The set of arguments for constructing a ApiCache resource.

func (ApiCacheArgs) ElementType added in v4.36.0

func (ApiCacheArgs) ElementType() reflect.Type

type ApiCacheArray added in v4.36.0

type ApiCacheArray []ApiCacheInput

func (ApiCacheArray) ElementType added in v4.36.0

func (ApiCacheArray) ElementType() reflect.Type

func (ApiCacheArray) ToApiCacheArrayOutput added in v4.36.0

func (i ApiCacheArray) ToApiCacheArrayOutput() ApiCacheArrayOutput

func (ApiCacheArray) ToApiCacheArrayOutputWithContext added in v4.36.0

func (i ApiCacheArray) ToApiCacheArrayOutputWithContext(ctx context.Context) ApiCacheArrayOutput

type ApiCacheArrayInput added in v4.36.0

type ApiCacheArrayInput interface {
	pulumi.Input

	ToApiCacheArrayOutput() ApiCacheArrayOutput
	ToApiCacheArrayOutputWithContext(context.Context) ApiCacheArrayOutput
}

ApiCacheArrayInput is an input type that accepts ApiCacheArray and ApiCacheArrayOutput values. You can construct a concrete instance of `ApiCacheArrayInput` via:

ApiCacheArray{ ApiCacheArgs{...} }

type ApiCacheArrayOutput added in v4.36.0

type ApiCacheArrayOutput struct{ *pulumi.OutputState }

func (ApiCacheArrayOutput) ElementType added in v4.36.0

func (ApiCacheArrayOutput) ElementType() reflect.Type

func (ApiCacheArrayOutput) Index added in v4.36.0

func (ApiCacheArrayOutput) ToApiCacheArrayOutput added in v4.36.0

func (o ApiCacheArrayOutput) ToApiCacheArrayOutput() ApiCacheArrayOutput

func (ApiCacheArrayOutput) ToApiCacheArrayOutputWithContext added in v4.36.0

func (o ApiCacheArrayOutput) ToApiCacheArrayOutputWithContext(ctx context.Context) ApiCacheArrayOutput

type ApiCacheInput added in v4.36.0

type ApiCacheInput interface {
	pulumi.Input

	ToApiCacheOutput() ApiCacheOutput
	ToApiCacheOutputWithContext(ctx context.Context) ApiCacheOutput
}

type ApiCacheMap added in v4.36.0

type ApiCacheMap map[string]ApiCacheInput

func (ApiCacheMap) ElementType added in v4.36.0

func (ApiCacheMap) ElementType() reflect.Type

func (ApiCacheMap) ToApiCacheMapOutput added in v4.36.0

func (i ApiCacheMap) ToApiCacheMapOutput() ApiCacheMapOutput

func (ApiCacheMap) ToApiCacheMapOutputWithContext added in v4.36.0

func (i ApiCacheMap) ToApiCacheMapOutputWithContext(ctx context.Context) ApiCacheMapOutput

type ApiCacheMapInput added in v4.36.0

type ApiCacheMapInput interface {
	pulumi.Input

	ToApiCacheMapOutput() ApiCacheMapOutput
	ToApiCacheMapOutputWithContext(context.Context) ApiCacheMapOutput
}

ApiCacheMapInput is an input type that accepts ApiCacheMap and ApiCacheMapOutput values. You can construct a concrete instance of `ApiCacheMapInput` via:

ApiCacheMap{ "key": ApiCacheArgs{...} }

type ApiCacheMapOutput added in v4.36.0

type ApiCacheMapOutput struct{ *pulumi.OutputState }

func (ApiCacheMapOutput) ElementType added in v4.36.0

func (ApiCacheMapOutput) ElementType() reflect.Type

func (ApiCacheMapOutput) MapIndex added in v4.36.0

func (ApiCacheMapOutput) ToApiCacheMapOutput added in v4.36.0

func (o ApiCacheMapOutput) ToApiCacheMapOutput() ApiCacheMapOutput

func (ApiCacheMapOutput) ToApiCacheMapOutputWithContext added in v4.36.0

func (o ApiCacheMapOutput) ToApiCacheMapOutputWithContext(ctx context.Context) ApiCacheMapOutput

type ApiCacheOutput added in v4.36.0

type ApiCacheOutput struct{ *pulumi.OutputState }

func (ApiCacheOutput) ElementType added in v4.36.0

func (ApiCacheOutput) ElementType() reflect.Type

func (ApiCacheOutput) ToApiCacheOutput added in v4.36.0

func (o ApiCacheOutput) ToApiCacheOutput() ApiCacheOutput

func (ApiCacheOutput) ToApiCacheOutputWithContext added in v4.36.0

func (o ApiCacheOutput) ToApiCacheOutputWithContext(ctx context.Context) ApiCacheOutput

func (ApiCacheOutput) ToApiCachePtrOutput added in v4.36.0

func (o ApiCacheOutput) ToApiCachePtrOutput() ApiCachePtrOutput

func (ApiCacheOutput) ToApiCachePtrOutputWithContext added in v4.36.0

func (o ApiCacheOutput) ToApiCachePtrOutputWithContext(ctx context.Context) ApiCachePtrOutput

type ApiCachePtrInput added in v4.36.0

type ApiCachePtrInput interface {
	pulumi.Input

	ToApiCachePtrOutput() ApiCachePtrOutput
	ToApiCachePtrOutputWithContext(ctx context.Context) ApiCachePtrOutput
}

type ApiCachePtrOutput added in v4.36.0

type ApiCachePtrOutput struct{ *pulumi.OutputState }

func (ApiCachePtrOutput) Elem added in v4.36.0

func (ApiCachePtrOutput) ElementType added in v4.36.0

func (ApiCachePtrOutput) ElementType() reflect.Type

func (ApiCachePtrOutput) ToApiCachePtrOutput added in v4.36.0

func (o ApiCachePtrOutput) ToApiCachePtrOutput() ApiCachePtrOutput

func (ApiCachePtrOutput) ToApiCachePtrOutputWithContext added in v4.36.0

func (o ApiCachePtrOutput) ToApiCachePtrOutputWithContext(ctx context.Context) ApiCachePtrOutput

type ApiCacheState added in v4.36.0

type ApiCacheState struct {
	// Caching behavior. Valid values are `FULL_REQUEST_CACHING` and `PER_RESOLVER_CACHING`.
	ApiCachingBehavior pulumi.StringPtrInput
	// The GraphQL API ID.
	ApiId pulumi.StringPtrInput
	// At-rest encryption flag for cache. You cannot update this setting after creation.
	AtRestEncryptionEnabled pulumi.BoolPtrInput
	// Transit encryption flag when connecting to cache. You cannot update this setting after creation.
	TransitEncryptionEnabled pulumi.BoolPtrInput
	// TTL in seconds for cache entries.
	Ttl pulumi.IntPtrInput
	// The cache instance type. Valid values are `SMALL`, `MEDIUM`, `LARGE`, `XLARGE`, `LARGE_2X`, `LARGE_4X`, `LARGE_8X`, `LARGE_12X`, `T2_SMALL`, `T2_MEDIUM`, `R4_LARGE`, `R4_XLARGE`, `R4_2XLARGE`, `R4_4XLARGE`, `R4_8XLARGE`.
	Type pulumi.StringPtrInput
}

func (ApiCacheState) ElementType added in v4.36.0

func (ApiCacheState) ElementType() reflect.Type

type ApiKey

type ApiKey struct {
	pulumi.CustomResourceState

	// The ID of the associated AppSync API
	ApiId pulumi.StringOutput `pulumi:"apiId"`
	// The API key description. Defaults to "Managed by Pulumi".
	Description pulumi.StringOutput `pulumi:"description"`
	// RFC3339 string representation of the expiry date. Rounded down to nearest hour. By default, it is 7 days from the date of creation.
	Expires pulumi.StringPtrOutput `pulumi:"expires"`
	// The API key
	Key pulumi.StringOutput `pulumi:"key"`
}

Provides an AppSync API Key.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/appsync"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleGraphQLApi, err := appsync.NewGraphQLApi(ctx, "exampleGraphQLApi", &appsync.GraphQLApiArgs{
			AuthenticationType: pulumi.String("API_KEY"),
		})
		if err != nil {
			return err
		}
		_, err = appsync.NewApiKey(ctx, "exampleApiKey", &appsync.ApiKeyArgs{
			ApiId:   exampleGraphQLApi.ID(),
			Expires: pulumi.String("2018-05-03T04:00:00Z"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

`aws_appsync_api_key` can be imported using the AppSync API ID and key separated by `:`, e.g.,

```sh

$ pulumi import aws:appsync/apiKey:ApiKey example xxxxx:yyyyy

```

func GetApiKey

func GetApiKey(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ApiKeyState, opts ...pulumi.ResourceOption) (*ApiKey, error)

GetApiKey gets an existing ApiKey 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 NewApiKey

func NewApiKey(ctx *pulumi.Context,
	name string, args *ApiKeyArgs, opts ...pulumi.ResourceOption) (*ApiKey, error)

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

func (*ApiKey) ElementType

func (*ApiKey) ElementType() reflect.Type

func (*ApiKey) ToApiKeyOutput

func (i *ApiKey) ToApiKeyOutput() ApiKeyOutput

func (*ApiKey) ToApiKeyOutputWithContext

func (i *ApiKey) ToApiKeyOutputWithContext(ctx context.Context) ApiKeyOutput

func (*ApiKey) ToApiKeyPtrOutput

func (i *ApiKey) ToApiKeyPtrOutput() ApiKeyPtrOutput

func (*ApiKey) ToApiKeyPtrOutputWithContext

func (i *ApiKey) ToApiKeyPtrOutputWithContext(ctx context.Context) ApiKeyPtrOutput

type ApiKeyArgs

type ApiKeyArgs struct {
	// The ID of the associated AppSync API
	ApiId pulumi.StringInput
	// The API key description. Defaults to "Managed by Pulumi".
	Description pulumi.StringPtrInput
	// RFC3339 string representation of the expiry date. Rounded down to nearest hour. By default, it is 7 days from the date of creation.
	Expires pulumi.StringPtrInput
}

The set of arguments for constructing a ApiKey resource.

func (ApiKeyArgs) ElementType

func (ApiKeyArgs) ElementType() reflect.Type

type ApiKeyArray

type ApiKeyArray []ApiKeyInput

func (ApiKeyArray) ElementType

func (ApiKeyArray) ElementType() reflect.Type

func (ApiKeyArray) ToApiKeyArrayOutput

func (i ApiKeyArray) ToApiKeyArrayOutput() ApiKeyArrayOutput

func (ApiKeyArray) ToApiKeyArrayOutputWithContext

func (i ApiKeyArray) ToApiKeyArrayOutputWithContext(ctx context.Context) ApiKeyArrayOutput

type ApiKeyArrayInput

type ApiKeyArrayInput interface {
	pulumi.Input

	ToApiKeyArrayOutput() ApiKeyArrayOutput
	ToApiKeyArrayOutputWithContext(context.Context) ApiKeyArrayOutput
}

ApiKeyArrayInput is an input type that accepts ApiKeyArray and ApiKeyArrayOutput values. You can construct a concrete instance of `ApiKeyArrayInput` via:

ApiKeyArray{ ApiKeyArgs{...} }

type ApiKeyArrayOutput

type ApiKeyArrayOutput struct{ *pulumi.OutputState }

func (ApiKeyArrayOutput) ElementType

func (ApiKeyArrayOutput) ElementType() reflect.Type

func (ApiKeyArrayOutput) Index

func (ApiKeyArrayOutput) ToApiKeyArrayOutput

func (o ApiKeyArrayOutput) ToApiKeyArrayOutput() ApiKeyArrayOutput

func (ApiKeyArrayOutput) ToApiKeyArrayOutputWithContext

func (o ApiKeyArrayOutput) ToApiKeyArrayOutputWithContext(ctx context.Context) ApiKeyArrayOutput

type ApiKeyInput

type ApiKeyInput interface {
	pulumi.Input

	ToApiKeyOutput() ApiKeyOutput
	ToApiKeyOutputWithContext(ctx context.Context) ApiKeyOutput
}

type ApiKeyMap

type ApiKeyMap map[string]ApiKeyInput

func (ApiKeyMap) ElementType

func (ApiKeyMap) ElementType() reflect.Type

func (ApiKeyMap) ToApiKeyMapOutput

func (i ApiKeyMap) ToApiKeyMapOutput() ApiKeyMapOutput

func (ApiKeyMap) ToApiKeyMapOutputWithContext

func (i ApiKeyMap) ToApiKeyMapOutputWithContext(ctx context.Context) ApiKeyMapOutput

type ApiKeyMapInput

type ApiKeyMapInput interface {
	pulumi.Input

	ToApiKeyMapOutput() ApiKeyMapOutput
	ToApiKeyMapOutputWithContext(context.Context) ApiKeyMapOutput
}

ApiKeyMapInput is an input type that accepts ApiKeyMap and ApiKeyMapOutput values. You can construct a concrete instance of `ApiKeyMapInput` via:

ApiKeyMap{ "key": ApiKeyArgs{...} }

type ApiKeyMapOutput

type ApiKeyMapOutput struct{ *pulumi.OutputState }

func (ApiKeyMapOutput) ElementType

func (ApiKeyMapOutput) ElementType() reflect.Type

func (ApiKeyMapOutput) MapIndex

func (ApiKeyMapOutput) ToApiKeyMapOutput

func (o ApiKeyMapOutput) ToApiKeyMapOutput() ApiKeyMapOutput

func (ApiKeyMapOutput) ToApiKeyMapOutputWithContext

func (o ApiKeyMapOutput) ToApiKeyMapOutputWithContext(ctx context.Context) ApiKeyMapOutput

type ApiKeyOutput

type ApiKeyOutput struct{ *pulumi.OutputState }

func (ApiKeyOutput) ElementType

func (ApiKeyOutput) ElementType() reflect.Type

func (ApiKeyOutput) ToApiKeyOutput

func (o ApiKeyOutput) ToApiKeyOutput() ApiKeyOutput

func (ApiKeyOutput) ToApiKeyOutputWithContext

func (o ApiKeyOutput) ToApiKeyOutputWithContext(ctx context.Context) ApiKeyOutput

func (ApiKeyOutput) ToApiKeyPtrOutput

func (o ApiKeyOutput) ToApiKeyPtrOutput() ApiKeyPtrOutput

func (ApiKeyOutput) ToApiKeyPtrOutputWithContext

func (o ApiKeyOutput) ToApiKeyPtrOutputWithContext(ctx context.Context) ApiKeyPtrOutput

type ApiKeyPtrInput

type ApiKeyPtrInput interface {
	pulumi.Input

	ToApiKeyPtrOutput() ApiKeyPtrOutput
	ToApiKeyPtrOutputWithContext(ctx context.Context) ApiKeyPtrOutput
}

type ApiKeyPtrOutput

type ApiKeyPtrOutput struct{ *pulumi.OutputState }

func (ApiKeyPtrOutput) Elem added in v4.15.0

func (o ApiKeyPtrOutput) Elem() ApiKeyOutput

func (ApiKeyPtrOutput) ElementType

func (ApiKeyPtrOutput) ElementType() reflect.Type

func (ApiKeyPtrOutput) ToApiKeyPtrOutput

func (o ApiKeyPtrOutput) ToApiKeyPtrOutput() ApiKeyPtrOutput

func (ApiKeyPtrOutput) ToApiKeyPtrOutputWithContext

func (o ApiKeyPtrOutput) ToApiKeyPtrOutputWithContext(ctx context.Context) ApiKeyPtrOutput

type ApiKeyState

type ApiKeyState struct {
	// The ID of the associated AppSync API
	ApiId pulumi.StringPtrInput
	// The API key description. Defaults to "Managed by Pulumi".
	Description pulumi.StringPtrInput
	// RFC3339 string representation of the expiry date. Rounded down to nearest hour. By default, it is 7 days from the date of creation.
	Expires pulumi.StringPtrInput
	// The API key
	Key pulumi.StringPtrInput
}

func (ApiKeyState) ElementType

func (ApiKeyState) ElementType() reflect.Type

type DataSource

type DataSource struct {
	pulumi.CustomResourceState

	// The API ID for the GraphQL API for the DataSource.
	ApiId pulumi.StringOutput `pulumi:"apiId"`
	// The ARN
	Arn pulumi.StringOutput `pulumi:"arn"`
	// A description of the DataSource.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// DynamoDB settings. See below
	DynamodbConfig DataSourceDynamodbConfigPtrOutput `pulumi:"dynamodbConfig"`
	// Amazon Elasticsearch settings. See below
	ElasticsearchConfig DataSourceElasticsearchConfigPtrOutput `pulumi:"elasticsearchConfig"`
	// HTTP settings. See below
	HttpConfig DataSourceHttpConfigPtrOutput `pulumi:"httpConfig"`
	// AWS Lambda settings. See below
	LambdaConfig DataSourceLambdaConfigPtrOutput `pulumi:"lambdaConfig"`
	// A user-supplied name for the DataSource.
	Name pulumi.StringOutput `pulumi:"name"`
	// AWS RDS settings. See Relational Database Config
	RelationalDatabaseConfig DataSourceRelationalDatabaseConfigPtrOutput `pulumi:"relationalDatabaseConfig"`
	// The IAM service role ARN for the data source.
	ServiceRoleArn pulumi.StringPtrOutput `pulumi:"serviceRoleArn"`
	// The type of the DataSource. Valid values: `AWS_LAMBDA`, `AMAZON_DYNAMODB`, `AMAZON_ELASTICSEARCH`, `HTTP`, `NONE`, `RELATIONAL_DATABASE`.
	Type pulumi.StringOutput `pulumi:"type"`
}

Provides an AppSync DataSource.

## Example Usage

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/appsync"
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/dynamodb"
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/iam"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleTable, err := dynamodb.NewTable(ctx, "exampleTable", &dynamodb.TableArgs{
			ReadCapacity:  pulumi.Int(1),
			WriteCapacity: pulumi.Int(1),
			HashKey:       pulumi.String("UserId"),
			Attributes: dynamodb.TableAttributeArray{
				&dynamodb.TableAttributeArgs{
					Name: pulumi.String("UserId"),
					Type: pulumi.String("S"),
				},
			},
		})
		if err != nil {
			return err
		}
		exampleRole, err := iam.NewRole(ctx, "exampleRole", &iam.RoleArgs{
			AssumeRolePolicy: pulumi.Any(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v", "{\n", "  \"Version\": \"2012-10-17\",\n", "  \"Statement\": [\n", "    {\n", "      \"Action\": \"sts:AssumeRole\",\n", "      \"Principal\": {\n", "        \"Service\": \"appsync.amazonaws.com\"\n", "      },\n", "      \"Effect\": \"Allow\"\n", "    }\n", "  ]\n", "}\n")),
		})
		if err != nil {
			return err
		}
		_, err = iam.NewRolePolicy(ctx, "exampleRolePolicy", &iam.RolePolicyArgs{
			Role: exampleRole.ID(),
			Policy: exampleTable.Arn.ApplyT(func(arn string) (string, error) {
				return fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v", "{\n", "  \"Version\": \"2012-10-17\",\n", "  \"Statement\": [\n", "    {\n", "      \"Action\": [\n", "        \"dynamodb:*\"\n", "      ],\n", "      \"Effect\": \"Allow\",\n", "      \"Resource\": [\n", "        \"", arn, "\"\n", "      ]\n", "    }\n", "  ]\n", "}\n"), nil
			}).(pulumi.StringOutput),
		})
		if err != nil {
			return err
		}
		exampleGraphQLApi, err := appsync.NewGraphQLApi(ctx, "exampleGraphQLApi", &appsync.GraphQLApiArgs{
			AuthenticationType: pulumi.String("API_KEY"),
		})
		if err != nil {
			return err
		}
		_, err = appsync.NewDataSource(ctx, "exampleDataSource", &appsync.DataSourceArgs{
			ApiId:          exampleGraphQLApi.ID(),
			Name:           pulumi.String("tf_appsync_example"),
			ServiceRoleArn: exampleRole.Arn,
			Type:           pulumi.String("AMAZON_DYNAMODB"),
			DynamodbConfig: &appsync.DataSourceDynamodbConfigArgs{
				TableName: exampleTable.Name,
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

`aws_appsync_datasource` can be imported with their `api_id`, a hyphen, and `name`, e.g.,

```sh

$ pulumi import aws:appsync/dataSource:DataSource example abcdef123456-example

```

func GetDataSource

func GetDataSource(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DataSourceState, opts ...pulumi.ResourceOption) (*DataSource, error)

GetDataSource gets an existing DataSource 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 NewDataSource

func NewDataSource(ctx *pulumi.Context,
	name string, args *DataSourceArgs, opts ...pulumi.ResourceOption) (*DataSource, error)

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

func (*DataSource) ElementType

func (*DataSource) ElementType() reflect.Type

func (*DataSource) ToDataSourceOutput

func (i *DataSource) ToDataSourceOutput() DataSourceOutput

func (*DataSource) ToDataSourceOutputWithContext

func (i *DataSource) ToDataSourceOutputWithContext(ctx context.Context) DataSourceOutput

func (*DataSource) ToDataSourcePtrOutput

func (i *DataSource) ToDataSourcePtrOutput() DataSourcePtrOutput

func (*DataSource) ToDataSourcePtrOutputWithContext

func (i *DataSource) ToDataSourcePtrOutputWithContext(ctx context.Context) DataSourcePtrOutput

type DataSourceArgs

type DataSourceArgs struct {
	// The API ID for the GraphQL API for the DataSource.
	ApiId pulumi.StringInput
	// A description of the DataSource.
	Description pulumi.StringPtrInput
	// DynamoDB settings. See below
	DynamodbConfig DataSourceDynamodbConfigPtrInput
	// Amazon Elasticsearch settings. See below
	ElasticsearchConfig DataSourceElasticsearchConfigPtrInput
	// HTTP settings. See below
	HttpConfig DataSourceHttpConfigPtrInput
	// AWS Lambda settings. See below
	LambdaConfig DataSourceLambdaConfigPtrInput
	// A user-supplied name for the DataSource.
	Name pulumi.StringPtrInput
	// AWS RDS settings. See Relational Database Config
	RelationalDatabaseConfig DataSourceRelationalDatabaseConfigPtrInput
	// The IAM service role ARN for the data source.
	ServiceRoleArn pulumi.StringPtrInput
	// The type of the DataSource. Valid values: `AWS_LAMBDA`, `AMAZON_DYNAMODB`, `AMAZON_ELASTICSEARCH`, `HTTP`, `NONE`, `RELATIONAL_DATABASE`.
	Type pulumi.StringInput
}

The set of arguments for constructing a DataSource resource.

func (DataSourceArgs) ElementType

func (DataSourceArgs) ElementType() reflect.Type

type DataSourceArray

type DataSourceArray []DataSourceInput

func (DataSourceArray) ElementType

func (DataSourceArray) ElementType() reflect.Type

func (DataSourceArray) ToDataSourceArrayOutput

func (i DataSourceArray) ToDataSourceArrayOutput() DataSourceArrayOutput

func (DataSourceArray) ToDataSourceArrayOutputWithContext

func (i DataSourceArray) ToDataSourceArrayOutputWithContext(ctx context.Context) DataSourceArrayOutput

type DataSourceArrayInput

type DataSourceArrayInput interface {
	pulumi.Input

	ToDataSourceArrayOutput() DataSourceArrayOutput
	ToDataSourceArrayOutputWithContext(context.Context) DataSourceArrayOutput
}

DataSourceArrayInput is an input type that accepts DataSourceArray and DataSourceArrayOutput values. You can construct a concrete instance of `DataSourceArrayInput` via:

DataSourceArray{ DataSourceArgs{...} }

type DataSourceArrayOutput

type DataSourceArrayOutput struct{ *pulumi.OutputState }

func (DataSourceArrayOutput) ElementType

func (DataSourceArrayOutput) ElementType() reflect.Type

func (DataSourceArrayOutput) Index

func (DataSourceArrayOutput) ToDataSourceArrayOutput

func (o DataSourceArrayOutput) ToDataSourceArrayOutput() DataSourceArrayOutput

func (DataSourceArrayOutput) ToDataSourceArrayOutputWithContext

func (o DataSourceArrayOutput) ToDataSourceArrayOutputWithContext(ctx context.Context) DataSourceArrayOutput

type DataSourceDynamodbConfig

type DataSourceDynamodbConfig struct {
	DeltaSyncConfig *DataSourceDynamodbConfigDeltaSyncConfig `pulumi:"deltaSyncConfig"`
	// AWS Region for RDS HTTP endpoint. Defaults to current region.
	Region *string `pulumi:"region"`
	// Name of the DynamoDB table.
	TableName string `pulumi:"tableName"`
	// Set to `true` to use Amazon Cognito credentials with this data source.
	UseCallerCredentials *bool `pulumi:"useCallerCredentials"`
	Versioned            *bool `pulumi:"versioned"`
}

type DataSourceDynamodbConfigArgs

type DataSourceDynamodbConfigArgs struct {
	DeltaSyncConfig DataSourceDynamodbConfigDeltaSyncConfigPtrInput `pulumi:"deltaSyncConfig"`
	// AWS Region for RDS HTTP endpoint. Defaults to current region.
	Region pulumi.StringPtrInput `pulumi:"region"`
	// Name of the DynamoDB table.
	TableName pulumi.StringInput `pulumi:"tableName"`
	// Set to `true` to use Amazon Cognito credentials with this data source.
	UseCallerCredentials pulumi.BoolPtrInput `pulumi:"useCallerCredentials"`
	Versioned            pulumi.BoolPtrInput `pulumi:"versioned"`
}

func (DataSourceDynamodbConfigArgs) ElementType

func (DataSourceDynamodbConfigArgs) ToDataSourceDynamodbConfigOutput

func (i DataSourceDynamodbConfigArgs) ToDataSourceDynamodbConfigOutput() DataSourceDynamodbConfigOutput

func (DataSourceDynamodbConfigArgs) ToDataSourceDynamodbConfigOutputWithContext

func (i DataSourceDynamodbConfigArgs) ToDataSourceDynamodbConfigOutputWithContext(ctx context.Context) DataSourceDynamodbConfigOutput

func (DataSourceDynamodbConfigArgs) ToDataSourceDynamodbConfigPtrOutput

func (i DataSourceDynamodbConfigArgs) ToDataSourceDynamodbConfigPtrOutput() DataSourceDynamodbConfigPtrOutput

func (DataSourceDynamodbConfigArgs) ToDataSourceDynamodbConfigPtrOutputWithContext

func (i DataSourceDynamodbConfigArgs) ToDataSourceDynamodbConfigPtrOutputWithContext(ctx context.Context) DataSourceDynamodbConfigPtrOutput

type DataSourceDynamodbConfigDeltaSyncConfig added in v4.35.0

type DataSourceDynamodbConfigDeltaSyncConfig struct {
	BaseTableTtl       *int   `pulumi:"baseTableTtl"`
	DeltaSyncTableName string `pulumi:"deltaSyncTableName"`
	DeltaSyncTableTtl  *int   `pulumi:"deltaSyncTableTtl"`
}

type DataSourceDynamodbConfigDeltaSyncConfigArgs added in v4.35.0

type DataSourceDynamodbConfigDeltaSyncConfigArgs struct {
	BaseTableTtl       pulumi.IntPtrInput `pulumi:"baseTableTtl"`
	DeltaSyncTableName pulumi.StringInput `pulumi:"deltaSyncTableName"`
	DeltaSyncTableTtl  pulumi.IntPtrInput `pulumi:"deltaSyncTableTtl"`
}

func (DataSourceDynamodbConfigDeltaSyncConfigArgs) ElementType added in v4.35.0

func (DataSourceDynamodbConfigDeltaSyncConfigArgs) ToDataSourceDynamodbConfigDeltaSyncConfigOutput added in v4.35.0

func (i DataSourceDynamodbConfigDeltaSyncConfigArgs) ToDataSourceDynamodbConfigDeltaSyncConfigOutput() DataSourceDynamodbConfigDeltaSyncConfigOutput

func (DataSourceDynamodbConfigDeltaSyncConfigArgs) ToDataSourceDynamodbConfigDeltaSyncConfigOutputWithContext added in v4.35.0

func (i DataSourceDynamodbConfigDeltaSyncConfigArgs) ToDataSourceDynamodbConfigDeltaSyncConfigOutputWithContext(ctx context.Context) DataSourceDynamodbConfigDeltaSyncConfigOutput

func (DataSourceDynamodbConfigDeltaSyncConfigArgs) ToDataSourceDynamodbConfigDeltaSyncConfigPtrOutput added in v4.35.0

func (i DataSourceDynamodbConfigDeltaSyncConfigArgs) ToDataSourceDynamodbConfigDeltaSyncConfigPtrOutput() DataSourceDynamodbConfigDeltaSyncConfigPtrOutput

func (DataSourceDynamodbConfigDeltaSyncConfigArgs) ToDataSourceDynamodbConfigDeltaSyncConfigPtrOutputWithContext added in v4.35.0

func (i DataSourceDynamodbConfigDeltaSyncConfigArgs) ToDataSourceDynamodbConfigDeltaSyncConfigPtrOutputWithContext(ctx context.Context) DataSourceDynamodbConfigDeltaSyncConfigPtrOutput

type DataSourceDynamodbConfigDeltaSyncConfigInput added in v4.35.0

type DataSourceDynamodbConfigDeltaSyncConfigInput interface {
	pulumi.Input

	ToDataSourceDynamodbConfigDeltaSyncConfigOutput() DataSourceDynamodbConfigDeltaSyncConfigOutput
	ToDataSourceDynamodbConfigDeltaSyncConfigOutputWithContext(context.Context) DataSourceDynamodbConfigDeltaSyncConfigOutput
}

DataSourceDynamodbConfigDeltaSyncConfigInput is an input type that accepts DataSourceDynamodbConfigDeltaSyncConfigArgs and DataSourceDynamodbConfigDeltaSyncConfigOutput values. You can construct a concrete instance of `DataSourceDynamodbConfigDeltaSyncConfigInput` via:

DataSourceDynamodbConfigDeltaSyncConfigArgs{...}

type DataSourceDynamodbConfigDeltaSyncConfigOutput added in v4.35.0

type DataSourceDynamodbConfigDeltaSyncConfigOutput struct{ *pulumi.OutputState }

func (DataSourceDynamodbConfigDeltaSyncConfigOutput) BaseTableTtl added in v4.35.0

func (DataSourceDynamodbConfigDeltaSyncConfigOutput) DeltaSyncTableName added in v4.35.0

func (DataSourceDynamodbConfigDeltaSyncConfigOutput) DeltaSyncTableTtl added in v4.35.0

func (DataSourceDynamodbConfigDeltaSyncConfigOutput) ElementType added in v4.35.0

func (DataSourceDynamodbConfigDeltaSyncConfigOutput) ToDataSourceDynamodbConfigDeltaSyncConfigOutput added in v4.35.0

func (o DataSourceDynamodbConfigDeltaSyncConfigOutput) ToDataSourceDynamodbConfigDeltaSyncConfigOutput() DataSourceDynamodbConfigDeltaSyncConfigOutput

func (DataSourceDynamodbConfigDeltaSyncConfigOutput) ToDataSourceDynamodbConfigDeltaSyncConfigOutputWithContext added in v4.35.0

func (o DataSourceDynamodbConfigDeltaSyncConfigOutput) ToDataSourceDynamodbConfigDeltaSyncConfigOutputWithContext(ctx context.Context) DataSourceDynamodbConfigDeltaSyncConfigOutput

func (DataSourceDynamodbConfigDeltaSyncConfigOutput) ToDataSourceDynamodbConfigDeltaSyncConfigPtrOutput added in v4.35.0

func (o DataSourceDynamodbConfigDeltaSyncConfigOutput) ToDataSourceDynamodbConfigDeltaSyncConfigPtrOutput() DataSourceDynamodbConfigDeltaSyncConfigPtrOutput

func (DataSourceDynamodbConfigDeltaSyncConfigOutput) ToDataSourceDynamodbConfigDeltaSyncConfigPtrOutputWithContext added in v4.35.0

func (o DataSourceDynamodbConfigDeltaSyncConfigOutput) ToDataSourceDynamodbConfigDeltaSyncConfigPtrOutputWithContext(ctx context.Context) DataSourceDynamodbConfigDeltaSyncConfigPtrOutput

type DataSourceDynamodbConfigDeltaSyncConfigPtrInput added in v4.35.0

type DataSourceDynamodbConfigDeltaSyncConfigPtrInput interface {
	pulumi.Input

	ToDataSourceDynamodbConfigDeltaSyncConfigPtrOutput() DataSourceDynamodbConfigDeltaSyncConfigPtrOutput
	ToDataSourceDynamodbConfigDeltaSyncConfigPtrOutputWithContext(context.Context) DataSourceDynamodbConfigDeltaSyncConfigPtrOutput
}

DataSourceDynamodbConfigDeltaSyncConfigPtrInput is an input type that accepts DataSourceDynamodbConfigDeltaSyncConfigArgs, DataSourceDynamodbConfigDeltaSyncConfigPtr and DataSourceDynamodbConfigDeltaSyncConfigPtrOutput values. You can construct a concrete instance of `DataSourceDynamodbConfigDeltaSyncConfigPtrInput` via:

        DataSourceDynamodbConfigDeltaSyncConfigArgs{...}

or:

        nil

type DataSourceDynamodbConfigDeltaSyncConfigPtrOutput added in v4.35.0

type DataSourceDynamodbConfigDeltaSyncConfigPtrOutput struct{ *pulumi.OutputState }

func (DataSourceDynamodbConfigDeltaSyncConfigPtrOutput) BaseTableTtl added in v4.35.0

func (DataSourceDynamodbConfigDeltaSyncConfigPtrOutput) DeltaSyncTableName added in v4.35.0

func (DataSourceDynamodbConfigDeltaSyncConfigPtrOutput) DeltaSyncTableTtl added in v4.35.0

func (DataSourceDynamodbConfigDeltaSyncConfigPtrOutput) Elem added in v4.35.0

func (DataSourceDynamodbConfigDeltaSyncConfigPtrOutput) ElementType added in v4.35.0

func (DataSourceDynamodbConfigDeltaSyncConfigPtrOutput) ToDataSourceDynamodbConfigDeltaSyncConfigPtrOutput added in v4.35.0

func (o DataSourceDynamodbConfigDeltaSyncConfigPtrOutput) ToDataSourceDynamodbConfigDeltaSyncConfigPtrOutput() DataSourceDynamodbConfigDeltaSyncConfigPtrOutput

func (DataSourceDynamodbConfigDeltaSyncConfigPtrOutput) ToDataSourceDynamodbConfigDeltaSyncConfigPtrOutputWithContext added in v4.35.0

func (o DataSourceDynamodbConfigDeltaSyncConfigPtrOutput) ToDataSourceDynamodbConfigDeltaSyncConfigPtrOutputWithContext(ctx context.Context) DataSourceDynamodbConfigDeltaSyncConfigPtrOutput

type DataSourceDynamodbConfigInput

type DataSourceDynamodbConfigInput interface {
	pulumi.Input

	ToDataSourceDynamodbConfigOutput() DataSourceDynamodbConfigOutput
	ToDataSourceDynamodbConfigOutputWithContext(context.Context) DataSourceDynamodbConfigOutput
}

DataSourceDynamodbConfigInput is an input type that accepts DataSourceDynamodbConfigArgs and DataSourceDynamodbConfigOutput values. You can construct a concrete instance of `DataSourceDynamodbConfigInput` via:

DataSourceDynamodbConfigArgs{...}

type DataSourceDynamodbConfigOutput

type DataSourceDynamodbConfigOutput struct{ *pulumi.OutputState }

func (DataSourceDynamodbConfigOutput) DeltaSyncConfig added in v4.35.0

func (DataSourceDynamodbConfigOutput) ElementType

func (DataSourceDynamodbConfigOutput) Region

AWS Region for RDS HTTP endpoint. Defaults to current region.

func (DataSourceDynamodbConfigOutput) TableName

Name of the DynamoDB table.

func (DataSourceDynamodbConfigOutput) ToDataSourceDynamodbConfigOutput

func (o DataSourceDynamodbConfigOutput) ToDataSourceDynamodbConfigOutput() DataSourceDynamodbConfigOutput

func (DataSourceDynamodbConfigOutput) ToDataSourceDynamodbConfigOutputWithContext

func (o DataSourceDynamodbConfigOutput) ToDataSourceDynamodbConfigOutputWithContext(ctx context.Context) DataSourceDynamodbConfigOutput

func (DataSourceDynamodbConfigOutput) ToDataSourceDynamodbConfigPtrOutput

func (o DataSourceDynamodbConfigOutput) ToDataSourceDynamodbConfigPtrOutput() DataSourceDynamodbConfigPtrOutput

func (DataSourceDynamodbConfigOutput) ToDataSourceDynamodbConfigPtrOutputWithContext

func (o DataSourceDynamodbConfigOutput) ToDataSourceDynamodbConfigPtrOutputWithContext(ctx context.Context) DataSourceDynamodbConfigPtrOutput

func (DataSourceDynamodbConfigOutput) UseCallerCredentials

func (o DataSourceDynamodbConfigOutput) UseCallerCredentials() pulumi.BoolPtrOutput

Set to `true` to use Amazon Cognito credentials with this data source.

func (DataSourceDynamodbConfigOutput) Versioned added in v4.35.0

type DataSourceDynamodbConfigPtrInput

type DataSourceDynamodbConfigPtrInput interface {
	pulumi.Input

	ToDataSourceDynamodbConfigPtrOutput() DataSourceDynamodbConfigPtrOutput
	ToDataSourceDynamodbConfigPtrOutputWithContext(context.Context) DataSourceDynamodbConfigPtrOutput
}

DataSourceDynamodbConfigPtrInput is an input type that accepts DataSourceDynamodbConfigArgs, DataSourceDynamodbConfigPtr and DataSourceDynamodbConfigPtrOutput values. You can construct a concrete instance of `DataSourceDynamodbConfigPtrInput` via:

        DataSourceDynamodbConfigArgs{...}

or:

        nil

type DataSourceDynamodbConfigPtrOutput

type DataSourceDynamodbConfigPtrOutput struct{ *pulumi.OutputState }

func (DataSourceDynamodbConfigPtrOutput) DeltaSyncConfig added in v4.35.0

func (DataSourceDynamodbConfigPtrOutput) Elem

func (DataSourceDynamodbConfigPtrOutput) ElementType

func (DataSourceDynamodbConfigPtrOutput) Region

AWS Region for RDS HTTP endpoint. Defaults to current region.

func (DataSourceDynamodbConfigPtrOutput) TableName

Name of the DynamoDB table.

func (DataSourceDynamodbConfigPtrOutput) ToDataSourceDynamodbConfigPtrOutput

func (o DataSourceDynamodbConfigPtrOutput) ToDataSourceDynamodbConfigPtrOutput() DataSourceDynamodbConfigPtrOutput

func (DataSourceDynamodbConfigPtrOutput) ToDataSourceDynamodbConfigPtrOutputWithContext

func (o DataSourceDynamodbConfigPtrOutput) ToDataSourceDynamodbConfigPtrOutputWithContext(ctx context.Context) DataSourceDynamodbConfigPtrOutput

func (DataSourceDynamodbConfigPtrOutput) UseCallerCredentials

func (o DataSourceDynamodbConfigPtrOutput) UseCallerCredentials() pulumi.BoolPtrOutput

Set to `true` to use Amazon Cognito credentials with this data source.

func (DataSourceDynamodbConfigPtrOutput) Versioned added in v4.35.0

type DataSourceElasticsearchConfig

type DataSourceElasticsearchConfig struct {
	// HTTP URL.
	Endpoint string `pulumi:"endpoint"`
	// AWS Region for RDS HTTP endpoint. Defaults to current region.
	Region *string `pulumi:"region"`
}

type DataSourceElasticsearchConfigArgs

type DataSourceElasticsearchConfigArgs struct {
	// HTTP URL.
	Endpoint pulumi.StringInput `pulumi:"endpoint"`
	// AWS Region for RDS HTTP endpoint. Defaults to current region.
	Region pulumi.StringPtrInput `pulumi:"region"`
}

func (DataSourceElasticsearchConfigArgs) ElementType

func (DataSourceElasticsearchConfigArgs) ToDataSourceElasticsearchConfigOutput

func (i DataSourceElasticsearchConfigArgs) ToDataSourceElasticsearchConfigOutput() DataSourceElasticsearchConfigOutput

func (DataSourceElasticsearchConfigArgs) ToDataSourceElasticsearchConfigOutputWithContext

func (i DataSourceElasticsearchConfigArgs) ToDataSourceElasticsearchConfigOutputWithContext(ctx context.Context) DataSourceElasticsearchConfigOutput

func (DataSourceElasticsearchConfigArgs) ToDataSourceElasticsearchConfigPtrOutput

func (i DataSourceElasticsearchConfigArgs) ToDataSourceElasticsearchConfigPtrOutput() DataSourceElasticsearchConfigPtrOutput

func (DataSourceElasticsearchConfigArgs) ToDataSourceElasticsearchConfigPtrOutputWithContext

func (i DataSourceElasticsearchConfigArgs) ToDataSourceElasticsearchConfigPtrOutputWithContext(ctx context.Context) DataSourceElasticsearchConfigPtrOutput

type DataSourceElasticsearchConfigInput

type DataSourceElasticsearchConfigInput interface {
	pulumi.Input

	ToDataSourceElasticsearchConfigOutput() DataSourceElasticsearchConfigOutput
	ToDataSourceElasticsearchConfigOutputWithContext(context.Context) DataSourceElasticsearchConfigOutput
}

DataSourceElasticsearchConfigInput is an input type that accepts DataSourceElasticsearchConfigArgs and DataSourceElasticsearchConfigOutput values. You can construct a concrete instance of `DataSourceElasticsearchConfigInput` via:

DataSourceElasticsearchConfigArgs{...}

type DataSourceElasticsearchConfigOutput

type DataSourceElasticsearchConfigOutput struct{ *pulumi.OutputState }

func (DataSourceElasticsearchConfigOutput) ElementType

func (DataSourceElasticsearchConfigOutput) Endpoint

HTTP URL.

func (DataSourceElasticsearchConfigOutput) Region

AWS Region for RDS HTTP endpoint. Defaults to current region.

func (DataSourceElasticsearchConfigOutput) ToDataSourceElasticsearchConfigOutput

func (o DataSourceElasticsearchConfigOutput) ToDataSourceElasticsearchConfigOutput() DataSourceElasticsearchConfigOutput

func (DataSourceElasticsearchConfigOutput) ToDataSourceElasticsearchConfigOutputWithContext

func (o DataSourceElasticsearchConfigOutput) ToDataSourceElasticsearchConfigOutputWithContext(ctx context.Context) DataSourceElasticsearchConfigOutput

func (DataSourceElasticsearchConfigOutput) ToDataSourceElasticsearchConfigPtrOutput

func (o DataSourceElasticsearchConfigOutput) ToDataSourceElasticsearchConfigPtrOutput() DataSourceElasticsearchConfigPtrOutput

func (DataSourceElasticsearchConfigOutput) ToDataSourceElasticsearchConfigPtrOutputWithContext

func (o DataSourceElasticsearchConfigOutput) ToDataSourceElasticsearchConfigPtrOutputWithContext(ctx context.Context) DataSourceElasticsearchConfigPtrOutput

type DataSourceElasticsearchConfigPtrInput

type DataSourceElasticsearchConfigPtrInput interface {
	pulumi.Input

	ToDataSourceElasticsearchConfigPtrOutput() DataSourceElasticsearchConfigPtrOutput
	ToDataSourceElasticsearchConfigPtrOutputWithContext(context.Context) DataSourceElasticsearchConfigPtrOutput
}

DataSourceElasticsearchConfigPtrInput is an input type that accepts DataSourceElasticsearchConfigArgs, DataSourceElasticsearchConfigPtr and DataSourceElasticsearchConfigPtrOutput values. You can construct a concrete instance of `DataSourceElasticsearchConfigPtrInput` via:

        DataSourceElasticsearchConfigArgs{...}

or:

        nil

type DataSourceElasticsearchConfigPtrOutput

type DataSourceElasticsearchConfigPtrOutput struct{ *pulumi.OutputState }

func (DataSourceElasticsearchConfigPtrOutput) Elem

func (DataSourceElasticsearchConfigPtrOutput) ElementType

func (DataSourceElasticsearchConfigPtrOutput) Endpoint

HTTP URL.

func (DataSourceElasticsearchConfigPtrOutput) Region

AWS Region for RDS HTTP endpoint. Defaults to current region.

func (DataSourceElasticsearchConfigPtrOutput) ToDataSourceElasticsearchConfigPtrOutput

func (o DataSourceElasticsearchConfigPtrOutput) ToDataSourceElasticsearchConfigPtrOutput() DataSourceElasticsearchConfigPtrOutput

func (DataSourceElasticsearchConfigPtrOutput) ToDataSourceElasticsearchConfigPtrOutputWithContext

func (o DataSourceElasticsearchConfigPtrOutput) ToDataSourceElasticsearchConfigPtrOutputWithContext(ctx context.Context) DataSourceElasticsearchConfigPtrOutput

type DataSourceHttpConfig

type DataSourceHttpConfig struct {
	// The authorization configuration in case the HTTP endpoint requires authorization. See Authorization Config.
	AuthorizationConfig *DataSourceHttpConfigAuthorizationConfig `pulumi:"authorizationConfig"`
	// HTTP URL.
	Endpoint string `pulumi:"endpoint"`
}

type DataSourceHttpConfigArgs

type DataSourceHttpConfigArgs struct {
	// The authorization configuration in case the HTTP endpoint requires authorization. See Authorization Config.
	AuthorizationConfig DataSourceHttpConfigAuthorizationConfigPtrInput `pulumi:"authorizationConfig"`
	// HTTP URL.
	Endpoint pulumi.StringInput `pulumi:"endpoint"`
}

func (DataSourceHttpConfigArgs) ElementType

func (DataSourceHttpConfigArgs) ElementType() reflect.Type

func (DataSourceHttpConfigArgs) ToDataSourceHttpConfigOutput

func (i DataSourceHttpConfigArgs) ToDataSourceHttpConfigOutput() DataSourceHttpConfigOutput

func (DataSourceHttpConfigArgs) ToDataSourceHttpConfigOutputWithContext

func (i DataSourceHttpConfigArgs) ToDataSourceHttpConfigOutputWithContext(ctx context.Context) DataSourceHttpConfigOutput

func (DataSourceHttpConfigArgs) ToDataSourceHttpConfigPtrOutput

func (i DataSourceHttpConfigArgs) ToDataSourceHttpConfigPtrOutput() DataSourceHttpConfigPtrOutput

func (DataSourceHttpConfigArgs) ToDataSourceHttpConfigPtrOutputWithContext

func (i DataSourceHttpConfigArgs) ToDataSourceHttpConfigPtrOutputWithContext(ctx context.Context) DataSourceHttpConfigPtrOutput

type DataSourceHttpConfigAuthorizationConfig added in v4.35.0

type DataSourceHttpConfigAuthorizationConfig struct {
	// The authorization type that the HTTP endpoint requires. Default values is `AWS_IAM`.
	AuthorizationType *string `pulumi:"authorizationType"`
	// The Identity and Access Management (IAM) settings. See AWS IAM Config.
	AwsIamConfig *DataSourceHttpConfigAuthorizationConfigAwsIamConfig `pulumi:"awsIamConfig"`
}

type DataSourceHttpConfigAuthorizationConfigArgs added in v4.35.0

type DataSourceHttpConfigAuthorizationConfigArgs struct {
	// The authorization type that the HTTP endpoint requires. Default values is `AWS_IAM`.
	AuthorizationType pulumi.StringPtrInput `pulumi:"authorizationType"`
	// The Identity and Access Management (IAM) settings. See AWS IAM Config.
	AwsIamConfig DataSourceHttpConfigAuthorizationConfigAwsIamConfigPtrInput `pulumi:"awsIamConfig"`
}

func (DataSourceHttpConfigAuthorizationConfigArgs) ElementType added in v4.35.0

func (DataSourceHttpConfigAuthorizationConfigArgs) ToDataSourceHttpConfigAuthorizationConfigOutput added in v4.35.0

func (i DataSourceHttpConfigAuthorizationConfigArgs) ToDataSourceHttpConfigAuthorizationConfigOutput() DataSourceHttpConfigAuthorizationConfigOutput

func (DataSourceHttpConfigAuthorizationConfigArgs) ToDataSourceHttpConfigAuthorizationConfigOutputWithContext added in v4.35.0

func (i DataSourceHttpConfigAuthorizationConfigArgs) ToDataSourceHttpConfigAuthorizationConfigOutputWithContext(ctx context.Context) DataSourceHttpConfigAuthorizationConfigOutput

func (DataSourceHttpConfigAuthorizationConfigArgs) ToDataSourceHttpConfigAuthorizationConfigPtrOutput added in v4.35.0

func (i DataSourceHttpConfigAuthorizationConfigArgs) ToDataSourceHttpConfigAuthorizationConfigPtrOutput() DataSourceHttpConfigAuthorizationConfigPtrOutput

func (DataSourceHttpConfigAuthorizationConfigArgs) ToDataSourceHttpConfigAuthorizationConfigPtrOutputWithContext added in v4.35.0

func (i DataSourceHttpConfigAuthorizationConfigArgs) ToDataSourceHttpConfigAuthorizationConfigPtrOutputWithContext(ctx context.Context) DataSourceHttpConfigAuthorizationConfigPtrOutput

type DataSourceHttpConfigAuthorizationConfigAwsIamConfig added in v4.35.0

type DataSourceHttpConfigAuthorizationConfigAwsIamConfig struct {
	// The signing Amazon Web Services Region for IAM authorization.
	SigningRegion *string `pulumi:"signingRegion"`
	// The signing service name for IAM authorization.
	SigningServiceName *string `pulumi:"signingServiceName"`
}

type DataSourceHttpConfigAuthorizationConfigAwsIamConfigArgs added in v4.35.0

type DataSourceHttpConfigAuthorizationConfigAwsIamConfigArgs struct {
	// The signing Amazon Web Services Region for IAM authorization.
	SigningRegion pulumi.StringPtrInput `pulumi:"signingRegion"`
	// The signing service name for IAM authorization.
	SigningServiceName pulumi.StringPtrInput `pulumi:"signingServiceName"`
}

func (DataSourceHttpConfigAuthorizationConfigAwsIamConfigArgs) ElementType added in v4.35.0

func (DataSourceHttpConfigAuthorizationConfigAwsIamConfigArgs) ToDataSourceHttpConfigAuthorizationConfigAwsIamConfigOutput added in v4.35.0

func (DataSourceHttpConfigAuthorizationConfigAwsIamConfigArgs) ToDataSourceHttpConfigAuthorizationConfigAwsIamConfigOutputWithContext added in v4.35.0

func (i DataSourceHttpConfigAuthorizationConfigAwsIamConfigArgs) ToDataSourceHttpConfigAuthorizationConfigAwsIamConfigOutputWithContext(ctx context.Context) DataSourceHttpConfigAuthorizationConfigAwsIamConfigOutput

func (DataSourceHttpConfigAuthorizationConfigAwsIamConfigArgs) ToDataSourceHttpConfigAuthorizationConfigAwsIamConfigPtrOutput added in v4.35.0

func (i DataSourceHttpConfigAuthorizationConfigAwsIamConfigArgs) ToDataSourceHttpConfigAuthorizationConfigAwsIamConfigPtrOutput() DataSourceHttpConfigAuthorizationConfigAwsIamConfigPtrOutput

func (DataSourceHttpConfigAuthorizationConfigAwsIamConfigArgs) ToDataSourceHttpConfigAuthorizationConfigAwsIamConfigPtrOutputWithContext added in v4.35.0

func (i DataSourceHttpConfigAuthorizationConfigAwsIamConfigArgs) ToDataSourceHttpConfigAuthorizationConfigAwsIamConfigPtrOutputWithContext(ctx context.Context) DataSourceHttpConfigAuthorizationConfigAwsIamConfigPtrOutput

type DataSourceHttpConfigAuthorizationConfigAwsIamConfigInput added in v4.35.0

type DataSourceHttpConfigAuthorizationConfigAwsIamConfigInput interface {
	pulumi.Input

	ToDataSourceHttpConfigAuthorizationConfigAwsIamConfigOutput() DataSourceHttpConfigAuthorizationConfigAwsIamConfigOutput
	ToDataSourceHttpConfigAuthorizationConfigAwsIamConfigOutputWithContext(context.Context) DataSourceHttpConfigAuthorizationConfigAwsIamConfigOutput
}

DataSourceHttpConfigAuthorizationConfigAwsIamConfigInput is an input type that accepts DataSourceHttpConfigAuthorizationConfigAwsIamConfigArgs and DataSourceHttpConfigAuthorizationConfigAwsIamConfigOutput values. You can construct a concrete instance of `DataSourceHttpConfigAuthorizationConfigAwsIamConfigInput` via:

DataSourceHttpConfigAuthorizationConfigAwsIamConfigArgs{...}

type DataSourceHttpConfigAuthorizationConfigAwsIamConfigOutput added in v4.35.0

type DataSourceHttpConfigAuthorizationConfigAwsIamConfigOutput struct{ *pulumi.OutputState }

func (DataSourceHttpConfigAuthorizationConfigAwsIamConfigOutput) ElementType added in v4.35.0

func (DataSourceHttpConfigAuthorizationConfigAwsIamConfigOutput) SigningRegion added in v4.35.0

The signing Amazon Web Services Region for IAM authorization.

func (DataSourceHttpConfigAuthorizationConfigAwsIamConfigOutput) SigningServiceName added in v4.35.0

The signing service name for IAM authorization.

func (DataSourceHttpConfigAuthorizationConfigAwsIamConfigOutput) ToDataSourceHttpConfigAuthorizationConfigAwsIamConfigOutput added in v4.35.0

func (DataSourceHttpConfigAuthorizationConfigAwsIamConfigOutput) ToDataSourceHttpConfigAuthorizationConfigAwsIamConfigOutputWithContext added in v4.35.0

func (o DataSourceHttpConfigAuthorizationConfigAwsIamConfigOutput) ToDataSourceHttpConfigAuthorizationConfigAwsIamConfigOutputWithContext(ctx context.Context) DataSourceHttpConfigAuthorizationConfigAwsIamConfigOutput

func (DataSourceHttpConfigAuthorizationConfigAwsIamConfigOutput) ToDataSourceHttpConfigAuthorizationConfigAwsIamConfigPtrOutput added in v4.35.0

func (DataSourceHttpConfigAuthorizationConfigAwsIamConfigOutput) ToDataSourceHttpConfigAuthorizationConfigAwsIamConfigPtrOutputWithContext added in v4.35.0

func (o DataSourceHttpConfigAuthorizationConfigAwsIamConfigOutput) ToDataSourceHttpConfigAuthorizationConfigAwsIamConfigPtrOutputWithContext(ctx context.Context) DataSourceHttpConfigAuthorizationConfigAwsIamConfigPtrOutput

type DataSourceHttpConfigAuthorizationConfigAwsIamConfigPtrInput added in v4.35.0

type DataSourceHttpConfigAuthorizationConfigAwsIamConfigPtrInput interface {
	pulumi.Input

	ToDataSourceHttpConfigAuthorizationConfigAwsIamConfigPtrOutput() DataSourceHttpConfigAuthorizationConfigAwsIamConfigPtrOutput
	ToDataSourceHttpConfigAuthorizationConfigAwsIamConfigPtrOutputWithContext(context.Context) DataSourceHttpConfigAuthorizationConfigAwsIamConfigPtrOutput
}

DataSourceHttpConfigAuthorizationConfigAwsIamConfigPtrInput is an input type that accepts DataSourceHttpConfigAuthorizationConfigAwsIamConfigArgs, DataSourceHttpConfigAuthorizationConfigAwsIamConfigPtr and DataSourceHttpConfigAuthorizationConfigAwsIamConfigPtrOutput values. You can construct a concrete instance of `DataSourceHttpConfigAuthorizationConfigAwsIamConfigPtrInput` via:

        DataSourceHttpConfigAuthorizationConfigAwsIamConfigArgs{...}

or:

        nil

type DataSourceHttpConfigAuthorizationConfigAwsIamConfigPtrOutput added in v4.35.0

type DataSourceHttpConfigAuthorizationConfigAwsIamConfigPtrOutput struct{ *pulumi.OutputState }

func (DataSourceHttpConfigAuthorizationConfigAwsIamConfigPtrOutput) Elem added in v4.35.0

func (DataSourceHttpConfigAuthorizationConfigAwsIamConfigPtrOutput) ElementType added in v4.35.0

func (DataSourceHttpConfigAuthorizationConfigAwsIamConfigPtrOutput) SigningRegion added in v4.35.0

The signing Amazon Web Services Region for IAM authorization.

func (DataSourceHttpConfigAuthorizationConfigAwsIamConfigPtrOutput) SigningServiceName added in v4.35.0

The signing service name for IAM authorization.

func (DataSourceHttpConfigAuthorizationConfigAwsIamConfigPtrOutput) ToDataSourceHttpConfigAuthorizationConfigAwsIamConfigPtrOutput added in v4.35.0

func (DataSourceHttpConfigAuthorizationConfigAwsIamConfigPtrOutput) ToDataSourceHttpConfigAuthorizationConfigAwsIamConfigPtrOutputWithContext added in v4.35.0

func (o DataSourceHttpConfigAuthorizationConfigAwsIamConfigPtrOutput) ToDataSourceHttpConfigAuthorizationConfigAwsIamConfigPtrOutputWithContext(ctx context.Context) DataSourceHttpConfigAuthorizationConfigAwsIamConfigPtrOutput

type DataSourceHttpConfigAuthorizationConfigInput added in v4.35.0

type DataSourceHttpConfigAuthorizationConfigInput interface {
	pulumi.Input

	ToDataSourceHttpConfigAuthorizationConfigOutput() DataSourceHttpConfigAuthorizationConfigOutput
	ToDataSourceHttpConfigAuthorizationConfigOutputWithContext(context.Context) DataSourceHttpConfigAuthorizationConfigOutput
}

DataSourceHttpConfigAuthorizationConfigInput is an input type that accepts DataSourceHttpConfigAuthorizationConfigArgs and DataSourceHttpConfigAuthorizationConfigOutput values. You can construct a concrete instance of `DataSourceHttpConfigAuthorizationConfigInput` via:

DataSourceHttpConfigAuthorizationConfigArgs{...}

type DataSourceHttpConfigAuthorizationConfigOutput added in v4.35.0

type DataSourceHttpConfigAuthorizationConfigOutput struct{ *pulumi.OutputState }

func (DataSourceHttpConfigAuthorizationConfigOutput) AuthorizationType added in v4.35.0

The authorization type that the HTTP endpoint requires. Default values is `AWS_IAM`.

func (DataSourceHttpConfigAuthorizationConfigOutput) AwsIamConfig added in v4.35.0

The Identity and Access Management (IAM) settings. See AWS IAM Config.

func (DataSourceHttpConfigAuthorizationConfigOutput) ElementType added in v4.35.0

func (DataSourceHttpConfigAuthorizationConfigOutput) ToDataSourceHttpConfigAuthorizationConfigOutput added in v4.35.0

func (o DataSourceHttpConfigAuthorizationConfigOutput) ToDataSourceHttpConfigAuthorizationConfigOutput() DataSourceHttpConfigAuthorizationConfigOutput

func (DataSourceHttpConfigAuthorizationConfigOutput) ToDataSourceHttpConfigAuthorizationConfigOutputWithContext added in v4.35.0

func (o DataSourceHttpConfigAuthorizationConfigOutput) ToDataSourceHttpConfigAuthorizationConfigOutputWithContext(ctx context.Context) DataSourceHttpConfigAuthorizationConfigOutput

func (DataSourceHttpConfigAuthorizationConfigOutput) ToDataSourceHttpConfigAuthorizationConfigPtrOutput added in v4.35.0

func (o DataSourceHttpConfigAuthorizationConfigOutput) ToDataSourceHttpConfigAuthorizationConfigPtrOutput() DataSourceHttpConfigAuthorizationConfigPtrOutput

func (DataSourceHttpConfigAuthorizationConfigOutput) ToDataSourceHttpConfigAuthorizationConfigPtrOutputWithContext added in v4.35.0

func (o DataSourceHttpConfigAuthorizationConfigOutput) ToDataSourceHttpConfigAuthorizationConfigPtrOutputWithContext(ctx context.Context) DataSourceHttpConfigAuthorizationConfigPtrOutput

type DataSourceHttpConfigAuthorizationConfigPtrInput added in v4.35.0

type DataSourceHttpConfigAuthorizationConfigPtrInput interface {
	pulumi.Input

	ToDataSourceHttpConfigAuthorizationConfigPtrOutput() DataSourceHttpConfigAuthorizationConfigPtrOutput
	ToDataSourceHttpConfigAuthorizationConfigPtrOutputWithContext(context.Context) DataSourceHttpConfigAuthorizationConfigPtrOutput
}

DataSourceHttpConfigAuthorizationConfigPtrInput is an input type that accepts DataSourceHttpConfigAuthorizationConfigArgs, DataSourceHttpConfigAuthorizationConfigPtr and DataSourceHttpConfigAuthorizationConfigPtrOutput values. You can construct a concrete instance of `DataSourceHttpConfigAuthorizationConfigPtrInput` via:

        DataSourceHttpConfigAuthorizationConfigArgs{...}

or:

        nil

type DataSourceHttpConfigAuthorizationConfigPtrOutput added in v4.35.0

type DataSourceHttpConfigAuthorizationConfigPtrOutput struct{ *pulumi.OutputState }

func (DataSourceHttpConfigAuthorizationConfigPtrOutput) AuthorizationType added in v4.35.0

The authorization type that the HTTP endpoint requires. Default values is `AWS_IAM`.

func (DataSourceHttpConfigAuthorizationConfigPtrOutput) AwsIamConfig added in v4.35.0

The Identity and Access Management (IAM) settings. See AWS IAM Config.

func (DataSourceHttpConfigAuthorizationConfigPtrOutput) Elem added in v4.35.0

func (DataSourceHttpConfigAuthorizationConfigPtrOutput) ElementType added in v4.35.0

func (DataSourceHttpConfigAuthorizationConfigPtrOutput) ToDataSourceHttpConfigAuthorizationConfigPtrOutput added in v4.35.0

func (o DataSourceHttpConfigAuthorizationConfigPtrOutput) ToDataSourceHttpConfigAuthorizationConfigPtrOutput() DataSourceHttpConfigAuthorizationConfigPtrOutput

func (DataSourceHttpConfigAuthorizationConfigPtrOutput) ToDataSourceHttpConfigAuthorizationConfigPtrOutputWithContext added in v4.35.0

func (o DataSourceHttpConfigAuthorizationConfigPtrOutput) ToDataSourceHttpConfigAuthorizationConfigPtrOutputWithContext(ctx context.Context) DataSourceHttpConfigAuthorizationConfigPtrOutput

type DataSourceHttpConfigInput

type DataSourceHttpConfigInput interface {
	pulumi.Input

	ToDataSourceHttpConfigOutput() DataSourceHttpConfigOutput
	ToDataSourceHttpConfigOutputWithContext(context.Context) DataSourceHttpConfigOutput
}

DataSourceHttpConfigInput is an input type that accepts DataSourceHttpConfigArgs and DataSourceHttpConfigOutput values. You can construct a concrete instance of `DataSourceHttpConfigInput` via:

DataSourceHttpConfigArgs{...}

type DataSourceHttpConfigOutput

type DataSourceHttpConfigOutput struct{ *pulumi.OutputState }

func (DataSourceHttpConfigOutput) AuthorizationConfig added in v4.35.0

The authorization configuration in case the HTTP endpoint requires authorization. See Authorization Config.

func (DataSourceHttpConfigOutput) ElementType

func (DataSourceHttpConfigOutput) ElementType() reflect.Type

func (DataSourceHttpConfigOutput) Endpoint

HTTP URL.

func (DataSourceHttpConfigOutput) ToDataSourceHttpConfigOutput

func (o DataSourceHttpConfigOutput) ToDataSourceHttpConfigOutput() DataSourceHttpConfigOutput

func (DataSourceHttpConfigOutput) ToDataSourceHttpConfigOutputWithContext

func (o DataSourceHttpConfigOutput) ToDataSourceHttpConfigOutputWithContext(ctx context.Context) DataSourceHttpConfigOutput

func (DataSourceHttpConfigOutput) ToDataSourceHttpConfigPtrOutput

func (o DataSourceHttpConfigOutput) ToDataSourceHttpConfigPtrOutput() DataSourceHttpConfigPtrOutput

func (DataSourceHttpConfigOutput) ToDataSourceHttpConfigPtrOutputWithContext

func (o DataSourceHttpConfigOutput) ToDataSourceHttpConfigPtrOutputWithContext(ctx context.Context) DataSourceHttpConfigPtrOutput

type DataSourceHttpConfigPtrInput

type DataSourceHttpConfigPtrInput interface {
	pulumi.Input

	ToDataSourceHttpConfigPtrOutput() DataSourceHttpConfigPtrOutput
	ToDataSourceHttpConfigPtrOutputWithContext(context.Context) DataSourceHttpConfigPtrOutput
}

DataSourceHttpConfigPtrInput is an input type that accepts DataSourceHttpConfigArgs, DataSourceHttpConfigPtr and DataSourceHttpConfigPtrOutput values. You can construct a concrete instance of `DataSourceHttpConfigPtrInput` via:

        DataSourceHttpConfigArgs{...}

or:

        nil

type DataSourceHttpConfigPtrOutput

type DataSourceHttpConfigPtrOutput struct{ *pulumi.OutputState }

func (DataSourceHttpConfigPtrOutput) AuthorizationConfig added in v4.35.0

The authorization configuration in case the HTTP endpoint requires authorization. See Authorization Config.

func (DataSourceHttpConfigPtrOutput) Elem

func (DataSourceHttpConfigPtrOutput) ElementType

func (DataSourceHttpConfigPtrOutput) Endpoint

HTTP URL.

func (DataSourceHttpConfigPtrOutput) ToDataSourceHttpConfigPtrOutput

func (o DataSourceHttpConfigPtrOutput) ToDataSourceHttpConfigPtrOutput() DataSourceHttpConfigPtrOutput

func (DataSourceHttpConfigPtrOutput) ToDataSourceHttpConfigPtrOutputWithContext

func (o DataSourceHttpConfigPtrOutput) ToDataSourceHttpConfigPtrOutputWithContext(ctx context.Context) DataSourceHttpConfigPtrOutput

type DataSourceInput

type DataSourceInput interface {
	pulumi.Input

	ToDataSourceOutput() DataSourceOutput
	ToDataSourceOutputWithContext(ctx context.Context) DataSourceOutput
}

type DataSourceLambdaConfig

type DataSourceLambdaConfig struct {
	// The ARN for the Lambda function.
	FunctionArn string `pulumi:"functionArn"`
}

type DataSourceLambdaConfigArgs

type DataSourceLambdaConfigArgs struct {
	// The ARN for the Lambda function.
	FunctionArn pulumi.StringInput `pulumi:"functionArn"`
}

func (DataSourceLambdaConfigArgs) ElementType

func (DataSourceLambdaConfigArgs) ElementType() reflect.Type

func (DataSourceLambdaConfigArgs) ToDataSourceLambdaConfigOutput

func (i DataSourceLambdaConfigArgs) ToDataSourceLambdaConfigOutput() DataSourceLambdaConfigOutput

func (DataSourceLambdaConfigArgs) ToDataSourceLambdaConfigOutputWithContext

func (i DataSourceLambdaConfigArgs) ToDataSourceLambdaConfigOutputWithContext(ctx context.Context) DataSourceLambdaConfigOutput

func (DataSourceLambdaConfigArgs) ToDataSourceLambdaConfigPtrOutput

func (i DataSourceLambdaConfigArgs) ToDataSourceLambdaConfigPtrOutput() DataSourceLambdaConfigPtrOutput

func (DataSourceLambdaConfigArgs) ToDataSourceLambdaConfigPtrOutputWithContext

func (i DataSourceLambdaConfigArgs) ToDataSourceLambdaConfigPtrOutputWithContext(ctx context.Context) DataSourceLambdaConfigPtrOutput

type DataSourceLambdaConfigInput

type DataSourceLambdaConfigInput interface {
	pulumi.Input

	ToDataSourceLambdaConfigOutput() DataSourceLambdaConfigOutput
	ToDataSourceLambdaConfigOutputWithContext(context.Context) DataSourceLambdaConfigOutput
}

DataSourceLambdaConfigInput is an input type that accepts DataSourceLambdaConfigArgs and DataSourceLambdaConfigOutput values. You can construct a concrete instance of `DataSourceLambdaConfigInput` via:

DataSourceLambdaConfigArgs{...}

type DataSourceLambdaConfigOutput

type DataSourceLambdaConfigOutput struct{ *pulumi.OutputState }

func (DataSourceLambdaConfigOutput) ElementType

func (DataSourceLambdaConfigOutput) FunctionArn

The ARN for the Lambda function.

func (DataSourceLambdaConfigOutput) ToDataSourceLambdaConfigOutput

func (o DataSourceLambdaConfigOutput) ToDataSourceLambdaConfigOutput() DataSourceLambdaConfigOutput

func (DataSourceLambdaConfigOutput) ToDataSourceLambdaConfigOutputWithContext

func (o DataSourceLambdaConfigOutput) ToDataSourceLambdaConfigOutputWithContext(ctx context.Context) DataSourceLambdaConfigOutput

func (DataSourceLambdaConfigOutput) ToDataSourceLambdaConfigPtrOutput

func (o DataSourceLambdaConfigOutput) ToDataSourceLambdaConfigPtrOutput() DataSourceLambdaConfigPtrOutput

func (DataSourceLambdaConfigOutput) ToDataSourceLambdaConfigPtrOutputWithContext

func (o DataSourceLambdaConfigOutput) ToDataSourceLambdaConfigPtrOutputWithContext(ctx context.Context) DataSourceLambdaConfigPtrOutput

type DataSourceLambdaConfigPtrInput

type DataSourceLambdaConfigPtrInput interface {
	pulumi.Input

	ToDataSourceLambdaConfigPtrOutput() DataSourceLambdaConfigPtrOutput
	ToDataSourceLambdaConfigPtrOutputWithContext(context.Context) DataSourceLambdaConfigPtrOutput
}

DataSourceLambdaConfigPtrInput is an input type that accepts DataSourceLambdaConfigArgs, DataSourceLambdaConfigPtr and DataSourceLambdaConfigPtrOutput values. You can construct a concrete instance of `DataSourceLambdaConfigPtrInput` via:

        DataSourceLambdaConfigArgs{...}

or:

        nil

type DataSourceLambdaConfigPtrOutput

type DataSourceLambdaConfigPtrOutput struct{ *pulumi.OutputState }

func (DataSourceLambdaConfigPtrOutput) Elem

func (DataSourceLambdaConfigPtrOutput) ElementType

func (DataSourceLambdaConfigPtrOutput) FunctionArn

The ARN for the Lambda function.

func (DataSourceLambdaConfigPtrOutput) ToDataSourceLambdaConfigPtrOutput

func (o DataSourceLambdaConfigPtrOutput) ToDataSourceLambdaConfigPtrOutput() DataSourceLambdaConfigPtrOutput

func (DataSourceLambdaConfigPtrOutput) ToDataSourceLambdaConfigPtrOutputWithContext

func (o DataSourceLambdaConfigPtrOutput) ToDataSourceLambdaConfigPtrOutputWithContext(ctx context.Context) DataSourceLambdaConfigPtrOutput

type DataSourceMap

type DataSourceMap map[string]DataSourceInput

func (DataSourceMap) ElementType

func (DataSourceMap) ElementType() reflect.Type

func (DataSourceMap) ToDataSourceMapOutput

func (i DataSourceMap) ToDataSourceMapOutput() DataSourceMapOutput

func (DataSourceMap) ToDataSourceMapOutputWithContext

func (i DataSourceMap) ToDataSourceMapOutputWithContext(ctx context.Context) DataSourceMapOutput

type DataSourceMapInput

type DataSourceMapInput interface {
	pulumi.Input

	ToDataSourceMapOutput() DataSourceMapOutput
	ToDataSourceMapOutputWithContext(context.Context) DataSourceMapOutput
}

DataSourceMapInput is an input type that accepts DataSourceMap and DataSourceMapOutput values. You can construct a concrete instance of `DataSourceMapInput` via:

DataSourceMap{ "key": DataSourceArgs{...} }

type DataSourceMapOutput

type DataSourceMapOutput struct{ *pulumi.OutputState }

func (DataSourceMapOutput) ElementType

func (DataSourceMapOutput) ElementType() reflect.Type

func (DataSourceMapOutput) MapIndex

func (DataSourceMapOutput) ToDataSourceMapOutput

func (o DataSourceMapOutput) ToDataSourceMapOutput() DataSourceMapOutput

func (DataSourceMapOutput) ToDataSourceMapOutputWithContext

func (o DataSourceMapOutput) ToDataSourceMapOutputWithContext(ctx context.Context) DataSourceMapOutput

type DataSourceOutput

type DataSourceOutput struct{ *pulumi.OutputState }

func (DataSourceOutput) ElementType

func (DataSourceOutput) ElementType() reflect.Type

func (DataSourceOutput) ToDataSourceOutput

func (o DataSourceOutput) ToDataSourceOutput() DataSourceOutput

func (DataSourceOutput) ToDataSourceOutputWithContext

func (o DataSourceOutput) ToDataSourceOutputWithContext(ctx context.Context) DataSourceOutput

func (DataSourceOutput) ToDataSourcePtrOutput

func (o DataSourceOutput) ToDataSourcePtrOutput() DataSourcePtrOutput

func (DataSourceOutput) ToDataSourcePtrOutputWithContext

func (o DataSourceOutput) ToDataSourcePtrOutputWithContext(ctx context.Context) DataSourcePtrOutput

type DataSourcePtrInput

type DataSourcePtrInput interface {
	pulumi.Input

	ToDataSourcePtrOutput() DataSourcePtrOutput
	ToDataSourcePtrOutputWithContext(ctx context.Context) DataSourcePtrOutput
}

type DataSourcePtrOutput

type DataSourcePtrOutput struct{ *pulumi.OutputState }

func (DataSourcePtrOutput) Elem added in v4.15.0

func (DataSourcePtrOutput) ElementType

func (DataSourcePtrOutput) ElementType() reflect.Type

func (DataSourcePtrOutput) ToDataSourcePtrOutput

func (o DataSourcePtrOutput) ToDataSourcePtrOutput() DataSourcePtrOutput

func (DataSourcePtrOutput) ToDataSourcePtrOutputWithContext

func (o DataSourcePtrOutput) ToDataSourcePtrOutputWithContext(ctx context.Context) DataSourcePtrOutput

type DataSourceRelationalDatabaseConfig added in v4.35.0

type DataSourceRelationalDatabaseConfig struct {
	// The Amazon RDS HTTP endpoint configuration. See HTTP Endpoint Config.
	HttpEndpointConfig *DataSourceRelationalDatabaseConfigHttpEndpointConfig `pulumi:"httpEndpointConfig"`
	// Source type for the relational database. Valid values: `RDS_HTTP_ENDPOINT`.
	SourceType *string `pulumi:"sourceType"`
}

type DataSourceRelationalDatabaseConfigArgs added in v4.35.0

type DataSourceRelationalDatabaseConfigArgs struct {
	// The Amazon RDS HTTP endpoint configuration. See HTTP Endpoint Config.
	HttpEndpointConfig DataSourceRelationalDatabaseConfigHttpEndpointConfigPtrInput `pulumi:"httpEndpointConfig"`
	// Source type for the relational database. Valid values: `RDS_HTTP_ENDPOINT`.
	SourceType pulumi.StringPtrInput `pulumi:"sourceType"`
}

func (DataSourceRelationalDatabaseConfigArgs) ElementType added in v4.35.0

func (DataSourceRelationalDatabaseConfigArgs) ToDataSourceRelationalDatabaseConfigOutput added in v4.35.0

func (i DataSourceRelationalDatabaseConfigArgs) ToDataSourceRelationalDatabaseConfigOutput() DataSourceRelationalDatabaseConfigOutput

func (DataSourceRelationalDatabaseConfigArgs) ToDataSourceRelationalDatabaseConfigOutputWithContext added in v4.35.0

func (i DataSourceRelationalDatabaseConfigArgs) ToDataSourceRelationalDatabaseConfigOutputWithContext(ctx context.Context) DataSourceRelationalDatabaseConfigOutput

func (DataSourceRelationalDatabaseConfigArgs) ToDataSourceRelationalDatabaseConfigPtrOutput added in v4.35.0

func (i DataSourceRelationalDatabaseConfigArgs) ToDataSourceRelationalDatabaseConfigPtrOutput() DataSourceRelationalDatabaseConfigPtrOutput

func (DataSourceRelationalDatabaseConfigArgs) ToDataSourceRelationalDatabaseConfigPtrOutputWithContext added in v4.35.0

func (i DataSourceRelationalDatabaseConfigArgs) ToDataSourceRelationalDatabaseConfigPtrOutputWithContext(ctx context.Context) DataSourceRelationalDatabaseConfigPtrOutput

type DataSourceRelationalDatabaseConfigHttpEndpointConfig added in v4.35.0

type DataSourceRelationalDatabaseConfigHttpEndpointConfig struct {
	// AWS secret store ARN for database credentials.
	AwsSecretStoreArn string `pulumi:"awsSecretStoreArn"`
	// Logical database name.
	DatabaseName *string `pulumi:"databaseName"`
	// Amazon RDS cluster identifier.
	DbClusterIdentifier string `pulumi:"dbClusterIdentifier"`
	// AWS Region for RDS HTTP endpoint. Defaults to current region.
	Region *string `pulumi:"region"`
	// Logical schema name.
	Schema *string `pulumi:"schema"`
}

type DataSourceRelationalDatabaseConfigHttpEndpointConfigArgs added in v4.35.0

type DataSourceRelationalDatabaseConfigHttpEndpointConfigArgs struct {
	// AWS secret store ARN for database credentials.
	AwsSecretStoreArn pulumi.StringInput `pulumi:"awsSecretStoreArn"`
	// Logical database name.
	DatabaseName pulumi.StringPtrInput `pulumi:"databaseName"`
	// Amazon RDS cluster identifier.
	DbClusterIdentifier pulumi.StringInput `pulumi:"dbClusterIdentifier"`
	// AWS Region for RDS HTTP endpoint. Defaults to current region.
	Region pulumi.StringPtrInput `pulumi:"region"`
	// Logical schema name.
	Schema pulumi.StringPtrInput `pulumi:"schema"`
}

func (DataSourceRelationalDatabaseConfigHttpEndpointConfigArgs) ElementType added in v4.35.0

func (DataSourceRelationalDatabaseConfigHttpEndpointConfigArgs) ToDataSourceRelationalDatabaseConfigHttpEndpointConfigOutput added in v4.35.0

func (DataSourceRelationalDatabaseConfigHttpEndpointConfigArgs) ToDataSourceRelationalDatabaseConfigHttpEndpointConfigOutputWithContext added in v4.35.0

func (i DataSourceRelationalDatabaseConfigHttpEndpointConfigArgs) ToDataSourceRelationalDatabaseConfigHttpEndpointConfigOutputWithContext(ctx context.Context) DataSourceRelationalDatabaseConfigHttpEndpointConfigOutput

func (DataSourceRelationalDatabaseConfigHttpEndpointConfigArgs) ToDataSourceRelationalDatabaseConfigHttpEndpointConfigPtrOutput added in v4.35.0

func (i DataSourceRelationalDatabaseConfigHttpEndpointConfigArgs) ToDataSourceRelationalDatabaseConfigHttpEndpointConfigPtrOutput() DataSourceRelationalDatabaseConfigHttpEndpointConfigPtrOutput

func (DataSourceRelationalDatabaseConfigHttpEndpointConfigArgs) ToDataSourceRelationalDatabaseConfigHttpEndpointConfigPtrOutputWithContext added in v4.35.0

func (i DataSourceRelationalDatabaseConfigHttpEndpointConfigArgs) ToDataSourceRelationalDatabaseConfigHttpEndpointConfigPtrOutputWithContext(ctx context.Context) DataSourceRelationalDatabaseConfigHttpEndpointConfigPtrOutput

type DataSourceRelationalDatabaseConfigHttpEndpointConfigInput added in v4.35.0

type DataSourceRelationalDatabaseConfigHttpEndpointConfigInput interface {
	pulumi.Input

	ToDataSourceRelationalDatabaseConfigHttpEndpointConfigOutput() DataSourceRelationalDatabaseConfigHttpEndpointConfigOutput
	ToDataSourceRelationalDatabaseConfigHttpEndpointConfigOutputWithContext(context.Context) DataSourceRelationalDatabaseConfigHttpEndpointConfigOutput
}

DataSourceRelationalDatabaseConfigHttpEndpointConfigInput is an input type that accepts DataSourceRelationalDatabaseConfigHttpEndpointConfigArgs and DataSourceRelationalDatabaseConfigHttpEndpointConfigOutput values. You can construct a concrete instance of `DataSourceRelationalDatabaseConfigHttpEndpointConfigInput` via:

DataSourceRelationalDatabaseConfigHttpEndpointConfigArgs{...}

type DataSourceRelationalDatabaseConfigHttpEndpointConfigOutput added in v4.35.0

type DataSourceRelationalDatabaseConfigHttpEndpointConfigOutput struct{ *pulumi.OutputState }

func (DataSourceRelationalDatabaseConfigHttpEndpointConfigOutput) AwsSecretStoreArn added in v4.35.0

AWS secret store ARN for database credentials.

func (DataSourceRelationalDatabaseConfigHttpEndpointConfigOutput) DatabaseName added in v4.35.0

Logical database name.

func (DataSourceRelationalDatabaseConfigHttpEndpointConfigOutput) DbClusterIdentifier added in v4.35.0

Amazon RDS cluster identifier.

func (DataSourceRelationalDatabaseConfigHttpEndpointConfigOutput) ElementType added in v4.35.0

func (DataSourceRelationalDatabaseConfigHttpEndpointConfigOutput) Region added in v4.35.0

AWS Region for RDS HTTP endpoint. Defaults to current region.

func (DataSourceRelationalDatabaseConfigHttpEndpointConfigOutput) Schema added in v4.35.0

Logical schema name.

func (DataSourceRelationalDatabaseConfigHttpEndpointConfigOutput) ToDataSourceRelationalDatabaseConfigHttpEndpointConfigOutput added in v4.35.0

func (DataSourceRelationalDatabaseConfigHttpEndpointConfigOutput) ToDataSourceRelationalDatabaseConfigHttpEndpointConfigOutputWithContext added in v4.35.0

func (o DataSourceRelationalDatabaseConfigHttpEndpointConfigOutput) ToDataSourceRelationalDatabaseConfigHttpEndpointConfigOutputWithContext(ctx context.Context) DataSourceRelationalDatabaseConfigHttpEndpointConfigOutput

func (DataSourceRelationalDatabaseConfigHttpEndpointConfigOutput) ToDataSourceRelationalDatabaseConfigHttpEndpointConfigPtrOutput added in v4.35.0

func (DataSourceRelationalDatabaseConfigHttpEndpointConfigOutput) ToDataSourceRelationalDatabaseConfigHttpEndpointConfigPtrOutputWithContext added in v4.35.0

func (o DataSourceRelationalDatabaseConfigHttpEndpointConfigOutput) ToDataSourceRelationalDatabaseConfigHttpEndpointConfigPtrOutputWithContext(ctx context.Context) DataSourceRelationalDatabaseConfigHttpEndpointConfigPtrOutput

type DataSourceRelationalDatabaseConfigHttpEndpointConfigPtrInput added in v4.35.0

type DataSourceRelationalDatabaseConfigHttpEndpointConfigPtrInput interface {
	pulumi.Input

	ToDataSourceRelationalDatabaseConfigHttpEndpointConfigPtrOutput() DataSourceRelationalDatabaseConfigHttpEndpointConfigPtrOutput
	ToDataSourceRelationalDatabaseConfigHttpEndpointConfigPtrOutputWithContext(context.Context) DataSourceRelationalDatabaseConfigHttpEndpointConfigPtrOutput
}

DataSourceRelationalDatabaseConfigHttpEndpointConfigPtrInput is an input type that accepts DataSourceRelationalDatabaseConfigHttpEndpointConfigArgs, DataSourceRelationalDatabaseConfigHttpEndpointConfigPtr and DataSourceRelationalDatabaseConfigHttpEndpointConfigPtrOutput values. You can construct a concrete instance of `DataSourceRelationalDatabaseConfigHttpEndpointConfigPtrInput` via:

        DataSourceRelationalDatabaseConfigHttpEndpointConfigArgs{...}

or:

        nil

type DataSourceRelationalDatabaseConfigHttpEndpointConfigPtrOutput added in v4.35.0

type DataSourceRelationalDatabaseConfigHttpEndpointConfigPtrOutput struct{ *pulumi.OutputState }

func (DataSourceRelationalDatabaseConfigHttpEndpointConfigPtrOutput) AwsSecretStoreArn added in v4.35.0

AWS secret store ARN for database credentials.

func (DataSourceRelationalDatabaseConfigHttpEndpointConfigPtrOutput) DatabaseName added in v4.35.0

Logical database name.

func (DataSourceRelationalDatabaseConfigHttpEndpointConfigPtrOutput) DbClusterIdentifier added in v4.35.0

Amazon RDS cluster identifier.

func (DataSourceRelationalDatabaseConfigHttpEndpointConfigPtrOutput) Elem added in v4.35.0

func (DataSourceRelationalDatabaseConfigHttpEndpointConfigPtrOutput) ElementType added in v4.35.0

func (DataSourceRelationalDatabaseConfigHttpEndpointConfigPtrOutput) Region added in v4.35.0

AWS Region for RDS HTTP endpoint. Defaults to current region.

func (DataSourceRelationalDatabaseConfigHttpEndpointConfigPtrOutput) Schema added in v4.35.0

Logical schema name.

func (DataSourceRelationalDatabaseConfigHttpEndpointConfigPtrOutput) ToDataSourceRelationalDatabaseConfigHttpEndpointConfigPtrOutput added in v4.35.0

func (DataSourceRelationalDatabaseConfigHttpEndpointConfigPtrOutput) ToDataSourceRelationalDatabaseConfigHttpEndpointConfigPtrOutputWithContext added in v4.35.0

func (o DataSourceRelationalDatabaseConfigHttpEndpointConfigPtrOutput) ToDataSourceRelationalDatabaseConfigHttpEndpointConfigPtrOutputWithContext(ctx context.Context) DataSourceRelationalDatabaseConfigHttpEndpointConfigPtrOutput

type DataSourceRelationalDatabaseConfigInput added in v4.35.0

type DataSourceRelationalDatabaseConfigInput interface {
	pulumi.Input

	ToDataSourceRelationalDatabaseConfigOutput() DataSourceRelationalDatabaseConfigOutput
	ToDataSourceRelationalDatabaseConfigOutputWithContext(context.Context) DataSourceRelationalDatabaseConfigOutput
}

DataSourceRelationalDatabaseConfigInput is an input type that accepts DataSourceRelationalDatabaseConfigArgs and DataSourceRelationalDatabaseConfigOutput values. You can construct a concrete instance of `DataSourceRelationalDatabaseConfigInput` via:

DataSourceRelationalDatabaseConfigArgs{...}

type DataSourceRelationalDatabaseConfigOutput added in v4.35.0

type DataSourceRelationalDatabaseConfigOutput struct{ *pulumi.OutputState }

func (DataSourceRelationalDatabaseConfigOutput) ElementType added in v4.35.0

func (DataSourceRelationalDatabaseConfigOutput) HttpEndpointConfig added in v4.35.0

The Amazon RDS HTTP endpoint configuration. See HTTP Endpoint Config.

func (DataSourceRelationalDatabaseConfigOutput) SourceType added in v4.35.0

Source type for the relational database. Valid values: `RDS_HTTP_ENDPOINT`.

func (DataSourceRelationalDatabaseConfigOutput) ToDataSourceRelationalDatabaseConfigOutput added in v4.35.0

func (o DataSourceRelationalDatabaseConfigOutput) ToDataSourceRelationalDatabaseConfigOutput() DataSourceRelationalDatabaseConfigOutput

func (DataSourceRelationalDatabaseConfigOutput) ToDataSourceRelationalDatabaseConfigOutputWithContext added in v4.35.0

func (o DataSourceRelationalDatabaseConfigOutput) ToDataSourceRelationalDatabaseConfigOutputWithContext(ctx context.Context) DataSourceRelationalDatabaseConfigOutput

func (DataSourceRelationalDatabaseConfigOutput) ToDataSourceRelationalDatabaseConfigPtrOutput added in v4.35.0

func (o DataSourceRelationalDatabaseConfigOutput) ToDataSourceRelationalDatabaseConfigPtrOutput() DataSourceRelationalDatabaseConfigPtrOutput

func (DataSourceRelationalDatabaseConfigOutput) ToDataSourceRelationalDatabaseConfigPtrOutputWithContext added in v4.35.0

func (o DataSourceRelationalDatabaseConfigOutput) ToDataSourceRelationalDatabaseConfigPtrOutputWithContext(ctx context.Context) DataSourceRelationalDatabaseConfigPtrOutput

type DataSourceRelationalDatabaseConfigPtrInput added in v4.35.0

type DataSourceRelationalDatabaseConfigPtrInput interface {
	pulumi.Input

	ToDataSourceRelationalDatabaseConfigPtrOutput() DataSourceRelationalDatabaseConfigPtrOutput
	ToDataSourceRelationalDatabaseConfigPtrOutputWithContext(context.Context) DataSourceRelationalDatabaseConfigPtrOutput
}

DataSourceRelationalDatabaseConfigPtrInput is an input type that accepts DataSourceRelationalDatabaseConfigArgs, DataSourceRelationalDatabaseConfigPtr and DataSourceRelationalDatabaseConfigPtrOutput values. You can construct a concrete instance of `DataSourceRelationalDatabaseConfigPtrInput` via:

        DataSourceRelationalDatabaseConfigArgs{...}

or:

        nil

type DataSourceRelationalDatabaseConfigPtrOutput added in v4.35.0

type DataSourceRelationalDatabaseConfigPtrOutput struct{ *pulumi.OutputState }

func (DataSourceRelationalDatabaseConfigPtrOutput) Elem added in v4.35.0

func (DataSourceRelationalDatabaseConfigPtrOutput) ElementType added in v4.35.0

func (DataSourceRelationalDatabaseConfigPtrOutput) HttpEndpointConfig added in v4.35.0

The Amazon RDS HTTP endpoint configuration. See HTTP Endpoint Config.

func (DataSourceRelationalDatabaseConfigPtrOutput) SourceType added in v4.35.0

Source type for the relational database. Valid values: `RDS_HTTP_ENDPOINT`.

func (DataSourceRelationalDatabaseConfigPtrOutput) ToDataSourceRelationalDatabaseConfigPtrOutput added in v4.35.0

func (o DataSourceRelationalDatabaseConfigPtrOutput) ToDataSourceRelationalDatabaseConfigPtrOutput() DataSourceRelationalDatabaseConfigPtrOutput

func (DataSourceRelationalDatabaseConfigPtrOutput) ToDataSourceRelationalDatabaseConfigPtrOutputWithContext added in v4.35.0

func (o DataSourceRelationalDatabaseConfigPtrOutput) ToDataSourceRelationalDatabaseConfigPtrOutputWithContext(ctx context.Context) DataSourceRelationalDatabaseConfigPtrOutput

type DataSourceState

type DataSourceState struct {
	// The API ID for the GraphQL API for the DataSource.
	ApiId pulumi.StringPtrInput
	// The ARN
	Arn pulumi.StringPtrInput
	// A description of the DataSource.
	Description pulumi.StringPtrInput
	// DynamoDB settings. See below
	DynamodbConfig DataSourceDynamodbConfigPtrInput
	// Amazon Elasticsearch settings. See below
	ElasticsearchConfig DataSourceElasticsearchConfigPtrInput
	// HTTP settings. See below
	HttpConfig DataSourceHttpConfigPtrInput
	// AWS Lambda settings. See below
	LambdaConfig DataSourceLambdaConfigPtrInput
	// A user-supplied name for the DataSource.
	Name pulumi.StringPtrInput
	// AWS RDS settings. See Relational Database Config
	RelationalDatabaseConfig DataSourceRelationalDatabaseConfigPtrInput
	// The IAM service role ARN for the data source.
	ServiceRoleArn pulumi.StringPtrInput
	// The type of the DataSource. Valid values: `AWS_LAMBDA`, `AMAZON_DYNAMODB`, `AMAZON_ELASTICSEARCH`, `HTTP`, `NONE`, `RELATIONAL_DATABASE`.
	Type pulumi.StringPtrInput
}

func (DataSourceState) ElementType

func (DataSourceState) ElementType() reflect.Type

type DomainName added in v4.36.0

type DomainName struct {
	pulumi.CustomResourceState

	// The domain name that AppSync provides.
	AppsyncDomainName pulumi.StringOutput `pulumi:"appsyncDomainName"`
	// The Amazon Resource Name (ARN) of the certificate. This can be an Certificate Manager (ACM) certificate or an Identity and Access Management (IAM) server certificate. The certifiacte must reside in us-east-1.
	CertificateArn pulumi.StringOutput `pulumi:"certificateArn"`
	// A description of the Domain Name.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The domain name.
	DomainName pulumi.StringOutput `pulumi:"domainName"`
	// The ID of your Amazon Route 53 hosted zone.
	HostedZoneId pulumi.StringOutput `pulumi:"hostedZoneId"`
}

Provides an AppSync Domain Name.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/appsync"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := appsync.NewDomainName(ctx, "example", &appsync.DomainNameArgs{
			DomainName:     pulumi.String("api.example.com"),
			CertificateArn: pulumi.Any(aws_acm_certificate.Example.Arn),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

`aws_appsync_domain_name` can be imported using the AppSync domain name, e.g.,

```sh

$ pulumi import aws:appsync/domainName:DomainName example example.com

```

func GetDomainName added in v4.36.0

func GetDomainName(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DomainNameState, opts ...pulumi.ResourceOption) (*DomainName, error)

GetDomainName gets an existing DomainName 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 NewDomainName added in v4.36.0

func NewDomainName(ctx *pulumi.Context,
	name string, args *DomainNameArgs, opts ...pulumi.ResourceOption) (*DomainName, error)

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

func (*DomainName) ElementType added in v4.36.0

func (*DomainName) ElementType() reflect.Type

func (*DomainName) ToDomainNameOutput added in v4.36.0

func (i *DomainName) ToDomainNameOutput() DomainNameOutput

func (*DomainName) ToDomainNameOutputWithContext added in v4.36.0

func (i *DomainName) ToDomainNameOutputWithContext(ctx context.Context) DomainNameOutput

func (*DomainName) ToDomainNamePtrOutput added in v4.36.0

func (i *DomainName) ToDomainNamePtrOutput() DomainNamePtrOutput

func (*DomainName) ToDomainNamePtrOutputWithContext added in v4.36.0

func (i *DomainName) ToDomainNamePtrOutputWithContext(ctx context.Context) DomainNamePtrOutput

type DomainNameApiAssociation added in v4.36.0

type DomainNameApiAssociation struct {
	pulumi.CustomResourceState

	// The API ID.
	ApiId pulumi.StringOutput `pulumi:"apiId"`
	// The Appsync domain name.
	DomainName pulumi.StringOutput `pulumi:"domainName"`
}

Provides an AppSync API Association.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/appsync"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := appsync.NewDomainNameApiAssociation(ctx, "example", &appsync.DomainNameApiAssociationArgs{
			ApiId:      pulumi.Any(aws_appsync_graphql_api.Example.Id),
			DomainName: pulumi.Any(aws_appsync_domain_name.Example.Domain_name),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

`aws_appsync_domain_name_api_association` can be imported using the AppSync domain name, e.g.,

```sh

$ pulumi import aws:appsync/domainNameApiAssociation:DomainNameApiAssociation example example.com

```

func GetDomainNameApiAssociation added in v4.36.0

func GetDomainNameApiAssociation(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DomainNameApiAssociationState, opts ...pulumi.ResourceOption) (*DomainNameApiAssociation, error)

GetDomainNameApiAssociation gets an existing DomainNameApiAssociation 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 NewDomainNameApiAssociation added in v4.36.0

func NewDomainNameApiAssociation(ctx *pulumi.Context,
	name string, args *DomainNameApiAssociationArgs, opts ...pulumi.ResourceOption) (*DomainNameApiAssociation, error)

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

func (*DomainNameApiAssociation) ElementType added in v4.36.0

func (*DomainNameApiAssociation) ElementType() reflect.Type

func (*DomainNameApiAssociation) ToDomainNameApiAssociationOutput added in v4.36.0

func (i *DomainNameApiAssociation) ToDomainNameApiAssociationOutput() DomainNameApiAssociationOutput

func (*DomainNameApiAssociation) ToDomainNameApiAssociationOutputWithContext added in v4.36.0

func (i *DomainNameApiAssociation) ToDomainNameApiAssociationOutputWithContext(ctx context.Context) DomainNameApiAssociationOutput

func (*DomainNameApiAssociation) ToDomainNameApiAssociationPtrOutput added in v4.36.0

func (i *DomainNameApiAssociation) ToDomainNameApiAssociationPtrOutput() DomainNameApiAssociationPtrOutput

func (*DomainNameApiAssociation) ToDomainNameApiAssociationPtrOutputWithContext added in v4.36.0

func (i *DomainNameApiAssociation) ToDomainNameApiAssociationPtrOutputWithContext(ctx context.Context) DomainNameApiAssociationPtrOutput

type DomainNameApiAssociationArgs added in v4.36.0

type DomainNameApiAssociationArgs struct {
	// The API ID.
	ApiId pulumi.StringInput
	// The Appsync domain name.
	DomainName pulumi.StringInput
}

The set of arguments for constructing a DomainNameApiAssociation resource.

func (DomainNameApiAssociationArgs) ElementType added in v4.36.0

type DomainNameApiAssociationArray added in v4.36.0

type DomainNameApiAssociationArray []DomainNameApiAssociationInput

func (DomainNameApiAssociationArray) ElementType added in v4.36.0

func (DomainNameApiAssociationArray) ToDomainNameApiAssociationArrayOutput added in v4.36.0

func (i DomainNameApiAssociationArray) ToDomainNameApiAssociationArrayOutput() DomainNameApiAssociationArrayOutput

func (DomainNameApiAssociationArray) ToDomainNameApiAssociationArrayOutputWithContext added in v4.36.0

func (i DomainNameApiAssociationArray) ToDomainNameApiAssociationArrayOutputWithContext(ctx context.Context) DomainNameApiAssociationArrayOutput

type DomainNameApiAssociationArrayInput added in v4.36.0

type DomainNameApiAssociationArrayInput interface {
	pulumi.Input

	ToDomainNameApiAssociationArrayOutput() DomainNameApiAssociationArrayOutput
	ToDomainNameApiAssociationArrayOutputWithContext(context.Context) DomainNameApiAssociationArrayOutput
}

DomainNameApiAssociationArrayInput is an input type that accepts DomainNameApiAssociationArray and DomainNameApiAssociationArrayOutput values. You can construct a concrete instance of `DomainNameApiAssociationArrayInput` via:

DomainNameApiAssociationArray{ DomainNameApiAssociationArgs{...} }

type DomainNameApiAssociationArrayOutput added in v4.36.0

type DomainNameApiAssociationArrayOutput struct{ *pulumi.OutputState }

func (DomainNameApiAssociationArrayOutput) ElementType added in v4.36.0

func (DomainNameApiAssociationArrayOutput) Index added in v4.36.0

func (DomainNameApiAssociationArrayOutput) ToDomainNameApiAssociationArrayOutput added in v4.36.0

func (o DomainNameApiAssociationArrayOutput) ToDomainNameApiAssociationArrayOutput() DomainNameApiAssociationArrayOutput

func (DomainNameApiAssociationArrayOutput) ToDomainNameApiAssociationArrayOutputWithContext added in v4.36.0

func (o DomainNameApiAssociationArrayOutput) ToDomainNameApiAssociationArrayOutputWithContext(ctx context.Context) DomainNameApiAssociationArrayOutput

type DomainNameApiAssociationInput added in v4.36.0

type DomainNameApiAssociationInput interface {
	pulumi.Input

	ToDomainNameApiAssociationOutput() DomainNameApiAssociationOutput
	ToDomainNameApiAssociationOutputWithContext(ctx context.Context) DomainNameApiAssociationOutput
}

type DomainNameApiAssociationMap added in v4.36.0

type DomainNameApiAssociationMap map[string]DomainNameApiAssociationInput

func (DomainNameApiAssociationMap) ElementType added in v4.36.0

func (DomainNameApiAssociationMap) ToDomainNameApiAssociationMapOutput added in v4.36.0

func (i DomainNameApiAssociationMap) ToDomainNameApiAssociationMapOutput() DomainNameApiAssociationMapOutput

func (DomainNameApiAssociationMap) ToDomainNameApiAssociationMapOutputWithContext added in v4.36.0

func (i DomainNameApiAssociationMap) ToDomainNameApiAssociationMapOutputWithContext(ctx context.Context) DomainNameApiAssociationMapOutput

type DomainNameApiAssociationMapInput added in v4.36.0

type DomainNameApiAssociationMapInput interface {
	pulumi.Input

	ToDomainNameApiAssociationMapOutput() DomainNameApiAssociationMapOutput
	ToDomainNameApiAssociationMapOutputWithContext(context.Context) DomainNameApiAssociationMapOutput
}

DomainNameApiAssociationMapInput is an input type that accepts DomainNameApiAssociationMap and DomainNameApiAssociationMapOutput values. You can construct a concrete instance of `DomainNameApiAssociationMapInput` via:

DomainNameApiAssociationMap{ "key": DomainNameApiAssociationArgs{...} }

type DomainNameApiAssociationMapOutput added in v4.36.0

type DomainNameApiAssociationMapOutput struct{ *pulumi.OutputState }

func (DomainNameApiAssociationMapOutput) ElementType added in v4.36.0

func (DomainNameApiAssociationMapOutput) MapIndex added in v4.36.0

func (DomainNameApiAssociationMapOutput) ToDomainNameApiAssociationMapOutput added in v4.36.0

func (o DomainNameApiAssociationMapOutput) ToDomainNameApiAssociationMapOutput() DomainNameApiAssociationMapOutput

func (DomainNameApiAssociationMapOutput) ToDomainNameApiAssociationMapOutputWithContext added in v4.36.0

func (o DomainNameApiAssociationMapOutput) ToDomainNameApiAssociationMapOutputWithContext(ctx context.Context) DomainNameApiAssociationMapOutput

type DomainNameApiAssociationOutput added in v4.36.0

type DomainNameApiAssociationOutput struct{ *pulumi.OutputState }

func (DomainNameApiAssociationOutput) ElementType added in v4.36.0

func (DomainNameApiAssociationOutput) ToDomainNameApiAssociationOutput added in v4.36.0

func (o DomainNameApiAssociationOutput) ToDomainNameApiAssociationOutput() DomainNameApiAssociationOutput

func (DomainNameApiAssociationOutput) ToDomainNameApiAssociationOutputWithContext added in v4.36.0

func (o DomainNameApiAssociationOutput) ToDomainNameApiAssociationOutputWithContext(ctx context.Context) DomainNameApiAssociationOutput

func (DomainNameApiAssociationOutput) ToDomainNameApiAssociationPtrOutput added in v4.36.0

func (o DomainNameApiAssociationOutput) ToDomainNameApiAssociationPtrOutput() DomainNameApiAssociationPtrOutput

func (DomainNameApiAssociationOutput) ToDomainNameApiAssociationPtrOutputWithContext added in v4.36.0

func (o DomainNameApiAssociationOutput) ToDomainNameApiAssociationPtrOutputWithContext(ctx context.Context) DomainNameApiAssociationPtrOutput

type DomainNameApiAssociationPtrInput added in v4.36.0

type DomainNameApiAssociationPtrInput interface {
	pulumi.Input

	ToDomainNameApiAssociationPtrOutput() DomainNameApiAssociationPtrOutput
	ToDomainNameApiAssociationPtrOutputWithContext(ctx context.Context) DomainNameApiAssociationPtrOutput
}

type DomainNameApiAssociationPtrOutput added in v4.36.0

type DomainNameApiAssociationPtrOutput struct{ *pulumi.OutputState }

func (DomainNameApiAssociationPtrOutput) Elem added in v4.36.0

func (DomainNameApiAssociationPtrOutput) ElementType added in v4.36.0

func (DomainNameApiAssociationPtrOutput) ToDomainNameApiAssociationPtrOutput added in v4.36.0

func (o DomainNameApiAssociationPtrOutput) ToDomainNameApiAssociationPtrOutput() DomainNameApiAssociationPtrOutput

func (DomainNameApiAssociationPtrOutput) ToDomainNameApiAssociationPtrOutputWithContext added in v4.36.0

func (o DomainNameApiAssociationPtrOutput) ToDomainNameApiAssociationPtrOutputWithContext(ctx context.Context) DomainNameApiAssociationPtrOutput

type DomainNameApiAssociationState added in v4.36.0

type DomainNameApiAssociationState struct {
	// The API ID.
	ApiId pulumi.StringPtrInput
	// The Appsync domain name.
	DomainName pulumi.StringPtrInput
}

func (DomainNameApiAssociationState) ElementType added in v4.36.0

type DomainNameArgs added in v4.36.0

type DomainNameArgs struct {
	// The Amazon Resource Name (ARN) of the certificate. This can be an Certificate Manager (ACM) certificate or an Identity and Access Management (IAM) server certificate. The certifiacte must reside in us-east-1.
	CertificateArn pulumi.StringInput
	// A description of the Domain Name.
	Description pulumi.StringPtrInput
	// The domain name.
	DomainName pulumi.StringInput
}

The set of arguments for constructing a DomainName resource.

func (DomainNameArgs) ElementType added in v4.36.0

func (DomainNameArgs) ElementType() reflect.Type

type DomainNameArray added in v4.36.0

type DomainNameArray []DomainNameInput

func (DomainNameArray) ElementType added in v4.36.0

func (DomainNameArray) ElementType() reflect.Type

func (DomainNameArray) ToDomainNameArrayOutput added in v4.36.0

func (i DomainNameArray) ToDomainNameArrayOutput() DomainNameArrayOutput

func (DomainNameArray) ToDomainNameArrayOutputWithContext added in v4.36.0

func (i DomainNameArray) ToDomainNameArrayOutputWithContext(ctx context.Context) DomainNameArrayOutput

type DomainNameArrayInput added in v4.36.0

type DomainNameArrayInput interface {
	pulumi.Input

	ToDomainNameArrayOutput() DomainNameArrayOutput
	ToDomainNameArrayOutputWithContext(context.Context) DomainNameArrayOutput
}

DomainNameArrayInput is an input type that accepts DomainNameArray and DomainNameArrayOutput values. You can construct a concrete instance of `DomainNameArrayInput` via:

DomainNameArray{ DomainNameArgs{...} }

type DomainNameArrayOutput added in v4.36.0

type DomainNameArrayOutput struct{ *pulumi.OutputState }

func (DomainNameArrayOutput) ElementType added in v4.36.0

func (DomainNameArrayOutput) ElementType() reflect.Type

func (DomainNameArrayOutput) Index added in v4.36.0

func (DomainNameArrayOutput) ToDomainNameArrayOutput added in v4.36.0

func (o DomainNameArrayOutput) ToDomainNameArrayOutput() DomainNameArrayOutput

func (DomainNameArrayOutput) ToDomainNameArrayOutputWithContext added in v4.36.0

func (o DomainNameArrayOutput) ToDomainNameArrayOutputWithContext(ctx context.Context) DomainNameArrayOutput

type DomainNameInput added in v4.36.0

type DomainNameInput interface {
	pulumi.Input

	ToDomainNameOutput() DomainNameOutput
	ToDomainNameOutputWithContext(ctx context.Context) DomainNameOutput
}

type DomainNameMap added in v4.36.0

type DomainNameMap map[string]DomainNameInput

func (DomainNameMap) ElementType added in v4.36.0

func (DomainNameMap) ElementType() reflect.Type

func (DomainNameMap) ToDomainNameMapOutput added in v4.36.0

func (i DomainNameMap) ToDomainNameMapOutput() DomainNameMapOutput

func (DomainNameMap) ToDomainNameMapOutputWithContext added in v4.36.0

func (i DomainNameMap) ToDomainNameMapOutputWithContext(ctx context.Context) DomainNameMapOutput

type DomainNameMapInput added in v4.36.0

type DomainNameMapInput interface {
	pulumi.Input

	ToDomainNameMapOutput() DomainNameMapOutput
	ToDomainNameMapOutputWithContext(context.Context) DomainNameMapOutput
}

DomainNameMapInput is an input type that accepts DomainNameMap and DomainNameMapOutput values. You can construct a concrete instance of `DomainNameMapInput` via:

DomainNameMap{ "key": DomainNameArgs{...} }

type DomainNameMapOutput added in v4.36.0

type DomainNameMapOutput struct{ *pulumi.OutputState }

func (DomainNameMapOutput) ElementType added in v4.36.0

func (DomainNameMapOutput) ElementType() reflect.Type

func (DomainNameMapOutput) MapIndex added in v4.36.0

func (DomainNameMapOutput) ToDomainNameMapOutput added in v4.36.0

func (o DomainNameMapOutput) ToDomainNameMapOutput() DomainNameMapOutput

func (DomainNameMapOutput) ToDomainNameMapOutputWithContext added in v4.36.0

func (o DomainNameMapOutput) ToDomainNameMapOutputWithContext(ctx context.Context) DomainNameMapOutput

type DomainNameOutput added in v4.36.0

type DomainNameOutput struct{ *pulumi.OutputState }

func (DomainNameOutput) ElementType added in v4.36.0

func (DomainNameOutput) ElementType() reflect.Type

func (DomainNameOutput) ToDomainNameOutput added in v4.36.0

func (o DomainNameOutput) ToDomainNameOutput() DomainNameOutput

func (DomainNameOutput) ToDomainNameOutputWithContext added in v4.36.0

func (o DomainNameOutput) ToDomainNameOutputWithContext(ctx context.Context) DomainNameOutput

func (DomainNameOutput) ToDomainNamePtrOutput added in v4.36.0

func (o DomainNameOutput) ToDomainNamePtrOutput() DomainNamePtrOutput

func (DomainNameOutput) ToDomainNamePtrOutputWithContext added in v4.36.0

func (o DomainNameOutput) ToDomainNamePtrOutputWithContext(ctx context.Context) DomainNamePtrOutput

type DomainNamePtrInput added in v4.36.0

type DomainNamePtrInput interface {
	pulumi.Input

	ToDomainNamePtrOutput() DomainNamePtrOutput
	ToDomainNamePtrOutputWithContext(ctx context.Context) DomainNamePtrOutput
}

type DomainNamePtrOutput added in v4.36.0

type DomainNamePtrOutput struct{ *pulumi.OutputState }

func (DomainNamePtrOutput) Elem added in v4.36.0

func (DomainNamePtrOutput) ElementType added in v4.36.0

func (DomainNamePtrOutput) ElementType() reflect.Type

func (DomainNamePtrOutput) ToDomainNamePtrOutput added in v4.36.0

func (o DomainNamePtrOutput) ToDomainNamePtrOutput() DomainNamePtrOutput

func (DomainNamePtrOutput) ToDomainNamePtrOutputWithContext added in v4.36.0

func (o DomainNamePtrOutput) ToDomainNamePtrOutputWithContext(ctx context.Context) DomainNamePtrOutput

type DomainNameState added in v4.36.0

type DomainNameState struct {
	// The domain name that AppSync provides.
	AppsyncDomainName pulumi.StringPtrInput
	// The Amazon Resource Name (ARN) of the certificate. This can be an Certificate Manager (ACM) certificate or an Identity and Access Management (IAM) server certificate. The certifiacte must reside in us-east-1.
	CertificateArn pulumi.StringPtrInput
	// A description of the Domain Name.
	Description pulumi.StringPtrInput
	// The domain name.
	DomainName pulumi.StringPtrInput
	// The ID of your Amazon Route 53 hosted zone.
	HostedZoneId pulumi.StringPtrInput
}

func (DomainNameState) ElementType added in v4.36.0

func (DomainNameState) ElementType() reflect.Type

type Function

type Function struct {
	pulumi.CustomResourceState

	// The ID of the associated AppSync API.
	ApiId pulumi.StringOutput `pulumi:"apiId"`
	// The ARN of the Function object.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The Function DataSource name.
	DataSource pulumi.StringOutput `pulumi:"dataSource"`
	// The Function description.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// A unique ID representing the Function object.
	FunctionId pulumi.StringOutput `pulumi:"functionId"`
	// The version of the request mapping template. Currently the supported value is `2018-05-29`.
	FunctionVersion pulumi.StringPtrOutput `pulumi:"functionVersion"`
	// The maximum batching size for a resolver. Valid values are between `0` and `2000`.
	MaxBatchSize pulumi.IntPtrOutput `pulumi:"maxBatchSize"`
	// The Function name. The function name does not have to be unique.
	Name pulumi.StringOutput `pulumi:"name"`
	// The Function request mapping template. Functions support only the 2018-05-29 version of the request mapping template.
	RequestMappingTemplate pulumi.StringOutput `pulumi:"requestMappingTemplate"`
	// The Function response mapping template.
	ResponseMappingTemplate pulumi.StringOutput `pulumi:"responseMappingTemplate"`
	// Describes a Sync configuration for a resolver. See Sync Config.
	SyncConfig FunctionSyncConfigPtrOutput `pulumi:"syncConfig"`
}

Provides an AppSync Function.

## Example Usage

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/appsync"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleGraphQLApi, err := appsync.NewGraphQLApi(ctx, "exampleGraphQLApi", &appsync.GraphQLApiArgs{
			AuthenticationType: pulumi.String("API_KEY"),
			Schema:             pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v", "type Mutation {\n", "  putPost(id: ID!, title: String!): Post\n", "}\n", "\n", "type Post {\n", "  id: ID!\n", "  title: String!\n", "}\n", "\n", "type Query {\n", "  singlePost(id: ID!): Post\n", "}\n", "\n", "schema {\n", "  query: Query\n", "  mutation: Mutation\n", "}\n")),
		})
		if err != nil {
			return err
		}
		exampleDataSource, err := appsync.NewDataSource(ctx, "exampleDataSource", &appsync.DataSourceArgs{
			ApiId: exampleGraphQLApi.ID(),
			Name:  pulumi.String("example"),
			Type:  pulumi.String("HTTP"),
			HttpConfig: &appsync.DataSourceHttpConfigArgs{
				Endpoint: pulumi.String("http://example.com"),
			},
		})
		if err != nil {
			return err
		}
		_, err = appsync.NewFunction(ctx, "exampleFunction", &appsync.FunctionArgs{
			ApiId:                   exampleGraphQLApi.ID(),
			DataSource:              exampleDataSource.Name,
			Name:                    pulumi.String("example"),
			RequestMappingTemplate:  pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v", "{\n", "    \"version\": \"2018-05-29\",\n", "    \"method\": \"GET\",\n", "    \"resourcePath\": \"/\",\n", "    \"params\":{\n", "        \"headers\": ", "$", "utils.http.copyheaders(", "$", "ctx.request.headers)\n", "    }\n", "}\n")),
			ResponseMappingTemplate: pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v", "#if(", "$", "ctx.result.statusCode == 200)\n", "    ", "$", "ctx.result.body\n", "#else\n", "    ", "$", "utils.appendError(", "$", "ctx.result.body, ", "$", "ctx.result.statusCode)\n", "#end\n")),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

`aws_appsync_function` can be imported using the AppSync API ID and Function ID separated by `-`, e.g.,

```sh

$ pulumi import aws:appsync/function:Function example xxxxx-yyyyy

```

func GetFunction

func GetFunction(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *FunctionState, opts ...pulumi.ResourceOption) (*Function, error)

GetFunction gets an existing Function 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 NewFunction

func NewFunction(ctx *pulumi.Context,
	name string, args *FunctionArgs, opts ...pulumi.ResourceOption) (*Function, error)

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

func (*Function) ElementType

func (*Function) ElementType() reflect.Type

func (*Function) ToFunctionOutput

func (i *Function) ToFunctionOutput() FunctionOutput

func (*Function) ToFunctionOutputWithContext

func (i *Function) ToFunctionOutputWithContext(ctx context.Context) FunctionOutput

func (*Function) ToFunctionPtrOutput

func (i *Function) ToFunctionPtrOutput() FunctionPtrOutput

func (*Function) ToFunctionPtrOutputWithContext

func (i *Function) ToFunctionPtrOutputWithContext(ctx context.Context) FunctionPtrOutput

type FunctionArgs

type FunctionArgs struct {
	// The ID of the associated AppSync API.
	ApiId pulumi.StringInput
	// The Function DataSource name.
	DataSource pulumi.StringInput
	// The Function description.
	Description pulumi.StringPtrInput
	// The version of the request mapping template. Currently the supported value is `2018-05-29`.
	FunctionVersion pulumi.StringPtrInput
	// The maximum batching size for a resolver. Valid values are between `0` and `2000`.
	MaxBatchSize pulumi.IntPtrInput
	// The Function name. The function name does not have to be unique.
	Name pulumi.StringPtrInput
	// The Function request mapping template. Functions support only the 2018-05-29 version of the request mapping template.
	RequestMappingTemplate pulumi.StringInput
	// The Function response mapping template.
	ResponseMappingTemplate pulumi.StringInput
	// Describes a Sync configuration for a resolver. See Sync Config.
	SyncConfig FunctionSyncConfigPtrInput
}

The set of arguments for constructing a Function resource.

func (FunctionArgs) ElementType

func (FunctionArgs) ElementType() reflect.Type

type FunctionArray

type FunctionArray []FunctionInput

func (FunctionArray) ElementType

func (FunctionArray) ElementType() reflect.Type

func (FunctionArray) ToFunctionArrayOutput

func (i FunctionArray) ToFunctionArrayOutput() FunctionArrayOutput

func (FunctionArray) ToFunctionArrayOutputWithContext

func (i FunctionArray) ToFunctionArrayOutputWithContext(ctx context.Context) FunctionArrayOutput

type FunctionArrayInput

type FunctionArrayInput interface {
	pulumi.Input

	ToFunctionArrayOutput() FunctionArrayOutput
	ToFunctionArrayOutputWithContext(context.Context) FunctionArrayOutput
}

FunctionArrayInput is an input type that accepts FunctionArray and FunctionArrayOutput values. You can construct a concrete instance of `FunctionArrayInput` via:

FunctionArray{ FunctionArgs{...} }

type FunctionArrayOutput

type FunctionArrayOutput struct{ *pulumi.OutputState }

func (FunctionArrayOutput) ElementType

func (FunctionArrayOutput) ElementType() reflect.Type

func (FunctionArrayOutput) Index

func (FunctionArrayOutput) ToFunctionArrayOutput

func (o FunctionArrayOutput) ToFunctionArrayOutput() FunctionArrayOutput

func (FunctionArrayOutput) ToFunctionArrayOutputWithContext

func (o FunctionArrayOutput) ToFunctionArrayOutputWithContext(ctx context.Context) FunctionArrayOutput

type FunctionInput

type FunctionInput interface {
	pulumi.Input

	ToFunctionOutput() FunctionOutput
	ToFunctionOutputWithContext(ctx context.Context) FunctionOutput
}

type FunctionMap

type FunctionMap map[string]FunctionInput

func (FunctionMap) ElementType

func (FunctionMap) ElementType() reflect.Type

func (FunctionMap) ToFunctionMapOutput

func (i FunctionMap) ToFunctionMapOutput() FunctionMapOutput

func (FunctionMap) ToFunctionMapOutputWithContext

func (i FunctionMap) ToFunctionMapOutputWithContext(ctx context.Context) FunctionMapOutput

type FunctionMapInput

type FunctionMapInput interface {
	pulumi.Input

	ToFunctionMapOutput() FunctionMapOutput
	ToFunctionMapOutputWithContext(context.Context) FunctionMapOutput
}

FunctionMapInput is an input type that accepts FunctionMap and FunctionMapOutput values. You can construct a concrete instance of `FunctionMapInput` via:

FunctionMap{ "key": FunctionArgs{...} }

type FunctionMapOutput

type FunctionMapOutput struct{ *pulumi.OutputState }

func (FunctionMapOutput) ElementType

func (FunctionMapOutput) ElementType() reflect.Type

func (FunctionMapOutput) MapIndex

func (FunctionMapOutput) ToFunctionMapOutput

func (o FunctionMapOutput) ToFunctionMapOutput() FunctionMapOutput

func (FunctionMapOutput) ToFunctionMapOutputWithContext

func (o FunctionMapOutput) ToFunctionMapOutputWithContext(ctx context.Context) FunctionMapOutput

type FunctionOutput

type FunctionOutput struct{ *pulumi.OutputState }

func (FunctionOutput) ElementType

func (FunctionOutput) ElementType() reflect.Type

func (FunctionOutput) ToFunctionOutput

func (o FunctionOutput) ToFunctionOutput() FunctionOutput

func (FunctionOutput) ToFunctionOutputWithContext

func (o FunctionOutput) ToFunctionOutputWithContext(ctx context.Context) FunctionOutput

func (FunctionOutput) ToFunctionPtrOutput

func (o FunctionOutput) ToFunctionPtrOutput() FunctionPtrOutput

func (FunctionOutput) ToFunctionPtrOutputWithContext

func (o FunctionOutput) ToFunctionPtrOutputWithContext(ctx context.Context) FunctionPtrOutput

type FunctionPtrInput

type FunctionPtrInput interface {
	pulumi.Input

	ToFunctionPtrOutput() FunctionPtrOutput
	ToFunctionPtrOutputWithContext(ctx context.Context) FunctionPtrOutput
}

type FunctionPtrOutput

type FunctionPtrOutput struct{ *pulumi.OutputState }

func (FunctionPtrOutput) Elem added in v4.15.0

func (FunctionPtrOutput) ElementType

func (FunctionPtrOutput) ElementType() reflect.Type

func (FunctionPtrOutput) ToFunctionPtrOutput

func (o FunctionPtrOutput) ToFunctionPtrOutput() FunctionPtrOutput

func (FunctionPtrOutput) ToFunctionPtrOutputWithContext

func (o FunctionPtrOutput) ToFunctionPtrOutputWithContext(ctx context.Context) FunctionPtrOutput

type FunctionState

type FunctionState struct {
	// The ID of the associated AppSync API.
	ApiId pulumi.StringPtrInput
	// The ARN of the Function object.
	Arn pulumi.StringPtrInput
	// The Function DataSource name.
	DataSource pulumi.StringPtrInput
	// The Function description.
	Description pulumi.StringPtrInput
	// A unique ID representing the Function object.
	FunctionId pulumi.StringPtrInput
	// The version of the request mapping template. Currently the supported value is `2018-05-29`.
	FunctionVersion pulumi.StringPtrInput
	// The maximum batching size for a resolver. Valid values are between `0` and `2000`.
	MaxBatchSize pulumi.IntPtrInput
	// The Function name. The function name does not have to be unique.
	Name pulumi.StringPtrInput
	// The Function request mapping template. Functions support only the 2018-05-29 version of the request mapping template.
	RequestMappingTemplate pulumi.StringPtrInput
	// The Function response mapping template.
	ResponseMappingTemplate pulumi.StringPtrInput
	// Describes a Sync configuration for a resolver. See Sync Config.
	SyncConfig FunctionSyncConfigPtrInput
}

func (FunctionState) ElementType

func (FunctionState) ElementType() reflect.Type

type FunctionSyncConfig added in v4.35.0

type FunctionSyncConfig struct {
	// The Conflict Detection strategy to use. Valid values are `NONE` and `VERSION`.
	ConflictDetection *string `pulumi:"conflictDetection"`
	// The Conflict Resolution strategy to perform in the event of a conflict. Valid values are `NONE`, `OPTIMISTIC_CONCURRENCY`, `AUTOMERGE`, and `LAMBDA`.
	ConflictHandler *string `pulumi:"conflictHandler"`
	// The Lambda Conflict Handler Config when configuring `LAMBDA` as the Conflict Handler. See Lambda Conflict Handler Config.
	LambdaConflictHandlerConfig *FunctionSyncConfigLambdaConflictHandlerConfig `pulumi:"lambdaConflictHandlerConfig"`
}

type FunctionSyncConfigArgs added in v4.35.0

type FunctionSyncConfigArgs struct {
	// The Conflict Detection strategy to use. Valid values are `NONE` and `VERSION`.
	ConflictDetection pulumi.StringPtrInput `pulumi:"conflictDetection"`
	// The Conflict Resolution strategy to perform in the event of a conflict. Valid values are `NONE`, `OPTIMISTIC_CONCURRENCY`, `AUTOMERGE`, and `LAMBDA`.
	ConflictHandler pulumi.StringPtrInput `pulumi:"conflictHandler"`
	// The Lambda Conflict Handler Config when configuring `LAMBDA` as the Conflict Handler. See Lambda Conflict Handler Config.
	LambdaConflictHandlerConfig FunctionSyncConfigLambdaConflictHandlerConfigPtrInput `pulumi:"lambdaConflictHandlerConfig"`
}

func (FunctionSyncConfigArgs) ElementType added in v4.35.0

func (FunctionSyncConfigArgs) ElementType() reflect.Type

func (FunctionSyncConfigArgs) ToFunctionSyncConfigOutput added in v4.35.0

func (i FunctionSyncConfigArgs) ToFunctionSyncConfigOutput() FunctionSyncConfigOutput

func (FunctionSyncConfigArgs) ToFunctionSyncConfigOutputWithContext added in v4.35.0

func (i FunctionSyncConfigArgs) ToFunctionSyncConfigOutputWithContext(ctx context.Context) FunctionSyncConfigOutput

func (FunctionSyncConfigArgs) ToFunctionSyncConfigPtrOutput added in v4.35.0

func (i FunctionSyncConfigArgs) ToFunctionSyncConfigPtrOutput() FunctionSyncConfigPtrOutput

func (FunctionSyncConfigArgs) ToFunctionSyncConfigPtrOutputWithContext added in v4.35.0

func (i FunctionSyncConfigArgs) ToFunctionSyncConfigPtrOutputWithContext(ctx context.Context) FunctionSyncConfigPtrOutput

type FunctionSyncConfigInput added in v4.35.0

type FunctionSyncConfigInput interface {
	pulumi.Input

	ToFunctionSyncConfigOutput() FunctionSyncConfigOutput
	ToFunctionSyncConfigOutputWithContext(context.Context) FunctionSyncConfigOutput
}

FunctionSyncConfigInput is an input type that accepts FunctionSyncConfigArgs and FunctionSyncConfigOutput values. You can construct a concrete instance of `FunctionSyncConfigInput` via:

FunctionSyncConfigArgs{...}

type FunctionSyncConfigLambdaConflictHandlerConfig added in v4.35.0

type FunctionSyncConfigLambdaConflictHandlerConfig struct {
	// The Amazon Resource Name (ARN) for the Lambda function to use as the Conflict Handler.
	LambdaConflictHandlerArn *string `pulumi:"lambdaConflictHandlerArn"`
}

type FunctionSyncConfigLambdaConflictHandlerConfigArgs added in v4.35.0

type FunctionSyncConfigLambdaConflictHandlerConfigArgs struct {
	// The Amazon Resource Name (ARN) for the Lambda function to use as the Conflict Handler.
	LambdaConflictHandlerArn pulumi.StringPtrInput `pulumi:"lambdaConflictHandlerArn"`
}

func (FunctionSyncConfigLambdaConflictHandlerConfigArgs) ElementType added in v4.35.0

func (FunctionSyncConfigLambdaConflictHandlerConfigArgs) ToFunctionSyncConfigLambdaConflictHandlerConfigOutput added in v4.35.0

func (i FunctionSyncConfigLambdaConflictHandlerConfigArgs) ToFunctionSyncConfigLambdaConflictHandlerConfigOutput() FunctionSyncConfigLambdaConflictHandlerConfigOutput

func (FunctionSyncConfigLambdaConflictHandlerConfigArgs) ToFunctionSyncConfigLambdaConflictHandlerConfigOutputWithContext added in v4.35.0

func (i FunctionSyncConfigLambdaConflictHandlerConfigArgs) ToFunctionSyncConfigLambdaConflictHandlerConfigOutputWithContext(ctx context.Context) FunctionSyncConfigLambdaConflictHandlerConfigOutput

func (FunctionSyncConfigLambdaConflictHandlerConfigArgs) ToFunctionSyncConfigLambdaConflictHandlerConfigPtrOutput added in v4.35.0

func (i FunctionSyncConfigLambdaConflictHandlerConfigArgs) ToFunctionSyncConfigLambdaConflictHandlerConfigPtrOutput() FunctionSyncConfigLambdaConflictHandlerConfigPtrOutput

func (FunctionSyncConfigLambdaConflictHandlerConfigArgs) ToFunctionSyncConfigLambdaConflictHandlerConfigPtrOutputWithContext added in v4.35.0

func (i FunctionSyncConfigLambdaConflictHandlerConfigArgs) ToFunctionSyncConfigLambdaConflictHandlerConfigPtrOutputWithContext(ctx context.Context) FunctionSyncConfigLambdaConflictHandlerConfigPtrOutput

type FunctionSyncConfigLambdaConflictHandlerConfigInput added in v4.35.0

type FunctionSyncConfigLambdaConflictHandlerConfigInput interface {
	pulumi.Input

	ToFunctionSyncConfigLambdaConflictHandlerConfigOutput() FunctionSyncConfigLambdaConflictHandlerConfigOutput
	ToFunctionSyncConfigLambdaConflictHandlerConfigOutputWithContext(context.Context) FunctionSyncConfigLambdaConflictHandlerConfigOutput
}

FunctionSyncConfigLambdaConflictHandlerConfigInput is an input type that accepts FunctionSyncConfigLambdaConflictHandlerConfigArgs and FunctionSyncConfigLambdaConflictHandlerConfigOutput values. You can construct a concrete instance of `FunctionSyncConfigLambdaConflictHandlerConfigInput` via:

FunctionSyncConfigLambdaConflictHandlerConfigArgs{...}

type FunctionSyncConfigLambdaConflictHandlerConfigOutput added in v4.35.0

type FunctionSyncConfigLambdaConflictHandlerConfigOutput struct{ *pulumi.OutputState }

func (FunctionSyncConfigLambdaConflictHandlerConfigOutput) ElementType added in v4.35.0

func (FunctionSyncConfigLambdaConflictHandlerConfigOutput) LambdaConflictHandlerArn added in v4.35.0

The Amazon Resource Name (ARN) for the Lambda function to use as the Conflict Handler.

func (FunctionSyncConfigLambdaConflictHandlerConfigOutput) ToFunctionSyncConfigLambdaConflictHandlerConfigOutput added in v4.35.0

func (o FunctionSyncConfigLambdaConflictHandlerConfigOutput) ToFunctionSyncConfigLambdaConflictHandlerConfigOutput() FunctionSyncConfigLambdaConflictHandlerConfigOutput

func (FunctionSyncConfigLambdaConflictHandlerConfigOutput) ToFunctionSyncConfigLambdaConflictHandlerConfigOutputWithContext added in v4.35.0

func (o FunctionSyncConfigLambdaConflictHandlerConfigOutput) ToFunctionSyncConfigLambdaConflictHandlerConfigOutputWithContext(ctx context.Context) FunctionSyncConfigLambdaConflictHandlerConfigOutput

func (FunctionSyncConfigLambdaConflictHandlerConfigOutput) ToFunctionSyncConfigLambdaConflictHandlerConfigPtrOutput added in v4.35.0

func (o FunctionSyncConfigLambdaConflictHandlerConfigOutput) ToFunctionSyncConfigLambdaConflictHandlerConfigPtrOutput() FunctionSyncConfigLambdaConflictHandlerConfigPtrOutput

func (FunctionSyncConfigLambdaConflictHandlerConfigOutput) ToFunctionSyncConfigLambdaConflictHandlerConfigPtrOutputWithContext added in v4.35.0

func (o FunctionSyncConfigLambdaConflictHandlerConfigOutput) ToFunctionSyncConfigLambdaConflictHandlerConfigPtrOutputWithContext(ctx context.Context) FunctionSyncConfigLambdaConflictHandlerConfigPtrOutput

type FunctionSyncConfigLambdaConflictHandlerConfigPtrInput added in v4.35.0

type FunctionSyncConfigLambdaConflictHandlerConfigPtrInput interface {
	pulumi.Input

	ToFunctionSyncConfigLambdaConflictHandlerConfigPtrOutput() FunctionSyncConfigLambdaConflictHandlerConfigPtrOutput
	ToFunctionSyncConfigLambdaConflictHandlerConfigPtrOutputWithContext(context.Context) FunctionSyncConfigLambdaConflictHandlerConfigPtrOutput
}

FunctionSyncConfigLambdaConflictHandlerConfigPtrInput is an input type that accepts FunctionSyncConfigLambdaConflictHandlerConfigArgs, FunctionSyncConfigLambdaConflictHandlerConfigPtr and FunctionSyncConfigLambdaConflictHandlerConfigPtrOutput values. You can construct a concrete instance of `FunctionSyncConfigLambdaConflictHandlerConfigPtrInput` via:

        FunctionSyncConfigLambdaConflictHandlerConfigArgs{...}

or:

        nil

type FunctionSyncConfigLambdaConflictHandlerConfigPtrOutput added in v4.35.0

type FunctionSyncConfigLambdaConflictHandlerConfigPtrOutput struct{ *pulumi.OutputState }

func (FunctionSyncConfigLambdaConflictHandlerConfigPtrOutput) Elem added in v4.35.0

func (FunctionSyncConfigLambdaConflictHandlerConfigPtrOutput) ElementType added in v4.35.0

func (FunctionSyncConfigLambdaConflictHandlerConfigPtrOutput) LambdaConflictHandlerArn added in v4.35.0

The Amazon Resource Name (ARN) for the Lambda function to use as the Conflict Handler.

func (FunctionSyncConfigLambdaConflictHandlerConfigPtrOutput) ToFunctionSyncConfigLambdaConflictHandlerConfigPtrOutput added in v4.35.0

func (FunctionSyncConfigLambdaConflictHandlerConfigPtrOutput) ToFunctionSyncConfigLambdaConflictHandlerConfigPtrOutputWithContext added in v4.35.0

func (o FunctionSyncConfigLambdaConflictHandlerConfigPtrOutput) ToFunctionSyncConfigLambdaConflictHandlerConfigPtrOutputWithContext(ctx context.Context) FunctionSyncConfigLambdaConflictHandlerConfigPtrOutput

type FunctionSyncConfigOutput added in v4.35.0

type FunctionSyncConfigOutput struct{ *pulumi.OutputState }

func (FunctionSyncConfigOutput) ConflictDetection added in v4.35.0

func (o FunctionSyncConfigOutput) ConflictDetection() pulumi.StringPtrOutput

The Conflict Detection strategy to use. Valid values are `NONE` and `VERSION`.

func (FunctionSyncConfigOutput) ConflictHandler added in v4.35.0

func (o FunctionSyncConfigOutput) ConflictHandler() pulumi.StringPtrOutput

The Conflict Resolution strategy to perform in the event of a conflict. Valid values are `NONE`, `OPTIMISTIC_CONCURRENCY`, `AUTOMERGE`, and `LAMBDA`.

func (FunctionSyncConfigOutput) ElementType added in v4.35.0

func (FunctionSyncConfigOutput) ElementType() reflect.Type

func (FunctionSyncConfigOutput) LambdaConflictHandlerConfig added in v4.35.0

The Lambda Conflict Handler Config when configuring `LAMBDA` as the Conflict Handler. See Lambda Conflict Handler Config.

func (FunctionSyncConfigOutput) ToFunctionSyncConfigOutput added in v4.35.0

func (o FunctionSyncConfigOutput) ToFunctionSyncConfigOutput() FunctionSyncConfigOutput

func (FunctionSyncConfigOutput) ToFunctionSyncConfigOutputWithContext added in v4.35.0

func (o FunctionSyncConfigOutput) ToFunctionSyncConfigOutputWithContext(ctx context.Context) FunctionSyncConfigOutput

func (FunctionSyncConfigOutput) ToFunctionSyncConfigPtrOutput added in v4.35.0

func (o FunctionSyncConfigOutput) ToFunctionSyncConfigPtrOutput() FunctionSyncConfigPtrOutput

func (FunctionSyncConfigOutput) ToFunctionSyncConfigPtrOutputWithContext added in v4.35.0

func (o FunctionSyncConfigOutput) ToFunctionSyncConfigPtrOutputWithContext(ctx context.Context) FunctionSyncConfigPtrOutput

type FunctionSyncConfigPtrInput added in v4.35.0

type FunctionSyncConfigPtrInput interface {
	pulumi.Input

	ToFunctionSyncConfigPtrOutput() FunctionSyncConfigPtrOutput
	ToFunctionSyncConfigPtrOutputWithContext(context.Context) FunctionSyncConfigPtrOutput
}

FunctionSyncConfigPtrInput is an input type that accepts FunctionSyncConfigArgs, FunctionSyncConfigPtr and FunctionSyncConfigPtrOutput values. You can construct a concrete instance of `FunctionSyncConfigPtrInput` via:

        FunctionSyncConfigArgs{...}

or:

        nil

func FunctionSyncConfigPtr added in v4.35.0

func FunctionSyncConfigPtr(v *FunctionSyncConfigArgs) FunctionSyncConfigPtrInput

type FunctionSyncConfigPtrOutput added in v4.35.0

type FunctionSyncConfigPtrOutput struct{ *pulumi.OutputState }

func (FunctionSyncConfigPtrOutput) ConflictDetection added in v4.35.0

func (o FunctionSyncConfigPtrOutput) ConflictDetection() pulumi.StringPtrOutput

The Conflict Detection strategy to use. Valid values are `NONE` and `VERSION`.

func (FunctionSyncConfigPtrOutput) ConflictHandler added in v4.35.0

The Conflict Resolution strategy to perform in the event of a conflict. Valid values are `NONE`, `OPTIMISTIC_CONCURRENCY`, `AUTOMERGE`, and `LAMBDA`.

func (FunctionSyncConfigPtrOutput) Elem added in v4.35.0

func (FunctionSyncConfigPtrOutput) ElementType added in v4.35.0

func (FunctionSyncConfigPtrOutput) LambdaConflictHandlerConfig added in v4.35.0

The Lambda Conflict Handler Config when configuring `LAMBDA` as the Conflict Handler. See Lambda Conflict Handler Config.

func (FunctionSyncConfigPtrOutput) ToFunctionSyncConfigPtrOutput added in v4.35.0

func (o FunctionSyncConfigPtrOutput) ToFunctionSyncConfigPtrOutput() FunctionSyncConfigPtrOutput

func (FunctionSyncConfigPtrOutput) ToFunctionSyncConfigPtrOutputWithContext added in v4.35.0

func (o FunctionSyncConfigPtrOutput) ToFunctionSyncConfigPtrOutputWithContext(ctx context.Context) FunctionSyncConfigPtrOutput

type GraphQLApi

type GraphQLApi struct {
	pulumi.CustomResourceState

	// One or more additional authentication providers for the GraphqlApi. Defined below.
	AdditionalAuthenticationProviders GraphQLApiAdditionalAuthenticationProviderArrayOutput `pulumi:"additionalAuthenticationProviders"`
	// The ARN
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The authentication type. Valid values: `API_KEY`, `AWS_IAM`, `AMAZON_COGNITO_USER_POOLS`, `OPENID_CONNECT`, `AWS_LAMBDA`
	AuthenticationType pulumi.StringOutput `pulumi:"authenticationType"`
	// Nested argument containing Lambda authorizer configuration. Defined below.
	LambdaAuthorizerConfig GraphQLApiLambdaAuthorizerConfigPtrOutput `pulumi:"lambdaAuthorizerConfig"`
	// Nested argument containing logging configuration. Defined below.
	LogConfig GraphQLApiLogConfigPtrOutput `pulumi:"logConfig"`
	// A user-supplied name for the GraphqlApi.
	Name pulumi.StringOutput `pulumi:"name"`
	// Nested argument containing OpenID Connect configuration. Defined below.
	OpenidConnectConfig GraphQLApiOpenidConnectConfigPtrOutput `pulumi:"openidConnectConfig"`
	// The schema definition, in GraphQL schema language format. This provider cannot perform drift detection of this configuration.
	Schema pulumi.StringPtrOutput `pulumi:"schema"`
	// A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
	// Map of URIs associated with the APIE.g., `uris["GRAPHQL"] = https://ID.appsync-api.REGION.amazonaws.com/graphql`
	Uris pulumi.StringMapOutput `pulumi:"uris"`
	// The Amazon Cognito User Pool configuration. Defined below.
	UserPoolConfig GraphQLApiUserPoolConfigPtrOutput `pulumi:"userPoolConfig"`
	// Whether tracing with X-ray is enabled. Defaults to false.
	XrayEnabled pulumi.BoolPtrOutput `pulumi:"xrayEnabled"`
}

Provides an AppSync GraphQL API.

## Example Usage ### API Key Authentication

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/appsync"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := appsync.NewGraphQLApi(ctx, "example", &appsync.GraphQLApiArgs{
			AuthenticationType: pulumi.String("API_KEY"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### AWS IAM Authentication

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/appsync"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := appsync.NewGraphQLApi(ctx, "example", &appsync.GraphQLApiArgs{
			AuthenticationType: pulumi.String("AWS_IAM"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### AWS Cognito User Pool Authentication

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/appsync"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := appsync.NewGraphQLApi(ctx, "example", &appsync.GraphQLApiArgs{
			AuthenticationType: pulumi.String("AMAZON_COGNITO_USER_POOLS"),
			UserPoolConfig: &appsync.GraphQLApiUserPoolConfigArgs{
				AwsRegion:     pulumi.Any(data.Aws_region.Current.Name),
				DefaultAction: pulumi.String("DENY"),
				UserPoolId:    pulumi.Any(aws_cognito_user_pool.Example.Id),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### OpenID Connect Authentication

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/appsync"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := appsync.NewGraphQLApi(ctx, "example", &appsync.GraphQLApiArgs{
			AuthenticationType: pulumi.String("OPENID_CONNECT"),
			OpenidConnectConfig: &appsync.GraphQLApiOpenidConnectConfigArgs{
				Issuer: pulumi.String("https://example.com"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### AWS Lambda Authorizer Authentication

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/appsync"
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/lambda"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := appsync.NewGraphQLApi(ctx, "example", &appsync.GraphQLApiArgs{
			AuthenticationType: pulumi.String("AWS_LAMBDA"),
			LambdaAuthorizerConfig: &appsync.GraphQLApiLambdaAuthorizerConfigArgs{
				AuthorizerUri: pulumi.String("arn:aws:lambda:us-east-1:123456789012:function:custom_lambda_authorizer"),
			},
		})
		if err != nil {
			return err
		}
		_, err = lambda.NewPermission(ctx, "appsyncLambdaAuthorizer", &lambda.PermissionArgs{
			Action:    pulumi.String("lambda:InvokeFunction"),
			Function:  pulumi.Any("custom_lambda_authorizer"),
			Principal: pulumi.String("appsync.amazonaws.com"),
			SourceArn: example.Arn,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### With Multiple Authentication Providers

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/appsync"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := appsync.NewGraphQLApi(ctx, "example", &appsync.GraphQLApiArgs{
			AdditionalAuthenticationProviders: appsync.GraphQLApiAdditionalAuthenticationProviderArray{
				&appsync.GraphQLApiAdditionalAuthenticationProviderArgs{
					AuthenticationType: pulumi.String("AWS_IAM"),
				},
			},
			AuthenticationType: pulumi.String("API_KEY"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### With Schema

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/appsync"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := appsync.NewGraphQLApi(ctx, "example", &appsync.GraphQLApiArgs{
			AuthenticationType: pulumi.String("AWS_IAM"),
			Schema: pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v", "schema {\n", "	query: Query\n", "}\n", "type Query {\n", "  test: Int\n", "}\n", "\n")),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Enabling Logging

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws"
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/appsync"
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/iam"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleRole, err := iam.NewRole(ctx, "exampleRole", &iam.RoleArgs{
			AssumeRolePolicy: pulumi.Any(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v", "{\n", "    \"Version\": \"2012-10-17\",\n", "    \"Statement\": [\n", "        {\n", "        \"Effect\": \"Allow\",\n", "        \"Principal\": {\n", "            \"Service\": \"appsync.amazonaws.com\"\n", "        },\n", "        \"Action\": \"sts:AssumeRole\"\n", "        }\n", "    ]\n", "}\n")),
		})
		if err != nil {
			return err
		}
		_, err = iam.NewRolePolicyAttachment(ctx, "exampleRolePolicyAttachment", &iam.RolePolicyAttachmentArgs{
			PolicyArn: pulumi.String("arn:aws:iam::aws:policy/service-role/AWSAppSyncPushToCloudWatchLogs"),
			Role:      exampleRole.Name,
		})
		if err != nil {
			return err
		}
		_, err = appsync.NewGraphQLApi(ctx, "exampleGraphQLApi", &appsync.GraphQLApiArgs{
			LogConfig: &appsync.GraphQLApiLogConfigArgs{
				CloudwatchLogsRoleArn: exampleRole.Arn,
				FieldLogLevel:         pulumi.String("ERROR"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Associate Web ACL (v2)

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/appsync"
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/wafv2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleGraphQLApi, err := appsync.NewGraphQLApi(ctx, "exampleGraphQLApi", &appsync.GraphQLApiArgs{
			AuthenticationType: pulumi.String("API_KEY"),
		})
		if err != nil {
			return err
		}
		exampleWebAcl, err := wafv2.NewWebAcl(ctx, "exampleWebAcl", &wafv2.WebAclArgs{
			Description: pulumi.String("Example of a managed rule."),
			Scope:       pulumi.String("REGIONAL"),
			DefaultAction: &wafv2.WebAclDefaultActionArgs{
				Allow: nil,
			},
			Rules: wafv2.WebAclRuleArray{
				&wafv2.WebAclRuleArgs{
					Name:     pulumi.String("rule-1"),
					Priority: pulumi.Int(1),
					OverrideAction: &wafv2.WebAclRuleOverrideActionArgs{
						Block: []map[string]interface{}{
							nil,
						},
					},
					Statement: &wafv2.WebAclRuleStatementArgs{
						ManagedRuleGroupStatement: &wafv2.WebAclRuleStatementManagedRuleGroupStatementArgs{
							Name:       pulumi.String("AWSManagedRulesCommonRuleSet"),
							VendorName: pulumi.String("AWS"),
						},
					},
					VisibilityConfig: &wafv2.WebAclRuleVisibilityConfigArgs{
						CloudwatchMetricsEnabled: pulumi.Bool(false),
						MetricName:               pulumi.String("friendly-rule-metric-name"),
						SampledRequestsEnabled:   pulumi.Bool(false),
					},
				},
			},
			VisibilityConfig: &wafv2.WebAclVisibilityConfigArgs{
				CloudwatchMetricsEnabled: pulumi.Bool(false),
				MetricName:               pulumi.String("friendly-metric-name"),
				SampledRequestsEnabled:   pulumi.Bool(false),
			},
		})
		if err != nil {
			return err
		}
		_, err = wafv2.NewWebAclAssociation(ctx, "exampleWebAclAssociation", &wafv2.WebAclAssociationArgs{
			ResourceArn: exampleGraphQLApi.Arn,
			WebAclArn:   exampleWebAcl.Arn,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

AppSync GraphQL API can be imported using the GraphQL API ID, e.g.,

```sh

$ pulumi import aws:appsync/graphQLApi:GraphQLApi example 0123456789

```

func GetGraphQLApi

func GetGraphQLApi(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GraphQLApiState, opts ...pulumi.ResourceOption) (*GraphQLApi, error)

GetGraphQLApi gets an existing GraphQLApi 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 NewGraphQLApi

func NewGraphQLApi(ctx *pulumi.Context,
	name string, args *GraphQLApiArgs, opts ...pulumi.ResourceOption) (*GraphQLApi, error)

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

func (*GraphQLApi) ElementType

func (*GraphQLApi) ElementType() reflect.Type

func (*GraphQLApi) ToGraphQLApiOutput

func (i *GraphQLApi) ToGraphQLApiOutput() GraphQLApiOutput

func (*GraphQLApi) ToGraphQLApiOutputWithContext

func (i *GraphQLApi) ToGraphQLApiOutputWithContext(ctx context.Context) GraphQLApiOutput

func (*GraphQLApi) ToGraphQLApiPtrOutput

func (i *GraphQLApi) ToGraphQLApiPtrOutput() GraphQLApiPtrOutput

func (*GraphQLApi) ToGraphQLApiPtrOutputWithContext

func (i *GraphQLApi) ToGraphQLApiPtrOutputWithContext(ctx context.Context) GraphQLApiPtrOutput

type GraphQLApiAdditionalAuthenticationProvider

type GraphQLApiAdditionalAuthenticationProvider struct {
	// The authentication type. Valid values: `API_KEY`, `AWS_IAM`, `AMAZON_COGNITO_USER_POOLS`, `OPENID_CONNECT`, `AWS_LAMBDA`
	AuthenticationType string `pulumi:"authenticationType"`
	// Nested argument containing Lambda authorizer configuration. Defined below.
	LambdaAuthorizerConfig *GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfig `pulumi:"lambdaAuthorizerConfig"`
	// Nested argument containing OpenID Connect configuration. Defined below.
	OpenidConnectConfig *GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfig `pulumi:"openidConnectConfig"`
	// The Amazon Cognito User Pool configuration. Defined below.
	UserPoolConfig *GraphQLApiAdditionalAuthenticationProviderUserPoolConfig `pulumi:"userPoolConfig"`
}

type GraphQLApiAdditionalAuthenticationProviderArgs

type GraphQLApiAdditionalAuthenticationProviderArgs struct {
	// The authentication type. Valid values: `API_KEY`, `AWS_IAM`, `AMAZON_COGNITO_USER_POOLS`, `OPENID_CONNECT`, `AWS_LAMBDA`
	AuthenticationType pulumi.StringInput `pulumi:"authenticationType"`
	// Nested argument containing Lambda authorizer configuration. Defined below.
	LambdaAuthorizerConfig GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrInput `pulumi:"lambdaAuthorizerConfig"`
	// Nested argument containing OpenID Connect configuration. Defined below.
	OpenidConnectConfig GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrInput `pulumi:"openidConnectConfig"`
	// The Amazon Cognito User Pool configuration. Defined below.
	UserPoolConfig GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrInput `pulumi:"userPoolConfig"`
}

func (GraphQLApiAdditionalAuthenticationProviderArgs) ElementType

func (GraphQLApiAdditionalAuthenticationProviderArgs) ToGraphQLApiAdditionalAuthenticationProviderOutput

func (i GraphQLApiAdditionalAuthenticationProviderArgs) ToGraphQLApiAdditionalAuthenticationProviderOutput() GraphQLApiAdditionalAuthenticationProviderOutput

func (GraphQLApiAdditionalAuthenticationProviderArgs) ToGraphQLApiAdditionalAuthenticationProviderOutputWithContext

func (i GraphQLApiAdditionalAuthenticationProviderArgs) ToGraphQLApiAdditionalAuthenticationProviderOutputWithContext(ctx context.Context) GraphQLApiAdditionalAuthenticationProviderOutput

type GraphQLApiAdditionalAuthenticationProviderArray

type GraphQLApiAdditionalAuthenticationProviderArray []GraphQLApiAdditionalAuthenticationProviderInput

func (GraphQLApiAdditionalAuthenticationProviderArray) ElementType

func (GraphQLApiAdditionalAuthenticationProviderArray) ToGraphQLApiAdditionalAuthenticationProviderArrayOutput

func (i GraphQLApiAdditionalAuthenticationProviderArray) ToGraphQLApiAdditionalAuthenticationProviderArrayOutput() GraphQLApiAdditionalAuthenticationProviderArrayOutput

func (GraphQLApiAdditionalAuthenticationProviderArray) ToGraphQLApiAdditionalAuthenticationProviderArrayOutputWithContext

func (i GraphQLApiAdditionalAuthenticationProviderArray) ToGraphQLApiAdditionalAuthenticationProviderArrayOutputWithContext(ctx context.Context) GraphQLApiAdditionalAuthenticationProviderArrayOutput

type GraphQLApiAdditionalAuthenticationProviderArrayInput

type GraphQLApiAdditionalAuthenticationProviderArrayInput interface {
	pulumi.Input

	ToGraphQLApiAdditionalAuthenticationProviderArrayOutput() GraphQLApiAdditionalAuthenticationProviderArrayOutput
	ToGraphQLApiAdditionalAuthenticationProviderArrayOutputWithContext(context.Context) GraphQLApiAdditionalAuthenticationProviderArrayOutput
}

GraphQLApiAdditionalAuthenticationProviderArrayInput is an input type that accepts GraphQLApiAdditionalAuthenticationProviderArray and GraphQLApiAdditionalAuthenticationProviderArrayOutput values. You can construct a concrete instance of `GraphQLApiAdditionalAuthenticationProviderArrayInput` via:

GraphQLApiAdditionalAuthenticationProviderArray{ GraphQLApiAdditionalAuthenticationProviderArgs{...} }

type GraphQLApiAdditionalAuthenticationProviderArrayOutput

type GraphQLApiAdditionalAuthenticationProviderArrayOutput struct{ *pulumi.OutputState }

func (GraphQLApiAdditionalAuthenticationProviderArrayOutput) ElementType

func (GraphQLApiAdditionalAuthenticationProviderArrayOutput) Index

func (GraphQLApiAdditionalAuthenticationProviderArrayOutput) ToGraphQLApiAdditionalAuthenticationProviderArrayOutput

func (GraphQLApiAdditionalAuthenticationProviderArrayOutput) ToGraphQLApiAdditionalAuthenticationProviderArrayOutputWithContext

func (o GraphQLApiAdditionalAuthenticationProviderArrayOutput) ToGraphQLApiAdditionalAuthenticationProviderArrayOutputWithContext(ctx context.Context) GraphQLApiAdditionalAuthenticationProviderArrayOutput

type GraphQLApiAdditionalAuthenticationProviderInput

type GraphQLApiAdditionalAuthenticationProviderInput interface {
	pulumi.Input

	ToGraphQLApiAdditionalAuthenticationProviderOutput() GraphQLApiAdditionalAuthenticationProviderOutput
	ToGraphQLApiAdditionalAuthenticationProviderOutputWithContext(context.Context) GraphQLApiAdditionalAuthenticationProviderOutput
}

GraphQLApiAdditionalAuthenticationProviderInput is an input type that accepts GraphQLApiAdditionalAuthenticationProviderArgs and GraphQLApiAdditionalAuthenticationProviderOutput values. You can construct a concrete instance of `GraphQLApiAdditionalAuthenticationProviderInput` via:

GraphQLApiAdditionalAuthenticationProviderArgs{...}

type GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfig added in v4.33.0

type GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfig struct {
	// The number of seconds a response should be cached for. The default is 5 minutes (300 seconds). The Lambda function can override this by returning a `ttlOverride` key in its response. A value of 0 disables caching of responses. Minimum value of 0. Maximum value of 3600.
	AuthorizerResultTtlInSeconds *int `pulumi:"authorizerResultTtlInSeconds"`
	// The ARN of the Lambda function to be called for authorization. Note: This Lambda function must have a resource-based policy assigned to it, to allow `lambda:InvokeFunction` from service principal `appsync.amazonaws.com`.
	AuthorizerUri string `pulumi:"authorizerUri"`
	// A regular expression for validation of tokens before the Lambda function is called.
	IdentityValidationExpression *string `pulumi:"identityValidationExpression"`
}

type GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigArgs added in v4.33.0

type GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigArgs struct {
	// The number of seconds a response should be cached for. The default is 5 minutes (300 seconds). The Lambda function can override this by returning a `ttlOverride` key in its response. A value of 0 disables caching of responses. Minimum value of 0. Maximum value of 3600.
	AuthorizerResultTtlInSeconds pulumi.IntPtrInput `pulumi:"authorizerResultTtlInSeconds"`
	// The ARN of the Lambda function to be called for authorization. Note: This Lambda function must have a resource-based policy assigned to it, to allow `lambda:InvokeFunction` from service principal `appsync.amazonaws.com`.
	AuthorizerUri pulumi.StringInput `pulumi:"authorizerUri"`
	// A regular expression for validation of tokens before the Lambda function is called.
	IdentityValidationExpression pulumi.StringPtrInput `pulumi:"identityValidationExpression"`
}

func (GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigArgs) ElementType added in v4.33.0

func (GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigArgs) ToGraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput added in v4.33.0

func (GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigArgs) ToGraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutputWithContext added in v4.33.0

func (i GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigArgs) ToGraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutputWithContext(ctx context.Context) GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput

func (GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigArgs) ToGraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput added in v4.33.0

func (GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigArgs) ToGraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutputWithContext added in v4.33.0

func (i GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigArgs) ToGraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutputWithContext(ctx context.Context) GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput

type GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigInput added in v4.33.0

type GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigInput interface {
	pulumi.Input

	ToGraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput() GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput
	ToGraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutputWithContext(context.Context) GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput
}

GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigInput is an input type that accepts GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigArgs and GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput values. You can construct a concrete instance of `GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigInput` via:

GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigArgs{...}

type GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput added in v4.33.0

type GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput struct{ *pulumi.OutputState }

func (GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput) AuthorizerResultTtlInSeconds added in v4.33.0

The number of seconds a response should be cached for. The default is 5 minutes (300 seconds). The Lambda function can override this by returning a `ttlOverride` key in its response. A value of 0 disables caching of responses. Minimum value of 0. Maximum value of 3600.

func (GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput) AuthorizerUri added in v4.33.0

The ARN of the Lambda function to be called for authorization. Note: This Lambda function must have a resource-based policy assigned to it, to allow `lambda:InvokeFunction` from service principal `appsync.amazonaws.com`.

func (GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput) ElementType added in v4.33.0

func (GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput) IdentityValidationExpression added in v4.33.0

A regular expression for validation of tokens before the Lambda function is called.

func (GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput) ToGraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput added in v4.33.0

func (GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput) ToGraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutputWithContext added in v4.33.0

func (o GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput) ToGraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutputWithContext(ctx context.Context) GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput

func (GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput) ToGraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput added in v4.33.0

func (GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput) ToGraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutputWithContext added in v4.33.0

func (o GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput) ToGraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutputWithContext(ctx context.Context) GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput

type GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrInput added in v4.33.0

type GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrInput interface {
	pulumi.Input

	ToGraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput() GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput
	ToGraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutputWithContext(context.Context) GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput
}

GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrInput is an input type that accepts GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigArgs, GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtr and GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput values. You can construct a concrete instance of `GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrInput` via:

        GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigArgs{...}

or:

        nil

type GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput added in v4.33.0

type GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput struct{ *pulumi.OutputState }

func (GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput) AuthorizerResultTtlInSeconds added in v4.33.0

The number of seconds a response should be cached for. The default is 5 minutes (300 seconds). The Lambda function can override this by returning a `ttlOverride` key in its response. A value of 0 disables caching of responses. Minimum value of 0. Maximum value of 3600.

func (GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput) AuthorizerUri added in v4.33.0

The ARN of the Lambda function to be called for authorization. Note: This Lambda function must have a resource-based policy assigned to it, to allow `lambda:InvokeFunction` from service principal `appsync.amazonaws.com`.

func (GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput) Elem added in v4.33.0

func (GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput) ElementType added in v4.33.0

func (GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput) IdentityValidationExpression added in v4.33.0

A regular expression for validation of tokens before the Lambda function is called.

func (GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput) ToGraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput added in v4.33.0

func (GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput) ToGraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutputWithContext added in v4.33.0

type GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfig

type GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfig struct {
	// Number of milliseconds a token is valid after being authenticated.
	AuthTtl *int `pulumi:"authTtl"`
	// Client identifier of the Relying party at the OpenID identity provider. This identifier is typically obtained when the Relying party is registered with the OpenID identity provider. You can specify a regular expression so the AWS AppSync can validate against multiple client identifiers at a time.
	ClientId *string `pulumi:"clientId"`
	// Number of milliseconds a token is valid after being issued to a user.
	IatTtl *int `pulumi:"iatTtl"`
	// Issuer for the OpenID Connect configuration. The issuer returned by discovery MUST exactly match the value of iss in the ID Token.
	Issuer string `pulumi:"issuer"`
}

type GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigArgs

type GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigArgs struct {
	// Number of milliseconds a token is valid after being authenticated.
	AuthTtl pulumi.IntPtrInput `pulumi:"authTtl"`
	// Client identifier of the Relying party at the OpenID identity provider. This identifier is typically obtained when the Relying party is registered with the OpenID identity provider. You can specify a regular expression so the AWS AppSync can validate against multiple client identifiers at a time.
	ClientId pulumi.StringPtrInput `pulumi:"clientId"`
	// Number of milliseconds a token is valid after being issued to a user.
	IatTtl pulumi.IntPtrInput `pulumi:"iatTtl"`
	// Issuer for the OpenID Connect configuration. The issuer returned by discovery MUST exactly match the value of iss in the ID Token.
	Issuer pulumi.StringInput `pulumi:"issuer"`
}

func (GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigArgs) ElementType

func (GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigArgs) ToGraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput

func (GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigArgs) ToGraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutputWithContext

func (i GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigArgs) ToGraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutputWithContext(ctx context.Context) GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput

func (GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigArgs) ToGraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput

func (GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigArgs) ToGraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutputWithContext

func (i GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigArgs) ToGraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutputWithContext(ctx context.Context) GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput

type GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigInput

type GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigInput interface {
	pulumi.Input

	ToGraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput() GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput
	ToGraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutputWithContext(context.Context) GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput
}

GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigInput is an input type that accepts GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigArgs and GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput values. You can construct a concrete instance of `GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigInput` via:

GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigArgs{...}

type GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput

type GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput struct{ *pulumi.OutputState }

func (GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput) AuthTtl

Number of milliseconds a token is valid after being authenticated.

func (GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput) ClientId

Client identifier of the Relying party at the OpenID identity provider. This identifier is typically obtained when the Relying party is registered with the OpenID identity provider. You can specify a regular expression so the AWS AppSync can validate against multiple client identifiers at a time.

func (GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput) ElementType

func (GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput) IatTtl

Number of milliseconds a token is valid after being issued to a user.

func (GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput) Issuer

Issuer for the OpenID Connect configuration. The issuer returned by discovery MUST exactly match the value of iss in the ID Token.

func (GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput) ToGraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput

func (GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput) ToGraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutputWithContext

func (o GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput) ToGraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutputWithContext(ctx context.Context) GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput

func (GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput) ToGraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput

func (GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput) ToGraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutputWithContext

func (o GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput) ToGraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutputWithContext(ctx context.Context) GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput

type GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrInput

type GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrInput interface {
	pulumi.Input

	ToGraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput() GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput
	ToGraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutputWithContext(context.Context) GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput
}

GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrInput is an input type that accepts GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigArgs, GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtr and GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput values. You can construct a concrete instance of `GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrInput` via:

        GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigArgs{...}

or:

        nil

type GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput

type GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput struct{ *pulumi.OutputState }

func (GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput) AuthTtl

Number of milliseconds a token is valid after being authenticated.

func (GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput) ClientId

Client identifier of the Relying party at the OpenID identity provider. This identifier is typically obtained when the Relying party is registered with the OpenID identity provider. You can specify a regular expression so the AWS AppSync can validate against multiple client identifiers at a time.

func (GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput) Elem

func (GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput) ElementType

func (GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput) IatTtl

Number of milliseconds a token is valid after being issued to a user.

func (GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput) Issuer

Issuer for the OpenID Connect configuration. The issuer returned by discovery MUST exactly match the value of iss in the ID Token.

func (GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput) ToGraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput

func (GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput) ToGraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutputWithContext

func (o GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput) ToGraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutputWithContext(ctx context.Context) GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput

type GraphQLApiAdditionalAuthenticationProviderOutput

type GraphQLApiAdditionalAuthenticationProviderOutput struct{ *pulumi.OutputState }

func (GraphQLApiAdditionalAuthenticationProviderOutput) AuthenticationType

The authentication type. Valid values: `API_KEY`, `AWS_IAM`, `AMAZON_COGNITO_USER_POOLS`, `OPENID_CONNECT`, `AWS_LAMBDA`

func (GraphQLApiAdditionalAuthenticationProviderOutput) ElementType

func (GraphQLApiAdditionalAuthenticationProviderOutput) LambdaAuthorizerConfig added in v4.33.0

Nested argument containing Lambda authorizer configuration. Defined below.

func (GraphQLApiAdditionalAuthenticationProviderOutput) OpenidConnectConfig

Nested argument containing OpenID Connect configuration. Defined below.

func (GraphQLApiAdditionalAuthenticationProviderOutput) ToGraphQLApiAdditionalAuthenticationProviderOutput

func (o GraphQLApiAdditionalAuthenticationProviderOutput) ToGraphQLApiAdditionalAuthenticationProviderOutput() GraphQLApiAdditionalAuthenticationProviderOutput

func (GraphQLApiAdditionalAuthenticationProviderOutput) ToGraphQLApiAdditionalAuthenticationProviderOutputWithContext

func (o GraphQLApiAdditionalAuthenticationProviderOutput) ToGraphQLApiAdditionalAuthenticationProviderOutputWithContext(ctx context.Context) GraphQLApiAdditionalAuthenticationProviderOutput

func (GraphQLApiAdditionalAuthenticationProviderOutput) UserPoolConfig

The Amazon Cognito User Pool configuration. Defined below.

type GraphQLApiAdditionalAuthenticationProviderUserPoolConfig

type GraphQLApiAdditionalAuthenticationProviderUserPoolConfig struct {
	// A regular expression for validating the incoming Amazon Cognito User Pool app client ID.
	AppIdClientRegex *string `pulumi:"appIdClientRegex"`
	// The AWS region in which the user pool was created.
	AwsRegion *string `pulumi:"awsRegion"`
	// The user pool ID.
	UserPoolId string `pulumi:"userPoolId"`
}

type GraphQLApiAdditionalAuthenticationProviderUserPoolConfigArgs

type GraphQLApiAdditionalAuthenticationProviderUserPoolConfigArgs struct {
	// A regular expression for validating the incoming Amazon Cognito User Pool app client ID.
	AppIdClientRegex pulumi.StringPtrInput `pulumi:"appIdClientRegex"`
	// The AWS region in which the user pool was created.
	AwsRegion pulumi.StringPtrInput `pulumi:"awsRegion"`
	// The user pool ID.
	UserPoolId pulumi.StringInput `pulumi:"userPoolId"`
}

func (GraphQLApiAdditionalAuthenticationProviderUserPoolConfigArgs) ElementType

func (GraphQLApiAdditionalAuthenticationProviderUserPoolConfigArgs) ToGraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutput

func (GraphQLApiAdditionalAuthenticationProviderUserPoolConfigArgs) ToGraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutputWithContext

func (i GraphQLApiAdditionalAuthenticationProviderUserPoolConfigArgs) ToGraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutputWithContext(ctx context.Context) GraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutput

func (GraphQLApiAdditionalAuthenticationProviderUserPoolConfigArgs) ToGraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput

func (GraphQLApiAdditionalAuthenticationProviderUserPoolConfigArgs) ToGraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutputWithContext

func (i GraphQLApiAdditionalAuthenticationProviderUserPoolConfigArgs) ToGraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutputWithContext(ctx context.Context) GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput

type GraphQLApiAdditionalAuthenticationProviderUserPoolConfigInput

type GraphQLApiAdditionalAuthenticationProviderUserPoolConfigInput interface {
	pulumi.Input

	ToGraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutput() GraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutput
	ToGraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutputWithContext(context.Context) GraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutput
}

GraphQLApiAdditionalAuthenticationProviderUserPoolConfigInput is an input type that accepts GraphQLApiAdditionalAuthenticationProviderUserPoolConfigArgs and GraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutput values. You can construct a concrete instance of `GraphQLApiAdditionalAuthenticationProviderUserPoolConfigInput` via:

GraphQLApiAdditionalAuthenticationProviderUserPoolConfigArgs{...}

type GraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutput

type GraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutput struct{ *pulumi.OutputState }

func (GraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutput) AppIdClientRegex

A regular expression for validating the incoming Amazon Cognito User Pool app client ID.

func (GraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutput) AwsRegion

The AWS region in which the user pool was created.

func (GraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutput) ElementType

func (GraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutput) ToGraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutput

func (GraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutput) ToGraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutputWithContext

func (o GraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutput) ToGraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutputWithContext(ctx context.Context) GraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutput

func (GraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutput) ToGraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput

func (GraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutput) ToGraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutputWithContext

func (o GraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutput) ToGraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutputWithContext(ctx context.Context) GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput

func (GraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutput) UserPoolId

The user pool ID.

type GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrInput

type GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrInput interface {
	pulumi.Input

	ToGraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput() GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput
	ToGraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutputWithContext(context.Context) GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput
}

GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrInput is an input type that accepts GraphQLApiAdditionalAuthenticationProviderUserPoolConfigArgs, GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtr and GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput values. You can construct a concrete instance of `GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrInput` via:

        GraphQLApiAdditionalAuthenticationProviderUserPoolConfigArgs{...}

or:

        nil

type GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput

type GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput struct{ *pulumi.OutputState }

func (GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput) AppIdClientRegex

A regular expression for validating the incoming Amazon Cognito User Pool app client ID.

func (GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput) AwsRegion

The AWS region in which the user pool was created.

func (GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput) Elem

func (GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput) ElementType

func (GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput) ToGraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput

func (GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput) ToGraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutputWithContext

func (o GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput) ToGraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutputWithContext(ctx context.Context) GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput

func (GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput) UserPoolId

The user pool ID.

type GraphQLApiArgs

type GraphQLApiArgs struct {
	// One or more additional authentication providers for the GraphqlApi. Defined below.
	AdditionalAuthenticationProviders GraphQLApiAdditionalAuthenticationProviderArrayInput
	// The authentication type. Valid values: `API_KEY`, `AWS_IAM`, `AMAZON_COGNITO_USER_POOLS`, `OPENID_CONNECT`, `AWS_LAMBDA`
	AuthenticationType pulumi.StringInput
	// Nested argument containing Lambda authorizer configuration. Defined below.
	LambdaAuthorizerConfig GraphQLApiLambdaAuthorizerConfigPtrInput
	// Nested argument containing logging configuration. Defined below.
	LogConfig GraphQLApiLogConfigPtrInput
	// A user-supplied name for the GraphqlApi.
	Name pulumi.StringPtrInput
	// Nested argument containing OpenID Connect configuration. Defined below.
	OpenidConnectConfig GraphQLApiOpenidConnectConfigPtrInput
	// The schema definition, in GraphQL schema language format. This provider cannot perform drift detection of this configuration.
	Schema pulumi.StringPtrInput
	// A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// The Amazon Cognito User Pool configuration. Defined below.
	UserPoolConfig GraphQLApiUserPoolConfigPtrInput
	// Whether tracing with X-ray is enabled. Defaults to false.
	XrayEnabled pulumi.BoolPtrInput
}

The set of arguments for constructing a GraphQLApi resource.

func (GraphQLApiArgs) ElementType

func (GraphQLApiArgs) ElementType() reflect.Type

type GraphQLApiArray

type GraphQLApiArray []GraphQLApiInput

func (GraphQLApiArray) ElementType

func (GraphQLApiArray) ElementType() reflect.Type

func (GraphQLApiArray) ToGraphQLApiArrayOutput

func (i GraphQLApiArray) ToGraphQLApiArrayOutput() GraphQLApiArrayOutput

func (GraphQLApiArray) ToGraphQLApiArrayOutputWithContext

func (i GraphQLApiArray) ToGraphQLApiArrayOutputWithContext(ctx context.Context) GraphQLApiArrayOutput

type GraphQLApiArrayInput

type GraphQLApiArrayInput interface {
	pulumi.Input

	ToGraphQLApiArrayOutput() GraphQLApiArrayOutput
	ToGraphQLApiArrayOutputWithContext(context.Context) GraphQLApiArrayOutput
}

GraphQLApiArrayInput is an input type that accepts GraphQLApiArray and GraphQLApiArrayOutput values. You can construct a concrete instance of `GraphQLApiArrayInput` via:

GraphQLApiArray{ GraphQLApiArgs{...} }

type GraphQLApiArrayOutput

type GraphQLApiArrayOutput struct{ *pulumi.OutputState }

func (GraphQLApiArrayOutput) ElementType

func (GraphQLApiArrayOutput) ElementType() reflect.Type

func (GraphQLApiArrayOutput) Index

func (GraphQLApiArrayOutput) ToGraphQLApiArrayOutput

func (o GraphQLApiArrayOutput) ToGraphQLApiArrayOutput() GraphQLApiArrayOutput

func (GraphQLApiArrayOutput) ToGraphQLApiArrayOutputWithContext

func (o GraphQLApiArrayOutput) ToGraphQLApiArrayOutputWithContext(ctx context.Context) GraphQLApiArrayOutput

type GraphQLApiInput

type GraphQLApiInput interface {
	pulumi.Input

	ToGraphQLApiOutput() GraphQLApiOutput
	ToGraphQLApiOutputWithContext(ctx context.Context) GraphQLApiOutput
}

type GraphQLApiLambdaAuthorizerConfig added in v4.33.0

type GraphQLApiLambdaAuthorizerConfig struct {
	// The number of seconds a response should be cached for. The default is 5 minutes (300 seconds). The Lambda function can override this by returning a `ttlOverride` key in its response. A value of 0 disables caching of responses. Minimum value of 0. Maximum value of 3600.
	AuthorizerResultTtlInSeconds *int `pulumi:"authorizerResultTtlInSeconds"`
	// The ARN of the Lambda function to be called for authorization. Note: This Lambda function must have a resource-based policy assigned to it, to allow `lambda:InvokeFunction` from service principal `appsync.amazonaws.com`.
	AuthorizerUri string `pulumi:"authorizerUri"`
	// A regular expression for validation of tokens before the Lambda function is called.
	IdentityValidationExpression *string `pulumi:"identityValidationExpression"`
}

type GraphQLApiLambdaAuthorizerConfigArgs added in v4.33.0

type GraphQLApiLambdaAuthorizerConfigArgs struct {
	// The number of seconds a response should be cached for. The default is 5 minutes (300 seconds). The Lambda function can override this by returning a `ttlOverride` key in its response. A value of 0 disables caching of responses. Minimum value of 0. Maximum value of 3600.
	AuthorizerResultTtlInSeconds pulumi.IntPtrInput `pulumi:"authorizerResultTtlInSeconds"`
	// The ARN of the Lambda function to be called for authorization. Note: This Lambda function must have a resource-based policy assigned to it, to allow `lambda:InvokeFunction` from service principal `appsync.amazonaws.com`.
	AuthorizerUri pulumi.StringInput `pulumi:"authorizerUri"`
	// A regular expression for validation of tokens before the Lambda function is called.
	IdentityValidationExpression pulumi.StringPtrInput `pulumi:"identityValidationExpression"`
}

func (GraphQLApiLambdaAuthorizerConfigArgs) ElementType added in v4.33.0

func (GraphQLApiLambdaAuthorizerConfigArgs) ToGraphQLApiLambdaAuthorizerConfigOutput added in v4.33.0

func (i GraphQLApiLambdaAuthorizerConfigArgs) ToGraphQLApiLambdaAuthorizerConfigOutput() GraphQLApiLambdaAuthorizerConfigOutput

func (GraphQLApiLambdaAuthorizerConfigArgs) ToGraphQLApiLambdaAuthorizerConfigOutputWithContext added in v4.33.0

func (i GraphQLApiLambdaAuthorizerConfigArgs) ToGraphQLApiLambdaAuthorizerConfigOutputWithContext(ctx context.Context) GraphQLApiLambdaAuthorizerConfigOutput

func (GraphQLApiLambdaAuthorizerConfigArgs) ToGraphQLApiLambdaAuthorizerConfigPtrOutput added in v4.33.0

func (i GraphQLApiLambdaAuthorizerConfigArgs) ToGraphQLApiLambdaAuthorizerConfigPtrOutput() GraphQLApiLambdaAuthorizerConfigPtrOutput

func (GraphQLApiLambdaAuthorizerConfigArgs) ToGraphQLApiLambdaAuthorizerConfigPtrOutputWithContext added in v4.33.0

func (i GraphQLApiLambdaAuthorizerConfigArgs) ToGraphQLApiLambdaAuthorizerConfigPtrOutputWithContext(ctx context.Context) GraphQLApiLambdaAuthorizerConfigPtrOutput

type GraphQLApiLambdaAuthorizerConfigInput added in v4.33.0

type GraphQLApiLambdaAuthorizerConfigInput interface {
	pulumi.Input

	ToGraphQLApiLambdaAuthorizerConfigOutput() GraphQLApiLambdaAuthorizerConfigOutput
	ToGraphQLApiLambdaAuthorizerConfigOutputWithContext(context.Context) GraphQLApiLambdaAuthorizerConfigOutput
}

GraphQLApiLambdaAuthorizerConfigInput is an input type that accepts GraphQLApiLambdaAuthorizerConfigArgs and GraphQLApiLambdaAuthorizerConfigOutput values. You can construct a concrete instance of `GraphQLApiLambdaAuthorizerConfigInput` via:

GraphQLApiLambdaAuthorizerConfigArgs{...}

type GraphQLApiLambdaAuthorizerConfigOutput added in v4.33.0

type GraphQLApiLambdaAuthorizerConfigOutput struct{ *pulumi.OutputState }

func (GraphQLApiLambdaAuthorizerConfigOutput) AuthorizerResultTtlInSeconds added in v4.33.0

func (o GraphQLApiLambdaAuthorizerConfigOutput) AuthorizerResultTtlInSeconds() pulumi.IntPtrOutput

The number of seconds a response should be cached for. The default is 5 minutes (300 seconds). The Lambda function can override this by returning a `ttlOverride` key in its response. A value of 0 disables caching of responses. Minimum value of 0. Maximum value of 3600.

func (GraphQLApiLambdaAuthorizerConfigOutput) AuthorizerUri added in v4.33.0

The ARN of the Lambda function to be called for authorization. Note: This Lambda function must have a resource-based policy assigned to it, to allow `lambda:InvokeFunction` from service principal `appsync.amazonaws.com`.

func (GraphQLApiLambdaAuthorizerConfigOutput) ElementType added in v4.33.0

func (GraphQLApiLambdaAuthorizerConfigOutput) IdentityValidationExpression added in v4.33.0

func (o GraphQLApiLambdaAuthorizerConfigOutput) IdentityValidationExpression() pulumi.StringPtrOutput

A regular expression for validation of tokens before the Lambda function is called.

func (GraphQLApiLambdaAuthorizerConfigOutput) ToGraphQLApiLambdaAuthorizerConfigOutput added in v4.33.0

func (o GraphQLApiLambdaAuthorizerConfigOutput) ToGraphQLApiLambdaAuthorizerConfigOutput() GraphQLApiLambdaAuthorizerConfigOutput

func (GraphQLApiLambdaAuthorizerConfigOutput) ToGraphQLApiLambdaAuthorizerConfigOutputWithContext added in v4.33.0

func (o GraphQLApiLambdaAuthorizerConfigOutput) ToGraphQLApiLambdaAuthorizerConfigOutputWithContext(ctx context.Context) GraphQLApiLambdaAuthorizerConfigOutput

func (GraphQLApiLambdaAuthorizerConfigOutput) ToGraphQLApiLambdaAuthorizerConfigPtrOutput added in v4.33.0

func (o GraphQLApiLambdaAuthorizerConfigOutput) ToGraphQLApiLambdaAuthorizerConfigPtrOutput() GraphQLApiLambdaAuthorizerConfigPtrOutput

func (GraphQLApiLambdaAuthorizerConfigOutput) ToGraphQLApiLambdaAuthorizerConfigPtrOutputWithContext added in v4.33.0

func (o GraphQLApiLambdaAuthorizerConfigOutput) ToGraphQLApiLambdaAuthorizerConfigPtrOutputWithContext(ctx context.Context) GraphQLApiLambdaAuthorizerConfigPtrOutput

type GraphQLApiLambdaAuthorizerConfigPtrInput added in v4.33.0

type GraphQLApiLambdaAuthorizerConfigPtrInput interface {
	pulumi.Input

	ToGraphQLApiLambdaAuthorizerConfigPtrOutput() GraphQLApiLambdaAuthorizerConfigPtrOutput
	ToGraphQLApiLambdaAuthorizerConfigPtrOutputWithContext(context.Context) GraphQLApiLambdaAuthorizerConfigPtrOutput
}

GraphQLApiLambdaAuthorizerConfigPtrInput is an input type that accepts GraphQLApiLambdaAuthorizerConfigArgs, GraphQLApiLambdaAuthorizerConfigPtr and GraphQLApiLambdaAuthorizerConfigPtrOutput values. You can construct a concrete instance of `GraphQLApiLambdaAuthorizerConfigPtrInput` via:

        GraphQLApiLambdaAuthorizerConfigArgs{...}

or:

        nil

type GraphQLApiLambdaAuthorizerConfigPtrOutput added in v4.33.0

type GraphQLApiLambdaAuthorizerConfigPtrOutput struct{ *pulumi.OutputState }

func (GraphQLApiLambdaAuthorizerConfigPtrOutput) AuthorizerResultTtlInSeconds added in v4.33.0

func (o GraphQLApiLambdaAuthorizerConfigPtrOutput) AuthorizerResultTtlInSeconds() pulumi.IntPtrOutput

The number of seconds a response should be cached for. The default is 5 minutes (300 seconds). The Lambda function can override this by returning a `ttlOverride` key in its response. A value of 0 disables caching of responses. Minimum value of 0. Maximum value of 3600.

func (GraphQLApiLambdaAuthorizerConfigPtrOutput) AuthorizerUri added in v4.33.0

The ARN of the Lambda function to be called for authorization. Note: This Lambda function must have a resource-based policy assigned to it, to allow `lambda:InvokeFunction` from service principal `appsync.amazonaws.com`.

func (GraphQLApiLambdaAuthorizerConfigPtrOutput) Elem added in v4.33.0

func (GraphQLApiLambdaAuthorizerConfigPtrOutput) ElementType added in v4.33.0

func (GraphQLApiLambdaAuthorizerConfigPtrOutput) IdentityValidationExpression added in v4.33.0

func (o GraphQLApiLambdaAuthorizerConfigPtrOutput) IdentityValidationExpression() pulumi.StringPtrOutput

A regular expression for validation of tokens before the Lambda function is called.

func (GraphQLApiLambdaAuthorizerConfigPtrOutput) ToGraphQLApiLambdaAuthorizerConfigPtrOutput added in v4.33.0

func (o GraphQLApiLambdaAuthorizerConfigPtrOutput) ToGraphQLApiLambdaAuthorizerConfigPtrOutput() GraphQLApiLambdaAuthorizerConfigPtrOutput

func (GraphQLApiLambdaAuthorizerConfigPtrOutput) ToGraphQLApiLambdaAuthorizerConfigPtrOutputWithContext added in v4.33.0

func (o GraphQLApiLambdaAuthorizerConfigPtrOutput) ToGraphQLApiLambdaAuthorizerConfigPtrOutputWithContext(ctx context.Context) GraphQLApiLambdaAuthorizerConfigPtrOutput

type GraphQLApiLogConfig

type GraphQLApiLogConfig struct {
	// Amazon Resource Name of the service role that AWS AppSync will assume to publish to Amazon CloudWatch logs in your account.
	CloudwatchLogsRoleArn string `pulumi:"cloudwatchLogsRoleArn"`
	// Set to TRUE to exclude sections that contain information such as headers, context, and evaluated mapping templates, regardless of logging  level. Valid values: `true`, `false`. Default value: `false`
	ExcludeVerboseContent *bool `pulumi:"excludeVerboseContent"`
	// Field logging level. Valid values: `ALL`, `ERROR`, `NONE`.
	FieldLogLevel string `pulumi:"fieldLogLevel"`
}

type GraphQLApiLogConfigArgs

type GraphQLApiLogConfigArgs struct {
	// Amazon Resource Name of the service role that AWS AppSync will assume to publish to Amazon CloudWatch logs in your account.
	CloudwatchLogsRoleArn pulumi.StringInput `pulumi:"cloudwatchLogsRoleArn"`
	// Set to TRUE to exclude sections that contain information such as headers, context, and evaluated mapping templates, regardless of logging  level. Valid values: `true`, `false`. Default value: `false`
	ExcludeVerboseContent pulumi.BoolPtrInput `pulumi:"excludeVerboseContent"`
	// Field logging level. Valid values: `ALL`, `ERROR`, `NONE`.
	FieldLogLevel pulumi.StringInput `pulumi:"fieldLogLevel"`
}

func (GraphQLApiLogConfigArgs) ElementType

func (GraphQLApiLogConfigArgs) ElementType() reflect.Type

func (GraphQLApiLogConfigArgs) ToGraphQLApiLogConfigOutput

func (i GraphQLApiLogConfigArgs) ToGraphQLApiLogConfigOutput() GraphQLApiLogConfigOutput

func (GraphQLApiLogConfigArgs) ToGraphQLApiLogConfigOutputWithContext

func (i GraphQLApiLogConfigArgs) ToGraphQLApiLogConfigOutputWithContext(ctx context.Context) GraphQLApiLogConfigOutput

func (GraphQLApiLogConfigArgs) ToGraphQLApiLogConfigPtrOutput

func (i GraphQLApiLogConfigArgs) ToGraphQLApiLogConfigPtrOutput() GraphQLApiLogConfigPtrOutput

func (GraphQLApiLogConfigArgs) ToGraphQLApiLogConfigPtrOutputWithContext

func (i GraphQLApiLogConfigArgs) ToGraphQLApiLogConfigPtrOutputWithContext(ctx context.Context) GraphQLApiLogConfigPtrOutput

type GraphQLApiLogConfigInput

type GraphQLApiLogConfigInput interface {
	pulumi.Input

	ToGraphQLApiLogConfigOutput() GraphQLApiLogConfigOutput
	ToGraphQLApiLogConfigOutputWithContext(context.Context) GraphQLApiLogConfigOutput
}

GraphQLApiLogConfigInput is an input type that accepts GraphQLApiLogConfigArgs and GraphQLApiLogConfigOutput values. You can construct a concrete instance of `GraphQLApiLogConfigInput` via:

GraphQLApiLogConfigArgs{...}

type GraphQLApiLogConfigOutput

type GraphQLApiLogConfigOutput struct{ *pulumi.OutputState }

func (GraphQLApiLogConfigOutput) CloudwatchLogsRoleArn

func (o GraphQLApiLogConfigOutput) CloudwatchLogsRoleArn() pulumi.StringOutput

Amazon Resource Name of the service role that AWS AppSync will assume to publish to Amazon CloudWatch logs in your account.

func (GraphQLApiLogConfigOutput) ElementType

func (GraphQLApiLogConfigOutput) ElementType() reflect.Type

func (GraphQLApiLogConfigOutput) ExcludeVerboseContent

func (o GraphQLApiLogConfigOutput) ExcludeVerboseContent() pulumi.BoolPtrOutput

Set to TRUE to exclude sections that contain information such as headers, context, and evaluated mapping templates, regardless of logging level. Valid values: `true`, `false`. Default value: `false`

func (GraphQLApiLogConfigOutput) FieldLogLevel

func (o GraphQLApiLogConfigOutput) FieldLogLevel() pulumi.StringOutput

Field logging level. Valid values: `ALL`, `ERROR`, `NONE`.

func (GraphQLApiLogConfigOutput) ToGraphQLApiLogConfigOutput

func (o GraphQLApiLogConfigOutput) ToGraphQLApiLogConfigOutput() GraphQLApiLogConfigOutput

func (GraphQLApiLogConfigOutput) ToGraphQLApiLogConfigOutputWithContext

func (o GraphQLApiLogConfigOutput) ToGraphQLApiLogConfigOutputWithContext(ctx context.Context) GraphQLApiLogConfigOutput

func (GraphQLApiLogConfigOutput) ToGraphQLApiLogConfigPtrOutput

func (o GraphQLApiLogConfigOutput) ToGraphQLApiLogConfigPtrOutput() GraphQLApiLogConfigPtrOutput

func (GraphQLApiLogConfigOutput) ToGraphQLApiLogConfigPtrOutputWithContext

func (o GraphQLApiLogConfigOutput) ToGraphQLApiLogConfigPtrOutputWithContext(ctx context.Context) GraphQLApiLogConfigPtrOutput

type GraphQLApiLogConfigPtrInput

type GraphQLApiLogConfigPtrInput interface {
	pulumi.Input

	ToGraphQLApiLogConfigPtrOutput() GraphQLApiLogConfigPtrOutput
	ToGraphQLApiLogConfigPtrOutputWithContext(context.Context) GraphQLApiLogConfigPtrOutput
}

GraphQLApiLogConfigPtrInput is an input type that accepts GraphQLApiLogConfigArgs, GraphQLApiLogConfigPtr and GraphQLApiLogConfigPtrOutput values. You can construct a concrete instance of `GraphQLApiLogConfigPtrInput` via:

        GraphQLApiLogConfigArgs{...}

or:

        nil

type GraphQLApiLogConfigPtrOutput

type GraphQLApiLogConfigPtrOutput struct{ *pulumi.OutputState }

func (GraphQLApiLogConfigPtrOutput) CloudwatchLogsRoleArn

func (o GraphQLApiLogConfigPtrOutput) CloudwatchLogsRoleArn() pulumi.StringPtrOutput

Amazon Resource Name of the service role that AWS AppSync will assume to publish to Amazon CloudWatch logs in your account.

func (GraphQLApiLogConfigPtrOutput) Elem

func (GraphQLApiLogConfigPtrOutput) ElementType

func (GraphQLApiLogConfigPtrOutput) ExcludeVerboseContent

func (o GraphQLApiLogConfigPtrOutput) ExcludeVerboseContent() pulumi.BoolPtrOutput

Set to TRUE to exclude sections that contain information such as headers, context, and evaluated mapping templates, regardless of logging level. Valid values: `true`, `false`. Default value: `false`

func (GraphQLApiLogConfigPtrOutput) FieldLogLevel

Field logging level. Valid values: `ALL`, `ERROR`, `NONE`.

func (GraphQLApiLogConfigPtrOutput) ToGraphQLApiLogConfigPtrOutput

func (o GraphQLApiLogConfigPtrOutput) ToGraphQLApiLogConfigPtrOutput() GraphQLApiLogConfigPtrOutput

func (GraphQLApiLogConfigPtrOutput) ToGraphQLApiLogConfigPtrOutputWithContext

func (o GraphQLApiLogConfigPtrOutput) ToGraphQLApiLogConfigPtrOutputWithContext(ctx context.Context) GraphQLApiLogConfigPtrOutput

type GraphQLApiMap

type GraphQLApiMap map[string]GraphQLApiInput

func (GraphQLApiMap) ElementType

func (GraphQLApiMap) ElementType() reflect.Type

func (GraphQLApiMap) ToGraphQLApiMapOutput

func (i GraphQLApiMap) ToGraphQLApiMapOutput() GraphQLApiMapOutput

func (GraphQLApiMap) ToGraphQLApiMapOutputWithContext

func (i GraphQLApiMap) ToGraphQLApiMapOutputWithContext(ctx context.Context) GraphQLApiMapOutput

type GraphQLApiMapInput

type GraphQLApiMapInput interface {
	pulumi.Input

	ToGraphQLApiMapOutput() GraphQLApiMapOutput
	ToGraphQLApiMapOutputWithContext(context.Context) GraphQLApiMapOutput
}

GraphQLApiMapInput is an input type that accepts GraphQLApiMap and GraphQLApiMapOutput values. You can construct a concrete instance of `GraphQLApiMapInput` via:

GraphQLApiMap{ "key": GraphQLApiArgs{...} }

type GraphQLApiMapOutput

type GraphQLApiMapOutput struct{ *pulumi.OutputState }

func (GraphQLApiMapOutput) ElementType

func (GraphQLApiMapOutput) ElementType() reflect.Type

func (GraphQLApiMapOutput) MapIndex

func (GraphQLApiMapOutput) ToGraphQLApiMapOutput

func (o GraphQLApiMapOutput) ToGraphQLApiMapOutput() GraphQLApiMapOutput

func (GraphQLApiMapOutput) ToGraphQLApiMapOutputWithContext

func (o GraphQLApiMapOutput) ToGraphQLApiMapOutputWithContext(ctx context.Context) GraphQLApiMapOutput

type GraphQLApiOpenidConnectConfig

type GraphQLApiOpenidConnectConfig struct {
	// Number of milliseconds a token is valid after being authenticated.
	AuthTtl *int `pulumi:"authTtl"`
	// Client identifier of the Relying party at the OpenID identity provider. This identifier is typically obtained when the Relying party is registered with the OpenID identity provider. You can specify a regular expression so the AWS AppSync can validate against multiple client identifiers at a time.
	ClientId *string `pulumi:"clientId"`
	// Number of milliseconds a token is valid after being issued to a user.
	IatTtl *int `pulumi:"iatTtl"`
	// Issuer for the OpenID Connect configuration. The issuer returned by discovery MUST exactly match the value of iss in the ID Token.
	Issuer string `pulumi:"issuer"`
}

type GraphQLApiOpenidConnectConfigArgs

type GraphQLApiOpenidConnectConfigArgs struct {
	// Number of milliseconds a token is valid after being authenticated.
	AuthTtl pulumi.IntPtrInput `pulumi:"authTtl"`
	// Client identifier of the Relying party at the OpenID identity provider. This identifier is typically obtained when the Relying party is registered with the OpenID identity provider. You can specify a regular expression so the AWS AppSync can validate against multiple client identifiers at a time.
	ClientId pulumi.StringPtrInput `pulumi:"clientId"`
	// Number of milliseconds a token is valid after being issued to a user.
	IatTtl pulumi.IntPtrInput `pulumi:"iatTtl"`
	// Issuer for the OpenID Connect configuration. The issuer returned by discovery MUST exactly match the value of iss in the ID Token.
	Issuer pulumi.StringInput `pulumi:"issuer"`
}

func (GraphQLApiOpenidConnectConfigArgs) ElementType

func (GraphQLApiOpenidConnectConfigArgs) ToGraphQLApiOpenidConnectConfigOutput

func (i GraphQLApiOpenidConnectConfigArgs) ToGraphQLApiOpenidConnectConfigOutput() GraphQLApiOpenidConnectConfigOutput

func (GraphQLApiOpenidConnectConfigArgs) ToGraphQLApiOpenidConnectConfigOutputWithContext

func (i GraphQLApiOpenidConnectConfigArgs) ToGraphQLApiOpenidConnectConfigOutputWithContext(ctx context.Context) GraphQLApiOpenidConnectConfigOutput

func (GraphQLApiOpenidConnectConfigArgs) ToGraphQLApiOpenidConnectConfigPtrOutput

func (i GraphQLApiOpenidConnectConfigArgs) ToGraphQLApiOpenidConnectConfigPtrOutput() GraphQLApiOpenidConnectConfigPtrOutput

func (GraphQLApiOpenidConnectConfigArgs) ToGraphQLApiOpenidConnectConfigPtrOutputWithContext

func (i GraphQLApiOpenidConnectConfigArgs) ToGraphQLApiOpenidConnectConfigPtrOutputWithContext(ctx context.Context) GraphQLApiOpenidConnectConfigPtrOutput

type GraphQLApiOpenidConnectConfigInput

type GraphQLApiOpenidConnectConfigInput interface {
	pulumi.Input

	ToGraphQLApiOpenidConnectConfigOutput() GraphQLApiOpenidConnectConfigOutput
	ToGraphQLApiOpenidConnectConfigOutputWithContext(context.Context) GraphQLApiOpenidConnectConfigOutput
}

GraphQLApiOpenidConnectConfigInput is an input type that accepts GraphQLApiOpenidConnectConfigArgs and GraphQLApiOpenidConnectConfigOutput values. You can construct a concrete instance of `GraphQLApiOpenidConnectConfigInput` via:

GraphQLApiOpenidConnectConfigArgs{...}

type GraphQLApiOpenidConnectConfigOutput

type GraphQLApiOpenidConnectConfigOutput struct{ *pulumi.OutputState }

func (GraphQLApiOpenidConnectConfigOutput) AuthTtl

Number of milliseconds a token is valid after being authenticated.

func (GraphQLApiOpenidConnectConfigOutput) ClientId

Client identifier of the Relying party at the OpenID identity provider. This identifier is typically obtained when the Relying party is registered with the OpenID identity provider. You can specify a regular expression so the AWS AppSync can validate against multiple client identifiers at a time.

func (GraphQLApiOpenidConnectConfigOutput) ElementType

func (GraphQLApiOpenidConnectConfigOutput) IatTtl

Number of milliseconds a token is valid after being issued to a user.

func (GraphQLApiOpenidConnectConfigOutput) Issuer

Issuer for the OpenID Connect configuration. The issuer returned by discovery MUST exactly match the value of iss in the ID Token.

func (GraphQLApiOpenidConnectConfigOutput) ToGraphQLApiOpenidConnectConfigOutput

func (o GraphQLApiOpenidConnectConfigOutput) ToGraphQLApiOpenidConnectConfigOutput() GraphQLApiOpenidConnectConfigOutput

func (GraphQLApiOpenidConnectConfigOutput) ToGraphQLApiOpenidConnectConfigOutputWithContext

func (o GraphQLApiOpenidConnectConfigOutput) ToGraphQLApiOpenidConnectConfigOutputWithContext(ctx context.Context) GraphQLApiOpenidConnectConfigOutput

func (GraphQLApiOpenidConnectConfigOutput) ToGraphQLApiOpenidConnectConfigPtrOutput

func (o GraphQLApiOpenidConnectConfigOutput) ToGraphQLApiOpenidConnectConfigPtrOutput() GraphQLApiOpenidConnectConfigPtrOutput

func (GraphQLApiOpenidConnectConfigOutput) ToGraphQLApiOpenidConnectConfigPtrOutputWithContext

func (o GraphQLApiOpenidConnectConfigOutput) ToGraphQLApiOpenidConnectConfigPtrOutputWithContext(ctx context.Context) GraphQLApiOpenidConnectConfigPtrOutput

type GraphQLApiOpenidConnectConfigPtrInput

type GraphQLApiOpenidConnectConfigPtrInput interface {
	pulumi.Input

	ToGraphQLApiOpenidConnectConfigPtrOutput() GraphQLApiOpenidConnectConfigPtrOutput
	ToGraphQLApiOpenidConnectConfigPtrOutputWithContext(context.Context) GraphQLApiOpenidConnectConfigPtrOutput
}

GraphQLApiOpenidConnectConfigPtrInput is an input type that accepts GraphQLApiOpenidConnectConfigArgs, GraphQLApiOpenidConnectConfigPtr and GraphQLApiOpenidConnectConfigPtrOutput values. You can construct a concrete instance of `GraphQLApiOpenidConnectConfigPtrInput` via:

        GraphQLApiOpenidConnectConfigArgs{...}

or:

        nil

type GraphQLApiOpenidConnectConfigPtrOutput

type GraphQLApiOpenidConnectConfigPtrOutput struct{ *pulumi.OutputState }

func (GraphQLApiOpenidConnectConfigPtrOutput) AuthTtl

Number of milliseconds a token is valid after being authenticated.

func (GraphQLApiOpenidConnectConfigPtrOutput) ClientId

Client identifier of the Relying party at the OpenID identity provider. This identifier is typically obtained when the Relying party is registered with the OpenID identity provider. You can specify a regular expression so the AWS AppSync can validate against multiple client identifiers at a time.

func (GraphQLApiOpenidConnectConfigPtrOutput) Elem

func (GraphQLApiOpenidConnectConfigPtrOutput) ElementType

func (GraphQLApiOpenidConnectConfigPtrOutput) IatTtl

Number of milliseconds a token is valid after being issued to a user.

func (GraphQLApiOpenidConnectConfigPtrOutput) Issuer

Issuer for the OpenID Connect configuration. The issuer returned by discovery MUST exactly match the value of iss in the ID Token.

func (GraphQLApiOpenidConnectConfigPtrOutput) ToGraphQLApiOpenidConnectConfigPtrOutput

func (o GraphQLApiOpenidConnectConfigPtrOutput) ToGraphQLApiOpenidConnectConfigPtrOutput() GraphQLApiOpenidConnectConfigPtrOutput

func (GraphQLApiOpenidConnectConfigPtrOutput) ToGraphQLApiOpenidConnectConfigPtrOutputWithContext

func (o GraphQLApiOpenidConnectConfigPtrOutput) ToGraphQLApiOpenidConnectConfigPtrOutputWithContext(ctx context.Context) GraphQLApiOpenidConnectConfigPtrOutput

type GraphQLApiOutput

type GraphQLApiOutput struct{ *pulumi.OutputState }

func (GraphQLApiOutput) ElementType

func (GraphQLApiOutput) ElementType() reflect.Type

func (GraphQLApiOutput) ToGraphQLApiOutput

func (o GraphQLApiOutput) ToGraphQLApiOutput() GraphQLApiOutput

func (GraphQLApiOutput) ToGraphQLApiOutputWithContext

func (o GraphQLApiOutput) ToGraphQLApiOutputWithContext(ctx context.Context) GraphQLApiOutput

func (GraphQLApiOutput) ToGraphQLApiPtrOutput

func (o GraphQLApiOutput) ToGraphQLApiPtrOutput() GraphQLApiPtrOutput

func (GraphQLApiOutput) ToGraphQLApiPtrOutputWithContext

func (o GraphQLApiOutput) ToGraphQLApiPtrOutputWithContext(ctx context.Context) GraphQLApiPtrOutput

type GraphQLApiPtrInput

type GraphQLApiPtrInput interface {
	pulumi.Input

	ToGraphQLApiPtrOutput() GraphQLApiPtrOutput
	ToGraphQLApiPtrOutputWithContext(ctx context.Context) GraphQLApiPtrOutput
}

type GraphQLApiPtrOutput

type GraphQLApiPtrOutput struct{ *pulumi.OutputState }

func (GraphQLApiPtrOutput) Elem added in v4.15.0

func (GraphQLApiPtrOutput) ElementType

func (GraphQLApiPtrOutput) ElementType() reflect.Type

func (GraphQLApiPtrOutput) ToGraphQLApiPtrOutput

func (o GraphQLApiPtrOutput) ToGraphQLApiPtrOutput() GraphQLApiPtrOutput

func (GraphQLApiPtrOutput) ToGraphQLApiPtrOutputWithContext

func (o GraphQLApiPtrOutput) ToGraphQLApiPtrOutputWithContext(ctx context.Context) GraphQLApiPtrOutput

type GraphQLApiState

type GraphQLApiState struct {
	// One or more additional authentication providers for the GraphqlApi. Defined below.
	AdditionalAuthenticationProviders GraphQLApiAdditionalAuthenticationProviderArrayInput
	// The ARN
	Arn pulumi.StringPtrInput
	// The authentication type. Valid values: `API_KEY`, `AWS_IAM`, `AMAZON_COGNITO_USER_POOLS`, `OPENID_CONNECT`, `AWS_LAMBDA`
	AuthenticationType pulumi.StringPtrInput
	// Nested argument containing Lambda authorizer configuration. Defined below.
	LambdaAuthorizerConfig GraphQLApiLambdaAuthorizerConfigPtrInput
	// Nested argument containing logging configuration. Defined below.
	LogConfig GraphQLApiLogConfigPtrInput
	// A user-supplied name for the GraphqlApi.
	Name pulumi.StringPtrInput
	// Nested argument containing OpenID Connect configuration. Defined below.
	OpenidConnectConfig GraphQLApiOpenidConnectConfigPtrInput
	// The schema definition, in GraphQL schema language format. This provider cannot perform drift detection of this configuration.
	Schema pulumi.StringPtrInput
	// A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	TagsAll pulumi.StringMapInput
	// Map of URIs associated with the APIE.g., `uris["GRAPHQL"] = https://ID.appsync-api.REGION.amazonaws.com/graphql`
	Uris pulumi.StringMapInput
	// The Amazon Cognito User Pool configuration. Defined below.
	UserPoolConfig GraphQLApiUserPoolConfigPtrInput
	// Whether tracing with X-ray is enabled. Defaults to false.
	XrayEnabled pulumi.BoolPtrInput
}

func (GraphQLApiState) ElementType

func (GraphQLApiState) ElementType() reflect.Type

type GraphQLApiUserPoolConfig

type GraphQLApiUserPoolConfig struct {
	// A regular expression for validating the incoming Amazon Cognito User Pool app client ID.
	AppIdClientRegex *string `pulumi:"appIdClientRegex"`
	// The AWS region in which the user pool was created.
	AwsRegion *string `pulumi:"awsRegion"`
	// The action that you want your GraphQL API to take when a request that uses Amazon Cognito User Pool authentication doesn't match the Amazon Cognito User Pool configuration. Valid: `ALLOW` and `DENY`
	DefaultAction string `pulumi:"defaultAction"`
	// The user pool ID.
	UserPoolId string `pulumi:"userPoolId"`
}

type GraphQLApiUserPoolConfigArgs

type GraphQLApiUserPoolConfigArgs struct {
	// A regular expression for validating the incoming Amazon Cognito User Pool app client ID.
	AppIdClientRegex pulumi.StringPtrInput `pulumi:"appIdClientRegex"`
	// The AWS region in which the user pool was created.
	AwsRegion pulumi.StringPtrInput `pulumi:"awsRegion"`
	// The action that you want your GraphQL API to take when a request that uses Amazon Cognito User Pool authentication doesn't match the Amazon Cognito User Pool configuration. Valid: `ALLOW` and `DENY`
	DefaultAction pulumi.StringInput `pulumi:"defaultAction"`
	// The user pool ID.
	UserPoolId pulumi.StringInput `pulumi:"userPoolId"`
}

func (GraphQLApiUserPoolConfigArgs) ElementType

func (GraphQLApiUserPoolConfigArgs) ToGraphQLApiUserPoolConfigOutput

func (i GraphQLApiUserPoolConfigArgs) ToGraphQLApiUserPoolConfigOutput() GraphQLApiUserPoolConfigOutput

func (GraphQLApiUserPoolConfigArgs) ToGraphQLApiUserPoolConfigOutputWithContext

func (i GraphQLApiUserPoolConfigArgs) ToGraphQLApiUserPoolConfigOutputWithContext(ctx context.Context) GraphQLApiUserPoolConfigOutput

func (GraphQLApiUserPoolConfigArgs) ToGraphQLApiUserPoolConfigPtrOutput

func (i GraphQLApiUserPoolConfigArgs) ToGraphQLApiUserPoolConfigPtrOutput() GraphQLApiUserPoolConfigPtrOutput

func (GraphQLApiUserPoolConfigArgs) ToGraphQLApiUserPoolConfigPtrOutputWithContext

func (i GraphQLApiUserPoolConfigArgs) ToGraphQLApiUserPoolConfigPtrOutputWithContext(ctx context.Context) GraphQLApiUserPoolConfigPtrOutput

type GraphQLApiUserPoolConfigInput

type GraphQLApiUserPoolConfigInput interface {
	pulumi.Input

	ToGraphQLApiUserPoolConfigOutput() GraphQLApiUserPoolConfigOutput
	ToGraphQLApiUserPoolConfigOutputWithContext(context.Context) GraphQLApiUserPoolConfigOutput
}

GraphQLApiUserPoolConfigInput is an input type that accepts GraphQLApiUserPoolConfigArgs and GraphQLApiUserPoolConfigOutput values. You can construct a concrete instance of `GraphQLApiUserPoolConfigInput` via:

GraphQLApiUserPoolConfigArgs{...}

type GraphQLApiUserPoolConfigOutput

type GraphQLApiUserPoolConfigOutput struct{ *pulumi.OutputState }

func (GraphQLApiUserPoolConfigOutput) AppIdClientRegex

A regular expression for validating the incoming Amazon Cognito User Pool app client ID.

func (GraphQLApiUserPoolConfigOutput) AwsRegion

The AWS region in which the user pool was created.

func (GraphQLApiUserPoolConfigOutput) DefaultAction

The action that you want your GraphQL API to take when a request that uses Amazon Cognito User Pool authentication doesn't match the Amazon Cognito User Pool configuration. Valid: `ALLOW` and `DENY`

func (GraphQLApiUserPoolConfigOutput) ElementType

func (GraphQLApiUserPoolConfigOutput) ToGraphQLApiUserPoolConfigOutput

func (o GraphQLApiUserPoolConfigOutput) ToGraphQLApiUserPoolConfigOutput() GraphQLApiUserPoolConfigOutput

func (GraphQLApiUserPoolConfigOutput) ToGraphQLApiUserPoolConfigOutputWithContext

func (o GraphQLApiUserPoolConfigOutput) ToGraphQLApiUserPoolConfigOutputWithContext(ctx context.Context) GraphQLApiUserPoolConfigOutput

func (GraphQLApiUserPoolConfigOutput) ToGraphQLApiUserPoolConfigPtrOutput

func (o GraphQLApiUserPoolConfigOutput) ToGraphQLApiUserPoolConfigPtrOutput() GraphQLApiUserPoolConfigPtrOutput

func (GraphQLApiUserPoolConfigOutput) ToGraphQLApiUserPoolConfigPtrOutputWithContext

func (o GraphQLApiUserPoolConfigOutput) ToGraphQLApiUserPoolConfigPtrOutputWithContext(ctx context.Context) GraphQLApiUserPoolConfigPtrOutput

func (GraphQLApiUserPoolConfigOutput) UserPoolId

The user pool ID.

type GraphQLApiUserPoolConfigPtrInput

type GraphQLApiUserPoolConfigPtrInput interface {
	pulumi.Input

	ToGraphQLApiUserPoolConfigPtrOutput() GraphQLApiUserPoolConfigPtrOutput
	ToGraphQLApiUserPoolConfigPtrOutputWithContext(context.Context) GraphQLApiUserPoolConfigPtrOutput
}

GraphQLApiUserPoolConfigPtrInput is an input type that accepts GraphQLApiUserPoolConfigArgs, GraphQLApiUserPoolConfigPtr and GraphQLApiUserPoolConfigPtrOutput values. You can construct a concrete instance of `GraphQLApiUserPoolConfigPtrInput` via:

        GraphQLApiUserPoolConfigArgs{...}

or:

        nil

type GraphQLApiUserPoolConfigPtrOutput

type GraphQLApiUserPoolConfigPtrOutput struct{ *pulumi.OutputState }

func (GraphQLApiUserPoolConfigPtrOutput) AppIdClientRegex

A regular expression for validating the incoming Amazon Cognito User Pool app client ID.

func (GraphQLApiUserPoolConfigPtrOutput) AwsRegion

The AWS region in which the user pool was created.

func (GraphQLApiUserPoolConfigPtrOutput) DefaultAction

The action that you want your GraphQL API to take when a request that uses Amazon Cognito User Pool authentication doesn't match the Amazon Cognito User Pool configuration. Valid: `ALLOW` and `DENY`

func (GraphQLApiUserPoolConfigPtrOutput) Elem

func (GraphQLApiUserPoolConfigPtrOutput) ElementType

func (GraphQLApiUserPoolConfigPtrOutput) ToGraphQLApiUserPoolConfigPtrOutput

func (o GraphQLApiUserPoolConfigPtrOutput) ToGraphQLApiUserPoolConfigPtrOutput() GraphQLApiUserPoolConfigPtrOutput

func (GraphQLApiUserPoolConfigPtrOutput) ToGraphQLApiUserPoolConfigPtrOutputWithContext

func (o GraphQLApiUserPoolConfigPtrOutput) ToGraphQLApiUserPoolConfigPtrOutputWithContext(ctx context.Context) GraphQLApiUserPoolConfigPtrOutput

func (GraphQLApiUserPoolConfigPtrOutput) UserPoolId

The user pool ID.

type Resolver

type Resolver struct {
	pulumi.CustomResourceState

	// The API ID for the GraphQL API.
	ApiId pulumi.StringOutput `pulumi:"apiId"`
	// The ARN
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The CachingConfig.
	CachingConfig ResolverCachingConfigPtrOutput `pulumi:"cachingConfig"`
	// The DataSource name.
	DataSource pulumi.StringPtrOutput `pulumi:"dataSource"`
	// The field name from the schema defined in the GraphQL API.
	Field pulumi.StringOutput `pulumi:"field"`
	// The resolver type. Valid values are `UNIT` and `PIPELINE`.
	Kind pulumi.StringPtrOutput `pulumi:"kind"`
	// The maximum batching size for a resolver. Valid values are between `0` and `2000`.
	MaxBatchSize pulumi.IntPtrOutput `pulumi:"maxBatchSize"`
	// The PipelineConfig.
	PipelineConfig ResolverPipelineConfigPtrOutput `pulumi:"pipelineConfig"`
	// The request mapping template for UNIT resolver or 'before mapping template' for PIPELINE resolver. Required for non-Lambda resolvers.
	RequestTemplate pulumi.StringPtrOutput `pulumi:"requestTemplate"`
	// The response mapping template for UNIT resolver or 'after mapping template' for PIPELINE resolver. Required for non-Lambda resolvers.
	ResponseTemplate pulumi.StringPtrOutput `pulumi:"responseTemplate"`
	// Describes a Sync configuration for a resolver. See Sync Config.
	SyncConfig ResolverSyncConfigPtrOutput `pulumi:"syncConfig"`
	// The type name from the schema defined in the GraphQL API.
	Type pulumi.StringOutput `pulumi:"type"`
}

Provides an AppSync Resolver.

## Example Usage

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/appsync"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		testGraphQLApi, err := appsync.NewGraphQLApi(ctx, "testGraphQLApi", &appsync.GraphQLApiArgs{
			AuthenticationType: pulumi.String("API_KEY"),
			Schema: pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v", "type Mutation {\n", "	putPost(id: ID!, title: String!): Post\n", "}\n", "\n", "type Post {\n", "	id: ID!\n", "	title: String!\n", "}\n", "\n", "type Query {\n", "	singlePost(id: ID!): Post\n", "}\n", "\n", "schema {\n", "	query: Query\n", "	mutation: Mutation\n", "}\n")),
		})
		if err != nil {
			return err
		}
		testDataSource, err := appsync.NewDataSource(ctx, "testDataSource", &appsync.DataSourceArgs{
			ApiId: testGraphQLApi.ID(),
			Name:  pulumi.String("tf_example"),
			Type:  pulumi.String("HTTP"),
			HttpConfig: &appsync.DataSourceHttpConfigArgs{
				Endpoint: pulumi.String("http://example.com"),
			},
		})
		if err != nil {
			return err
		}
		_, err = appsync.NewResolver(ctx, "testResolver", &appsync.ResolverArgs{
			ApiId:            testGraphQLApi.ID(),
			Field:            pulumi.String("singlePost"),
			Type:             pulumi.String("Query"),
			DataSource:       testDataSource.Name,
			RequestTemplate:  pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v", "{\n", "    \"version\": \"2018-05-29\",\n", "    \"method\": \"GET\",\n", "    \"resourcePath\": \"/\",\n", "    \"params\":{\n", "        \"headers\": ", "$", "utils.http.copyheaders(", "$", "ctx.request.headers)\n", "    }\n", "}\n")),
			ResponseTemplate: pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v", "#if(", "$", "ctx.result.statusCode == 200)\n", "    ", "$", "ctx.result.body\n", "#else\n", "    ", "$", "utils.appendError(", "$", "ctx.result.body, ", "$", "ctx.result.statusCode)\n", "#end\n")),
			CachingConfig: &appsync.ResolverCachingConfigArgs{
				CachingKeys: pulumi.StringArray{
					pulumi.String(fmt.Sprintf("%v%v", "$", "context.identity.sub")),
					pulumi.String(fmt.Sprintf("%v%v", "$", "context.arguments.id")),
				},
				Ttl: pulumi.Int(60),
			},
		})
		if err != nil {
			return err
		}
		_, err = appsync.NewResolver(ctx, "mutationPipelineTest", &appsync.ResolverArgs{
			Type:             pulumi.String("Mutation"),
			ApiId:            testGraphQLApi.ID(),
			Field:            pulumi.String("pipelineTest"),
			RequestTemplate:  pulumi.String("{}"),
			ResponseTemplate: pulumi.String(fmt.Sprintf("%v%v%v%v", "$", "util.toJson(", "$", "ctx.result)")),
			Kind:             pulumi.String("PIPELINE"),
			PipelineConfig: &appsync.ResolverPipelineConfigArgs{
				Functions: pulumi.StringArray{
					pulumi.Any(aws_appsync_function.Test1.Function_id),
					pulumi.Any(aws_appsync_function.Test2.Function_id),
					pulumi.Any(aws_appsync_function.Test3.Function_id),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

`aws_appsync_resolver` can be imported with their `api_id`, a hyphen, `type`, a hypen and `field` e.g.,

```sh

$ pulumi import aws:appsync/resolver:Resolver example abcdef123456-exampleType-exampleField

```

func GetResolver

func GetResolver(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ResolverState, opts ...pulumi.ResourceOption) (*Resolver, error)

GetResolver gets an existing Resolver 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 NewResolver

func NewResolver(ctx *pulumi.Context,
	name string, args *ResolverArgs, opts ...pulumi.ResourceOption) (*Resolver, error)

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

func (*Resolver) ElementType

func (*Resolver) ElementType() reflect.Type

func (*Resolver) ToResolverOutput

func (i *Resolver) ToResolverOutput() ResolverOutput

func (*Resolver) ToResolverOutputWithContext

func (i *Resolver) ToResolverOutputWithContext(ctx context.Context) ResolverOutput

func (*Resolver) ToResolverPtrOutput

func (i *Resolver) ToResolverPtrOutput() ResolverPtrOutput

func (*Resolver) ToResolverPtrOutputWithContext

func (i *Resolver) ToResolverPtrOutputWithContext(ctx context.Context) ResolverPtrOutput

type ResolverArgs

type ResolverArgs struct {
	// The API ID for the GraphQL API.
	ApiId pulumi.StringInput
	// The CachingConfig.
	CachingConfig ResolverCachingConfigPtrInput
	// The DataSource name.
	DataSource pulumi.StringPtrInput
	// The field name from the schema defined in the GraphQL API.
	Field pulumi.StringInput
	// The resolver type. Valid values are `UNIT` and `PIPELINE`.
	Kind pulumi.StringPtrInput
	// The maximum batching size for a resolver. Valid values are between `0` and `2000`.
	MaxBatchSize pulumi.IntPtrInput
	// The PipelineConfig.
	PipelineConfig ResolverPipelineConfigPtrInput
	// The request mapping template for UNIT resolver or 'before mapping template' for PIPELINE resolver. Required for non-Lambda resolvers.
	RequestTemplate pulumi.StringPtrInput
	// The response mapping template for UNIT resolver or 'after mapping template' for PIPELINE resolver. Required for non-Lambda resolvers.
	ResponseTemplate pulumi.StringPtrInput
	// Describes a Sync configuration for a resolver. See Sync Config.
	SyncConfig ResolverSyncConfigPtrInput
	// The type name from the schema defined in the GraphQL API.
	Type pulumi.StringInput
}

The set of arguments for constructing a Resolver resource.

func (ResolverArgs) ElementType

func (ResolverArgs) ElementType() reflect.Type

type ResolverArray

type ResolverArray []ResolverInput

func (ResolverArray) ElementType

func (ResolverArray) ElementType() reflect.Type

func (ResolverArray) ToResolverArrayOutput

func (i ResolverArray) ToResolverArrayOutput() ResolverArrayOutput

func (ResolverArray) ToResolverArrayOutputWithContext

func (i ResolverArray) ToResolverArrayOutputWithContext(ctx context.Context) ResolverArrayOutput

type ResolverArrayInput

type ResolverArrayInput interface {
	pulumi.Input

	ToResolverArrayOutput() ResolverArrayOutput
	ToResolverArrayOutputWithContext(context.Context) ResolverArrayOutput
}

ResolverArrayInput is an input type that accepts ResolverArray and ResolverArrayOutput values. You can construct a concrete instance of `ResolverArrayInput` via:

ResolverArray{ ResolverArgs{...} }

type ResolverArrayOutput

type ResolverArrayOutput struct{ *pulumi.OutputState }

func (ResolverArrayOutput) ElementType

func (ResolverArrayOutput) ElementType() reflect.Type

func (ResolverArrayOutput) Index

func (ResolverArrayOutput) ToResolverArrayOutput

func (o ResolverArrayOutput) ToResolverArrayOutput() ResolverArrayOutput

func (ResolverArrayOutput) ToResolverArrayOutputWithContext

func (o ResolverArrayOutput) ToResolverArrayOutputWithContext(ctx context.Context) ResolverArrayOutput

type ResolverCachingConfig

type ResolverCachingConfig struct {
	// The list of caching key.
	CachingKeys []string `pulumi:"cachingKeys"`
	// The TTL in seconds.
	Ttl *int `pulumi:"ttl"`
}

type ResolverCachingConfigArgs

type ResolverCachingConfigArgs struct {
	// The list of caching key.
	CachingKeys pulumi.StringArrayInput `pulumi:"cachingKeys"`
	// The TTL in seconds.
	Ttl pulumi.IntPtrInput `pulumi:"ttl"`
}

func (ResolverCachingConfigArgs) ElementType

func (ResolverCachingConfigArgs) ElementType() reflect.Type

func (ResolverCachingConfigArgs) ToResolverCachingConfigOutput

func (i ResolverCachingConfigArgs) ToResolverCachingConfigOutput() ResolverCachingConfigOutput

func (ResolverCachingConfigArgs) ToResolverCachingConfigOutputWithContext

func (i ResolverCachingConfigArgs) ToResolverCachingConfigOutputWithContext(ctx context.Context) ResolverCachingConfigOutput

func (ResolverCachingConfigArgs) ToResolverCachingConfigPtrOutput

func (i ResolverCachingConfigArgs) ToResolverCachingConfigPtrOutput() ResolverCachingConfigPtrOutput

func (ResolverCachingConfigArgs) ToResolverCachingConfigPtrOutputWithContext

func (i ResolverCachingConfigArgs) ToResolverCachingConfigPtrOutputWithContext(ctx context.Context) ResolverCachingConfigPtrOutput

type ResolverCachingConfigInput

type ResolverCachingConfigInput interface {
	pulumi.Input

	ToResolverCachingConfigOutput() ResolverCachingConfigOutput
	ToResolverCachingConfigOutputWithContext(context.Context) ResolverCachingConfigOutput
}

ResolverCachingConfigInput is an input type that accepts ResolverCachingConfigArgs and ResolverCachingConfigOutput values. You can construct a concrete instance of `ResolverCachingConfigInput` via:

ResolverCachingConfigArgs{...}

type ResolverCachingConfigOutput

type ResolverCachingConfigOutput struct{ *pulumi.OutputState }

func (ResolverCachingConfigOutput) CachingKeys

The list of caching key.

func (ResolverCachingConfigOutput) ElementType

func (ResolverCachingConfigOutput) ToResolverCachingConfigOutput

func (o ResolverCachingConfigOutput) ToResolverCachingConfigOutput() ResolverCachingConfigOutput

func (ResolverCachingConfigOutput) ToResolverCachingConfigOutputWithContext

func (o ResolverCachingConfigOutput) ToResolverCachingConfigOutputWithContext(ctx context.Context) ResolverCachingConfigOutput

func (ResolverCachingConfigOutput) ToResolverCachingConfigPtrOutput

func (o ResolverCachingConfigOutput) ToResolverCachingConfigPtrOutput() ResolverCachingConfigPtrOutput

func (ResolverCachingConfigOutput) ToResolverCachingConfigPtrOutputWithContext

func (o ResolverCachingConfigOutput) ToResolverCachingConfigPtrOutputWithContext(ctx context.Context) ResolverCachingConfigPtrOutput

func (ResolverCachingConfigOutput) Ttl

The TTL in seconds.

type ResolverCachingConfigPtrInput

type ResolverCachingConfigPtrInput interface {
	pulumi.Input

	ToResolverCachingConfigPtrOutput() ResolverCachingConfigPtrOutput
	ToResolverCachingConfigPtrOutputWithContext(context.Context) ResolverCachingConfigPtrOutput
}

ResolverCachingConfigPtrInput is an input type that accepts ResolverCachingConfigArgs, ResolverCachingConfigPtr and ResolverCachingConfigPtrOutput values. You can construct a concrete instance of `ResolverCachingConfigPtrInput` via:

        ResolverCachingConfigArgs{...}

or:

        nil

type ResolverCachingConfigPtrOutput

type ResolverCachingConfigPtrOutput struct{ *pulumi.OutputState }

func (ResolverCachingConfigPtrOutput) CachingKeys

The list of caching key.

func (ResolverCachingConfigPtrOutput) Elem

func (ResolverCachingConfigPtrOutput) ElementType

func (ResolverCachingConfigPtrOutput) ToResolverCachingConfigPtrOutput

func (o ResolverCachingConfigPtrOutput) ToResolverCachingConfigPtrOutput() ResolverCachingConfigPtrOutput

func (ResolverCachingConfigPtrOutput) ToResolverCachingConfigPtrOutputWithContext

func (o ResolverCachingConfigPtrOutput) ToResolverCachingConfigPtrOutputWithContext(ctx context.Context) ResolverCachingConfigPtrOutput

func (ResolverCachingConfigPtrOutput) Ttl

The TTL in seconds.

type ResolverInput

type ResolverInput interface {
	pulumi.Input

	ToResolverOutput() ResolverOutput
	ToResolverOutputWithContext(ctx context.Context) ResolverOutput
}

type ResolverMap

type ResolverMap map[string]ResolverInput

func (ResolverMap) ElementType

func (ResolverMap) ElementType() reflect.Type

func (ResolverMap) ToResolverMapOutput

func (i ResolverMap) ToResolverMapOutput() ResolverMapOutput

func (ResolverMap) ToResolverMapOutputWithContext

func (i ResolverMap) ToResolverMapOutputWithContext(ctx context.Context) ResolverMapOutput

type ResolverMapInput

type ResolverMapInput interface {
	pulumi.Input

	ToResolverMapOutput() ResolverMapOutput
	ToResolverMapOutputWithContext(context.Context) ResolverMapOutput
}

ResolverMapInput is an input type that accepts ResolverMap and ResolverMapOutput values. You can construct a concrete instance of `ResolverMapInput` via:

ResolverMap{ "key": ResolverArgs{...} }

type ResolverMapOutput

type ResolverMapOutput struct{ *pulumi.OutputState }

func (ResolverMapOutput) ElementType

func (ResolverMapOutput) ElementType() reflect.Type

func (ResolverMapOutput) MapIndex

func (ResolverMapOutput) ToResolverMapOutput

func (o ResolverMapOutput) ToResolverMapOutput() ResolverMapOutput

func (ResolverMapOutput) ToResolverMapOutputWithContext

func (o ResolverMapOutput) ToResolverMapOutputWithContext(ctx context.Context) ResolverMapOutput

type ResolverOutput

type ResolverOutput struct{ *pulumi.OutputState }

func (ResolverOutput) ElementType

func (ResolverOutput) ElementType() reflect.Type

func (ResolverOutput) ToResolverOutput

func (o ResolverOutput) ToResolverOutput() ResolverOutput

func (ResolverOutput) ToResolverOutputWithContext

func (o ResolverOutput) ToResolverOutputWithContext(ctx context.Context) ResolverOutput

func (ResolverOutput) ToResolverPtrOutput

func (o ResolverOutput) ToResolverPtrOutput() ResolverPtrOutput

func (ResolverOutput) ToResolverPtrOutputWithContext

func (o ResolverOutput) ToResolverPtrOutputWithContext(ctx context.Context) ResolverPtrOutput

type ResolverPipelineConfig

type ResolverPipelineConfig struct {
	// The list of Function ID.
	Functions []string `pulumi:"functions"`
}

type ResolverPipelineConfigArgs

type ResolverPipelineConfigArgs struct {
	// The list of Function ID.
	Functions pulumi.StringArrayInput `pulumi:"functions"`
}

func (ResolverPipelineConfigArgs) ElementType

func (ResolverPipelineConfigArgs) ElementType() reflect.Type

func (ResolverPipelineConfigArgs) ToResolverPipelineConfigOutput

func (i ResolverPipelineConfigArgs) ToResolverPipelineConfigOutput() ResolverPipelineConfigOutput

func (ResolverPipelineConfigArgs) ToResolverPipelineConfigOutputWithContext

func (i ResolverPipelineConfigArgs) ToResolverPipelineConfigOutputWithContext(ctx context.Context) ResolverPipelineConfigOutput

func (ResolverPipelineConfigArgs) ToResolverPipelineConfigPtrOutput

func (i ResolverPipelineConfigArgs) ToResolverPipelineConfigPtrOutput() ResolverPipelineConfigPtrOutput

func (ResolverPipelineConfigArgs) ToResolverPipelineConfigPtrOutputWithContext

func (i ResolverPipelineConfigArgs) ToResolverPipelineConfigPtrOutputWithContext(ctx context.Context) ResolverPipelineConfigPtrOutput

type ResolverPipelineConfigInput

type ResolverPipelineConfigInput interface {
	pulumi.Input

	ToResolverPipelineConfigOutput() ResolverPipelineConfigOutput
	ToResolverPipelineConfigOutputWithContext(context.Context) ResolverPipelineConfigOutput
}

ResolverPipelineConfigInput is an input type that accepts ResolverPipelineConfigArgs and ResolverPipelineConfigOutput values. You can construct a concrete instance of `ResolverPipelineConfigInput` via:

ResolverPipelineConfigArgs{...}

type ResolverPipelineConfigOutput

type ResolverPipelineConfigOutput struct{ *pulumi.OutputState }

func (ResolverPipelineConfigOutput) ElementType

func (ResolverPipelineConfigOutput) Functions

The list of Function ID.

func (ResolverPipelineConfigOutput) ToResolverPipelineConfigOutput

func (o ResolverPipelineConfigOutput) ToResolverPipelineConfigOutput() ResolverPipelineConfigOutput

func (ResolverPipelineConfigOutput) ToResolverPipelineConfigOutputWithContext

func (o ResolverPipelineConfigOutput) ToResolverPipelineConfigOutputWithContext(ctx context.Context) ResolverPipelineConfigOutput

func (ResolverPipelineConfigOutput) ToResolverPipelineConfigPtrOutput

func (o ResolverPipelineConfigOutput) ToResolverPipelineConfigPtrOutput() ResolverPipelineConfigPtrOutput

func (ResolverPipelineConfigOutput) ToResolverPipelineConfigPtrOutputWithContext

func (o ResolverPipelineConfigOutput) ToResolverPipelineConfigPtrOutputWithContext(ctx context.Context) ResolverPipelineConfigPtrOutput

type ResolverPipelineConfigPtrInput

type ResolverPipelineConfigPtrInput interface {
	pulumi.Input

	ToResolverPipelineConfigPtrOutput() ResolverPipelineConfigPtrOutput
	ToResolverPipelineConfigPtrOutputWithContext(context.Context) ResolverPipelineConfigPtrOutput
}

ResolverPipelineConfigPtrInput is an input type that accepts ResolverPipelineConfigArgs, ResolverPipelineConfigPtr and ResolverPipelineConfigPtrOutput values. You can construct a concrete instance of `ResolverPipelineConfigPtrInput` via:

        ResolverPipelineConfigArgs{...}

or:

        nil

type ResolverPipelineConfigPtrOutput

type ResolverPipelineConfigPtrOutput struct{ *pulumi.OutputState }

func (ResolverPipelineConfigPtrOutput) Elem

func (ResolverPipelineConfigPtrOutput) ElementType

func (ResolverPipelineConfigPtrOutput) Functions

The list of Function ID.

func (ResolverPipelineConfigPtrOutput) ToResolverPipelineConfigPtrOutput

func (o ResolverPipelineConfigPtrOutput) ToResolverPipelineConfigPtrOutput() ResolverPipelineConfigPtrOutput

func (ResolverPipelineConfigPtrOutput) ToResolverPipelineConfigPtrOutputWithContext

func (o ResolverPipelineConfigPtrOutput) ToResolverPipelineConfigPtrOutputWithContext(ctx context.Context) ResolverPipelineConfigPtrOutput

type ResolverPtrInput

type ResolverPtrInput interface {
	pulumi.Input

	ToResolverPtrOutput() ResolverPtrOutput
	ToResolverPtrOutputWithContext(ctx context.Context) ResolverPtrOutput
}

type ResolverPtrOutput

type ResolverPtrOutput struct{ *pulumi.OutputState }

func (ResolverPtrOutput) Elem added in v4.15.0

func (ResolverPtrOutput) ElementType

func (ResolverPtrOutput) ElementType() reflect.Type

func (ResolverPtrOutput) ToResolverPtrOutput

func (o ResolverPtrOutput) ToResolverPtrOutput() ResolverPtrOutput

func (ResolverPtrOutput) ToResolverPtrOutputWithContext

func (o ResolverPtrOutput) ToResolverPtrOutputWithContext(ctx context.Context) ResolverPtrOutput

type ResolverState

type ResolverState struct {
	// The API ID for the GraphQL API.
	ApiId pulumi.StringPtrInput
	// The ARN
	Arn pulumi.StringPtrInput
	// The CachingConfig.
	CachingConfig ResolverCachingConfigPtrInput
	// The DataSource name.
	DataSource pulumi.StringPtrInput
	// The field name from the schema defined in the GraphQL API.
	Field pulumi.StringPtrInput
	// The resolver type. Valid values are `UNIT` and `PIPELINE`.
	Kind pulumi.StringPtrInput
	// The maximum batching size for a resolver. Valid values are between `0` and `2000`.
	MaxBatchSize pulumi.IntPtrInput
	// The PipelineConfig.
	PipelineConfig ResolverPipelineConfigPtrInput
	// The request mapping template for UNIT resolver or 'before mapping template' for PIPELINE resolver. Required for non-Lambda resolvers.
	RequestTemplate pulumi.StringPtrInput
	// The response mapping template for UNIT resolver or 'after mapping template' for PIPELINE resolver. Required for non-Lambda resolvers.
	ResponseTemplate pulumi.StringPtrInput
	// Describes a Sync configuration for a resolver. See Sync Config.
	SyncConfig ResolverSyncConfigPtrInput
	// The type name from the schema defined in the GraphQL API.
	Type pulumi.StringPtrInput
}

func (ResolverState) ElementType

func (ResolverState) ElementType() reflect.Type

type ResolverSyncConfig added in v4.35.0

type ResolverSyncConfig struct {
	// The Conflict Detection strategy to use. Valid values are `NONE` and `VERSION`.
	ConflictDetection *string `pulumi:"conflictDetection"`
	// The Conflict Resolution strategy to perform in the event of a conflict. Valid values are `NONE`, `OPTIMISTIC_CONCURRENCY`, `AUTOMERGE`, and `LAMBDA`.
	ConflictHandler *string `pulumi:"conflictHandler"`
	// The Lambda Conflict Handler Config when configuring `LAMBDA` as the Conflict Handler. See Lambda Conflict Handler Config.
	LambdaConflictHandlerConfig *ResolverSyncConfigLambdaConflictHandlerConfig `pulumi:"lambdaConflictHandlerConfig"`
}

type ResolverSyncConfigArgs added in v4.35.0

type ResolverSyncConfigArgs struct {
	// The Conflict Detection strategy to use. Valid values are `NONE` and `VERSION`.
	ConflictDetection pulumi.StringPtrInput `pulumi:"conflictDetection"`
	// The Conflict Resolution strategy to perform in the event of a conflict. Valid values are `NONE`, `OPTIMISTIC_CONCURRENCY`, `AUTOMERGE`, and `LAMBDA`.
	ConflictHandler pulumi.StringPtrInput `pulumi:"conflictHandler"`
	// The Lambda Conflict Handler Config when configuring `LAMBDA` as the Conflict Handler. See Lambda Conflict Handler Config.
	LambdaConflictHandlerConfig ResolverSyncConfigLambdaConflictHandlerConfigPtrInput `pulumi:"lambdaConflictHandlerConfig"`
}

func (ResolverSyncConfigArgs) ElementType added in v4.35.0

func (ResolverSyncConfigArgs) ElementType() reflect.Type

func (ResolverSyncConfigArgs) ToResolverSyncConfigOutput added in v4.35.0

func (i ResolverSyncConfigArgs) ToResolverSyncConfigOutput() ResolverSyncConfigOutput

func (ResolverSyncConfigArgs) ToResolverSyncConfigOutputWithContext added in v4.35.0

func (i ResolverSyncConfigArgs) ToResolverSyncConfigOutputWithContext(ctx context.Context) ResolverSyncConfigOutput

func (ResolverSyncConfigArgs) ToResolverSyncConfigPtrOutput added in v4.35.0

func (i ResolverSyncConfigArgs) ToResolverSyncConfigPtrOutput() ResolverSyncConfigPtrOutput

func (ResolverSyncConfigArgs) ToResolverSyncConfigPtrOutputWithContext added in v4.35.0

func (i ResolverSyncConfigArgs) ToResolverSyncConfigPtrOutputWithContext(ctx context.Context) ResolverSyncConfigPtrOutput

type ResolverSyncConfigInput added in v4.35.0

type ResolverSyncConfigInput interface {
	pulumi.Input

	ToResolverSyncConfigOutput() ResolverSyncConfigOutput
	ToResolverSyncConfigOutputWithContext(context.Context) ResolverSyncConfigOutput
}

ResolverSyncConfigInput is an input type that accepts ResolverSyncConfigArgs and ResolverSyncConfigOutput values. You can construct a concrete instance of `ResolverSyncConfigInput` via:

ResolverSyncConfigArgs{...}

type ResolverSyncConfigLambdaConflictHandlerConfig added in v4.35.0

type ResolverSyncConfigLambdaConflictHandlerConfig struct {
	// The Amazon Resource Name (ARN) for the Lambda function to use as the Conflict Handler.
	LambdaConflictHandlerArn *string `pulumi:"lambdaConflictHandlerArn"`
}

type ResolverSyncConfigLambdaConflictHandlerConfigArgs added in v4.35.0

type ResolverSyncConfigLambdaConflictHandlerConfigArgs struct {
	// The Amazon Resource Name (ARN) for the Lambda function to use as the Conflict Handler.
	LambdaConflictHandlerArn pulumi.StringPtrInput `pulumi:"lambdaConflictHandlerArn"`
}

func (ResolverSyncConfigLambdaConflictHandlerConfigArgs) ElementType added in v4.35.0

func (ResolverSyncConfigLambdaConflictHandlerConfigArgs) ToResolverSyncConfigLambdaConflictHandlerConfigOutput added in v4.35.0

func (i ResolverSyncConfigLambdaConflictHandlerConfigArgs) ToResolverSyncConfigLambdaConflictHandlerConfigOutput() ResolverSyncConfigLambdaConflictHandlerConfigOutput

func (ResolverSyncConfigLambdaConflictHandlerConfigArgs) ToResolverSyncConfigLambdaConflictHandlerConfigOutputWithContext added in v4.35.0

func (i ResolverSyncConfigLambdaConflictHandlerConfigArgs) ToResolverSyncConfigLambdaConflictHandlerConfigOutputWithContext(ctx context.Context) ResolverSyncConfigLambdaConflictHandlerConfigOutput

func (ResolverSyncConfigLambdaConflictHandlerConfigArgs) ToResolverSyncConfigLambdaConflictHandlerConfigPtrOutput added in v4.35.0

func (i ResolverSyncConfigLambdaConflictHandlerConfigArgs) ToResolverSyncConfigLambdaConflictHandlerConfigPtrOutput() ResolverSyncConfigLambdaConflictHandlerConfigPtrOutput

func (ResolverSyncConfigLambdaConflictHandlerConfigArgs) ToResolverSyncConfigLambdaConflictHandlerConfigPtrOutputWithContext added in v4.35.0

func (i ResolverSyncConfigLambdaConflictHandlerConfigArgs) ToResolverSyncConfigLambdaConflictHandlerConfigPtrOutputWithContext(ctx context.Context) ResolverSyncConfigLambdaConflictHandlerConfigPtrOutput

type ResolverSyncConfigLambdaConflictHandlerConfigInput added in v4.35.0

type ResolverSyncConfigLambdaConflictHandlerConfigInput interface {
	pulumi.Input

	ToResolverSyncConfigLambdaConflictHandlerConfigOutput() ResolverSyncConfigLambdaConflictHandlerConfigOutput
	ToResolverSyncConfigLambdaConflictHandlerConfigOutputWithContext(context.Context) ResolverSyncConfigLambdaConflictHandlerConfigOutput
}

ResolverSyncConfigLambdaConflictHandlerConfigInput is an input type that accepts ResolverSyncConfigLambdaConflictHandlerConfigArgs and ResolverSyncConfigLambdaConflictHandlerConfigOutput values. You can construct a concrete instance of `ResolverSyncConfigLambdaConflictHandlerConfigInput` via:

ResolverSyncConfigLambdaConflictHandlerConfigArgs{...}

type ResolverSyncConfigLambdaConflictHandlerConfigOutput added in v4.35.0

type ResolverSyncConfigLambdaConflictHandlerConfigOutput struct{ *pulumi.OutputState }

func (ResolverSyncConfigLambdaConflictHandlerConfigOutput) ElementType added in v4.35.0

func (ResolverSyncConfigLambdaConflictHandlerConfigOutput) LambdaConflictHandlerArn added in v4.35.0

The Amazon Resource Name (ARN) for the Lambda function to use as the Conflict Handler.

func (ResolverSyncConfigLambdaConflictHandlerConfigOutput) ToResolverSyncConfigLambdaConflictHandlerConfigOutput added in v4.35.0

func (o ResolverSyncConfigLambdaConflictHandlerConfigOutput) ToResolverSyncConfigLambdaConflictHandlerConfigOutput() ResolverSyncConfigLambdaConflictHandlerConfigOutput

func (ResolverSyncConfigLambdaConflictHandlerConfigOutput) ToResolverSyncConfigLambdaConflictHandlerConfigOutputWithContext added in v4.35.0

func (o ResolverSyncConfigLambdaConflictHandlerConfigOutput) ToResolverSyncConfigLambdaConflictHandlerConfigOutputWithContext(ctx context.Context) ResolverSyncConfigLambdaConflictHandlerConfigOutput

func (ResolverSyncConfigLambdaConflictHandlerConfigOutput) ToResolverSyncConfigLambdaConflictHandlerConfigPtrOutput added in v4.35.0

func (o ResolverSyncConfigLambdaConflictHandlerConfigOutput) ToResolverSyncConfigLambdaConflictHandlerConfigPtrOutput() ResolverSyncConfigLambdaConflictHandlerConfigPtrOutput

func (ResolverSyncConfigLambdaConflictHandlerConfigOutput) ToResolverSyncConfigLambdaConflictHandlerConfigPtrOutputWithContext added in v4.35.0

func (o ResolverSyncConfigLambdaConflictHandlerConfigOutput) ToResolverSyncConfigLambdaConflictHandlerConfigPtrOutputWithContext(ctx context.Context) ResolverSyncConfigLambdaConflictHandlerConfigPtrOutput

type ResolverSyncConfigLambdaConflictHandlerConfigPtrInput added in v4.35.0

type ResolverSyncConfigLambdaConflictHandlerConfigPtrInput interface {
	pulumi.Input

	ToResolverSyncConfigLambdaConflictHandlerConfigPtrOutput() ResolverSyncConfigLambdaConflictHandlerConfigPtrOutput
	ToResolverSyncConfigLambdaConflictHandlerConfigPtrOutputWithContext(context.Context) ResolverSyncConfigLambdaConflictHandlerConfigPtrOutput
}

ResolverSyncConfigLambdaConflictHandlerConfigPtrInput is an input type that accepts ResolverSyncConfigLambdaConflictHandlerConfigArgs, ResolverSyncConfigLambdaConflictHandlerConfigPtr and ResolverSyncConfigLambdaConflictHandlerConfigPtrOutput values. You can construct a concrete instance of `ResolverSyncConfigLambdaConflictHandlerConfigPtrInput` via:

        ResolverSyncConfigLambdaConflictHandlerConfigArgs{...}

or:

        nil

type ResolverSyncConfigLambdaConflictHandlerConfigPtrOutput added in v4.35.0

type ResolverSyncConfigLambdaConflictHandlerConfigPtrOutput struct{ *pulumi.OutputState }

func (ResolverSyncConfigLambdaConflictHandlerConfigPtrOutput) Elem added in v4.35.0

func (ResolverSyncConfigLambdaConflictHandlerConfigPtrOutput) ElementType added in v4.35.0

func (ResolverSyncConfigLambdaConflictHandlerConfigPtrOutput) LambdaConflictHandlerArn added in v4.35.0

The Amazon Resource Name (ARN) for the Lambda function to use as the Conflict Handler.

func (ResolverSyncConfigLambdaConflictHandlerConfigPtrOutput) ToResolverSyncConfigLambdaConflictHandlerConfigPtrOutput added in v4.35.0

func (ResolverSyncConfigLambdaConflictHandlerConfigPtrOutput) ToResolverSyncConfigLambdaConflictHandlerConfigPtrOutputWithContext added in v4.35.0

func (o ResolverSyncConfigLambdaConflictHandlerConfigPtrOutput) ToResolverSyncConfigLambdaConflictHandlerConfigPtrOutputWithContext(ctx context.Context) ResolverSyncConfigLambdaConflictHandlerConfigPtrOutput

type ResolverSyncConfigOutput added in v4.35.0

type ResolverSyncConfigOutput struct{ *pulumi.OutputState }

func (ResolverSyncConfigOutput) ConflictDetection added in v4.35.0

func (o ResolverSyncConfigOutput) ConflictDetection() pulumi.StringPtrOutput

The Conflict Detection strategy to use. Valid values are `NONE` and `VERSION`.

func (ResolverSyncConfigOutput) ConflictHandler added in v4.35.0

func (o ResolverSyncConfigOutput) ConflictHandler() pulumi.StringPtrOutput

The Conflict Resolution strategy to perform in the event of a conflict. Valid values are `NONE`, `OPTIMISTIC_CONCURRENCY`, `AUTOMERGE`, and `LAMBDA`.

func (ResolverSyncConfigOutput) ElementType added in v4.35.0

func (ResolverSyncConfigOutput) ElementType() reflect.Type

func (ResolverSyncConfigOutput) LambdaConflictHandlerConfig added in v4.35.0

The Lambda Conflict Handler Config when configuring `LAMBDA` as the Conflict Handler. See Lambda Conflict Handler Config.

func (ResolverSyncConfigOutput) ToResolverSyncConfigOutput added in v4.35.0

func (o ResolverSyncConfigOutput) ToResolverSyncConfigOutput() ResolverSyncConfigOutput

func (ResolverSyncConfigOutput) ToResolverSyncConfigOutputWithContext added in v4.35.0

func (o ResolverSyncConfigOutput) ToResolverSyncConfigOutputWithContext(ctx context.Context) ResolverSyncConfigOutput

func (ResolverSyncConfigOutput) ToResolverSyncConfigPtrOutput added in v4.35.0

func (o ResolverSyncConfigOutput) ToResolverSyncConfigPtrOutput() ResolverSyncConfigPtrOutput

func (ResolverSyncConfigOutput) ToResolverSyncConfigPtrOutputWithContext added in v4.35.0

func (o ResolverSyncConfigOutput) ToResolverSyncConfigPtrOutputWithContext(ctx context.Context) ResolverSyncConfigPtrOutput

type ResolverSyncConfigPtrInput added in v4.35.0

type ResolverSyncConfigPtrInput interface {
	pulumi.Input

	ToResolverSyncConfigPtrOutput() ResolverSyncConfigPtrOutput
	ToResolverSyncConfigPtrOutputWithContext(context.Context) ResolverSyncConfigPtrOutput
}

ResolverSyncConfigPtrInput is an input type that accepts ResolverSyncConfigArgs, ResolverSyncConfigPtr and ResolverSyncConfigPtrOutput values. You can construct a concrete instance of `ResolverSyncConfigPtrInput` via:

        ResolverSyncConfigArgs{...}

or:

        nil

func ResolverSyncConfigPtr added in v4.35.0

func ResolverSyncConfigPtr(v *ResolverSyncConfigArgs) ResolverSyncConfigPtrInput

type ResolverSyncConfigPtrOutput added in v4.35.0

type ResolverSyncConfigPtrOutput struct{ *pulumi.OutputState }

func (ResolverSyncConfigPtrOutput) ConflictDetection added in v4.35.0

func (o ResolverSyncConfigPtrOutput) ConflictDetection() pulumi.StringPtrOutput

The Conflict Detection strategy to use. Valid values are `NONE` and `VERSION`.

func (ResolverSyncConfigPtrOutput) ConflictHandler added in v4.35.0

The Conflict Resolution strategy to perform in the event of a conflict. Valid values are `NONE`, `OPTIMISTIC_CONCURRENCY`, `AUTOMERGE`, and `LAMBDA`.

func (ResolverSyncConfigPtrOutput) Elem added in v4.35.0

func (ResolverSyncConfigPtrOutput) ElementType added in v4.35.0

func (ResolverSyncConfigPtrOutput) LambdaConflictHandlerConfig added in v4.35.0

The Lambda Conflict Handler Config when configuring `LAMBDA` as the Conflict Handler. See Lambda Conflict Handler Config.

func (ResolverSyncConfigPtrOutput) ToResolverSyncConfigPtrOutput added in v4.35.0

func (o ResolverSyncConfigPtrOutput) ToResolverSyncConfigPtrOutput() ResolverSyncConfigPtrOutput

func (ResolverSyncConfigPtrOutput) ToResolverSyncConfigPtrOutputWithContext added in v4.35.0

func (o ResolverSyncConfigPtrOutput) ToResolverSyncConfigPtrOutputWithContext(ctx context.Context) ResolverSyncConfigPtrOutput

Jump to

Keyboard shortcuts

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