appsync

package
v5.8.0 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PkgVersion

func PkgVersion() (semver.Version, error)

PkgVersion uses reflection to determine the version of the current package. If a version cannot be determined, v1 will be assumed. The second return value is always nil.

Types

type ApiCache

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

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

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

func (*ApiCache) ElementType() reflect.Type

func (*ApiCache) ToApiCacheOutput

func (i *ApiCache) ToApiCacheOutput() ApiCacheOutput

func (*ApiCache) ToApiCacheOutputWithContext

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

type ApiCacheArgs

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

func (ApiCacheArgs) ElementType() reflect.Type

type ApiCacheArray

type ApiCacheArray []ApiCacheInput

func (ApiCacheArray) ElementType

func (ApiCacheArray) ElementType() reflect.Type

func (ApiCacheArray) ToApiCacheArrayOutput

func (i ApiCacheArray) ToApiCacheArrayOutput() ApiCacheArrayOutput

func (ApiCacheArray) ToApiCacheArrayOutputWithContext

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

type ApiCacheArrayInput

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

type ApiCacheArrayOutput struct{ *pulumi.OutputState }

func (ApiCacheArrayOutput) ElementType

func (ApiCacheArrayOutput) ElementType() reflect.Type

func (ApiCacheArrayOutput) Index

func (ApiCacheArrayOutput) ToApiCacheArrayOutput

func (o ApiCacheArrayOutput) ToApiCacheArrayOutput() ApiCacheArrayOutput

func (ApiCacheArrayOutput) ToApiCacheArrayOutputWithContext

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

type ApiCacheInput

type ApiCacheInput interface {
	pulumi.Input

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

type ApiCacheMap

type ApiCacheMap map[string]ApiCacheInput

func (ApiCacheMap) ElementType

func (ApiCacheMap) ElementType() reflect.Type

func (ApiCacheMap) ToApiCacheMapOutput

func (i ApiCacheMap) ToApiCacheMapOutput() ApiCacheMapOutput

func (ApiCacheMap) ToApiCacheMapOutputWithContext

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

type ApiCacheMapInput

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

type ApiCacheMapOutput struct{ *pulumi.OutputState }

func (ApiCacheMapOutput) ElementType

func (ApiCacheMapOutput) ElementType() reflect.Type

func (ApiCacheMapOutput) MapIndex

func (ApiCacheMapOutput) ToApiCacheMapOutput

func (o ApiCacheMapOutput) ToApiCacheMapOutput() ApiCacheMapOutput

func (ApiCacheMapOutput) ToApiCacheMapOutputWithContext

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

type ApiCacheOutput

type ApiCacheOutput struct{ *pulumi.OutputState }

func (ApiCacheOutput) ApiCachingBehavior added in v5.4.0

func (o ApiCacheOutput) ApiCachingBehavior() pulumi.StringOutput

Caching behavior. Valid values are `FULL_REQUEST_CACHING` and `PER_RESOLVER_CACHING`.

func (ApiCacheOutput) ApiId added in v5.4.0

The GraphQL API ID.

func (ApiCacheOutput) AtRestEncryptionEnabled added in v5.4.0

func (o ApiCacheOutput) AtRestEncryptionEnabled() pulumi.BoolPtrOutput

At-rest encryption flag for cache. You cannot update this setting after creation.

func (ApiCacheOutput) ElementType

func (ApiCacheOutput) ElementType() reflect.Type

func (ApiCacheOutput) ToApiCacheOutput

func (o ApiCacheOutput) ToApiCacheOutput() ApiCacheOutput

func (ApiCacheOutput) ToApiCacheOutputWithContext

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

func (ApiCacheOutput) TransitEncryptionEnabled added in v5.4.0

func (o ApiCacheOutput) TransitEncryptionEnabled() pulumi.BoolPtrOutput

Transit encryption flag when connecting to cache. You cannot update this setting after creation.

func (ApiCacheOutput) Ttl added in v5.4.0

TTL in seconds for cache entries.

func (ApiCacheOutput) Type added in v5.4.0

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 ApiCacheState

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

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/v5/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

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) ApiId added in v5.4.0

func (o ApiKeyOutput) ApiId() pulumi.StringOutput

The ID of the associated AppSync API

func (ApiKeyOutput) Description added in v5.4.0

func (o ApiKeyOutput) Description() pulumi.StringOutput

The API key description. Defaults to "Managed by Pulumi".

func (ApiKeyOutput) ElementType

func (ApiKeyOutput) ElementType() reflect.Type

func (ApiKeyOutput) Expires added in v5.4.0

func (o ApiKeyOutput) Expires() pulumi.StringPtrOutput

RFC3339 string representation of the expiry date. Rounded down to nearest hour. By default, it is 7 days from the date of creation.

func (ApiKeyOutput) Key added in v5.4.0

The API key

func (ApiKeyOutput) ToApiKeyOutput

func (o ApiKeyOutput) ToApiKeyOutput() ApiKeyOutput

func (ApiKeyOutput) ToApiKeyOutputWithContext

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

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/v5/go/aws/appsync"
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/dynamodb"
"github.com/pulumi/pulumi-aws/sdk/v5/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

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

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

type DataSourceDynamodbConfigDeltaSyncConfigArgs

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

func (DataSourceDynamodbConfigDeltaSyncConfigArgs) ElementType

func (DataSourceDynamodbConfigDeltaSyncConfigArgs) ToDataSourceDynamodbConfigDeltaSyncConfigOutput

func (i DataSourceDynamodbConfigDeltaSyncConfigArgs) ToDataSourceDynamodbConfigDeltaSyncConfigOutput() DataSourceDynamodbConfigDeltaSyncConfigOutput

func (DataSourceDynamodbConfigDeltaSyncConfigArgs) ToDataSourceDynamodbConfigDeltaSyncConfigOutputWithContext

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

func (DataSourceDynamodbConfigDeltaSyncConfigArgs) ToDataSourceDynamodbConfigDeltaSyncConfigPtrOutput

func (i DataSourceDynamodbConfigDeltaSyncConfigArgs) ToDataSourceDynamodbConfigDeltaSyncConfigPtrOutput() DataSourceDynamodbConfigDeltaSyncConfigPtrOutput

func (DataSourceDynamodbConfigDeltaSyncConfigArgs) ToDataSourceDynamodbConfigDeltaSyncConfigPtrOutputWithContext

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

type DataSourceDynamodbConfigDeltaSyncConfigInput

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

type DataSourceDynamodbConfigDeltaSyncConfigOutput struct{ *pulumi.OutputState }

func (DataSourceDynamodbConfigDeltaSyncConfigOutput) BaseTableTtl

func (DataSourceDynamodbConfigDeltaSyncConfigOutput) DeltaSyncTableName

func (DataSourceDynamodbConfigDeltaSyncConfigOutput) DeltaSyncTableTtl

func (DataSourceDynamodbConfigDeltaSyncConfigOutput) ElementType

