appsync

package
v6.37.0 Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiCache

type ApiCache struct {
	pulumi.CustomResourceState

	// Caching behavior. Valid values are `FULL_REQUEST_CACHING` and `PER_RESOLVER_CACHING`.
	ApiCachingBehavior pulumi.StringOutput `pulumi:"apiCachingBehavior"`
	// 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"`
	// 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.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/appsync"
"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("API_KEY"),
			Name:               pulumi.String("example"),
		})
		if err != nil {
			return err
		}
		_, err = appsync.NewApiCache(ctx, "example", &appsync.ApiCacheArgs{
			ApiId:              example.ID(),
			ApiCachingBehavior: pulumi.String("FULL_REQUEST_CACHING"),
			Type:               pulumi.String("LARGE"),
			Ttl:                pulumi.Int(900),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import `aws_appsync_api_cache` using the AppSync API ID. For example:

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

func (o ApiCacheOutput) ApiCachingBehavior() pulumi.StringOutput

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

func (ApiCacheOutput) ApiId

GraphQL API ID.

func (ApiCacheOutput) AtRestEncryptionEnabled

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

func (o ApiCacheOutput) TransitEncryptionEnabled() pulumi.BoolPtrOutput

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

func (ApiCacheOutput) Ttl

TTL in seconds for cache entries.

func (ApiCacheOutput) Type

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

	// ID of the associated AppSync API
	ApiId pulumi.StringOutput `pulumi:"apiId"`
	// 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"`
	// API key
	Key pulumi.StringOutput `pulumi:"key"`
}

Provides an AppSync API Key.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/appsync"
"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("API_KEY"),
			Name:               pulumi.String("example"),
		})
		if err != nil {
			return err
		}
		_, err = appsync.NewApiKey(ctx, "example", &appsync.ApiKeyArgs{
			ApiId:   example.ID(),
			Expires: pulumi.String("2018-05-03T04:00:00Z"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import `aws_appsync_api_key` using the AppSync API ID and key separated by `:`. For example:

```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 {
	// ID of the associated AppSync API
	ApiId pulumi.StringInput
	// 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

func (o ApiKeyOutput) ApiId() pulumi.StringOutput

ID of the associated AppSync API

func (ApiKeyOutput) Description

func (o ApiKeyOutput) Description() pulumi.StringOutput

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

func (ApiKeyOutput) ElementType

func (ApiKeyOutput) ElementType() reflect.Type

func (ApiKeyOutput) Expires

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

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 {
	// ID of the associated AppSync API
	ApiId pulumi.StringPtrInput
	// 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
	// API key
	Key pulumi.StringPtrInput
}

func (ApiKeyState) ElementType

func (ApiKeyState) ElementType() reflect.Type

type DataSource

type DataSource struct {
	pulumi.CustomResourceState

	// API ID for the GraphQL API for the data source.
	ApiId pulumi.StringOutput `pulumi:"apiId"`
	// ARN
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Description of the data source.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// DynamoDB settings. See DynamoDB Config
	DynamodbConfig DataSourceDynamodbConfigPtrOutput `pulumi:"dynamodbConfig"`
	// Amazon Elasticsearch settings. See ElasticSearch Config
	ElasticsearchConfig DataSourceElasticsearchConfigPtrOutput `pulumi:"elasticsearchConfig"`
	// AWS EventBridge settings. See Event Bridge Config
	EventBridgeConfig DataSourceEventBridgeConfigPtrOutput `pulumi:"eventBridgeConfig"`
	// HTTP settings. See HTTP Config
	HttpConfig DataSourceHttpConfigPtrOutput `pulumi:"httpConfig"`
	// AWS Lambda settings. See Lambda Config
	LambdaConfig DataSourceLambdaConfigPtrOutput `pulumi:"lambdaConfig"`
	// User-supplied name for the data source.
	Name pulumi.StringOutput `pulumi:"name"`
	// Amazon OpenSearch Service settings. See OpenSearch Service Config
	OpensearchserviceConfig DataSourceOpensearchserviceConfigPtrOutput `pulumi:"opensearchserviceConfig"`
	// AWS RDS settings. See Relational Database Config
	RelationalDatabaseConfig DataSourceRelationalDatabaseConfigPtrOutput `pulumi:"relationalDatabaseConfig"`
	// IAM service role ARN for the data source. Required if `type` is specified as `AWS_LAMBDA`, `AMAZON_DYNAMODB`, `AMAZON_ELASTICSEARCH`, `AMAZON_EVENTBRIDGE`, or `AMAZON_OPENSEARCH_SERVICE`.
	ServiceRoleArn pulumi.StringPtrOutput `pulumi:"serviceRoleArn"`
	// Type of the Data Source. Valid values: `AWS_LAMBDA`, `AMAZON_DYNAMODB`, `AMAZON_ELASTICSEARCH`, `HTTP`, `NONE`, `RELATIONAL_DATABASE`, `AMAZON_EVENTBRIDGE`, `AMAZON_OPENSEARCH_SERVICE`.
	Type pulumi.StringOutput `pulumi:"type"`
}

Provides an AppSync Data Source.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/appsync"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/dynamodb"
"github.com/pulumi/pulumi-aws/sdk/v6/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, "example", &dynamodb.TableArgs{
			Name:          pulumi.String("example"),
			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
		}
		assumeRole, err := iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{
			Statements: []iam.GetPolicyDocumentStatement{
				{
					Effect: pulumi.StringRef("Allow"),
					Principals: []iam.GetPolicyDocumentStatementPrincipal{
						{
							Type: "Service",
							Identifiers: []string{
								"appsync.amazonaws.com",
							},
						},
					},
					Actions: []string{
						"sts:AssumeRole",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		exampleRole, err := iam.NewRole(ctx, "example", &iam.RoleArgs{
			Name:             pulumi.String("example"),
			AssumeRolePolicy: pulumi.String(assumeRole.Json),
		})
		if err != nil {
			return err
		}
		example := iam.GetPolicyDocumentOutput(ctx, iam.GetPolicyDocumentOutputArgs{
			Statements: iam.GetPolicyDocumentStatementArray{
				&iam.GetPolicyDocumentStatementArgs{
					Effect: pulumi.String("Allow"),
					Actions: pulumi.StringArray{
						pulumi.String("dynamodb:*"),
					},
					Resources: pulumi.StringArray{
						exampleTable.Arn,
					},
				},
			},
		}, nil)
		_, err = iam.NewRolePolicy(ctx, "example", &iam.RolePolicyArgs{
			Name: pulumi.String("example"),
			Role: exampleRole.ID(),
			Policy: example.ApplyT(func(example iam.GetPolicyDocumentResult) (*string, error) {
				return &example.Json, nil
			}).(pulumi.StringPtrOutput),
		})
		if err != nil {
			return err
		}
		exampleGraphQLApi, err := appsync.NewGraphQLApi(ctx, "example", &appsync.GraphQLApiArgs{
			AuthenticationType: pulumi.String("API_KEY"),
			Name:               pulumi.String("my_appsync_example"),
		})
		if err != nil {
			return err
		}
		_, err = appsync.NewDataSource(ctx, "example", &appsync.DataSourceArgs{
			ApiId:          exampleGraphQLApi.ID(),
			Name:           pulumi.String("my_appsync_example"),
			ServiceRoleArn: exampleRole.Arn,
			Type:           pulumi.String("AMAZON_DYNAMODB"),
			DynamodbConfig: &appsync.DataSourceDynamodbConfigArgs{
				TableName: exampleTable.Name,
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import `aws_appsync_datasource` using the `api_id`, a hyphen, and `name`. For example:

```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 {
	// API ID for the GraphQL API for the data source.
	ApiId pulumi.StringInput
	// Description of the data source.
	Description pulumi.StringPtrInput
	// DynamoDB settings. See DynamoDB Config
	DynamodbConfig DataSourceDynamodbConfigPtrInput
	// Amazon Elasticsearch settings. See ElasticSearch Config
	ElasticsearchConfig DataSourceElasticsearchConfigPtrInput
	// AWS EventBridge settings. See Event Bridge Config
	EventBridgeConfig DataSourceEventBridgeConfigPtrInput
	// HTTP settings. See HTTP Config
	HttpConfig DataSourceHttpConfigPtrInput
	// AWS Lambda settings. See Lambda Config
	LambdaConfig DataSourceLambdaConfigPtrInput
	// User-supplied name for the data source.
	Name pulumi.StringPtrInput
	// Amazon OpenSearch Service settings. See OpenSearch Service Config
	OpensearchserviceConfig DataSourceOpensearchserviceConfigPtrInput
	// AWS RDS settings. See Relational Database Config
	RelationalDatabaseConfig DataSourceRelationalDatabaseConfigPtrInput
	// IAM service role ARN for the data source. Required if `type` is specified as `AWS_LAMBDA`, `AMAZON_DYNAMODB`, `AMAZON_ELASTICSEARCH`, `AMAZON_EVENTBRIDGE`, or `AMAZON_OPENSEARCH_SERVICE`.
	ServiceRoleArn pulumi.StringPtrInput
	// Type of the Data Source. Valid values: `AWS_LAMBDA`, `AMAZON_DYNAMODB`, `AMAZON_ELASTICSEARCH`, `HTTP`, `NONE`, `RELATIONAL_DATABASE`, `AMAZON_EVENTBRIDGE`, `AMAZON_OPENSEARCH_SERVICE`.
	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 {
	// The DeltaSyncConfig for a versioned data source. See Delta Sync Config
	DeltaSyncConfig *DataSourceDynamodbConfigDeltaSyncConfig `pulumi:"deltaSyncConfig"`
	// AWS region of the DynamoDB table. 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"`
	// Detects Conflict Detection and Resolution with this data source.
	Versioned *bool `pulumi:"versioned"`
}

type DataSourceDynamodbConfigArgs

type DataSourceDynamodbConfigArgs struct {
	// The DeltaSyncConfig for a versioned data source. See Delta Sync Config
	DeltaSyncConfig DataSourceDynamodbConfigDeltaSyncConfigPtrInput `pulumi:"deltaSyncConfig"`
	// AWS region of the DynamoDB table. 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"`
	// Detects Conflict Detection and Resolution with this data source.
	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 {
	// The number of minutes that an Item is stored in the data source.
	BaseTableTtl *int `pulumi:"baseTableTtl"`
	// The table name.
	DeltaSyncTableName string `pulumi:"deltaSyncTableName"`
	// The number of minutes that a Delta Sync log entry is stored in the Delta Sync table.
	DeltaSyncTableTtl *int `pulumi:"deltaSyncTableTtl"`
}

type DataSourceDynamodbConfigDeltaSyncConfigArgs

type DataSourceDynamodbConfigDeltaSyncConfigArgs struct {
	// The number of minutes that an Item is stored in the data source.
	BaseTableTtl pulumi.IntPtrInput `pulumi:"baseTableTtl"`
	// The table name.
	DeltaSyncTableName pulumi.StringInput `pulumi:"deltaSyncTableName"`
	// The number of minutes that a Delta Sync log entry is stored in the Delta Sync table.
	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

The number of minutes that an Item is stored in the data source.

func (DataSourceDynamodbConfigDeltaSyncConfigOutput) DeltaSyncTableName

The table name.

func (DataSourceDynamodbConfigDeltaSyncConfigOutput) DeltaSyncTableTtl

The number of minutes that a Delta Sync log entry is stored in the Delta Sync table.

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

The number of minutes that an Item is stored in the data source.

func (DataSourceDynamodbConfigDeltaSyncConfigPtrOutput) DeltaSyncTableName

The table name.

func (DataSourceDynamodbConfigDeltaSyncConfigPtrOutput) DeltaSyncTableTtl

The number of minutes that a Delta Sync log entry is stored in the Delta Sync table.

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

The DeltaSyncConfig for a versioned data source. See Delta Sync Config

func (DataSourceDynamodbConfigOutput) ElementType

func (DataSourceDynamodbConfigOutput) Region

AWS region of the DynamoDB table. 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

Detects Conflict Detection and Resolution with this data source.

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

The DeltaSyncConfig for a versioned data source. See Delta Sync Config

func (DataSourceDynamodbConfigPtrOutput) Elem

func (DataSourceDynamodbConfigPtrOutput) ElementType

func (DataSourceDynamodbConfigPtrOutput) Region

AWS region of the DynamoDB table. 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

Detects Conflict Detection and Resolution with this data source.

type DataSourceElasticsearchConfig

type DataSourceElasticsearchConfig struct {
	// HTTP endpoint of the Elasticsearch domain.
	Endpoint string `pulumi:"endpoint"`
	// AWS region of Elasticsearch domain. Defaults to current region.
	Region *string `pulumi:"region"`
}

type DataSourceElasticsearchConfigArgs

type DataSourceElasticsearchConfigArgs struct {
	// HTTP endpoint of the Elasticsearch domain.
	Endpoint pulumi.StringInput `pulumi:"endpoint"`
	// AWS region of Elasticsearch domain. 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 endpoint of the Elasticsearch domain.

func (DataSourceElasticsearchConfigOutput) Region

AWS region of Elasticsearch domain. 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 endpoint of the Elasticsearch domain.

func (DataSourceElasticsearchConfigPtrOutput) Region

AWS region of Elasticsearch domain. Defaults to current region.

func (DataSourceElasticsearchConfigPtrOutput) ToDataSourceElasticsearchConfigPtrOutput

func (o DataSourceElasticsearchConfigPtrOutput) ToDataSourceElasticsearchConfigPtrOutput() DataSourceElasticsearchConfigPtrOutput

func (DataSourceElasticsearchConfigPtrOutput) ToDataSourceElasticsearchConfigPtrOutputWithContext

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

type DataSourceEventBridgeConfig

type DataSourceEventBridgeConfig struct {
	// ARN for the EventBridge bus.
	EventBusArn string `pulumi:"eventBusArn"`
}

type DataSourceEventBridgeConfigArgs

type DataSourceEventBridgeConfigArgs struct {
	// ARN for the EventBridge bus.
	EventBusArn pulumi.StringInput `pulumi:"eventBusArn"`
}

func (DataSourceEventBridgeConfigArgs) ElementType

func (DataSourceEventBridgeConfigArgs) ToDataSourceEventBridgeConfigOutput

func (i DataSourceEventBridgeConfigArgs) ToDataSourceEventBridgeConfigOutput() DataSourceEventBridgeConfigOutput

func (DataSourceEventBridgeConfigArgs) ToDataSourceEventBridgeConfigOutputWithContext

func (i DataSourceEventBridgeConfigArgs) ToDataSourceEventBridgeConfigOutputWithContext(ctx context.Context) DataSourceEventBridgeConfigOutput

func (DataSourceEventBridgeConfigArgs) ToDataSourceEventBridgeConfigPtrOutput

func (i DataSourceEventBridgeConfigArgs) ToDataSourceEventBridgeConfigPtrOutput() DataSourceEventBridgeConfigPtrOutput

func (DataSourceEventBridgeConfigArgs) ToDataSourceEventBridgeConfigPtrOutputWithContext

func (i DataSourceEventBridgeConfigArgs) ToDataSourceEventBridgeConfigPtrOutputWithContext(ctx context.Context) DataSourceEventBridgeConfigPtrOutput

type DataSourceEventBridgeConfigInput

type DataSourceEventBridgeConfigInput interface {
	pulumi.Input

	ToDataSourceEventBridgeConfigOutput() DataSourceEventBridgeConfigOutput
	ToDataSourceEventBridgeConfigOutputWithContext(context.Context) DataSourceEventBridgeConfigOutput
}

DataSourceEventBridgeConfigInput is an input type that accepts DataSourceEventBridgeConfigArgs and DataSourceEventBridgeConfigOutput values. You can construct a concrete instance of `DataSourceEventBridgeConfigInput` via:

DataSourceEventBridgeConfigArgs{...}

type DataSourceEventBridgeConfigOutput

type DataSourceEventBridgeConfigOutput struct{ *pulumi.OutputState }

func (DataSourceEventBridgeConfigOutput) ElementType

func (DataSourceEventBridgeConfigOutput) EventBusArn

ARN for the EventBridge bus.

func (DataSourceEventBridgeConfigOutput) ToDataSourceEventBridgeConfigOutput

func (o DataSourceEventBridgeConfigOutput) ToDataSourceEventBridgeConfigOutput() DataSourceEventBridgeConfigOutput

func (DataSourceEventBridgeConfigOutput) ToDataSourceEventBridgeConfigOutputWithContext

func (o DataSourceEventBridgeConfigOutput) ToDataSourceEventBridgeConfigOutputWithContext(ctx context.Context) DataSourceEventBridgeConfigOutput

func (DataSourceEventBridgeConfigOutput) ToDataSourceEventBridgeConfigPtrOutput

func (o DataSourceEventBridgeConfigOutput) ToDataSourceEventBridgeConfigPtrOutput() DataSourceEventBridgeConfigPtrOutput

func (DataSourceEventBridgeConfigOutput) ToDataSourceEventBridgeConfigPtrOutputWithContext

func (o DataSourceEventBridgeConfigOutput) ToDataSourceEventBridgeConfigPtrOutputWithContext(ctx context.Context) DataSourceEventBridgeConfigPtrOutput

type DataSourceEventBridgeConfigPtrInput

type DataSourceEventBridgeConfigPtrInput interface {
	pulumi.Input

	ToDataSourceEventBridgeConfigPtrOutput() DataSourceEventBridgeConfigPtrOutput
	ToDataSourceEventBridgeConfigPtrOutputWithContext(context.Context) DataSourceEventBridgeConfigPtrOutput
}

DataSourceEventBridgeConfigPtrInput is an input type that accepts DataSourceEventBridgeConfigArgs, DataSourceEventBridgeConfigPtr and DataSourceEventBridgeConfigPtrOutput values. You can construct a concrete instance of `DataSourceEventBridgeConfigPtrInput` via:

        DataSourceEventBridgeConfigArgs{...}

or:

        nil

type DataSourceEventBridgeConfigPtrOutput

type DataSourceEventBridgeConfigPtrOutput struct{ *pulumi.OutputState }

func (DataSourceEventBridgeConfigPtrOutput) Elem

func (DataSourceEventBridgeConfigPtrOutput) ElementType

func (DataSourceEventBridgeConfigPtrOutput) EventBusArn

ARN for the EventBridge bus.

func (DataSourceEventBridgeConfigPtrOutput) ToDataSourceEventBridgeConfigPtrOutput

func (o DataSourceEventBridgeConfigPtrOutput) ToDataSourceEventBridgeConfigPtrOutput() DataSourceEventBridgeConfigPtrOutput

func (DataSourceEventBridgeConfigPtrOutput) ToDataSourceEventBridgeConfigPtrOutputWithContext

func (o DataSourceEventBridgeConfigPtrOutput) ToDataSourceEventBridgeConfigPtrOutputWithContext(ctx context.Context) DataSourceEventBridgeConfigPtrOutput

type DataSourceHttpConfig

type DataSourceHttpConfig struct {
	// 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 {
	// 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 {
	// Authorization type that the HTTP endpoint requires. Default values is `AWS_IAM`.
	AuthorizationType *string `pulumi:"authorizationType"`
	// Identity and Access Management (IAM) settings. See AWS IAM Config.
	AwsIamConfig *DataSourceHttpConfigAuthorizationConfigAwsIamConfig `pulumi:"awsIamConfig"`
}

type DataSourceHttpConfigAuthorizationConfigArgs

type DataSourceHttpConfigAuthorizationConfigArgs struct {
	// Authorization type that the HTTP endpoint requires. Default values is `AWS_IAM`.
	AuthorizationType pulumi.StringPtrInput `pulumi:"authorizationType"`
	// 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 {
	// Signing Amazon Web Services Region for IAM authorization.
	SigningRegion *string `pulumi:"signingRegion"`
	// Signing service name for IAM authorization.
	SigningServiceName *string `pulumi:"signingServiceName"`
}

type DataSourceHttpConfigAuthorizationConfigAwsIamConfigArgs

type DataSourceHttpConfigAuthorizationConfigAwsIamConfigArgs struct {
	// Signing Amazon Web Services Region for IAM authorization.
	SigningRegion pulumi.StringPtrInput `pulumi:"signingRegion"`
	// 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

Signing Amazon Web Services Region for IAM authorization.

func (DataSourceHttpConfigAuthorizationConfigAwsIamConfigOutput) SigningServiceName

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

Signing Amazon Web Services Region for IAM authorization.

func (DataSourceHttpConfigAuthorizationConfigAwsIamConfigPtrOutput) SigningServiceName

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

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

func (DataSourceHttpConfigAuthorizationConfigOutput) AwsIamConfig

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

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

func (DataSourceHttpConfigAuthorizationConfigPtrOutput) AwsIamConfig

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

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

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 {
	// ARN for the Lambda function.
	FunctionArn string `pulumi:"functionArn"`
}

type DataSourceLambdaConfigArgs

type DataSourceLambdaConfigArgs struct {
	// 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

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

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 DataSourceOpensearchserviceConfig

type DataSourceOpensearchserviceConfig struct {
	Endpoint string  `pulumi:"endpoint"`
	Region   *string `pulumi:"region"`
}

type DataSourceOpensearchserviceConfigArgs

type DataSourceOpensearchserviceConfigArgs struct {
	Endpoint pulumi.StringInput    `pulumi:"endpoint"`
	Region   pulumi.StringPtrInput `pulumi:"region"`
}

func (DataSourceOpensearchserviceConfigArgs) ElementType

func (DataSourceOpensearchserviceConfigArgs) ToDataSourceOpensearchserviceConfigOutput

func (i DataSourceOpensearchserviceConfigArgs) ToDataSourceOpensearchserviceConfigOutput() DataSourceOpensearchserviceConfigOutput

func (DataSourceOpensearchserviceConfigArgs) ToDataSourceOpensearchserviceConfigOutputWithContext

func (i DataSourceOpensearchserviceConfigArgs) ToDataSourceOpensearchserviceConfigOutputWithContext(ctx context.Context) DataSourceOpensearchserviceConfigOutput

func (DataSourceOpensearchserviceConfigArgs) ToDataSourceOpensearchserviceConfigPtrOutput

func (i DataSourceOpensearchserviceConfigArgs) ToDataSourceOpensearchserviceConfigPtrOutput() DataSourceOpensearchserviceConfigPtrOutput

func (DataSourceOpensearchserviceConfigArgs) ToDataSourceOpensearchserviceConfigPtrOutputWithContext

func (i DataSourceOpensearchserviceConfigArgs) ToDataSourceOpensearchserviceConfigPtrOutputWithContext(ctx context.Context) DataSourceOpensearchserviceConfigPtrOutput

type DataSourceOpensearchserviceConfigInput

type DataSourceOpensearchserviceConfigInput interface {
	pulumi.Input

	ToDataSourceOpensearchserviceConfigOutput() DataSourceOpensearchserviceConfigOutput
	ToDataSourceOpensearchserviceConfigOutputWithContext(context.Context) DataSourceOpensearchserviceConfigOutput
}

DataSourceOpensearchserviceConfigInput is an input type that accepts DataSourceOpensearchserviceConfigArgs and DataSourceOpensearchserviceConfigOutput values. You can construct a concrete instance of `DataSourceOpensearchserviceConfigInput` via:

DataSourceOpensearchserviceConfigArgs{...}

type DataSourceOpensearchserviceConfigOutput

type DataSourceOpensearchserviceConfigOutput struct{ *pulumi.OutputState }

func (DataSourceOpensearchserviceConfigOutput) ElementType

func (DataSourceOpensearchserviceConfigOutput) Endpoint

func (DataSourceOpensearchserviceConfigOutput) Region

func (DataSourceOpensearchserviceConfigOutput) ToDataSourceOpensearchserviceConfigOutput

func (o DataSourceOpensearchserviceConfigOutput) ToDataSourceOpensearchserviceConfigOutput() DataSourceOpensearchserviceConfigOutput

func (DataSourceOpensearchserviceConfigOutput) ToDataSourceOpensearchserviceConfigOutputWithContext

func (o DataSourceOpensearchserviceConfigOutput) ToDataSourceOpensearchserviceConfigOutputWithContext(ctx context.Context) DataSourceOpensearchserviceConfigOutput

func (DataSourceOpensearchserviceConfigOutput) ToDataSourceOpensearchserviceConfigPtrOutput

func (o DataSourceOpensearchserviceConfigOutput) ToDataSourceOpensearchserviceConfigPtrOutput() DataSourceOpensearchserviceConfigPtrOutput

func (DataSourceOpensearchserviceConfigOutput) ToDataSourceOpensearchserviceConfigPtrOutputWithContext

func (o DataSourceOpensearchserviceConfigOutput) ToDataSourceOpensearchserviceConfigPtrOutputWithContext(ctx context.Context) DataSourceOpensearchserviceConfigPtrOutput

type DataSourceOpensearchserviceConfigPtrInput

type DataSourceOpensearchserviceConfigPtrInput interface {
	pulumi.Input

	ToDataSourceOpensearchserviceConfigPtrOutput() DataSourceOpensearchserviceConfigPtrOutput
	ToDataSourceOpensearchserviceConfigPtrOutputWithContext(context.Context) DataSourceOpensearchserviceConfigPtrOutput
}

DataSourceOpensearchserviceConfigPtrInput is an input type that accepts DataSourceOpensearchserviceConfigArgs, DataSourceOpensearchserviceConfigPtr and DataSourceOpensearchserviceConfigPtrOutput values. You can construct a concrete instance of `DataSourceOpensearchserviceConfigPtrInput` via:

        DataSourceOpensearchserviceConfigArgs{...}

or:

        nil

type DataSourceOpensearchserviceConfigPtrOutput

type DataSourceOpensearchserviceConfigPtrOutput struct{ *pulumi.OutputState }

func (DataSourceOpensearchserviceConfigPtrOutput) Elem

func (DataSourceOpensearchserviceConfigPtrOutput) ElementType

func (DataSourceOpensearchserviceConfigPtrOutput) Endpoint

func (DataSourceOpensearchserviceConfigPtrOutput) Region

func (DataSourceOpensearchserviceConfigPtrOutput) ToDataSourceOpensearchserviceConfigPtrOutput

func (o DataSourceOpensearchserviceConfigPtrOutput) ToDataSourceOpensearchserviceConfigPtrOutput() DataSourceOpensearchserviceConfigPtrOutput

func (DataSourceOpensearchserviceConfigPtrOutput) ToDataSourceOpensearchserviceConfigPtrOutputWithContext

func (o DataSourceOpensearchserviceConfigPtrOutput) ToDataSourceOpensearchserviceConfigPtrOutputWithContext(ctx context.Context) DataSourceOpensearchserviceConfigPtrOutput

type DataSourceOutput

type DataSourceOutput struct{ *pulumi.OutputState }

func (DataSourceOutput) ApiId

API ID for the GraphQL API for the data source.

func (DataSourceOutput) Arn

ARN

func (DataSourceOutput) Description

func (o DataSourceOutput) Description() pulumi.StringPtrOutput

Description of the data source.

func (DataSourceOutput) DynamodbConfig

DynamoDB settings. See DynamoDB Config

func (DataSourceOutput) ElasticsearchConfig

Amazon Elasticsearch settings. See ElasticSearch Config

func (DataSourceOutput) ElementType

func (DataSourceOutput) ElementType() reflect.Type

func (DataSourceOutput) EventBridgeConfig

AWS EventBridge settings. See Event Bridge Config

func (DataSourceOutput) HttpConfig

HTTP settings. See HTTP Config

func (DataSourceOutput) LambdaConfig

AWS Lambda settings. See Lambda Config

func (DataSourceOutput) Name

User-supplied name for the data source.

func (DataSourceOutput) OpensearchserviceConfig

Amazon OpenSearch Service settings. See OpenSearch Service Config

func (DataSourceOutput) RelationalDatabaseConfig

AWS RDS settings. See Relational Database Config

func (DataSourceOutput) ServiceRoleArn

func (o DataSourceOutput) ServiceRoleArn() pulumi.StringPtrOutput

IAM service role ARN for the data source. Required if `type` is specified as `AWS_LAMBDA`, `AMAZON_DYNAMODB`, `AMAZON_ELASTICSEARCH`, `AMAZON_EVENTBRIDGE`, or `AMAZON_OPENSEARCH_SERVICE`.

func (DataSourceOutput) ToDataSourceOutput

func (o DataSourceOutput) ToDataSourceOutput() DataSourceOutput

func (DataSourceOutput) ToDataSourceOutputWithContext

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

func (DataSourceOutput) Type

Type of the Data Source. Valid values: `AWS_LAMBDA`, `AMAZON_DYNAMODB`, `AMAZON_ELASTICSEARCH`, `HTTP`, `NONE`, `RELATIONAL_DATABASE`, `AMAZON_EVENTBRIDGE`, `AMAZON_OPENSEARCH_SERVICE`.

type DataSourceRelationalDatabaseConfig

type DataSourceRelationalDatabaseConfig struct {
	// 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 {
	// 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

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

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 {
	// API ID for the GraphQL API for the data source.
	ApiId pulumi.StringPtrInput
	// ARN
	Arn pulumi.StringPtrInput
	// Description of the data source.
	Description pulumi.StringPtrInput
	// DynamoDB settings. See DynamoDB Config
	DynamodbConfig DataSourceDynamodbConfigPtrInput
	// Amazon Elasticsearch settings. See ElasticSearch Config
	ElasticsearchConfig DataSourceElasticsearchConfigPtrInput
	// AWS EventBridge settings. See Event Bridge Config
	EventBridgeConfig DataSourceEventBridgeConfigPtrInput
	// HTTP settings. See HTTP Config
	HttpConfig DataSourceHttpConfigPtrInput
	// AWS Lambda settings. See Lambda Config
	LambdaConfig DataSourceLambdaConfigPtrInput
	// User-supplied name for the data source.
	Name pulumi.StringPtrInput
	// Amazon OpenSearch Service settings. See OpenSearch Service Config
	OpensearchserviceConfig DataSourceOpensearchserviceConfigPtrInput
	// AWS RDS settings. See Relational Database Config
	RelationalDatabaseConfig DataSourceRelationalDatabaseConfigPtrInput
	// IAM service role ARN for the data source. Required if `type` is specified as `AWS_LAMBDA`, `AMAZON_DYNAMODB`, `AMAZON_ELASTICSEARCH`, `AMAZON_EVENTBRIDGE`, or `AMAZON_OPENSEARCH_SERVICE`.
	ServiceRoleArn pulumi.StringPtrInput
	// Type of the Data Source. Valid values: `AWS_LAMBDA`, `AMAZON_DYNAMODB`, `AMAZON_ELASTICSEARCH`, `HTTP`, `NONE`, `RELATIONAL_DATABASE`, `AMAZON_EVENTBRIDGE`, `AMAZON_OPENSEARCH_SERVICE`.
	Type pulumi.StringPtrInput
}

func (DataSourceState) ElementType

func (DataSourceState) ElementType() reflect.Type

type DomainName

type DomainName struct {
	pulumi.CustomResourceState

	// Domain name that AppSync provides.
	AppsyncDomainName pulumi.StringOutput `pulumi:"appsyncDomainName"`
	// 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"`
	// Domain name.
	DomainName pulumi.StringOutput `pulumi:"domainName"`
	// 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/v6/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(exampleAwsAcmCertificate.Arn),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import `aws_appsync_domain_name` using the AppSync domain name. For example:

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

	// API ID.
	ApiId pulumi.StringOutput `pulumi:"apiId"`
	// 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/v6/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(exampleAwsAppsyncGraphqlApi.Id),
			DomainName: pulumi.Any(exampleAwsAppsyncDomainName.DomainName),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import `aws_appsync_domain_name_api_association` using the AppSync domain name. For example:

```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 {
	// API ID.
	ApiId pulumi.StringInput
	// 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

API ID.

func (DomainNameApiAssociationOutput) DomainName

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 {
	// API ID.
	ApiId pulumi.StringPtrInput
	// Appsync domain name.
	DomainName pulumi.StringPtrInput
}

func (DomainNameApiAssociationState) ElementType

type DomainNameArgs

type DomainNameArgs struct {
	// 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
	// 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

func (o DomainNameOutput) AppsyncDomainName() pulumi.StringOutput

Domain name that AppSync provides.

func (DomainNameOutput) CertificateArn

func (o DomainNameOutput) CertificateArn() pulumi.StringOutput

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

func (o DomainNameOutput) Description() pulumi.StringPtrOutput

A description of the Domain Name.

func (DomainNameOutput) DomainName

func (o DomainNameOutput) DomainName() pulumi.StringOutput

Domain name.

func (DomainNameOutput) ElementType

func (DomainNameOutput) ElementType() reflect.Type

func (DomainNameOutput) HostedZoneId

func (o DomainNameOutput) HostedZoneId() pulumi.StringOutput

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 {
	// Domain name that AppSync provides.
	AppsyncDomainName pulumi.StringPtrInput
	// 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
	// Domain name.
	DomainName pulumi.StringPtrInput
	// 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

	// ID of the associated AppSync API.
	ApiId pulumi.StringOutput `pulumi:"apiId"`
	// ARN of the Function object.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The function code that contains the request and response functions. When code is used, the runtime is required. The runtime value must be APPSYNC_JS.
	Code pulumi.StringPtrOutput `pulumi:"code"`
	// Function data source name.
	DataSource pulumi.StringOutput `pulumi:"dataSource"`
	// Function description.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Unique ID representing the Function object.
	FunctionId pulumi.StringOutput `pulumi:"functionId"`
	// Version of the request mapping template. Currently the supported value is `2018-05-29`. Does not apply when specifying `code`.
	FunctionVersion pulumi.StringOutput `pulumi:"functionVersion"`
	// Maximum batching size for a resolver. Valid values are between `0` and `2000`.
	MaxBatchSize pulumi.IntPtrOutput `pulumi:"maxBatchSize"`
	// Function name. The function name does not have to be unique.
	Name pulumi.StringOutput `pulumi:"name"`
	// Function request mapping template. Functions support only the 2018-05-29 version of the request mapping template.
	RequestMappingTemplate pulumi.StringPtrOutput `pulumi:"requestMappingTemplate"`
	// Function response mapping template.
	ResponseMappingTemplate pulumi.StringPtrOutput `pulumi:"responseMappingTemplate"`
	// Describes a runtime used by an AWS AppSync pipeline resolver or AWS AppSync function. Specifies the name and version of the runtime to use. Note that if a runtime is specified, code must also be specified. See Runtime.
	Runtime FunctionRuntimePtrOutput `pulumi:"runtime"`
	// Describes a Sync configuration for a resolver. See Sync Config.
	SyncConfig FunctionSyncConfigPtrOutput `pulumi:"syncConfig"`
}

Provides an AppSync Function.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/appsync"
"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("API_KEY"),
			Name:               pulumi.String("example"),
			Schema: pulumi.String(`type Mutation {
  putPost(id: ID!, title: String!): Post
}

type Post {
  id: ID!
  title: String!
}

type Query {
  singlePost(id: ID!): Post
}

schema {
  query: Query
  mutation: Mutation
}

`),

		})
		if err != nil {
			return err
		}
		exampleDataSource, err := appsync.NewDataSource(ctx, "example", &appsync.DataSourceArgs{
			ApiId: example.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, "example", &appsync.FunctionArgs{
			ApiId:      example.ID(),
			DataSource: exampleDataSource.Name,
			Name:       pulumi.String("example"),
			RequestMappingTemplate: pulumi.String(`{
    "version": "2018-05-29",
    "method": "GET",
    "resourcePath": "/",
    "params":{
        "headers": $utils.http.copyheaders($ctx.request.headers)
    }
}

`),

			ResponseMappingTemplate: pulumi.String(`#if($ctx.result.statusCode == 200)
    $ctx.result.body

#else

$utils.appendError($ctx.result.body, $ctx.result.statusCode)

#end `),

		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### With Code

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		invokeFile, err := std.File(ctx, &std.FileArgs{
			Input: "some-code-dir",
		}, nil)
		if err != nil {
			return err
		}
		_, err = appsync.NewFunction(ctx, "example", &appsync.FunctionArgs{
			ApiId:      pulumi.Any(exampleAwsAppsyncGraphqlApi.Id),
			DataSource: pulumi.Any(exampleAwsAppsyncDatasource.Name),
			Name:       pulumi.String("example"),
			Code:       invokeFile.Result,
			Runtime: &appsync.FunctionRuntimeArgs{
				Name:           pulumi.String("APPSYNC_JS"),
				RuntimeVersion: pulumi.String("1.0.0"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import `aws_appsync_function` using the AppSync API ID and Function ID separated by `-`. For example:

```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 {
	// ID of the associated AppSync API.
	ApiId pulumi.StringInput
	// The function code that contains the request and response functions. When code is used, the runtime is required. The runtime value must be APPSYNC_JS.
	Code pulumi.StringPtrInput
	// Function data source name.
	DataSource pulumi.StringInput
	// Function description.
	Description pulumi.StringPtrInput
	// Version of the request mapping template. Currently the supported value is `2018-05-29`. Does not apply when specifying `code`.
	FunctionVersion pulumi.StringPtrInput
	// Maximum batching size for a resolver. Valid values are between `0` and `2000`.
	MaxBatchSize pulumi.IntPtrInput
	// Function name. The function name does not have to be unique.
	Name pulumi.StringPtrInput
	// Function request mapping template. Functions support only the 2018-05-29 version of the request mapping template.
	RequestMappingTemplate pulumi.StringPtrInput
	// Function response mapping template.
	ResponseMappingTemplate pulumi.StringPtrInput
	// Describes a runtime used by an AWS AppSync pipeline resolver or AWS AppSync function. Specifies the name and version of the runtime to use. Note that if a runtime is specified, code must also be specified. See Runtime.
	Runtime FunctionRuntimePtrInput
	// 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

ID of the associated AppSync API.

func (FunctionOutput) Arn

ARN of the Function object.

func (FunctionOutput) Code

The function code that contains the request and response functions. When code is used, the runtime is required. The runtime value must be APPSYNC_JS.

func (FunctionOutput) DataSource

func (o FunctionOutput) DataSource() pulumi.StringOutput

Function data source name.

func (FunctionOutput) Description

func (o FunctionOutput) Description() pulumi.StringPtrOutput

Function description.

func (FunctionOutput) ElementType

func (FunctionOutput) ElementType() reflect.Type

func (FunctionOutput) FunctionId

func (o FunctionOutput) FunctionId() pulumi.StringOutput

Unique ID representing the Function object.

func (FunctionOutput) FunctionVersion

func (o FunctionOutput) FunctionVersion() pulumi.StringOutput

Version of the request mapping template. Currently the supported value is `2018-05-29`. Does not apply when specifying `code`.

func (FunctionOutput) MaxBatchSize

func (o FunctionOutput) MaxBatchSize() pulumi.IntPtrOutput

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

func (FunctionOutput) Name

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

func (FunctionOutput) RequestMappingTemplate

func (o FunctionOutput) RequestMappingTemplate() pulumi.StringPtrOutput

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

func (FunctionOutput) ResponseMappingTemplate

func (o FunctionOutput) ResponseMappingTemplate() pulumi.StringPtrOutput

Function response mapping template.

func (FunctionOutput) Runtime

Describes a runtime used by an AWS AppSync pipeline resolver or AWS AppSync function. Specifies the name and version of the runtime to use. Note that if a runtime is specified, code must also be specified. See Runtime.

func (FunctionOutput) SyncConfig

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 FunctionRuntime

type FunctionRuntime struct {
	// The name of the runtime to use. Currently, the only allowed value is `APPSYNC_JS`.
	Name string `pulumi:"name"`
	// The version of the runtime to use. Currently, the only allowed version is `1.0.0`.
	RuntimeVersion string `pulumi:"runtimeVersion"`
}

type FunctionRuntimeArgs

type FunctionRuntimeArgs struct {
	// The name of the runtime to use. Currently, the only allowed value is `APPSYNC_JS`.
	Name pulumi.StringInput `pulumi:"name"`
	// The version of the runtime to use. Currently, the only allowed version is `1.0.0`.
	RuntimeVersion pulumi.StringInput `pulumi:"runtimeVersion"`
}

func (FunctionRuntimeArgs) ElementType

func (FunctionRuntimeArgs) ElementType() reflect.Type

func (FunctionRuntimeArgs) ToFunctionRuntimeOutput

func (i FunctionRuntimeArgs) ToFunctionRuntimeOutput() FunctionRuntimeOutput

func (FunctionRuntimeArgs) ToFunctionRuntimeOutputWithContext

func (i FunctionRuntimeArgs) ToFunctionRuntimeOutputWithContext(ctx context.Context) FunctionRuntimeOutput

func (FunctionRuntimeArgs) ToFunctionRuntimePtrOutput

func (i FunctionRuntimeArgs) ToFunctionRuntimePtrOutput() FunctionRuntimePtrOutput

func (FunctionRuntimeArgs) ToFunctionRuntimePtrOutputWithContext

func (i FunctionRuntimeArgs) ToFunctionRuntimePtrOutputWithContext(ctx context.Context) FunctionRuntimePtrOutput

type FunctionRuntimeInput

type FunctionRuntimeInput interface {
	pulumi.Input

	ToFunctionRuntimeOutput() FunctionRuntimeOutput
	ToFunctionRuntimeOutputWithContext(context.Context) FunctionRuntimeOutput
}

FunctionRuntimeInput is an input type that accepts FunctionRuntimeArgs and FunctionRuntimeOutput values. You can construct a concrete instance of `FunctionRuntimeInput` via:

FunctionRuntimeArgs{...}

type FunctionRuntimeOutput

type FunctionRuntimeOutput struct{ *pulumi.OutputState }

func (FunctionRuntimeOutput) ElementType

func (FunctionRuntimeOutput) ElementType() reflect.Type

func (FunctionRuntimeOutput) Name

The name of the runtime to use. Currently, the only allowed value is `APPSYNC_JS`.

func (FunctionRuntimeOutput) RuntimeVersion

func (o FunctionRuntimeOutput) RuntimeVersion() pulumi.StringOutput

The version of the runtime to use. Currently, the only allowed version is `1.0.0`.

func (FunctionRuntimeOutput) ToFunctionRuntimeOutput

func (o FunctionRuntimeOutput) ToFunctionRuntimeOutput() FunctionRuntimeOutput

func (FunctionRuntimeOutput) ToFunctionRuntimeOutputWithContext

func (o FunctionRuntimeOutput) ToFunctionRuntimeOutputWithContext(ctx context.Context) FunctionRuntimeOutput

func (FunctionRuntimeOutput) ToFunctionRuntimePtrOutput

func (o FunctionRuntimeOutput) ToFunctionRuntimePtrOutput() FunctionRuntimePtrOutput

func (FunctionRuntimeOutput) ToFunctionRuntimePtrOutputWithContext

func (o FunctionRuntimeOutput) ToFunctionRuntimePtrOutputWithContext(ctx context.Context) FunctionRuntimePtrOutput

type FunctionRuntimePtrInput

type FunctionRuntimePtrInput interface {
	pulumi.Input

	ToFunctionRuntimePtrOutput() FunctionRuntimePtrOutput
	ToFunctionRuntimePtrOutputWithContext(context.Context) FunctionRuntimePtrOutput
}

FunctionRuntimePtrInput is an input type that accepts FunctionRuntimeArgs, FunctionRuntimePtr and FunctionRuntimePtrOutput values. You can construct a concrete instance of `FunctionRuntimePtrInput` via:

        FunctionRuntimeArgs{...}

or:

        nil

type FunctionRuntimePtrOutput

type FunctionRuntimePtrOutput struct{ *pulumi.OutputState }

func (FunctionRuntimePtrOutput) Elem

func (FunctionRuntimePtrOutput) ElementType

func (FunctionRuntimePtrOutput) ElementType() reflect.Type

func (FunctionRuntimePtrOutput) Name

The name of the runtime to use. Currently, the only allowed value is `APPSYNC_JS`.

func (FunctionRuntimePtrOutput) RuntimeVersion

func (o FunctionRuntimePtrOutput) RuntimeVersion() pulumi.StringPtrOutput

The version of the runtime to use. Currently, the only allowed version is `1.0.0`.

func (FunctionRuntimePtrOutput) ToFunctionRuntimePtrOutput

func (o FunctionRuntimePtrOutput) ToFunctionRuntimePtrOutput() FunctionRuntimePtrOutput

func (FunctionRuntimePtrOutput) ToFunctionRuntimePtrOutputWithContext

func (o FunctionRuntimePtrOutput) ToFunctionRuntimePtrOutputWithContext(ctx context.Context) FunctionRuntimePtrOutput

type FunctionState

type FunctionState struct {
	// ID of the associated AppSync API.
	ApiId pulumi.StringPtrInput
	// ARN of the Function object.
	Arn pulumi.StringPtrInput
	// The function code that contains the request and response functions. When code is used, the runtime is required. The runtime value must be APPSYNC_JS.
	Code pulumi.StringPtrInput
	// Function data source name.
	DataSource pulumi.StringPtrInput
	// Function description.
	Description pulumi.StringPtrInput
	// Unique ID representing the Function object.
	FunctionId pulumi.StringPtrInput
	// Version of the request mapping template. Currently the supported value is `2018-05-29`. Does not apply when specifying `code`.
	FunctionVersion pulumi.StringPtrInput
	// Maximum batching size for a resolver. Valid values are between `0` and `2000`.
	MaxBatchSize pulumi.IntPtrInput
	// Function name. The function name does not have to be unique.
	Name pulumi.StringPtrInput
	// Function request mapping template. Functions support only the 2018-05-29 version of the request mapping template.
	RequestMappingTemplate pulumi.StringPtrInput
	// Function response mapping template.
	ResponseMappingTemplate pulumi.StringPtrInput
	// Describes a runtime used by an AWS AppSync pipeline resolver or AWS AppSync function. Specifies the name and version of the runtime to use. Note that if a runtime is specified, code must also be specified. See Runtime.
	Runtime FunctionRuntimePtrInput
	// 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 {
	// Conflict Detection strategy to use. Valid values are `NONE` and `VERSION`.
	ConflictDetection *string `pulumi:"conflictDetection"`
	// Conflict Resolution strategy to perform in the event of a conflict. Valid values are `NONE`, `OPTIMISTIC_CONCURRENCY`, `AUTOMERGE`, and `LAMBDA`.
	ConflictHandler *string `pulumi:"conflictHandler"`
	// 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 {
	// Conflict Detection strategy to use. Valid values are `NONE` and `VERSION`.
	ConflictDetection pulumi.StringPtrInput `pulumi:"conflictDetection"`
	// 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"`
	// 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 {
	// ARN for the Lambda function to use as the Conflict Handler.
	LambdaConflictHandlerArn *string `pulumi:"lambdaConflictHandlerArn"`
}

type FunctionSyncConfigLambdaConflictHandlerConfigArgs

type FunctionSyncConfigLambdaConflictHandlerConfigArgs struct {
	// 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

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

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

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

func (FunctionSyncConfigOutput) ConflictHandler

func (o FunctionSyncConfigOutput) ConflictHandler() pulumi.StringPtrOutput

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

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

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

func (FunctionSyncConfigPtrOutput) ConflictHandler

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

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"`
	// ARN
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Authentication type. Valid values: `API_KEY`, `AWS_IAM`, `AMAZON_COGNITO_USER_POOLS`, `OPENID_CONNECT`, `AWS_LAMBDA`
	AuthenticationType pulumi.StringOutput `pulumi:"authenticationType"`
	// Sets the value of the GraphQL API to enable (`ENABLED`) or disable (`DISABLED`) introspection. If no value is provided, the introspection configuration will be set to ENABLED by default. This field will produce an error if the operation attempts to use the introspection feature while this field is disabled. For more information about introspection, see [GraphQL introspection](https://graphql.org/learn/introspection/).
	IntrospectionConfig pulumi.StringPtrOutput `pulumi:"introspectionConfig"`
	// Nested argument containing Lambda authorizer configuration. Defined below.
	LambdaAuthorizerConfig GraphQLApiLambdaAuthorizerConfigPtrOutput `pulumi:"lambdaAuthorizerConfig"`
	// Nested argument containing logging configuration. Defined below.
	LogConfig GraphQLApiLogConfigPtrOutput `pulumi:"logConfig"`
	// User-supplied name for the GraphqlApi.
	Name pulumi.StringOutput `pulumi:"name"`
	// Nested argument containing OpenID Connect configuration. Defined below.
	OpenidConnectConfig GraphQLApiOpenidConnectConfigPtrOutput `pulumi:"openidConnectConfig"`
	// The maximum depth a query can have in a single request. Depth refers to the amount of nested levels allowed in the body of query. The default value is `0` (or unspecified), which indicates there's no depth limit. If you set a limit, it can be between `1` and `75` nested levels. This field will produce a limit error if the operation falls out of bounds.
	//
	// Note that fields can still be set to nullable or non-nullable. If a non-nullable field produces an error, the error will be thrown upwards to the first nullable field available.
	QueryDepthLimit pulumi.IntPtrOutput `pulumi:"queryDepthLimit"`
	// The maximum number of resolvers that can be invoked in a single request. The default value is `0` (or unspecified), which will set the limit to `10000`. When specified, the limit value can be between `1` and `10000`. This field will produce a limit error if the operation falls out of bounds.
	ResolverCountLimit pulumi.IntPtrOutput `pulumi:"resolverCountLimit"`
	// Schema definition, in GraphQL schema language format. This provider cannot perform drift detection of this configuration.
	Schema pulumi.StringPtrOutput `pulumi:"schema"`
	// 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"`
	// Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	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"`
	// Amazon Cognito User Pool configuration. Defined below.
	UserPoolConfig GraphQLApiUserPoolConfigPtrOutput `pulumi:"userPoolConfig"`
	// Sets the value of the GraphQL API to public (`GLOBAL`) or private (`PRIVATE`). If no value is provided, the visibility will be set to `GLOBAL` by default. This value cannot be changed once the API has been created.
	Visibility pulumi.StringPtrOutput `pulumi:"visibility"`
	// Whether tracing with X-ray is enabled. Defaults to false.
	XrayEnabled pulumi.BoolPtrOutput `pulumi:"xrayEnabled"`
}

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 {
	// 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"`
	// Amazon Cognito User Pool configuration. Defined below.
	UserPoolConfig *GraphQLApiAdditionalAuthenticationProviderUserPoolConfig `pulumi:"userPoolConfig"`
}

type GraphQLApiAdditionalAuthenticationProviderArgs

type GraphQLApiAdditionalAuthenticationProviderArgs struct {
	// 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"`
	// 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 {
	// 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"`
	// 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"`
	// Regular expression for validation of tokens before the Lambda function is called.
	IdentityValidationExpression *string `pulumi:"identityValidationExpression"`
}

type GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigArgs

type GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigArgs struct {
	// 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"`
	// 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"`
	// 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

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

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

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

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

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

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

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

Amazon Cognito User Pool configuration. Defined below.

type GraphQLApiAdditionalAuthenticationProviderUserPoolConfig

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

type GraphQLApiAdditionalAuthenticationProviderUserPoolConfigArgs

type GraphQLApiAdditionalAuthenticationProviderUserPoolConfigArgs struct {
	// Regular expression for validating the incoming Amazon Cognito User Pool app client ID.
	AppIdClientRegex pulumi.StringPtrInput `pulumi:"appIdClientRegex"`
	// AWS region in which the user pool was created.
	AwsRegion pulumi.StringPtrInput `pulumi:"awsRegion"`
	// 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

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

func (GraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutput) AwsRegion

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

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

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

func (GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput) AwsRegion

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

User pool ID.

type GraphQLApiArgs

type GraphQLApiArgs struct {
	// One or more additional authentication providers for the GraphqlApi. Defined below.
	AdditionalAuthenticationProviders GraphQLApiAdditionalAuthenticationProviderArrayInput
	// Authentication type. Valid values: `API_KEY`, `AWS_IAM`, `AMAZON_COGNITO_USER_POOLS`, `OPENID_CONNECT`, `AWS_LAMBDA`
	AuthenticationType pulumi.StringInput
	// Sets the value of the GraphQL API to enable (`ENABLED`) or disable (`DISABLED`) introspection. If no value is provided, the introspection configuration will be set to ENABLED by default. This field will produce an error if the operation attempts to use the introspection feature while this field is disabled. For more information about introspection, see [GraphQL introspection](https://graphql.org/learn/introspection/).
	IntrospectionConfig pulumi.StringPtrInput
	// Nested argument containing Lambda authorizer configuration. Defined below.
	LambdaAuthorizerConfig GraphQLApiLambdaAuthorizerConfigPtrInput
	// Nested argument containing logging configuration. Defined below.
	LogConfig GraphQLApiLogConfigPtrInput
	// User-supplied name for the GraphqlApi.
	Name pulumi.StringPtrInput
	// Nested argument containing OpenID Connect configuration. Defined below.
	OpenidConnectConfig GraphQLApiOpenidConnectConfigPtrInput
	// The maximum depth a query can have in a single request. Depth refers to the amount of nested levels allowed in the body of query. The default value is `0` (or unspecified), which indicates there's no depth limit. If you set a limit, it can be between `1` and `75` nested levels. This field will produce a limit error if the operation falls out of bounds.
	//
	// Note that fields can still be set to nullable or non-nullable. If a non-nullable field produces an error, the error will be thrown upwards to the first nullable field available.
	QueryDepthLimit pulumi.IntPtrInput
	// The maximum number of resolvers that can be invoked in a single request. The default value is `0` (or unspecified), which will set the limit to `10000`. When specified, the limit value can be between `1` and `10000`. This field will produce a limit error if the operation falls out of bounds.
	ResolverCountLimit pulumi.IntPtrInput
	// Schema definition, in GraphQL schema language format. This provider cannot perform drift detection of this configuration.
	Schema pulumi.StringPtrInput
	// 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
	// Amazon Cognito User Pool configuration. Defined below.
	UserPoolConfig GraphQLApiUserPoolConfigPtrInput
	// Sets the value of the GraphQL API to public (`GLOBAL`) or private (`PRIVATE`). If no value is provided, the visibility will be set to `GLOBAL` by default. This value cannot be changed once the API has been created.
	Visibility pulumi.StringPtrInput
	// 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 {
	// 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"`
	// 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"`
	// Regular expression for validation of tokens before the Lambda function is called.
	IdentityValidationExpression *string `pulumi:"identityValidationExpression"`
}

type GraphQLApiLambdaAuthorizerConfigArgs

type GraphQLApiLambdaAuthorizerConfigArgs struct {
	// 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"`
	// 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"`
	// 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

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

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

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

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

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

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

func (o GraphQLApiOutput) AdditionalAuthenticationProviders() GraphQLApiAdditionalAuthenticationProviderArrayOutput

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

func (GraphQLApiOutput) Arn

ARN

func (GraphQLApiOutput) AuthenticationType

func (o GraphQLApiOutput) AuthenticationType() pulumi.StringOutput

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) IntrospectionConfig added in v6.23.0

func (o GraphQLApiOutput) IntrospectionConfig() pulumi.StringPtrOutput

Sets the value of the GraphQL API to enable (`ENABLED`) or disable (`DISABLED`) introspection. If no value is provided, the introspection configuration will be set to ENABLED by default. This field will produce an error if the operation attempts to use the introspection feature while this field is disabled. For more information about introspection, see [GraphQL introspection](https://graphql.org/learn/introspection/).

func (GraphQLApiOutput) LambdaAuthorizerConfig

Nested argument containing Lambda authorizer configuration. Defined below.

func (GraphQLApiOutput) LogConfig

Nested argument containing logging configuration. Defined below.

func (GraphQLApiOutput) Name

User-supplied name for the GraphqlApi.

func (GraphQLApiOutput) OpenidConnectConfig

Nested argument containing OpenID Connect configuration. Defined below.

func (GraphQLApiOutput) QueryDepthLimit added in v6.23.0

func (o GraphQLApiOutput) QueryDepthLimit() pulumi.IntPtrOutput

The maximum depth a query can have in a single request. Depth refers to the amount of nested levels allowed in the body of query. The default value is `0` (or unspecified), which indicates there's no depth limit. If you set a limit, it can be between `1` and `75` nested levels. This field will produce a limit error if the operation falls out of bounds.

Note that fields can still be set to nullable or non-nullable. If a non-nullable field produces an error, the error will be thrown upwards to the first nullable field available.

func (GraphQLApiOutput) ResolverCountLimit added in v6.23.0

func (o GraphQLApiOutput) ResolverCountLimit() pulumi.IntPtrOutput

The maximum number of resolvers that can be invoked in a single request. The default value is `0` (or unspecified), which will set the limit to `10000`. When specified, the limit value can be between `1` and `10000`. This field will produce a limit error if the operation falls out of bounds.

func (GraphQLApiOutput) Schema

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

func (GraphQLApiOutput) Tags

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 deprecated

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

Deprecated: Please use `tags` instead.

func (GraphQLApiOutput) ToGraphQLApiOutput

func (o GraphQLApiOutput) ToGraphQLApiOutput() GraphQLApiOutput

func (GraphQLApiOutput) ToGraphQLApiOutputWithContext

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

func (GraphQLApiOutput) Uris

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

func (GraphQLApiOutput) UserPoolConfig

Amazon Cognito User Pool configuration. Defined below.

func (GraphQLApiOutput) Visibility

func (o GraphQLApiOutput) Visibility() pulumi.StringPtrOutput

Sets the value of the GraphQL API to public (`GLOBAL`) or private (`PRIVATE`). If no value is provided, the visibility will be set to `GLOBAL` by default. This value cannot be changed once the API has been created.

func (GraphQLApiOutput) XrayEnabled

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
	// ARN
	Arn pulumi.StringPtrInput
	// Authentication type. Valid values: `API_KEY`, `AWS_IAM`, `AMAZON_COGNITO_USER_POOLS`, `OPENID_CONNECT`, `AWS_LAMBDA`
	AuthenticationType pulumi.StringPtrInput
	// Sets the value of the GraphQL API to enable (`ENABLED`) or disable (`DISABLED`) introspection. If no value is provided, the introspection configuration will be set to ENABLED by default. This field will produce an error if the operation attempts to use the introspection feature while this field is disabled. For more information about introspection, see [GraphQL introspection](https://graphql.org/learn/introspection/).
	IntrospectionConfig pulumi.StringPtrInput
	// Nested argument containing Lambda authorizer configuration. Defined below.
	LambdaAuthorizerConfig GraphQLApiLambdaAuthorizerConfigPtrInput
	// Nested argument containing logging configuration. Defined below.
	LogConfig GraphQLApiLogConfigPtrInput
	// User-supplied name for the GraphqlApi.
	Name pulumi.StringPtrInput
	// Nested argument containing OpenID Connect configuration. Defined below.
	OpenidConnectConfig GraphQLApiOpenidConnectConfigPtrInput
	// The maximum depth a query can have in a single request. Depth refers to the amount of nested levels allowed in the body of query. The default value is `0` (or unspecified), which indicates there's no depth limit. If you set a limit, it can be between `1` and `75` nested levels. This field will produce a limit error if the operation falls out of bounds.
	//
	// Note that fields can still be set to nullable or non-nullable. If a non-nullable field produces an error, the error will be thrown upwards to the first nullable field available.
	QueryDepthLimit pulumi.IntPtrInput
	// The maximum number of resolvers that can be invoked in a single request. The default value is `0` (or unspecified), which will set the limit to `10000`. When specified, the limit value can be between `1` and `10000`. This field will produce a limit error if the operation falls out of bounds.
	ResolverCountLimit pulumi.IntPtrInput
	// Schema definition, in GraphQL schema language format. This provider cannot perform drift detection of this configuration.
	Schema pulumi.StringPtrInput
	// 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
	// Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
	// Map of URIs associated with the APIE.g., `uris["GRAPHQL"] = https://ID.appsync-api.REGION.amazonaws.com/graphql`
	Uris pulumi.StringMapInput
	// Amazon Cognito User Pool configuration. Defined below.
	UserPoolConfig GraphQLApiUserPoolConfigPtrInput
	// Sets the value of the GraphQL API to public (`GLOBAL`) or private (`PRIVATE`). If no value is provided, the visibility will be set to `GLOBAL` by default. This value cannot be changed once the API has been created.
	Visibility pulumi.StringPtrInput
	// 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 {
	// Regular expression for validating the incoming Amazon Cognito User Pool app client ID.
	AppIdClientRegex *string `pulumi:"appIdClientRegex"`
	// AWS region in which the user pool was created.
	AwsRegion *string `pulumi:"awsRegion"`
	// 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"`
	// User pool ID.
	UserPoolId string `pulumi:"userPoolId"`
}

type GraphQLApiUserPoolConfigArgs

type GraphQLApiUserPoolConfigArgs struct {
	// Regular expression for validating the incoming Amazon Cognito User Pool app client ID.
	AppIdClientRegex pulumi.StringPtrInput `pulumi:"appIdClientRegex"`
	// AWS region in which the user pool was created.
	AwsRegion pulumi.StringPtrInput `pulumi:"awsRegion"`
	// 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"`
	// 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

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

func (GraphQLApiUserPoolConfigOutput) AwsRegion

AWS region in which the user pool was created.

func (GraphQLApiUserPoolConfigOutput) DefaultAction

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

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

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

func (GraphQLApiUserPoolConfigPtrOutput) AwsRegion

AWS region in which the user pool was created.

func (GraphQLApiUserPoolConfigPtrOutput) DefaultAction

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

User pool ID.

type Resolver

type Resolver struct {
	pulumi.CustomResourceState

	// API ID for the GraphQL API.
	ApiId pulumi.StringOutput `pulumi:"apiId"`
	// ARN
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The Caching Config. See Caching Config.
	CachingConfig ResolverCachingConfigPtrOutput `pulumi:"cachingConfig"`
	// The function code that contains the request and response functions. When code is used, the runtime is required. The runtime value must be APPSYNC_JS.
	Code pulumi.StringPtrOutput `pulumi:"code"`
	// Data source name.
	DataSource pulumi.StringPtrOutput `pulumi:"dataSource"`
	// Field name from the schema defined in the GraphQL API.
	Field pulumi.StringOutput `pulumi:"field"`
	// Resolver type. Valid values are `UNIT` and `PIPELINE`.
	Kind pulumi.StringPtrOutput `pulumi:"kind"`
	// Maximum batching size for a resolver. Valid values are between `0` and `2000`.
	MaxBatchSize pulumi.IntPtrOutput `pulumi:"maxBatchSize"`
	// The caching configuration for the resolver. See Pipeline Config.
	PipelineConfig ResolverPipelineConfigPtrOutput `pulumi:"pipelineConfig"`
	// Request mapping template for UNIT resolver or 'before mapping template' for PIPELINE resolver. Required for non-Lambda resolvers.
	RequestTemplate pulumi.StringPtrOutput `pulumi:"requestTemplate"`
	// 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 runtime used by an AWS AppSync pipeline resolver or AWS AppSync function. Specifies the name and version of the runtime to use. Note that if a runtime is specified, code must also be specified. See Runtime.
	Runtime ResolverRuntimePtrOutput `pulumi:"runtime"`
	// Describes a Sync configuration for a resolver. See Sync Config.
	SyncConfig ResolverSyncConfigPtrOutput `pulumi:"syncConfig"`
	// 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 (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		test, err := appsync.NewGraphQLApi(ctx, "test", &appsync.GraphQLApiArgs{
			AuthenticationType: pulumi.String("API_KEY"),
			Name:               pulumi.String("tf-example"),
			Schema: pulumi.String(`type Mutation {
	putPost(id: ID!, title: String!): Post
}

type Post {
	id: ID!
	title: String!
}

type Query {
	singlePost(id: ID!): Post
}

schema {
	query: Query
	mutation: Mutation
}

`),

		})
		if err != nil {
			return err
		}
		testDataSource, err := appsync.NewDataSource(ctx, "test", &appsync.DataSourceArgs{
			ApiId: test.ID(),
			Name:  pulumi.String("my_example"),
			Type:  pulumi.String("HTTP"),
			HttpConfig: &appsync.DataSourceHttpConfigArgs{
				Endpoint: pulumi.String("http://example.com"),
			},
		})
		if err != nil {
			return err
		}
		// UNIT type resolver (default)
		_, err = appsync.NewResolver(ctx, "test", &appsync.ResolverArgs{
			ApiId:      test.ID(),
			Field:      pulumi.String("singlePost"),
			Type:       pulumi.String("Query"),
			DataSource: testDataSource.Name,
			RequestTemplate: pulumi.String(`{
    "version": "2018-05-29",
    "method": "GET",
    "resourcePath": "/",
    "params":{
        "headers": $utils.http.copyheaders($ctx.request.headers)
    }
}

`),

			ResponseTemplate: pulumi.String(`#if($ctx.result.statusCode == 200)
    $ctx.result.body

#else

$utils.appendError($ctx.result.body, $ctx.result.statusCode)

#end `),

			CachingConfig: &appsync.ResolverCachingConfigArgs{
				CachingKeys: pulumi.StringArray{
					pulumi.String("$context.identity.sub"),
					pulumi.String("$context.arguments.id"),
				},
				Ttl: pulumi.Int(60),
			},
		})
		if err != nil {
			return err
		}
		// PIPELINE type resolver
		_, err = appsync.NewResolver(ctx, "Mutation_pipelineTest", &appsync.ResolverArgs{
			Type:             pulumi.String("Mutation"),
			ApiId:            test.ID(),
			Field:            pulumi.String("pipelineTest"),
			RequestTemplate:  pulumi.String("{}"),
			ResponseTemplate: pulumi.String("$util.toJson($ctx.result)"),
			Kind:             pulumi.String("PIPELINE"),
			PipelineConfig: &appsync.ResolverPipelineConfigArgs{
				Functions: pulumi.StringArray{
					test1.FunctionId,
					test2.FunctionId,
					test3.FunctionId,
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### JS

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		invokeFile, err := std.File(ctx, &std.FileArgs{
			Input: "some-code-dir",
		}, nil)
		if err != nil {
			return err
		}
		_, err = appsync.NewResolver(ctx, "example", &appsync.ResolverArgs{
			Type:  pulumi.String("Query"),
			ApiId: pulumi.Any(testAwsAppsyncGraphqlApi.Id),
			Field: pulumi.String("pipelineTest"),
			Kind:  pulumi.String("PIPELINE"),
			Code:  invokeFile.Result,
			Runtime: &appsync.ResolverRuntimeArgs{
				Name:           pulumi.String("APPSYNC_JS"),
				RuntimeVersion: pulumi.String("1.0.0"),
			},
			PipelineConfig: &appsync.ResolverPipelineConfigArgs{
				Functions: pulumi.StringArray{
					test.FunctionId,
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import `aws_appsync_resolver` using the `api_id`, a hyphen, `type`, a hypen and `field`. For example:

```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 {
	// API ID for the GraphQL API.
	ApiId pulumi.StringInput
	// The Caching Config. See Caching Config.
	CachingConfig ResolverCachingConfigPtrInput
	// The function code that contains the request and response functions. When code is used, the runtime is required. The runtime value must be APPSYNC_JS.
	Code pulumi.StringPtrInput
	// Data source name.
	DataSource pulumi.StringPtrInput
	// Field name from the schema defined in the GraphQL API.
	Field pulumi.StringInput
	// Resolver type. Valid values are `UNIT` and `PIPELINE`.
	Kind pulumi.StringPtrInput
	// Maximum batching size for a resolver. Valid values are between `0` and `2000`.
	MaxBatchSize pulumi.IntPtrInput
	// The caching configuration for the resolver. See Pipeline Config.
	PipelineConfig ResolverPipelineConfigPtrInput
	// Request mapping template for UNIT resolver or 'before mapping template' for PIPELINE resolver. Required for non-Lambda resolvers.
	RequestTemplate pulumi.StringPtrInput
	// Response mapping template for UNIT resolver or 'after mapping template' for PIPELINE resolver. Required for non-Lambda resolvers.
	ResponseTemplate pulumi.StringPtrInput
	// Describes a runtime used by an AWS AppSync pipeline resolver or AWS AppSync function. Specifies the name and version of the runtime to use. Note that if a runtime is specified, code must also be specified. See Runtime.
	Runtime ResolverRuntimePtrInput
	// Describes a Sync configuration for a resolver. See Sync Config.
	SyncConfig ResolverSyncConfigPtrInput
	// 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 caching keys for a resolver that has caching activated. Valid values are entries from the $context.arguments, $context.source, and $context.identity maps.
	CachingKeys []string `pulumi:"cachingKeys"`
	// The TTL in seconds for a resolver that has caching activated. Valid values are between `1` and `3600` seconds.
	Ttl *int `pulumi:"ttl"`
}

type ResolverCachingConfigArgs

type ResolverCachingConfigArgs struct {
	// The caching keys for a resolver that has caching activated. Valid values are entries from the $context.arguments, $context.source, and $context.identity maps.
	CachingKeys pulumi.StringArrayInput `pulumi:"cachingKeys"`
	// The TTL in seconds for a resolver that has caching activated. Valid values are between `1` and `3600` 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 caching keys for a resolver that has caching activated. Valid values are entries from the $context.arguments, $context.source, and $context.identity maps.

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 for a resolver that has caching activated. Valid values are between `1` and `3600` 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 caching keys for a resolver that has caching activated. Valid values are entries from the $context.arguments, $context.source, and $context.identity maps.

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 for a resolver that has caching activated. Valid values are between `1` and `3600` 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

API ID for the GraphQL API.

func (ResolverOutput) Arn

ARN

func (ResolverOutput) CachingConfig

The Caching Config. See Caching Config.

func (ResolverOutput) Code

The function code that contains the request and response functions. When code is used, the runtime is required. The runtime value must be APPSYNC_JS.

func (ResolverOutput) DataSource

func (o ResolverOutput) DataSource() pulumi.StringPtrOutput

Data source name.

func (ResolverOutput) ElementType

func (ResolverOutput) ElementType() reflect.Type

func (ResolverOutput) Field

Field name from the schema defined in the GraphQL API.

func (ResolverOutput) Kind

Resolver type. Valid values are `UNIT` and `PIPELINE`.

func (ResolverOutput) MaxBatchSize

func (o ResolverOutput) MaxBatchSize() pulumi.IntPtrOutput

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

func (ResolverOutput) PipelineConfig

The caching configuration for the resolver. See Pipeline Config.

func (ResolverOutput) RequestTemplate

func (o ResolverOutput) RequestTemplate() pulumi.StringPtrOutput

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

func (ResolverOutput) ResponseTemplate

func (o ResolverOutput) ResponseTemplate() pulumi.StringPtrOutput

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

func (ResolverOutput) Runtime

Describes a runtime used by an AWS AppSync pipeline resolver or AWS AppSync function. Specifies the name and version of the runtime to use. Note that if a runtime is specified, code must also be specified. See Runtime.

func (ResolverOutput) SyncConfig

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

Type name from the schema defined in the GraphQL API.

type ResolverPipelineConfig

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

type ResolverPipelineConfigArgs

type ResolverPipelineConfigArgs struct {
	// A list of Function objects.
	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

A list of Function objects.

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

A list of Function objects.

func (ResolverPipelineConfigPtrOutput) ToResolverPipelineConfigPtrOutput

func (o ResolverPipelineConfigPtrOutput) ToResolverPipelineConfigPtrOutput() ResolverPipelineConfigPtrOutput

func (ResolverPipelineConfigPtrOutput) ToResolverPipelineConfigPtrOutputWithContext

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

type ResolverRuntime

type ResolverRuntime struct {
	// The name of the runtime to use. Currently, the only allowed value is `APPSYNC_JS`.
	Name string `pulumi:"name"`
	// The version of the runtime to use. Currently, the only allowed version is `1.0.0`.
	RuntimeVersion string `pulumi:"runtimeVersion"`
}

type ResolverRuntimeArgs

type ResolverRuntimeArgs struct {
	// The name of the runtime to use. Currently, the only allowed value is `APPSYNC_JS`.
	Name pulumi.StringInput `pulumi:"name"`
	// The version of the runtime to use. Currently, the only allowed version is `1.0.0`.
	RuntimeVersion pulumi.StringInput `pulumi:"runtimeVersion"`
}

func (ResolverRuntimeArgs) ElementType

func (ResolverRuntimeArgs) ElementType() reflect.Type

func (ResolverRuntimeArgs) ToResolverRuntimeOutput

func (i ResolverRuntimeArgs) ToResolverRuntimeOutput() ResolverRuntimeOutput

func (ResolverRuntimeArgs) ToResolverRuntimeOutputWithContext

func (i ResolverRuntimeArgs) ToResolverRuntimeOutputWithContext(ctx context.Context) ResolverRuntimeOutput

func (ResolverRuntimeArgs) ToResolverRuntimePtrOutput

func (i ResolverRuntimeArgs) ToResolverRuntimePtrOutput() ResolverRuntimePtrOutput

func (ResolverRuntimeArgs) ToResolverRuntimePtrOutputWithContext

func (i ResolverRuntimeArgs) ToResolverRuntimePtrOutputWithContext(ctx context.Context) ResolverRuntimePtrOutput

type ResolverRuntimeInput

type ResolverRuntimeInput interface {
	pulumi.Input

	ToResolverRuntimeOutput() ResolverRuntimeOutput
	ToResolverRuntimeOutputWithContext(context.Context) ResolverRuntimeOutput
}

ResolverRuntimeInput is an input type that accepts ResolverRuntimeArgs and ResolverRuntimeOutput values. You can construct a concrete instance of `ResolverRuntimeInput` via:

ResolverRuntimeArgs{...}

type ResolverRuntimeOutput

type ResolverRuntimeOutput struct{ *pulumi.OutputState }

func (ResolverRuntimeOutput) ElementType

func (ResolverRuntimeOutput) ElementType() reflect.Type

func (ResolverRuntimeOutput) Name

The name of the runtime to use. Currently, the only allowed value is `APPSYNC_JS`.

func (ResolverRuntimeOutput) RuntimeVersion

func (o ResolverRuntimeOutput) RuntimeVersion() pulumi.StringOutput

The version of the runtime to use. Currently, the only allowed version is `1.0.0`.

func (ResolverRuntimeOutput) ToResolverRuntimeOutput

func (o ResolverRuntimeOutput) ToResolverRuntimeOutput() ResolverRuntimeOutput

func (ResolverRuntimeOutput) ToResolverRuntimeOutputWithContext

func (o ResolverRuntimeOutput) ToResolverRuntimeOutputWithContext(ctx context.Context) ResolverRuntimeOutput

func (ResolverRuntimeOutput) ToResolverRuntimePtrOutput

func (o ResolverRuntimeOutput) ToResolverRuntimePtrOutput() ResolverRuntimePtrOutput

func (ResolverRuntimeOutput) ToResolverRuntimePtrOutputWithContext

func (o ResolverRuntimeOutput) ToResolverRuntimePtrOutputWithContext(ctx context.Context) ResolverRuntimePtrOutput

type ResolverRuntimePtrInput

type ResolverRuntimePtrInput interface {
	pulumi.Input

	ToResolverRuntimePtrOutput() ResolverRuntimePtrOutput
	ToResolverRuntimePtrOutputWithContext(context.Context) ResolverRuntimePtrOutput
}

ResolverRuntimePtrInput is an input type that accepts ResolverRuntimeArgs, ResolverRuntimePtr and ResolverRuntimePtrOutput values. You can construct a concrete instance of `ResolverRuntimePtrInput` via:

        ResolverRuntimeArgs{...}

or:

        nil

type ResolverRuntimePtrOutput

type ResolverRuntimePtrOutput struct{ *pulumi.OutputState }

func (ResolverRuntimePtrOutput) Elem

func (ResolverRuntimePtrOutput) ElementType

func (ResolverRuntimePtrOutput) ElementType() reflect.Type

func (ResolverRuntimePtrOutput) Name

The name of the runtime to use. Currently, the only allowed value is `APPSYNC_JS`.

func (ResolverRuntimePtrOutput) RuntimeVersion

func (o ResolverRuntimePtrOutput) RuntimeVersion() pulumi.StringPtrOutput

The version of the runtime to use. Currently, the only allowed version is `1.0.0`.

func (ResolverRuntimePtrOutput) ToResolverRuntimePtrOutput

func (o ResolverRuntimePtrOutput) ToResolverRuntimePtrOutput() ResolverRuntimePtrOutput

func (ResolverRuntimePtrOutput) ToResolverRuntimePtrOutputWithContext

func (o ResolverRuntimePtrOutput) ToResolverRuntimePtrOutputWithContext(ctx context.Context) ResolverRuntimePtrOutput

type ResolverState

type ResolverState struct {
	// API ID for the GraphQL API.
	ApiId pulumi.StringPtrInput
	// ARN
	Arn pulumi.StringPtrInput
	// The Caching Config. See Caching Config.
	CachingConfig ResolverCachingConfigPtrInput
	// The function code that contains the request and response functions. When code is used, the runtime is required. The runtime value must be APPSYNC_JS.
	Code pulumi.StringPtrInput
	// Data source name.
	DataSource pulumi.StringPtrInput
	// Field name from the schema defined in the GraphQL API.
	Field pulumi.StringPtrInput
	// Resolver type. Valid values are `UNIT` and `PIPELINE`.
	Kind pulumi.StringPtrInput
	// Maximum batching size for a resolver. Valid values are between `0` and `2000`.
	MaxBatchSize pulumi.IntPtrInput
	// The caching configuration for the resolver. See Pipeline Config.
	PipelineConfig ResolverPipelineConfigPtrInput
	// Request mapping template for UNIT resolver or 'before mapping template' for PIPELINE resolver. Required for non-Lambda resolvers.
	RequestTemplate pulumi.StringPtrInput
	// Response mapping template for UNIT resolver or 'after mapping template' for PIPELINE resolver. Required for non-Lambda resolvers.
	ResponseTemplate pulumi.StringPtrInput
	// Describes a runtime used by an AWS AppSync pipeline resolver or AWS AppSync function. Specifies the name and version of the runtime to use. Note that if a runtime is specified, code must also be specified. See Runtime.
	Runtime ResolverRuntimePtrInput
	// Describes a Sync configuration for a resolver. See Sync Config.
	SyncConfig ResolverSyncConfigPtrInput
	// 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 {
	// Conflict Detection strategy to use. Valid values are `NONE` and `VERSION`.
	ConflictDetection *string `pulumi:"conflictDetection"`
	// Conflict Resolution strategy to perform in the event of a conflict. Valid values are `NONE`, `OPTIMISTIC_CONCURRENCY`, `AUTOMERGE`, and `LAMBDA`.
	ConflictHandler *string `pulumi:"conflictHandler"`
	// 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 {
	// Conflict Detection strategy to use. Valid values are `NONE` and `VERSION`.
	ConflictDetection pulumi.StringPtrInput `pulumi:"conflictDetection"`
	// 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"`
	// 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 {
	// ARN for the Lambda function to use as the Conflict Handler.
	LambdaConflictHandlerArn *string `pulumi:"lambdaConflictHandlerArn"`
}

type ResolverSyncConfigLambdaConflictHandlerConfigArgs

type ResolverSyncConfigLambdaConflictHandlerConfigArgs struct {
	// 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

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

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

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

func (ResolverSyncConfigOutput) ConflictHandler

func (o ResolverSyncConfigOutput) ConflictHandler() pulumi.StringPtrOutput

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

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

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

func (ResolverSyncConfigPtrOutput) ConflictHandler

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

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

type Type

type Type struct {
	pulumi.CustomResourceState

	// GraphQL API ID.
	ApiId pulumi.StringOutput `pulumi:"apiId"`
	// The ARN of the type.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The type definition.
	Definition pulumi.StringOutput `pulumi:"definition"`
	// The type description.
	Description pulumi.StringOutput `pulumi:"description"`
	// The type format: `SDL` or `JSON`.
	Format pulumi.StringOutput `pulumi:"format"`
	// The type name.
	Name pulumi.StringOutput `pulumi:"name"`
}

Provides an AppSync Type.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/appsync"
"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("API_KEY"),
			Name:               pulumi.String("example"),
		})
		if err != nil {
			return err
		}
		_, err = appsync.NewType(ctx, "example", &appsync.TypeArgs{
			ApiId:  example.ID(),
			Format: pulumi.String("SDL"),
			Definition: pulumi.String(`type Mutation

{ putPost(id: ID!,title: String! ): Post

} `),

		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import Appsync Types using the `id`. For example:

```sh $ pulumi import aws:appsync/type:Type example api-id:format:name ```

func GetType

func GetType(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TypeState, opts ...pulumi.ResourceOption) (*Type, error)

GetType gets an existing Type 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 NewType

func NewType(ctx *pulumi.Context,
	name string, args *TypeArgs, opts ...pulumi.ResourceOption) (*Type, error)

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

func (*Type) ElementType

func (*Type) ElementType() reflect.Type

func (*Type) ToTypeOutput

func (i *Type) ToTypeOutput() TypeOutput

func (*Type) ToTypeOutputWithContext

func (i *Type) ToTypeOutputWithContext(ctx context.Context) TypeOutput

type TypeArgs

type TypeArgs struct {
	// GraphQL API ID.
	ApiId pulumi.StringInput
	// The type definition.
	Definition pulumi.StringInput
	// The type format: `SDL` or `JSON`.
	Format pulumi.StringInput
}

The set of arguments for constructing a Type resource.

func (TypeArgs) ElementType

func (TypeArgs) ElementType() reflect.Type

type TypeArray

type TypeArray []TypeInput

func (TypeArray) ElementType

func (TypeArray) ElementType() reflect.Type

func (TypeArray) ToTypeArrayOutput

func (i TypeArray) ToTypeArrayOutput() TypeArrayOutput

func (TypeArray) ToTypeArrayOutputWithContext

func (i TypeArray) ToTypeArrayOutputWithContext(ctx context.Context) TypeArrayOutput

type TypeArrayInput

type TypeArrayInput interface {
	pulumi.Input

	ToTypeArrayOutput() TypeArrayOutput
	ToTypeArrayOutputWithContext(context.Context) TypeArrayOutput
}

TypeArrayInput is an input type that accepts TypeArray and TypeArrayOutput values. You can construct a concrete instance of `TypeArrayInput` via:

TypeArray{ TypeArgs{...} }

type TypeArrayOutput

type TypeArrayOutput struct{ *pulumi.OutputState }

func (TypeArrayOutput) ElementType

func (TypeArrayOutput) ElementType() reflect.Type

func (TypeArrayOutput) Index

func (TypeArrayOutput) ToTypeArrayOutput

func (o TypeArrayOutput) ToTypeArrayOutput() TypeArrayOutput

func (TypeArrayOutput) ToTypeArrayOutputWithContext

func (o TypeArrayOutput) ToTypeArrayOutputWithContext(ctx context.Context) TypeArrayOutput

type TypeInput

type TypeInput interface {
	pulumi.Input

	ToTypeOutput() TypeOutput
	ToTypeOutputWithContext(ctx context.Context) TypeOutput
}

type TypeMap

type TypeMap map[string]TypeInput

func (TypeMap) ElementType

func (TypeMap) ElementType() reflect.Type

func (TypeMap) ToTypeMapOutput

func (i TypeMap) ToTypeMapOutput() TypeMapOutput

func (TypeMap) ToTypeMapOutputWithContext

func (i TypeMap) ToTypeMapOutputWithContext(ctx context.Context) TypeMapOutput

type TypeMapInput

type TypeMapInput interface {
	pulumi.Input

	ToTypeMapOutput() TypeMapOutput
	ToTypeMapOutputWithContext(context.Context) TypeMapOutput
}

TypeMapInput is an input type that accepts TypeMap and TypeMapOutput values. You can construct a concrete instance of `TypeMapInput` via:

TypeMap{ "key": TypeArgs{...} }

type TypeMapOutput

type TypeMapOutput struct{ *pulumi.OutputState }

func (TypeMapOutput) ElementType

func (TypeMapOutput) ElementType() reflect.Type

func (TypeMapOutput) MapIndex

func (TypeMapOutput) ToTypeMapOutput

func (o TypeMapOutput) ToTypeMapOutput() TypeMapOutput

func (TypeMapOutput) ToTypeMapOutputWithContext

func (o TypeMapOutput) ToTypeMapOutputWithContext(ctx context.Context) TypeMapOutput

type TypeOutput

type TypeOutput struct{ *pulumi.OutputState }

func (TypeOutput) ApiId

func (o TypeOutput) ApiId() pulumi.StringOutput

GraphQL API ID.

func (TypeOutput) Arn

func (o TypeOutput) Arn() pulumi.StringOutput

The ARN of the type.

func (TypeOutput) Definition

func (o TypeOutput) Definition() pulumi.StringOutput

The type definition.

func (TypeOutput) Description

func (o TypeOutput) Description() pulumi.StringOutput

The type description.

func (TypeOutput) ElementType

func (TypeOutput) ElementType() reflect.Type

func (TypeOutput) Format

func (o TypeOutput) Format() pulumi.StringOutput

The type format: `SDL` or `JSON`.

func (TypeOutput) Name

func (o TypeOutput) Name() pulumi.StringOutput

The type name.

func (TypeOutput) ToTypeOutput

func (o TypeOutput) ToTypeOutput() TypeOutput

func (TypeOutput) ToTypeOutputWithContext

func (o TypeOutput) ToTypeOutputWithContext(ctx context.Context) TypeOutput

type TypeState

type TypeState struct {
	// GraphQL API ID.
	ApiId pulumi.StringPtrInput
	// The ARN of the type.
	Arn pulumi.StringPtrInput
	// The type definition.
	Definition pulumi.StringPtrInput
	// The type description.
	Description pulumi.StringPtrInput
	// The type format: `SDL` or `JSON`.
	Format pulumi.StringPtrInput
	// The type name.
	Name pulumi.StringPtrInput
}

func (TypeState) ElementType

func (TypeState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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