func (DataSourceDynamodbConfigDeltaSyncConfigOutput) ToDataSourceDynamodbConfigDeltaSyncConfigOutput

func (o DataSourceDynamodbConfigDeltaSyncConfigOutput) ToDataSourceDynamodbConfigDeltaSyncConfigOutput() DataSourceDynamodbConfigDeltaSyncConfigOutput

func (DataSourceDynamodbConfigDeltaSyncConfigOutput) ToDataSourceDynamodbConfigDeltaSyncConfigOutputWithContext

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

func (DataSourceDynamodbConfigDeltaSyncConfigOutput) ToDataSourceDynamodbConfigDeltaSyncConfigPtrOutput

func (o DataSourceDynamodbConfigDeltaSyncConfigOutput) ToDataSourceDynamodbConfigDeltaSyncConfigPtrOutput() DataSourceDynamodbConfigDeltaSyncConfigPtrOutput

func (DataSourceDynamodbConfigDeltaSyncConfigOutput) ToDataSourceDynamodbConfigDeltaSyncConfigPtrOutputWithContext

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

type DataSourceDynamodbConfigDeltaSyncConfigPtrInput

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

type DataSourceDynamodbConfigDeltaSyncConfigPtrOutput struct{ *pulumi.OutputState }

func (DataSourceDynamodbConfigDeltaSyncConfigPtrOutput) BaseTableTtl

func (DataSourceDynamodbConfigDeltaSyncConfigPtrOutput) DeltaSyncTableName

func (DataSourceDynamodbConfigDeltaSyncConfigPtrOutput) DeltaSyncTableTtl

func (DataSourceDynamodbConfigDeltaSyncConfigPtrOutput) Elem

func (DataSourceDynamodbConfigDeltaSyncConfigPtrOutput) ElementType

func (DataSourceDynamodbConfigDeltaSyncConfigPtrOutput) ToDataSourceDynamodbConfigDeltaSyncConfigPtrOutput

func (o DataSourceDynamodbConfigDeltaSyncConfigPtrOutput) ToDataSourceDynamodbConfigDeltaSyncConfigPtrOutput() DataSourceDynamodbConfigDeltaSyncConfigPtrOutput

func (DataSourceDynamodbConfigDeltaSyncConfigPtrOutput) ToDataSourceDynamodbConfigDeltaSyncConfigPtrOutputWithContext

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

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

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

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

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

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

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

func (DataSourceHttpConfigAuthorizationConfigArgs) ToDataSourceHttpConfigAuthorizationConfigOutput

func (i DataSourceHttpConfigAuthorizationConfigArgs) ToDataSourceHttpConfigAuthorizationConfigOutput() DataSourceHttpConfigAuthorizationConfigOutput

func (DataSourceHttpConfigAuthorizationConfigArgs) ToDataSourceHttpConfigAuthorizationConfigOutputWithContext

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

func (DataSourceHttpConfigAuthorizationConfigArgs) ToDataSourceHttpConfigAuthorizationConfigPtrOutput

func (i DataSourceHttpConfigAuthorizationConfigArgs) ToDataSourceHttpConfigAuthorizationConfigPtrOutput() DataSourceHttpConfigAuthorizationConfigPtrOutput

func (DataSourceHttpConfigAuthorizationConfigArgs) ToDataSourceHttpConfigAuthorizationConfigPtrOutputWithContext

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

type DataSourceHttpConfigAuthorizationConfigAwsIamConfig

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

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

func (DataSourceHttpConfigAuthorizationConfigAwsIamConfigArgs) ToDataSourceHttpConfigAuthorizationConfigAwsIamConfigOutput

func (DataSourceHttpConfigAuthorizationConfigAwsIamConfigArgs) ToDataSourceHttpConfigAuthorizationConfigAwsIamConfigOutputWithContext

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

func (DataSourceHttpConfigAuthorizationConfigAwsIamConfigArgs) ToDataSourceHttpConfigAuthorizationConfigAwsIamConfigPtrOutput

func (i DataSourceHttpConfigAuthorizationConfigAwsIamConfigArgs) ToDataSourceHttpConfigAuthorizationConfigAwsIamConfigPtrOutput() DataSourceHttpConfigAuthorizationConfigAwsIamConfigPtrOutput

func (DataSourceHttpConfigAuthorizationConfigAwsIamConfigArgs) ToDataSourceHttpConfigAuthorizationConfigAwsIamConfigPtrOutputWithContext

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

type DataSourceHttpConfigAuthorizationConfigAwsIamConfigInput

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

type DataSourceHttpConfigAuthorizationConfigAwsIamConfigOutput struct{ *pulumi.OutputState }

func (DataSourceHttpConfigAuthorizationConfigAwsIamConfigOutput) ElementType

func (DataSourceHttpConfigAuthorizationConfigAwsIamConfigOutput) SigningRegion

The signing Amazon Web Services Region for IAM authorization.

func (DataSourceHttpConfigAuthorizationConfigAwsIamConfigOutput) SigningServiceName

The signing service name for IAM authorization.

func (DataSourceHttpConfigAuthorizationConfigAwsIamConfigOutput) ToDataSourceHttpConfigAuthorizationConfigAwsIamConfigOutput

func (DataSourceHttpConfigAuthorizationConfigAwsIamConfigOutput) ToDataSourceHttpConfigAuthorizationConfigAwsIamConfigOutputWithContext

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

func (DataSourceHttpConfigAuthorizationConfigAwsIamConfigOutput) ToDataSourceHttpConfigAuthorizationConfigAwsIamConfigPtrOutput

func (DataSourceHttpConfigAuthorizationConfigAwsIamConfigOutput) ToDataSourceHttpConfigAuthorizationConfigAwsIamConfigPtrOutputWithContext

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

type DataSourceHttpConfigAuthorizationConfigAwsIamConfigPtrInput

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

type DataSourceHttpConfigAuthorizationConfigAwsIamConfigPtrOutput struct{ *pulumi.OutputState }

func (DataSourceHttpConfigAuthorizationConfigAwsIamConfigPtrOutput) Elem

func (DataSourceHttpConfigAuthorizationConfigAwsIamConfigPtrOutput) ElementType

func (DataSourceHttpConfigAuthorizationConfigAwsIamConfigPtrOutput) SigningRegion

The signing Amazon Web Services Region for IAM authorization.

func (DataSourceHttpConfigAuthorizationConfigAwsIamConfigPtrOutput) SigningServiceName

The signing service name for IAM authorization.

func (DataSourceHttpConfigAuthorizationConfigAwsIamConfigPtrOutput) ToDataSourceHttpConfigAuthorizationConfigAwsIamConfigPtrOutput

func (DataSourceHttpConfigAuthorizationConfigAwsIamConfigPtrOutput) ToDataSourceHttpConfigAuthorizationConfigAwsIamConfigPtrOutputWithContext

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

type DataSourceHttpConfigAuthorizationConfigInput

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

type DataSourceHttpConfigAuthorizationConfigOutput struct{ *pulumi.OutputState }

func (DataSourceHttpConfigAuthorizationConfigOutput) AuthorizationType

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

func (DataSourceHttpConfigAuthorizationConfigOutput) AwsIamConfig

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

func (DataSourceHttpConfigAuthorizationConfigOutput) ElementType

func (DataSourceHttpConfigAuthorizationConfigOutput) ToDataSourceHttpConfigAuthorizationConfigOutput

func (o DataSourceHttpConfigAuthorizationConfigOutput) ToDataSourceHttpConfigAuthorizationConfigOutput() DataSourceHttpConfigAuthorizationConfigOutput

func (DataSourceHttpConfigAuthorizationConfigOutput) ToDataSourceHttpConfigAuthorizationConfigOutputWithContext

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

func (DataSourceHttpConfigAuthorizationConfigOutput) ToDataSourceHttpConfigAuthorizationConfigPtrOutput

func (o DataSourceHttpConfigAuthorizationConfigOutput) ToDataSourceHttpConfigAuthorizationConfigPtrOutput() DataSourceHttpConfigAuthorizationConfigPtrOutput

func (DataSourceHttpConfigAuthorizationConfigOutput) ToDataSourceHttpConfigAuthorizationConfigPtrOutputWithContext

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

type DataSourceHttpConfigAuthorizationConfigPtrInput

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

type DataSourceHttpConfigAuthorizationConfigPtrOutput struct{ *pulumi.OutputState }

func (DataSourceHttpConfigAuthorizationConfigPtrOutput) AuthorizationType

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

func (DataSourceHttpConfigAuthorizationConfigPtrOutput) AwsIamConfig

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

func (DataSourceHttpConfigAuthorizationConfigPtrOutput) Elem

func (DataSourceHttpConfigAuthorizationConfigPtrOutput) ElementType

func (DataSourceHttpConfigAuthorizationConfigPtrOutput) ToDataSourceHttpConfigAuthorizationConfigPtrOutput

func (o DataSourceHttpConfigAuthorizationConfigPtrOutput) ToDataSourceHttpConfigAuthorizationConfigPtrOutput() DataSourceHttpConfigAuthorizationConfigPtrOutput

func (DataSourceHttpConfigAuthorizationConfigPtrOutput) ToDataSourceHttpConfigAuthorizationConfigPtrOutputWithContext

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

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

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) ApiId added in v5.4.0

The API ID for the GraphQL API for the DataSource.

func (DataSourceOutput) Arn added in v5.4.0

The ARN

func (DataSourceOutput) Description added in v5.4.0

func (o DataSourceOutput) Description() pulumi.StringPtrOutput

A description of the DataSource.

func (DataSourceOutput) DynamodbConfig added in v5.4.0

DynamoDB settings. See below

func (DataSourceOutput) ElasticsearchConfig added in v5.4.0

Amazon Elasticsearch settings. See below

func (DataSourceOutput) ElementType

func (DataSourceOutput) ElementType() reflect.Type

func (DataSourceOutput) HttpConfig added in v5.4.0

HTTP settings. See below

func (DataSourceOutput) LambdaConfig added in v5.4.0

AWS Lambda settings. See below

func (DataSourceOutput) Name added in v5.4.0

A user-supplied name for the DataSource.

func (DataSourceOutput) RelationalDatabaseConfig added in v5.4.0

AWS RDS settings. See Relational Database Config

func (DataSourceOutput) ServiceRoleArn added in v5.4.0

func (o DataSourceOutput) ServiceRoleArn() pulumi.StringPtrOutput

The IAM service role ARN for the data source.

func (DataSourceOutput) ToDataSourceOutput

func (o DataSourceOutput) ToDataSourceOutput() DataSourceOutput

func (DataSourceOutput) ToDataSourceOutputWithContext

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

func (DataSourceOutput) Type added in v5.4.0

The type of the DataSource. Valid values: `AWS_LAMBDA`, `AMAZON_DYNAMODB`, `AMAZON_ELASTICSEARCH`, `HTTP`, `NONE`, `RELATIONAL_DATABASE`.

type DataSourceRelationalDatabaseConfig

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

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

func (DataSourceRelationalDatabaseConfigArgs) ToDataSourceRelationalDatabaseConfigOutput

func (i DataSourceRelationalDatabaseConfigArgs) ToDataSourceRelationalDatabaseConfigOutput() DataSourceRelationalDatabaseConfigOutput

func (DataSourceRelationalDatabaseConfigArgs) ToDataSourceRelationalDatabaseConfigOutputWithContext

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

func (DataSourceRelationalDatabaseConfigArgs) ToDataSourceRelationalDatabaseConfigPtrOutput

func (i DataSourceRelationalDatabaseConfigArgs) ToDataSourceRelationalDatabaseConfigPtrOutput() DataSourceRelationalDatabaseConfigPtrOutput

func (DataSourceRelationalDatabaseConfigArgs) ToDataSourceRelationalDatabaseConfigPtrOutputWithContext

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

type DataSourceRelationalDatabaseConfigHttpEndpointConfig

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

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

func (DataSourceRelationalDatabaseConfigHttpEndpointConfigArgs) ToDataSourceRelationalDatabaseConfigHttpEndpointConfigOutput

func (DataSourceRelationalDatabaseConfigHttpEndpointConfigArgs) ToDataSourceRelationalDatabaseConfigHttpEndpointConfigOutputWithContext

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

func (DataSourceRelationalDatabaseConfigHttpEndpointConfigArgs) ToDataSourceRelationalDatabaseConfigHttpEndpointConfigPtrOutput

func (i DataSourceRelationalDatabaseConfigHttpEndpointConfigArgs) ToDataSourceRelationalDatabaseConfigHttpEndpointConfigPtrOutput() DataSourceRelationalDatabaseConfigHttpEndpointConfigPtrOutput

func (DataSourceRelationalDatabaseConfigHttpEndpointConfigArgs) ToDataSourceRelationalDatabaseConfigHttpEndpointConfigPtrOutputWithContext

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

type DataSourceRelationalDatabaseConfigHttpEndpointConfigInput

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

type DataSourceRelationalDatabaseConfigHttpEndpointConfigOutput struct{ *pulumi.OutputState }

func (DataSourceRelationalDatabaseConfigHttpEndpointConfigOutput) AwsSecretStoreArn

AWS secret store ARN for database credentials.

func (DataSourceRelationalDatabaseConfigHttpEndpointConfigOutput) DatabaseName

Logical database name.

func (DataSourceRelationalDatabaseConfigHttpEndpointConfigOutput) DbClusterIdentifier

Amazon RDS cluster identifier.

func (DataSourceRelationalDatabaseConfigHttpEndpointConfigOutput) ElementType

func (DataSourceRelationalDatabaseConfigHttpEndpointConfigOutput) Region

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

func (DataSourceRelationalDatabaseConfigHttpEndpointConfigOutput) Schema

Logical schema name.

func (DataSourceRelationalDatabaseConfigHttpEndpointConfigOutput) ToDataSourceRelationalDatabaseConfigHttpEndpointConfigOutput

func (DataSourceRelationalDatabaseConfigHttpEndpointConfigOutput) ToDataSourceRelationalDatabaseConfigHttpEndpointConfigOutputWithContext

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

func (DataSourceRelationalDatabaseConfigHttpEndpointConfigOutput) ToDataSourceRelationalDatabaseConfigHttpEndpointConfigPtrOutput

func (DataSourceRelationalDatabaseConfigHttpEndpointConfigOutput) ToDataSourceRelationalDatabaseConfigHttpEndpointConfigPtrOutputWithContext

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

type DataSourceRelationalDatabaseConfigHttpEndpointConfigPtrInput

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

type DataSourceRelationalDatabaseConfigHttpEndpointConfigPtrOutput struct{ *pulumi.OutputState }

func (DataSourceRelationalDatabaseConfigHttpEndpointConfigPtrOutput) AwsSecretStoreArn

AWS secret store ARN for database credentials.

func (DataSourceRelationalDatabaseConfigHttpEndpointConfigPtrOutput) DatabaseName

Logical database name.

func (DataSourceRelationalDatabaseConfigHttpEndpointConfigPtrOutput) DbClusterIdentifier

Amazon RDS cluster identifier.

func (DataSourceRelationalDatabaseConfigHttpEndpointConfigPtrOutput) Elem

func (DataSourceRelationalDatabaseConfigHttpEndpointConfigPtrOutput) ElementType

func (DataSourceRelationalDatabaseConfigHttpEndpointConfigPtrOutput) Region

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

func (DataSourceRelationalDatabaseConfigHttpEndpointConfigPtrOutput) Schema

Logical schema name.

func (DataSourceRelationalDatabaseConfigHttpEndpointConfigPtrOutput) ToDataSourceRelationalDatabaseConfigHttpEndpointConfigPtrOutput

func (DataSourceRelationalDatabaseConfigHttpEndpointConfigPtrOutput) ToDataSourceRelationalDatabaseConfigHttpEndpointConfigPtrOutputWithContext

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

type DataSourceRelationalDatabaseConfigInput

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

type DataSourceRelationalDatabaseConfigOutput struct{ *pulumi.OutputState }

func (DataSourceRelationalDatabaseConfigOutput) ElementType

func (DataSourceRelationalDatabaseConfigOutput) HttpEndpointConfig

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

func (DataSourceRelationalDatabaseConfigOutput) SourceType

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

func (DataSourceRelationalDatabaseConfigOutput) ToDataSourceRelationalDatabaseConfigOutput

func (o DataSourceRelationalDatabaseConfigOutput) ToDataSourceRelationalDatabaseConfigOutput() DataSourceRelationalDatabaseConfigOutput

func (DataSourceRelationalDatabaseConfigOutput) ToDataSourceRelationalDatabaseConfigOutputWithContext

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

func (DataSourceRelationalDatabaseConfigOutput) ToDataSourceRelationalDatabaseConfigPtrOutput

func (o DataSourceRelationalDatabaseConfigOutput) ToDataSourceRelationalDatabaseConfigPtrOutput() DataSourceRelationalDatabaseConfigPtrOutput

func (DataSourceRelationalDatabaseConfigOutput) ToDataSourceRelationalDatabaseConfigPtrOutputWithContext

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

type DataSourceRelationalDatabaseConfigPtrInput

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

type DataSourceRelationalDatabaseConfigPtrOutput struct{ *pulumi.OutputState }

func (DataSourceRelationalDatabaseConfigPtrOutput) Elem

func (DataSourceRelationalDatabaseConfigPtrOutput) ElementType

func (DataSourceRelationalDatabaseConfigPtrOutput) HttpEndpointConfig

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

func (DataSourceRelationalDatabaseConfigPtrOutput) SourceType

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

func (DataSourceRelationalDatabaseConfigPtrOutput) ToDataSourceRelationalDatabaseConfigPtrOutput

func (o DataSourceRelationalDatabaseConfigPtrOutput) ToDataSourceRelationalDatabaseConfigPtrOutput() DataSourceRelationalDatabaseConfigPtrOutput

func (DataSourceRelationalDatabaseConfigPtrOutput) ToDataSourceRelationalDatabaseConfigPtrOutputWithContext

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

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/v5/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

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

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

func (*DomainName) ElementType() reflect.Type

func (*DomainName) ToDomainNameOutput

func (i *DomainName) ToDomainNameOutput() DomainNameOutput

func (*DomainName) ToDomainNameOutputWithContext

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

type DomainNameApiAssociation

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/v5/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

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

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

func (*DomainNameApiAssociation) ElementType() reflect.Type

func (*DomainNameApiAssociation) ToDomainNameApiAssociationOutput

func (i *DomainNameApiAssociation) ToDomainNameApiAssociationOutput() DomainNameApiAssociationOutput

func (*DomainNameApiAssociation) ToDomainNameApiAssociationOutputWithContext

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

type DomainNameApiAssociationArgs

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

type DomainNameApiAssociationArray

type DomainNameApiAssociationArray []DomainNameApiAssociationInput

func (DomainNameApiAssociationArray) ElementType

func (DomainNameApiAssociationArray) ToDomainNameApiAssociationArrayOutput

func (i DomainNameApiAssociationArray) ToDomainNameApiAssociationArrayOutput() DomainNameApiAssociationArrayOutput

func (DomainNameApiAssociationArray) ToDomainNameApiAssociationArrayOutputWithContext

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

type DomainNameApiAssociationArrayInput

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

type DomainNameApiAssociationArrayOutput struct{ *pulumi.OutputState }

func (DomainNameApiAssociationArrayOutput) ElementType

func (DomainNameApiAssociationArrayOutput) Index

func (DomainNameApiAssociationArrayOutput) ToDomainNameApiAssociationArrayOutput

func (o DomainNameApiAssociationArrayOutput) ToDomainNameApiAssociationArrayOutput() DomainNameApiAssociationArrayOutput

func (DomainNameApiAssociationArrayOutput) ToDomainNameApiAssociationArrayOutputWithContext

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

type DomainNameApiAssociationInput

type DomainNameApiAssociationInput interface {
	pulumi.Input

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

type DomainNameApiAssociationMap

type DomainNameApiAssociationMap map[string]DomainNameApiAssociationInput

func (DomainNameApiAssociationMap) ElementType

func (DomainNameApiAssociationMap) ToDomainNameApiAssociationMapOutput

func (i DomainNameApiAssociationMap) ToDomainNameApiAssociationMapOutput() DomainNameApiAssociationMapOutput

func (DomainNameApiAssociationMap) ToDomainNameApiAssociationMapOutputWithContext

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

type DomainNameApiAssociationMapInput

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

type DomainNameApiAssociationMapOutput struct{ *pulumi.OutputState }

func (DomainNameApiAssociationMapOutput) ElementType

func (DomainNameApiAssociationMapOutput) MapIndex

func (DomainNameApiAssociationMapOutput) ToDomainNameApiAssociationMapOutput

func (o DomainNameApiAssociationMapOutput) ToDomainNameApiAssociationMapOutput() DomainNameApiAssociationMapOutput

func (DomainNameApiAssociationMapOutput) ToDomainNameApiAssociationMapOutputWithContext

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

type DomainNameApiAssociationOutput

type DomainNameApiAssociationOutput struct{ *pulumi.OutputState }

func (DomainNameApiAssociationOutput) ApiId added in v5.4.0

The API ID.

func (DomainNameApiAssociationOutput) DomainName added in v5.4.0

The Appsync domain name.

func (DomainNameApiAssociationOutput) ElementType

func (DomainNameApiAssociationOutput) ToDomainNameApiAssociationOutput

func (o DomainNameApiAssociationOutput) ToDomainNameApiAssociationOutput() DomainNameApiAssociationOutput

func (DomainNameApiAssociationOutput) ToDomainNameApiAssociationOutputWithContext

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

type DomainNameApiAssociationState

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

func (DomainNameApiAssociationState) ElementType

type DomainNameArgs

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

func (DomainNameArgs) ElementType() reflect.Type

type DomainNameArray

type DomainNameArray []DomainNameInput

func (DomainNameArray) ElementType

func (DomainNameArray) ElementType() reflect.Type

func (DomainNameArray) ToDomainNameArrayOutput

func (i DomainNameArray) ToDomainNameArrayOutput() DomainNameArrayOutput

func (DomainNameArray) ToDomainNameArrayOutputWithContext

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

type DomainNameArrayInput

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

type DomainNameArrayOutput struct{ *pulumi.OutputState }

func (DomainNameArrayOutput) ElementType

func (DomainNameArrayOutput) ElementType() reflect.Type

func (DomainNameArrayOutput) Index

func (DomainNameArrayOutput) ToDomainNameArrayOutput

func (o DomainNameArrayOutput) ToDomainNameArrayOutput() DomainNameArrayOutput

func (DomainNameArrayOutput) ToDomainNameArrayOutputWithContext

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

type DomainNameInput

type DomainNameInput interface {
	pulumi.Input

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

type DomainNameMap

type DomainNameMap map[string]DomainNameInput

func (DomainNameMap) ElementType

func (DomainNameMap) ElementType() reflect.Type

func (DomainNameMap) ToDomainNameMapOutput

func (i DomainNameMap) ToDomainNameMapOutput() DomainNameMapOutput

func (DomainNameMap) ToDomainNameMapOutputWithContext

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

type DomainNameMapInput

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

type DomainNameMapOutput struct{ *pulumi.OutputState }

func (DomainNameMapOutput) ElementType

func (DomainNameMapOutput) ElementType() reflect.Type

func (DomainNameMapOutput) MapIndex

func (DomainNameMapOutput) ToDomainNameMapOutput

func (o DomainNameMapOutput) ToDomainNameMapOutput() DomainNameMapOutput

func (DomainNameMapOutput) ToDomainNameMapOutputWithContext

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

type DomainNameOutput

type DomainNameOutput struct{ *pulumi.OutputState }

func (DomainNameOutput) AppsyncDomainName added in v5.4.0

func (o DomainNameOutput) AppsyncDomainName() pulumi.StringOutput

The domain name that AppSync provides.

func (DomainNameOutput) CertificateArn added in v5.4.0

func (o DomainNameOutput) CertificateArn() pulumi.StringOutput

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.

func (DomainNameOutput) Description added in v5.4.0

func (o DomainNameOutput) Description() pulumi.StringPtrOutput

A description of the Domain Name.

func (DomainNameOutput) DomainName added in v5.4.0

func (o DomainNameOutput) DomainName() pulumi.StringOutput

The domain name.

func (DomainNameOutput) ElementType

func (DomainNameOutput) ElementType() reflect.Type

func (DomainNameOutput) HostedZoneId added in v5.4.0

func (o DomainNameOutput) HostedZoneId() pulumi.StringOutput

The ID of your Amazon Route 53 hosted zone.

func (DomainNameOutput) ToDomainNameOutput

func (o DomainNameOutput) ToDomainNameOutput() DomainNameOutput

func (DomainNameOutput) ToDomainNameOutputWithContext

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

type DomainNameState

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

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/v5/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

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) ApiId added in v5.4.0

The ID of the associated AppSync API.

func (FunctionOutput) Arn added in v5.4.0

The ARN of the Function object.

func (FunctionOutput) DataSource added in v5.4.0

func (o FunctionOutput) DataSource() pulumi.StringOutput

The Function DataSource name.

func (FunctionOutput) Description added in v5.4.0

func (o FunctionOutput) Description() pulumi.StringPtrOutput

The Function description.

func (FunctionOutput) ElementType

func (FunctionOutput) ElementType() reflect.Type

func (FunctionOutput) FunctionId added in v5.4.0

func (o FunctionOutput) FunctionId() pulumi.StringOutput

A unique ID representing the Function object.

func (FunctionOutput) FunctionVersion added in v5.4.0

func (o FunctionOutput) FunctionVersion() pulumi.StringPtrOutput

The version of the request mapping template. Currently the supported value is `2018-05-29`.

func (FunctionOutput) MaxBatchSize added in v5.4.0

func (o FunctionOutput) MaxBatchSize() pulumi.IntPtrOutput

The maximum batching size for a resolver. Valid values are between `0` and `2000`.

func (FunctionOutput) Name added in v5.4.0

The Function name. The function name does not have to be unique.

func (FunctionOutput) RequestMappingTemplate added in v5.4.0

func (o FunctionOutput) RequestMappingTemplate() pulumi.StringOutput

The Function request mapping template. Functions support only the 2018-05-29 version of the request mapping template.

func (FunctionOutput) ResponseMappingTemplate added in v5.4.0

func (o FunctionOutput) ResponseMappingTemplate() pulumi.StringOutput

The Function response mapping template.

func (FunctionOutput) SyncConfig added in v5.4.0

Describes a Sync configuration for a resolver. See Sync Config.

func (FunctionOutput) ToFunctionOutput

func (o FunctionOutput) ToFunctionOutput() FunctionOutput

func (FunctionOutput) ToFunctionOutputWithContext

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

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

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

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

func (FunctionSyncConfigArgs) ElementType() reflect.Type

func (FunctionSyncConfigArgs) ToFunctionSyncConfigOutput

func (i FunctionSyncConfigArgs) ToFunctionSyncConfigOutput() FunctionSyncConfigOutput

func (FunctionSyncConfigArgs) ToFunctionSyncConfigOutputWithContext

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

func (FunctionSyncConfigArgs) ToFunctionSyncConfigPtrOutput

func (i FunctionSyncConfigArgs) ToFunctionSyncConfigPtrOutput() FunctionSyncConfigPtrOutput

func (FunctionSyncConfigArgs) ToFunctionSyncConfigPtrOutputWithContext

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

type FunctionSyncConfigInput

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

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

type FunctionSyncConfigLambdaConflictHandlerConfigArgs

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

func (FunctionSyncConfigLambdaConflictHandlerConfigArgs) ToFunctionSyncConfigLambdaConflictHandlerConfigOutput

func (i FunctionSyncConfigLambdaConflictHandlerConfigArgs) ToFunctionSyncConfigLambdaConflictHandlerConfigOutput() FunctionSyncConfigLambdaConflictHandlerConfigOutput

func (FunctionSyncConfigLambdaConflictHandlerConfigArgs) ToFunctionSyncConfigLambdaConflictHandlerConfigOutputWithContext

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

func (FunctionSyncConfigLambdaConflictHandlerConfigArgs) ToFunctionSyncConfigLambdaConflictHandlerConfigPtrOutput

func (i FunctionSyncConfigLambdaConflictHandlerConfigArgs) ToFunctionSyncConfigLambdaConflictHandlerConfigPtrOutput() FunctionSyncConfigLambdaConflictHandlerConfigPtrOutput

func (FunctionSyncConfigLambdaConflictHandlerConfigArgs) ToFunctionSyncConfigLambdaConflictHandlerConfigPtrOutputWithContext

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

type FunctionSyncConfigLambdaConflictHandlerConfigInput

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

type FunctionSyncConfigLambdaConflictHandlerConfigOutput struct{ *pulumi.OutputState }

func (FunctionSyncConfigLambdaConflictHandlerConfigOutput) ElementType

func (FunctionSyncConfigLambdaConflictHandlerConfigOutput) LambdaConflictHandlerArn

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

func (FunctionSyncConfigLambdaConflictHandlerConfigOutput) ToFunctionSyncConfigLambdaConflictHandlerConfigOutput

func (o FunctionSyncConfigLambdaConflictHandlerConfigOutput) ToFunctionSyncConfigLambdaConflictHandlerConfigOutput() FunctionSyncConfigLambdaConflictHandlerConfigOutput

func (FunctionSyncConfigLambdaConflictHandlerConfigOutput) ToFunctionSyncConfigLambdaConflictHandlerConfigOutputWithContext

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

func (FunctionSyncConfigLambdaConflictHandlerConfigOutput) ToFunctionSyncConfigLambdaConflictHandlerConfigPtrOutput

func (o FunctionSyncConfigLambdaConflictHandlerConfigOutput) ToFunctionSyncConfigLambdaConflictHandlerConfigPtrOutput() FunctionSyncConfigLambdaConflictHandlerConfigPtrOutput

func (FunctionSyncConfigLambdaConflictHandlerConfigOutput) ToFunctionSyncConfigLambdaConflictHandlerConfigPtrOutputWithContext

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

type FunctionSyncConfigLambdaConflictHandlerConfigPtrInput

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

type FunctionSyncConfigLambdaConflictHandlerConfigPtrOutput struct{ *pulumi.OutputState }

func (FunctionSyncConfigLambdaConflictHandlerConfigPtrOutput) Elem

func (FunctionSyncConfigLambdaConflictHandlerConfigPtrOutput) ElementType

func (FunctionSyncConfigLambdaConflictHandlerConfigPtrOutput) LambdaConflictHandlerArn

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

func (FunctionSyncConfigLambdaConflictHandlerConfigPtrOutput) ToFunctionSyncConfigLambdaConflictHandlerConfigPtrOutput

func (FunctionSyncConfigLambdaConflictHandlerConfigPtrOutput) ToFunctionSyncConfigLambdaConflictHandlerConfigPtrOutputWithContext

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

type FunctionSyncConfigOutput

type FunctionSyncConfigOutput struct{ *pulumi.OutputState }

func (FunctionSyncConfigOutput) ConflictDetection

func (o FunctionSyncConfigOutput) ConflictDetection() pulumi.StringPtrOutput

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

func (FunctionSyncConfigOutput) ConflictHandler

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

func (FunctionSyncConfigOutput) ElementType() reflect.Type

func (FunctionSyncConfigOutput) LambdaConflictHandlerConfig

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

func (FunctionSyncConfigOutput) ToFunctionSyncConfigOutput

func (o FunctionSyncConfigOutput) ToFunctionSyncConfigOutput() FunctionSyncConfigOutput

func (FunctionSyncConfigOutput) ToFunctionSyncConfigOutputWithContext

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

func (FunctionSyncConfigOutput) ToFunctionSyncConfigPtrOutput

func (o FunctionSyncConfigOutput) ToFunctionSyncConfigPtrOutput() FunctionSyncConfigPtrOutput

func (FunctionSyncConfigOutput) ToFunctionSyncConfigPtrOutputWithContext

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

type FunctionSyncConfigPtrInput

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

type FunctionSyncConfigPtrOutput

type FunctionSyncConfigPtrOutput struct{ *pulumi.OutputState }

func (FunctionSyncConfigPtrOutput) ConflictDetection

func (o FunctionSyncConfigPtrOutput) ConflictDetection() pulumi.StringPtrOutput

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

func (FunctionSyncConfigPtrOutput) ConflictHandler

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

func (FunctionSyncConfigPtrOutput) Elem

func (FunctionSyncConfigPtrOutput) ElementType

func (FunctionSyncConfigPtrOutput) LambdaConflictHandlerConfig

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

func (FunctionSyncConfigPtrOutput) ToFunctionSyncConfigPtrOutput

func (o FunctionSyncConfigPtrOutput) ToFunctionSyncConfigPtrOutput() FunctionSyncConfigPtrOutput

func (FunctionSyncConfigPtrOutput) ToFunctionSyncConfigPtrOutputWithContext

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/v5/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/v5/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/v5/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/v5/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/v5/go/aws/appsync"
"github.com/pulumi/pulumi-aws/sdk/v5/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/v5/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/v5/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/v5/go/aws/appsync"
"github.com/pulumi/pulumi-aws/sdk/v5/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/v5/go/aws/appsync"
"github.com/pulumi/pulumi-aws/sdk/v5/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

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

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

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

func (GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigArgs) ToGraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput

func (GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigArgs) ToGraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutputWithContext

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

func (GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigArgs) ToGraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput

func (GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigArgs) ToGraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutputWithContext

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

type GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigInput

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

type GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput struct{ *pulumi.OutputState }

func (GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput) AuthorizerResultTtlInSeconds

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

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

func (GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput) IdentityValidationExpression

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

func (GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput) ToGraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput

func (GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput) ToGraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutputWithContext

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

func (GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput) ToGraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput

func (GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput) ToGraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutputWithContext

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

type GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrInput

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

type GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput struct{ *pulumi.OutputState }

func (GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput) AuthorizerResultTtlInSeconds

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

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

func (GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput) ElementType

func (GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput) IdentityValidationExpression

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

func (GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput) ToGraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput

func (GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput) ToGraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutputWithContext

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

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

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

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

func (GraphQLApiLambdaAuthorizerConfigArgs) ToGraphQLApiLambdaAuthorizerConfigOutput

func (i GraphQLApiLambdaAuthorizerConfigArgs) ToGraphQLApiLambdaAuthorizerConfigOutput() GraphQLApiLambdaAuthorizerConfigOutput

func (GraphQLApiLambdaAuthorizerConfigArgs) ToGraphQLApiLambdaAuthorizerConfigOutputWithContext

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

func (GraphQLApiLambdaAuthorizerConfigArgs) ToGraphQLApiLambdaAuthorizerConfigPtrOutput

func (i GraphQLApiLambdaAuthorizerConfigArgs) ToGraphQLApiLambdaAuthorizerConfigPtrOutput() GraphQLApiLambdaAuthorizerConfigPtrOutput

func (GraphQLApiLambdaAuthorizerConfigArgs) ToGraphQLApiLambdaAuthorizerConfigPtrOutputWithContext

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

type GraphQLApiLambdaAuthorizerConfigInput

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

type GraphQLApiLambdaAuthorizerConfigOutput struct{ *pulumi.OutputState }

func (GraphQLApiLambdaAuthorizerConfigOutput) AuthorizerResultTtlInSeconds

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

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

func (GraphQLApiLambdaAuthorizerConfigOutput) IdentityValidationExpression

func (o GraphQLApiLambdaAuthorizerConfigOutput) IdentityValidationExpression() pulumi.StringPtrOutput

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

func (GraphQLApiLambdaAuthorizerConfigOutput) ToGraphQLApiLambdaAuthorizerConfigOutput

func (o GraphQLApiLambdaAuthorizerConfigOutput) ToGraphQLApiLambdaAuthorizerConfigOutput() GraphQLApiLambdaAuthorizerConfigOutput

func (GraphQLApiLambdaAuthorizerConfigOutput) ToGraphQLApiLambdaAuthorizerConfigOutputWithContext

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

func (GraphQLApiLambdaAuthorizerConfigOutput) ToGraphQLApiLambdaAuthorizerConfigPtrOutput

func (o GraphQLApiLambdaAuthorizerConfigOutput) ToGraphQLApiLambdaAuthorizerConfigPtrOutput() GraphQLApiLambdaAuthorizerConfigPtrOutput

func (GraphQLApiLambdaAuthorizerConfigOutput) ToGraphQLApiLambdaAuthorizerConfigPtrOutputWithContext

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

type GraphQLApiLambdaAuthorizerConfigPtrInput

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

type GraphQLApiLambdaAuthorizerConfigPtrOutput struct{ *pulumi.OutputState }

func (GraphQLApiLambdaAuthorizerConfigPtrOutput) AuthorizerResultTtlInSeconds

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

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

func (GraphQLApiLambdaAuthorizerConfigPtrOutput) ElementType

func (GraphQLApiLambdaAuthorizerConfigPtrOutput) IdentityValidationExpression

func (o GraphQLApiLambdaAuthorizerConfigPtrOutput) IdentityValidationExpression() pulumi.StringPtrOutput

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

func (GraphQLApiLambdaAuthorizerConfigPtrOutput) ToGraphQLApiLambdaAuthorizerConfigPtrOutput

func (o GraphQLApiLambdaAuthorizerConfigPtrOutput) ToGraphQLApiLambdaAuthorizerConfigPtrOutput() GraphQLApiLambdaAuthorizerConfigPtrOutput

func (GraphQLApiLambdaAuthorizerConfigPtrOutput) ToGraphQLApiLambdaAuthorizerConfigPtrOutputWithContext

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) AdditionalAuthenticationProviders added in v5.4.0

func (o GraphQLApiOutput) AdditionalAuthenticationProviders() GraphQLApiAdditionalAuthenticationProviderArrayOutput

One or more additional authentication providers for the GraphqlApi. Defined below.

func (GraphQLApiOutput) Arn added in v5.4.0

The ARN

func (GraphQLApiOutput) AuthenticationType added in v5.4.0

func (o GraphQLApiOutput) AuthenticationType() pulumi.StringOutput

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

func (GraphQLApiOutput) ElementType

func (GraphQLApiOutput) ElementType() reflect.Type

func (GraphQLApiOutput) LambdaAuthorizerConfig added in v5.4.0

Nested argument containing Lambda authorizer configuration. Defined below.

func (GraphQLApiOutput) LogConfig added in v5.4.0

Nested argument containing logging configuration. Defined below.

func (GraphQLApiOutput) Name added in v5.4.0

A user-supplied name for the GraphqlApi.

func (GraphQLApiOutput) OpenidConnectConfig added in v5.4.0

Nested argument containing OpenID Connect configuration. Defined below.

func (GraphQLApiOutput) Schema added in v5.4.0

The schema definition, in GraphQL schema language format. This provider cannot perform drift detection of this configuration.

func (GraphQLApiOutput) Tags added in v5.4.0

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.

func (GraphQLApiOutput) TagsAll added in v5.4.0

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

func (GraphQLApiOutput) ToGraphQLApiOutput

func (o GraphQLApiOutput) ToGraphQLApiOutput() GraphQLApiOutput

func (GraphQLApiOutput) ToGraphQLApiOutputWithContext

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

func (GraphQLApiOutput) Uris added in v5.4.0

Map of URIs associated with the APIE.g., `uris["GRAPHQL"] = https://ID.appsync-api.REGION.amazonaws.com/graphql`

func (GraphQLApiOutput) UserPoolConfig added in v5.4.0

The Amazon Cognito User Pool configuration. Defined below.

func (GraphQLApiOutput) XrayEnabled added in v5.4.0

func (o GraphQLApiOutput) XrayEnabled() pulumi.BoolPtrOutput

Whether tracing with X-ray is enabled. Defaults to false.

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/v5/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

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) ApiId added in v5.4.0

The API ID for the GraphQL API.

func (ResolverOutput) Arn added in v5.4.0

The ARN

func (ResolverOutput) CachingConfig added in v5.4.0

The CachingConfig.

func (ResolverOutput) DataSource added in v5.4.0

func (o ResolverOutput) DataSource() pulumi.StringPtrOutput

The DataSource name.

func (ResolverOutput) ElementType

func (ResolverOutput) ElementType() reflect.Type

func (ResolverOutput) Field added in v5.4.0

The field name from the schema defined in the GraphQL API.

func (ResolverOutput) Kind added in v5.4.0

The resolver type. Valid values are `UNIT` and `PIPELINE`.

func (ResolverOutput) MaxBatchSize added in v5.4.0

func (o ResolverOutput) MaxBatchSize() pulumi.IntPtrOutput

The maximum batching size for a resolver. Valid values are between `0` and `2000`.

func (ResolverOutput) PipelineConfig added in v5.4.0

The PipelineConfig.

func (ResolverOutput) RequestTemplate added in v5.4.0

func (o ResolverOutput) RequestTemplate() pulumi.StringPtrOutput

The request mapping template for UNIT resolver or 'before mapping template' for PIPELINE resolver. Required for non-Lambda resolvers.

func (ResolverOutput) ResponseTemplate added in v5.4.0

func (o ResolverOutput) ResponseTemplate() pulumi.StringPtrOutput

The response mapping template for UNIT resolver or 'after mapping template' for PIPELINE resolver. Required for non-Lambda resolvers.

func (ResolverOutput) SyncConfig added in v5.4.0

Describes a Sync configuration for a resolver. See Sync Config.

func (ResolverOutput) ToResolverOutput

func (o ResolverOutput) ToResolverOutput() ResolverOutput

func (ResolverOutput) ToResolverOutputWithContext

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

func (ResolverOutput) Type added in v5.4.0

The type name from the schema defined in the GraphQL API.

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 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

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

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

func (ResolverSyncConfigArgs) ElementType() reflect.Type

func (ResolverSyncConfigArgs) ToResolverSyncConfigOutput

func (i ResolverSyncConfigArgs) ToResolverSyncConfigOutput() ResolverSyncConfigOutput

func (ResolverSyncConfigArgs) ToResolverSyncConfigOutputWithContext

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

func (ResolverSyncConfigArgs) ToResolverSyncConfigPtrOutput

func (i ResolverSyncConfigArgs) ToResolverSyncConfigPtrOutput() ResolverSyncConfigPtrOutput

func (ResolverSyncConfigArgs) ToResolverSyncConfigPtrOutputWithContext

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

type ResolverSyncConfigInput

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

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

type ResolverSyncConfigLambdaConflictHandlerConfigArgs

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

func (ResolverSyncConfigLambdaConflictHandlerConfigArgs) ToResolverSyncConfigLambdaConflictHandlerConfigOutput

func (i ResolverSyncConfigLambdaConflictHandlerConfigArgs) ToResolverSyncConfigLambdaConflictHandlerConfigOutput() ResolverSyncConfigLambdaConflictHandlerConfigOutput

func (ResolverSyncConfigLambdaConflictHandlerConfigArgs) ToResolverSyncConfigLambdaConflictHandlerConfigOutputWithContext

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

func (ResolverSyncConfigLambdaConflictHandlerConfigArgs) ToResolverSyncConfigLambdaConflictHandlerConfigPtrOutput

func (i ResolverSyncConfigLambdaConflictHandlerConfigArgs) ToResolverSyncConfigLambdaConflictHandlerConfigPtrOutput() ResolverSyncConfigLambdaConflictHandlerConfigPtrOutput

func (ResolverSyncConfigLambdaConflictHandlerConfigArgs) ToResolverSyncConfigLambdaConflictHandlerConfigPtrOutputWithContext

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

type ResolverSyncConfigLambdaConflictHandlerConfigInput

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

type ResolverSyncConfigLambdaConflictHandlerConfigOutput struct{ *pulumi.OutputState }

func (ResolverSyncConfigLambdaConflictHandlerConfigOutput) ElementType

func (ResolverSyncConfigLambdaConflictHandlerConfigOutput) LambdaConflictHandlerArn

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

func (ResolverSyncConfigLambdaConflictHandlerConfigOutput) ToResolverSyncConfigLambdaConflictHandlerConfigOutput

func (o ResolverSyncConfigLambdaConflictHandlerConfigOutput) ToResolverSyncConfigLambdaConflictHandlerConfigOutput() ResolverSyncConfigLambdaConflictHandlerConfigOutput

func (ResolverSyncConfigLambdaConflictHandlerConfigOutput) ToResolverSyncConfigLambdaConflictHandlerConfigOutputWithContext

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

func (ResolverSyncConfigLambdaConflictHandlerConfigOutput) ToResolverSyncConfigLambdaConflictHandlerConfigPtrOutput

func (o ResolverSyncConfigLambdaConflictHandlerConfigOutput) ToResolverSyncConfigLambdaConflictHandlerConfigPtrOutput() ResolverSyncConfigLambdaConflictHandlerConfigPtrOutput

func (ResolverSyncConfigLambdaConflictHandlerConfigOutput) ToResolverSyncConfigLambdaConflictHandlerConfigPtrOutputWithContext

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

type ResolverSyncConfigLambdaConflictHandlerConfigPtrInput

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

type ResolverSyncConfigLambdaConflictHandlerConfigPtrOutput struct{ *pulumi.OutputState }

func (ResolverSyncConfigLambdaConflictHandlerConfigPtrOutput) Elem

func (ResolverSyncConfigLambdaConflictHandlerConfigPtrOutput) ElementType

func (ResolverSyncConfigLambdaConflictHandlerConfigPtrOutput) LambdaConflictHandlerArn

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

func (ResolverSyncConfigLambdaConflictHandlerConfigPtrOutput) ToResolverSyncConfigLambdaConflictHandlerConfigPtrOutput

func (ResolverSyncConfigLambdaConflictHandlerConfigPtrOutput) ToResolverSyncConfigLambdaConflictHandlerConfigPtrOutputWithContext

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

type ResolverSyncConfigOutput

type ResolverSyncConfigOutput struct{ *pulumi.OutputState }

func (ResolverSyncConfigOutput) ConflictDetection

func (o ResolverSyncConfigOutput) ConflictDetection() pulumi.StringPtrOutput

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

func (ResolverSyncConfigOutput) ConflictHandler

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

func (ResolverSyncConfigOutput) ElementType() reflect.Type

func (ResolverSyncConfigOutput) LambdaConflictHandlerConfig

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

func (ResolverSyncConfigOutput) ToResolverSyncConfigOutput

func (o ResolverSyncConfigOutput) ToResolverSyncConfigOutput() ResolverSyncConfigOutput

func (ResolverSyncConfigOutput) ToResolverSyncConfigOutputWithContext

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

func (ResolverSyncConfigOutput) ToResolverSyncConfigPtrOutput

func (o ResolverSyncConfigOutput) ToResolverSyncConfigPtrOutput() ResolverSyncConfigPtrOutput

func (ResolverSyncConfigOutput) ToResolverSyncConfigPtrOutputWithContext

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

type ResolverSyncConfigPtrInput

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

type ResolverSyncConfigPtrOutput

type ResolverSyncConfigPtrOutput struct{ *pulumi.OutputState }

func (ResolverSyncConfigPtrOutput) ConflictDetection

func (o ResolverSyncConfigPtrOutput) ConflictDetection() pulumi.StringPtrOutput

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

func (ResolverSyncConfigPtrOutput) ConflictHandler

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

func (ResolverSyncConfigPtrOutput) Elem

func (ResolverSyncConfigPtrOutput) ElementType

func (ResolverSyncConfigPtrOutput) LambdaConflictHandlerConfig

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

func (ResolverSyncConfigPtrOutput) ToResolverSyncConfigPtrOutput

func (o ResolverSyncConfigPtrOutput) ToResolverSyncConfigPtrOutput() ResolverSyncConfigPtrOutput

func (ResolverSyncConfigPtrOutput) ToResolverSyncConfigPtrOutputWithContext

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