appsync

package
v0.104.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ResolverMetricsConfigEnabled  = ResolverMetricsConfig("ENABLED")
	ResolverMetricsConfigDisabled = ResolverMetricsConfig("DISABLED")
)
View Source
const (
	SourceApiAssociationConfigMergeTypeAutoMerge   = SourceApiAssociationConfigMergeType("AUTO_MERGE")
	SourceApiAssociationConfigMergeTypeManualMerge = SourceApiAssociationConfigMergeType("MANUAL_MERGE")
)
View Source
const (
	SourceApiAssociationStatusMergeScheduled          = SourceApiAssociationStatus("MERGE_SCHEDULED")
	SourceApiAssociationStatusMergeFailed             = SourceApiAssociationStatus("MERGE_FAILED")
	SourceApiAssociationStatusMergeSuccess            = SourceApiAssociationStatus("MERGE_SUCCESS")
	SourceApiAssociationStatusMergeInProgress         = SourceApiAssociationStatus("MERGE_IN_PROGRESS")
	SourceApiAssociationStatusAutoMergeScheduleFailed = SourceApiAssociationStatus("AUTO_MERGE_SCHEDULE_FAILED")
	SourceApiAssociationStatusDeletionScheduled       = SourceApiAssociationStatus("DELETION_SCHEDULED")
	SourceApiAssociationStatusDeletionInProgress      = SourceApiAssociationStatus("DELETION_IN_PROGRESS")
	SourceApiAssociationStatusDeletionFailed          = SourceApiAssociationStatus("DELETION_FAILED")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DomainName added in v0.9.0

type DomainName struct {
	pulumi.CustomResourceState

	AppSyncDomainName pulumi.StringOutput    `pulumi:"appSyncDomainName"`
	CertificateArn    pulumi.StringOutput    `pulumi:"certificateArn"`
	Description       pulumi.StringPtrOutput `pulumi:"description"`
	DomainName        pulumi.StringOutput    `pulumi:"domainName"`
	HostedZoneId      pulumi.StringOutput    `pulumi:"hostedZoneId"`
}

Resource Type definition for AWS::AppSync::DomainName

func GetDomainName added in v0.9.0

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

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

func NewDomainName added in v0.9.0

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

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

func (*DomainName) ElementType added in v0.9.0

func (*DomainName) ElementType() reflect.Type

func (*DomainName) ToDomainNameOutput added in v0.9.0

func (i *DomainName) ToDomainNameOutput() DomainNameOutput

func (*DomainName) ToDomainNameOutputWithContext added in v0.9.0

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

type DomainNameApiAssociation added in v0.9.0

type DomainNameApiAssociation struct {
	pulumi.CustomResourceState

	ApiAssociationIdentifier pulumi.StringOutput `pulumi:"apiAssociationIdentifier"`
	ApiId                    pulumi.StringOutput `pulumi:"apiId"`
	DomainName               pulumi.StringOutput `pulumi:"domainName"`
}

Resource Type definition for AWS::AppSync::DomainNameApiAssociation

func GetDomainNameApiAssociation added in v0.9.0

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

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

func NewDomainNameApiAssociation added in v0.9.0

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

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

func (*DomainNameApiAssociation) ElementType added in v0.9.0

func (*DomainNameApiAssociation) ElementType() reflect.Type

func (*DomainNameApiAssociation) ToDomainNameApiAssociationOutput added in v0.9.0

func (i *DomainNameApiAssociation) ToDomainNameApiAssociationOutput() DomainNameApiAssociationOutput

func (*DomainNameApiAssociation) ToDomainNameApiAssociationOutputWithContext added in v0.9.0

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

type DomainNameApiAssociationArgs added in v0.9.0

type DomainNameApiAssociationArgs struct {
	ApiId      pulumi.StringInput
	DomainName pulumi.StringInput
}

The set of arguments for constructing a DomainNameApiAssociation resource.

func (DomainNameApiAssociationArgs) ElementType added in v0.9.0

type DomainNameApiAssociationInput added in v0.9.0

type DomainNameApiAssociationInput interface {
	pulumi.Input

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

type DomainNameApiAssociationOutput added in v0.9.0

type DomainNameApiAssociationOutput struct{ *pulumi.OutputState }

func (DomainNameApiAssociationOutput) ApiAssociationIdentifier added in v0.17.0

func (o DomainNameApiAssociationOutput) ApiAssociationIdentifier() pulumi.StringOutput

func (DomainNameApiAssociationOutput) ApiId added in v0.17.0

func (DomainNameApiAssociationOutput) DomainName added in v0.17.0

func (DomainNameApiAssociationOutput) ElementType added in v0.9.0

func (DomainNameApiAssociationOutput) ToDomainNameApiAssociationOutput added in v0.9.0

func (o DomainNameApiAssociationOutput) ToDomainNameApiAssociationOutput() DomainNameApiAssociationOutput

func (DomainNameApiAssociationOutput) ToDomainNameApiAssociationOutputWithContext added in v0.9.0

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

type DomainNameApiAssociationState added in v0.9.0

type DomainNameApiAssociationState struct {
}

func (DomainNameApiAssociationState) ElementType added in v0.9.0

type DomainNameArgs added in v0.9.0

type DomainNameArgs struct {
	CertificateArn pulumi.StringInput
	Description    pulumi.StringPtrInput
	DomainName     pulumi.StringInput
}

The set of arguments for constructing a DomainName resource.

func (DomainNameArgs) ElementType added in v0.9.0

func (DomainNameArgs) ElementType() reflect.Type

type DomainNameInput added in v0.9.0

type DomainNameInput interface {
	pulumi.Input

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

type DomainNameOutput added in v0.9.0

type DomainNameOutput struct{ *pulumi.OutputState }

func (DomainNameOutput) AppSyncDomainName added in v0.17.0

func (o DomainNameOutput) AppSyncDomainName() pulumi.StringOutput

func (DomainNameOutput) CertificateArn added in v0.17.0

func (o DomainNameOutput) CertificateArn() pulumi.StringOutput

func (DomainNameOutput) Description added in v0.17.0

func (o DomainNameOutput) Description() pulumi.StringPtrOutput

func (DomainNameOutput) DomainName added in v0.17.0

func (o DomainNameOutput) DomainName() pulumi.StringOutput

func (DomainNameOutput) ElementType added in v0.9.0

func (DomainNameOutput) ElementType() reflect.Type

func (DomainNameOutput) HostedZoneId added in v0.17.0

func (o DomainNameOutput) HostedZoneId() pulumi.StringOutput

func (DomainNameOutput) ToDomainNameOutput added in v0.9.0

func (o DomainNameOutput) ToDomainNameOutput() DomainNameOutput

func (DomainNameOutput) ToDomainNameOutputWithContext added in v0.9.0

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

type DomainNameState added in v0.9.0

type DomainNameState struct {
}

func (DomainNameState) ElementType added in v0.9.0

func (DomainNameState) ElementType() reflect.Type

type FunctionConfiguration

type FunctionConfiguration struct {
	pulumi.CustomResourceState

	// The AWS AppSync GraphQL API that you want to attach using this function.
	ApiId pulumi.StringOutput `pulumi:"apiId"`
	// The resolver 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"`
	// The Amazon S3 endpoint (where the code is located??).
	CodeS3Location pulumi.StringPtrOutput `pulumi:"codeS3Location"`
	// The name of data source this function will attach.
	DataSourceName pulumi.StringOutput `pulumi:"dataSourceName"`
	// The function description.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The ARN for the function generated by the service
	FunctionArn pulumi.StringOutput `pulumi:"functionArn"`
	// The unique identifier for the function generated by the service
	FunctionId pulumi.StringOutput `pulumi:"functionId"`
	// The version of the request mapping template. Currently, only the 2018-05-29 version of the template is supported.
	FunctionVersion pulumi.StringPtrOutput `pulumi:"functionVersion"`
	// The maximum number of resolver request inputs that will be sent to a single AWS Lambda function in a BatchInvoke operation.
	MaxBatchSize pulumi.IntPtrOutput `pulumi:"maxBatchSize"`
	// The name of the function.
	Name pulumi.StringOutput `pulumi:"name"`
	// The Function request mapping template. Functions support only the 2018-05-29 version of the request mapping template.
	RequestMappingTemplate pulumi.StringPtrOutput `pulumi:"requestMappingTemplate"`
	// Describes a Sync configuration for a resolver. Contains information on which Conflict Detection, as well as Resolution strategy, should be performed when the resolver is invoked.
	RequestMappingTemplateS3Location pulumi.StringPtrOutput `pulumi:"requestMappingTemplateS3Location"`
	// The Function response mapping template.
	ResponseMappingTemplate pulumi.StringPtrOutput `pulumi:"responseMappingTemplate"`
	// The location of a response mapping template in an Amazon S3 bucket. Use this if you want to provision with a template file in Amazon S3 rather than embedding it in your CloudFormation template.
	ResponseMappingTemplateS3Location pulumi.StringPtrOutput `pulumi:"responseMappingTemplateS3Location"`
	// 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.
	Runtime FunctionConfigurationAppSyncRuntimePtrOutput `pulumi:"runtime"`
	// Describes a Sync configuration for a resolver. Specifies which Conflict Detection strategy and Resolution strategy to use when the resolver is invoked.
	SyncConfig FunctionConfigurationSyncConfigPtrOutput `pulumi:"syncConfig"`
}

An example resource schema demonstrating some basic constructs and validation rules.

## Example Usage ### Example

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		graphQlApiId := cfg.Require("graphQlApiId")
		name := cfg.Require("name")
		description := cfg.Require("description")
		dataSourceName := cfg.Require("dataSourceName")
		functionVersion := cfg.Require("functionVersion")
		requestMappingTemplateS3LocationInput := cfg.Require("requestMappingTemplateS3LocationInput")
		responseMappingTemplateS3LocationInput := cfg.Require("responseMappingTemplateS3LocationInput")
		_, err := appsync.NewFunctionConfiguration(ctx, "functionConfiguration", &appsync.FunctionConfigurationArgs{
			ApiId:                             pulumi.String(graphQlApiId),
			Name:                              pulumi.String(name),
			Description:                       pulumi.String(description),
			FunctionVersion:                   pulumi.String(functionVersion),
			DataSourceName:                    pulumi.String(dataSourceName),
			RequestMappingTemplateS3Location:  pulumi.String(requestMappingTemplateS3LocationInput),
			ResponseMappingTemplateS3Location: pulumi.String(responseMappingTemplateS3LocationInput),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetFunctionConfiguration

func GetFunctionConfiguration(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *FunctionConfigurationState, opts ...pulumi.ResourceOption) (*FunctionConfiguration, error)

GetFunctionConfiguration gets an existing FunctionConfiguration 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 NewFunctionConfiguration

func NewFunctionConfiguration(ctx *pulumi.Context,
	name string, args *FunctionConfigurationArgs, opts ...pulumi.ResourceOption) (*FunctionConfiguration, error)

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

func (*FunctionConfiguration) ElementType

func (*FunctionConfiguration) ElementType() reflect.Type

func (*FunctionConfiguration) ToFunctionConfigurationOutput

func (i *FunctionConfiguration) ToFunctionConfigurationOutput() FunctionConfigurationOutput

func (*FunctionConfiguration) ToFunctionConfigurationOutputWithContext

func (i *FunctionConfiguration) ToFunctionConfigurationOutputWithContext(ctx context.Context) FunctionConfigurationOutput

type FunctionConfigurationAppSyncRuntime added in v0.42.0

type FunctionConfigurationAppSyncRuntime 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"`
}

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.

type FunctionConfigurationAppSyncRuntimeArgs added in v0.42.0

type FunctionConfigurationAppSyncRuntimeArgs 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"`
}

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.

func (FunctionConfigurationAppSyncRuntimeArgs) ElementType added in v0.42.0

func (FunctionConfigurationAppSyncRuntimeArgs) ToFunctionConfigurationAppSyncRuntimeOutput added in v0.42.0

func (i FunctionConfigurationAppSyncRuntimeArgs) ToFunctionConfigurationAppSyncRuntimeOutput() FunctionConfigurationAppSyncRuntimeOutput

func (FunctionConfigurationAppSyncRuntimeArgs) ToFunctionConfigurationAppSyncRuntimeOutputWithContext added in v0.42.0

func (i FunctionConfigurationAppSyncRuntimeArgs) ToFunctionConfigurationAppSyncRuntimeOutputWithContext(ctx context.Context) FunctionConfigurationAppSyncRuntimeOutput

func (FunctionConfigurationAppSyncRuntimeArgs) ToFunctionConfigurationAppSyncRuntimePtrOutput added in v0.42.0

func (i FunctionConfigurationAppSyncRuntimeArgs) ToFunctionConfigurationAppSyncRuntimePtrOutput() FunctionConfigurationAppSyncRuntimePtrOutput

func (FunctionConfigurationAppSyncRuntimeArgs) ToFunctionConfigurationAppSyncRuntimePtrOutputWithContext added in v0.42.0

func (i FunctionConfigurationAppSyncRuntimeArgs) ToFunctionConfigurationAppSyncRuntimePtrOutputWithContext(ctx context.Context) FunctionConfigurationAppSyncRuntimePtrOutput

type FunctionConfigurationAppSyncRuntimeInput added in v0.42.0

type FunctionConfigurationAppSyncRuntimeInput interface {
	pulumi.Input

	ToFunctionConfigurationAppSyncRuntimeOutput() FunctionConfigurationAppSyncRuntimeOutput
	ToFunctionConfigurationAppSyncRuntimeOutputWithContext(context.Context) FunctionConfigurationAppSyncRuntimeOutput
}

FunctionConfigurationAppSyncRuntimeInput is an input type that accepts FunctionConfigurationAppSyncRuntimeArgs and FunctionConfigurationAppSyncRuntimeOutput values. You can construct a concrete instance of `FunctionConfigurationAppSyncRuntimeInput` via:

FunctionConfigurationAppSyncRuntimeArgs{...}

type FunctionConfigurationAppSyncRuntimeOutput added in v0.42.0

type FunctionConfigurationAppSyncRuntimeOutput struct{ *pulumi.OutputState }

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.

func (FunctionConfigurationAppSyncRuntimeOutput) ElementType added in v0.42.0

func (FunctionConfigurationAppSyncRuntimeOutput) Name added in v0.42.0

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

func (FunctionConfigurationAppSyncRuntimeOutput) RuntimeVersion added in v0.42.0

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

func (FunctionConfigurationAppSyncRuntimeOutput) ToFunctionConfigurationAppSyncRuntimeOutput added in v0.42.0

func (o FunctionConfigurationAppSyncRuntimeOutput) ToFunctionConfigurationAppSyncRuntimeOutput() FunctionConfigurationAppSyncRuntimeOutput

func (FunctionConfigurationAppSyncRuntimeOutput) ToFunctionConfigurationAppSyncRuntimeOutputWithContext added in v0.42.0

func (o FunctionConfigurationAppSyncRuntimeOutput) ToFunctionConfigurationAppSyncRuntimeOutputWithContext(ctx context.Context) FunctionConfigurationAppSyncRuntimeOutput

func (FunctionConfigurationAppSyncRuntimeOutput) ToFunctionConfigurationAppSyncRuntimePtrOutput added in v0.42.0

func (o FunctionConfigurationAppSyncRuntimeOutput) ToFunctionConfigurationAppSyncRuntimePtrOutput() FunctionConfigurationAppSyncRuntimePtrOutput

func (FunctionConfigurationAppSyncRuntimeOutput) ToFunctionConfigurationAppSyncRuntimePtrOutputWithContext added in v0.42.0

func (o FunctionConfigurationAppSyncRuntimeOutput) ToFunctionConfigurationAppSyncRuntimePtrOutputWithContext(ctx context.Context) FunctionConfigurationAppSyncRuntimePtrOutput

type FunctionConfigurationAppSyncRuntimePtrInput added in v0.42.0

type FunctionConfigurationAppSyncRuntimePtrInput interface {
	pulumi.Input

	ToFunctionConfigurationAppSyncRuntimePtrOutput() FunctionConfigurationAppSyncRuntimePtrOutput
	ToFunctionConfigurationAppSyncRuntimePtrOutputWithContext(context.Context) FunctionConfigurationAppSyncRuntimePtrOutput
}

FunctionConfigurationAppSyncRuntimePtrInput is an input type that accepts FunctionConfigurationAppSyncRuntimeArgs, FunctionConfigurationAppSyncRuntimePtr and FunctionConfigurationAppSyncRuntimePtrOutput values. You can construct a concrete instance of `FunctionConfigurationAppSyncRuntimePtrInput` via:

        FunctionConfigurationAppSyncRuntimeArgs{...}

or:

        nil

type FunctionConfigurationAppSyncRuntimePtrOutput added in v0.42.0

type FunctionConfigurationAppSyncRuntimePtrOutput struct{ *pulumi.OutputState }

func (FunctionConfigurationAppSyncRuntimePtrOutput) Elem added in v0.42.0

func (FunctionConfigurationAppSyncRuntimePtrOutput) ElementType added in v0.42.0

func (FunctionConfigurationAppSyncRuntimePtrOutput) Name added in v0.42.0

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

func (FunctionConfigurationAppSyncRuntimePtrOutput) RuntimeVersion added in v0.42.0

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

func (FunctionConfigurationAppSyncRuntimePtrOutput) ToFunctionConfigurationAppSyncRuntimePtrOutput added in v0.42.0

func (o FunctionConfigurationAppSyncRuntimePtrOutput) ToFunctionConfigurationAppSyncRuntimePtrOutput() FunctionConfigurationAppSyncRuntimePtrOutput

func (FunctionConfigurationAppSyncRuntimePtrOutput) ToFunctionConfigurationAppSyncRuntimePtrOutputWithContext added in v0.42.0

func (o FunctionConfigurationAppSyncRuntimePtrOutput) ToFunctionConfigurationAppSyncRuntimePtrOutputWithContext(ctx context.Context) FunctionConfigurationAppSyncRuntimePtrOutput

type FunctionConfigurationArgs

type FunctionConfigurationArgs struct {
	// The AWS AppSync GraphQL API that you want to attach using this function.
	ApiId pulumi.StringInput
	// The resolver 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
	// The Amazon S3 endpoint (where the code is located??).
	CodeS3Location pulumi.StringPtrInput
	// The name of data source this function will attach.
	DataSourceName pulumi.StringInput
	// The function description.
	Description pulumi.StringPtrInput
	// The version of the request mapping template. Currently, only the 2018-05-29 version of the template is supported.
	FunctionVersion pulumi.StringPtrInput
	// The maximum number of resolver request inputs that will be sent to a single AWS Lambda function in a BatchInvoke operation.
	MaxBatchSize pulumi.IntPtrInput
	// The name of the function.
	Name pulumi.StringPtrInput
	// The Function request mapping template. Functions support only the 2018-05-29 version of the request mapping template.
	RequestMappingTemplate pulumi.StringPtrInput
	// Describes a Sync configuration for a resolver. Contains information on which Conflict Detection, as well as Resolution strategy, should be performed when the resolver is invoked.
	RequestMappingTemplateS3Location pulumi.StringPtrInput
	// The Function response mapping template.
	ResponseMappingTemplate pulumi.StringPtrInput
	// The location of a response mapping template in an Amazon S3 bucket. Use this if you want to provision with a template file in Amazon S3 rather than embedding it in your CloudFormation template.
	ResponseMappingTemplateS3Location 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.
	Runtime FunctionConfigurationAppSyncRuntimePtrInput
	// Describes a Sync configuration for a resolver. Specifies which Conflict Detection strategy and Resolution strategy to use when the resolver is invoked.
	SyncConfig FunctionConfigurationSyncConfigPtrInput
}

The set of arguments for constructing a FunctionConfiguration resource.

func (FunctionConfigurationArgs) ElementType

func (FunctionConfigurationArgs) ElementType() reflect.Type

type FunctionConfigurationInput

type FunctionConfigurationInput interface {
	pulumi.Input

	ToFunctionConfigurationOutput() FunctionConfigurationOutput
	ToFunctionConfigurationOutputWithContext(ctx context.Context) FunctionConfigurationOutput
}

type FunctionConfigurationLambdaConflictHandlerConfig

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

The LambdaConflictHandlerConfig when configuring LAMBDA as the Conflict Handler.

type FunctionConfigurationLambdaConflictHandlerConfigArgs

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

The LambdaConflictHandlerConfig when configuring LAMBDA as the Conflict Handler.

func (FunctionConfigurationLambdaConflictHandlerConfigArgs) ElementType

func (FunctionConfigurationLambdaConflictHandlerConfigArgs) ToFunctionConfigurationLambdaConflictHandlerConfigOutput

func (i FunctionConfigurationLambdaConflictHandlerConfigArgs) ToFunctionConfigurationLambdaConflictHandlerConfigOutput() FunctionConfigurationLambdaConflictHandlerConfigOutput

func (FunctionConfigurationLambdaConflictHandlerConfigArgs) ToFunctionConfigurationLambdaConflictHandlerConfigOutputWithContext

func (i FunctionConfigurationLambdaConflictHandlerConfigArgs) ToFunctionConfigurationLambdaConflictHandlerConfigOutputWithContext(ctx context.Context) FunctionConfigurationLambdaConflictHandlerConfigOutput

func (FunctionConfigurationLambdaConflictHandlerConfigArgs) ToFunctionConfigurationLambdaConflictHandlerConfigPtrOutput

func (i FunctionConfigurationLambdaConflictHandlerConfigArgs) ToFunctionConfigurationLambdaConflictHandlerConfigPtrOutput() FunctionConfigurationLambdaConflictHandlerConfigPtrOutput

func (FunctionConfigurationLambdaConflictHandlerConfigArgs) ToFunctionConfigurationLambdaConflictHandlerConfigPtrOutputWithContext

func (i FunctionConfigurationLambdaConflictHandlerConfigArgs) ToFunctionConfigurationLambdaConflictHandlerConfigPtrOutputWithContext(ctx context.Context) FunctionConfigurationLambdaConflictHandlerConfigPtrOutput

type FunctionConfigurationLambdaConflictHandlerConfigInput

type FunctionConfigurationLambdaConflictHandlerConfigInput interface {
	pulumi.Input

	ToFunctionConfigurationLambdaConflictHandlerConfigOutput() FunctionConfigurationLambdaConflictHandlerConfigOutput
	ToFunctionConfigurationLambdaConflictHandlerConfigOutputWithContext(context.Context) FunctionConfigurationLambdaConflictHandlerConfigOutput
}

FunctionConfigurationLambdaConflictHandlerConfigInput is an input type that accepts FunctionConfigurationLambdaConflictHandlerConfigArgs and FunctionConfigurationLambdaConflictHandlerConfigOutput values. You can construct a concrete instance of `FunctionConfigurationLambdaConflictHandlerConfigInput` via:

FunctionConfigurationLambdaConflictHandlerConfigArgs{...}

type FunctionConfigurationLambdaConflictHandlerConfigOutput

type FunctionConfigurationLambdaConflictHandlerConfigOutput struct{ *pulumi.OutputState }

The LambdaConflictHandlerConfig when configuring LAMBDA as the Conflict Handler.

func (FunctionConfigurationLambdaConflictHandlerConfigOutput) ElementType

func (FunctionConfigurationLambdaConflictHandlerConfigOutput) LambdaConflictHandlerArn

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

func (FunctionConfigurationLambdaConflictHandlerConfigOutput) ToFunctionConfigurationLambdaConflictHandlerConfigOutput

func (FunctionConfigurationLambdaConflictHandlerConfigOutput) ToFunctionConfigurationLambdaConflictHandlerConfigOutputWithContext

func (o FunctionConfigurationLambdaConflictHandlerConfigOutput) ToFunctionConfigurationLambdaConflictHandlerConfigOutputWithContext(ctx context.Context) FunctionConfigurationLambdaConflictHandlerConfigOutput

func (FunctionConfigurationLambdaConflictHandlerConfigOutput) ToFunctionConfigurationLambdaConflictHandlerConfigPtrOutput

func (o FunctionConfigurationLambdaConflictHandlerConfigOutput) ToFunctionConfigurationLambdaConflictHandlerConfigPtrOutput() FunctionConfigurationLambdaConflictHandlerConfigPtrOutput

func (FunctionConfigurationLambdaConflictHandlerConfigOutput) ToFunctionConfigurationLambdaConflictHandlerConfigPtrOutputWithContext

func (o FunctionConfigurationLambdaConflictHandlerConfigOutput) ToFunctionConfigurationLambdaConflictHandlerConfigPtrOutputWithContext(ctx context.Context) FunctionConfigurationLambdaConflictHandlerConfigPtrOutput

type FunctionConfigurationLambdaConflictHandlerConfigPtrInput

type FunctionConfigurationLambdaConflictHandlerConfigPtrInput interface {
	pulumi.Input

	ToFunctionConfigurationLambdaConflictHandlerConfigPtrOutput() FunctionConfigurationLambdaConflictHandlerConfigPtrOutput
	ToFunctionConfigurationLambdaConflictHandlerConfigPtrOutputWithContext(context.Context) FunctionConfigurationLambdaConflictHandlerConfigPtrOutput
}

FunctionConfigurationLambdaConflictHandlerConfigPtrInput is an input type that accepts FunctionConfigurationLambdaConflictHandlerConfigArgs, FunctionConfigurationLambdaConflictHandlerConfigPtr and FunctionConfigurationLambdaConflictHandlerConfigPtrOutput values. You can construct a concrete instance of `FunctionConfigurationLambdaConflictHandlerConfigPtrInput` via:

        FunctionConfigurationLambdaConflictHandlerConfigArgs{...}

or:

        nil

type FunctionConfigurationLambdaConflictHandlerConfigPtrOutput

type FunctionConfigurationLambdaConflictHandlerConfigPtrOutput struct{ *pulumi.OutputState }

func (FunctionConfigurationLambdaConflictHandlerConfigPtrOutput) Elem

func (FunctionConfigurationLambdaConflictHandlerConfigPtrOutput) ElementType

func (FunctionConfigurationLambdaConflictHandlerConfigPtrOutput) LambdaConflictHandlerArn

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

func (FunctionConfigurationLambdaConflictHandlerConfigPtrOutput) ToFunctionConfigurationLambdaConflictHandlerConfigPtrOutput

func (FunctionConfigurationLambdaConflictHandlerConfigPtrOutput) ToFunctionConfigurationLambdaConflictHandlerConfigPtrOutputWithContext

func (o FunctionConfigurationLambdaConflictHandlerConfigPtrOutput) ToFunctionConfigurationLambdaConflictHandlerConfigPtrOutputWithContext(ctx context.Context) FunctionConfigurationLambdaConflictHandlerConfigPtrOutput

type FunctionConfigurationOutput

type FunctionConfigurationOutput struct{ *pulumi.OutputState }

func (FunctionConfigurationOutput) ApiId added in v0.17.0

The AWS AppSync GraphQL API that you want to attach using this function.

func (FunctionConfigurationOutput) Code added in v0.42.0

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

func (FunctionConfigurationOutput) CodeS3Location added in v0.42.0

The Amazon S3 endpoint (where the code is located??).

func (FunctionConfigurationOutput) DataSourceName added in v0.17.0

func (o FunctionConfigurationOutput) DataSourceName() pulumi.StringOutput

The name of data source this function will attach.

func (FunctionConfigurationOutput) Description added in v0.17.0

The function description.

func (FunctionConfigurationOutput) ElementType

func (FunctionConfigurationOutput) FunctionArn added in v0.17.0

The ARN for the function generated by the service

func (FunctionConfigurationOutput) FunctionId added in v0.17.0

The unique identifier for the function generated by the service

func (FunctionConfigurationOutput) FunctionVersion added in v0.17.0

The version of the request mapping template. Currently, only the 2018-05-29 version of the template is supported.

func (FunctionConfigurationOutput) MaxBatchSize added in v0.17.0

The maximum number of resolver request inputs that will be sent to a single AWS Lambda function in a BatchInvoke operation.

func (FunctionConfigurationOutput) Name added in v0.17.0

The name of the function.

func (FunctionConfigurationOutput) RequestMappingTemplate added in v0.17.0

func (o FunctionConfigurationOutput) RequestMappingTemplate() pulumi.StringPtrOutput

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

func (FunctionConfigurationOutput) RequestMappingTemplateS3Location added in v0.17.0

func (o FunctionConfigurationOutput) RequestMappingTemplateS3Location() pulumi.StringPtrOutput

Describes a Sync configuration for a resolver. Contains information on which Conflict Detection, as well as Resolution strategy, should be performed when the resolver is invoked.

func (FunctionConfigurationOutput) ResponseMappingTemplate added in v0.17.0

func (o FunctionConfigurationOutput) ResponseMappingTemplate() pulumi.StringPtrOutput

The Function response mapping template.

func (FunctionConfigurationOutput) ResponseMappingTemplateS3Location added in v0.17.0

func (o FunctionConfigurationOutput) ResponseMappingTemplateS3Location() pulumi.StringPtrOutput

The location of a response mapping template in an Amazon S3 bucket. Use this if you want to provision with a template file in Amazon S3 rather than embedding it in your CloudFormation template.

func (FunctionConfigurationOutput) Runtime added in v0.42.0

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.

func (FunctionConfigurationOutput) SyncConfig added in v0.17.0

Describes a Sync configuration for a resolver. Specifies which Conflict Detection strategy and Resolution strategy to use when the resolver is invoked.

func (FunctionConfigurationOutput) ToFunctionConfigurationOutput

func (o FunctionConfigurationOutput) ToFunctionConfigurationOutput() FunctionConfigurationOutput

func (FunctionConfigurationOutput) ToFunctionConfigurationOutputWithContext

func (o FunctionConfigurationOutput) ToFunctionConfigurationOutputWithContext(ctx context.Context) FunctionConfigurationOutput

type FunctionConfigurationState

type FunctionConfigurationState struct {
}

func (FunctionConfigurationState) ElementType

func (FunctionConfigurationState) ElementType() reflect.Type

type FunctionConfigurationSyncConfig

type FunctionConfigurationSyncConfig struct {
	// The Conflict Detection strategy to use.
	ConflictDetection string `pulumi:"conflictDetection"`
	// The Conflict Resolution strategy to perform in the event of a conflict.
	ConflictHandler             *string                                           `pulumi:"conflictHandler"`
	LambdaConflictHandlerConfig *FunctionConfigurationLambdaConflictHandlerConfig `pulumi:"lambdaConflictHandlerConfig"`
}

Describes a Sync configuration for a resolver. Specifies which Conflict Detection strategy and Resolution strategy to use when the resolver is invoked.

type FunctionConfigurationSyncConfigArgs

type FunctionConfigurationSyncConfigArgs struct {
	// The Conflict Detection strategy to use.
	ConflictDetection pulumi.StringInput `pulumi:"conflictDetection"`
	// The Conflict Resolution strategy to perform in the event of a conflict.
	ConflictHandler             pulumi.StringPtrInput                                    `pulumi:"conflictHandler"`
	LambdaConflictHandlerConfig FunctionConfigurationLambdaConflictHandlerConfigPtrInput `pulumi:"lambdaConflictHandlerConfig"`
}

Describes a Sync configuration for a resolver. Specifies which Conflict Detection strategy and Resolution strategy to use when the resolver is invoked.

func (FunctionConfigurationSyncConfigArgs) ElementType

func (FunctionConfigurationSyncConfigArgs) ToFunctionConfigurationSyncConfigOutput

func (i FunctionConfigurationSyncConfigArgs) ToFunctionConfigurationSyncConfigOutput() FunctionConfigurationSyncConfigOutput

func (FunctionConfigurationSyncConfigArgs) ToFunctionConfigurationSyncConfigOutputWithContext

func (i FunctionConfigurationSyncConfigArgs) ToFunctionConfigurationSyncConfigOutputWithContext(ctx context.Context) FunctionConfigurationSyncConfigOutput

func (FunctionConfigurationSyncConfigArgs) ToFunctionConfigurationSyncConfigPtrOutput

func (i FunctionConfigurationSyncConfigArgs) ToFunctionConfigurationSyncConfigPtrOutput() FunctionConfigurationSyncConfigPtrOutput

func (FunctionConfigurationSyncConfigArgs) ToFunctionConfigurationSyncConfigPtrOutputWithContext

func (i FunctionConfigurationSyncConfigArgs) ToFunctionConfigurationSyncConfigPtrOutputWithContext(ctx context.Context) FunctionConfigurationSyncConfigPtrOutput

type FunctionConfigurationSyncConfigInput

type FunctionConfigurationSyncConfigInput interface {
	pulumi.Input

	ToFunctionConfigurationSyncConfigOutput() FunctionConfigurationSyncConfigOutput
	ToFunctionConfigurationSyncConfigOutputWithContext(context.Context) FunctionConfigurationSyncConfigOutput
}

FunctionConfigurationSyncConfigInput is an input type that accepts FunctionConfigurationSyncConfigArgs and FunctionConfigurationSyncConfigOutput values. You can construct a concrete instance of `FunctionConfigurationSyncConfigInput` via:

FunctionConfigurationSyncConfigArgs{...}

type FunctionConfigurationSyncConfigOutput

type FunctionConfigurationSyncConfigOutput struct{ *pulumi.OutputState }

Describes a Sync configuration for a resolver. Specifies which Conflict Detection strategy and Resolution strategy to use when the resolver is invoked.

func (FunctionConfigurationSyncConfigOutput) ConflictDetection

The Conflict Detection strategy to use.

func (FunctionConfigurationSyncConfigOutput) ConflictHandler

The Conflict Resolution strategy to perform in the event of a conflict.

func (FunctionConfigurationSyncConfigOutput) ElementType

func (FunctionConfigurationSyncConfigOutput) LambdaConflictHandlerConfig

func (FunctionConfigurationSyncConfigOutput) ToFunctionConfigurationSyncConfigOutput

func (o FunctionConfigurationSyncConfigOutput) ToFunctionConfigurationSyncConfigOutput() FunctionConfigurationSyncConfigOutput

func (FunctionConfigurationSyncConfigOutput) ToFunctionConfigurationSyncConfigOutputWithContext

func (o FunctionConfigurationSyncConfigOutput) ToFunctionConfigurationSyncConfigOutputWithContext(ctx context.Context) FunctionConfigurationSyncConfigOutput

func (FunctionConfigurationSyncConfigOutput) ToFunctionConfigurationSyncConfigPtrOutput

func (o FunctionConfigurationSyncConfigOutput) ToFunctionConfigurationSyncConfigPtrOutput() FunctionConfigurationSyncConfigPtrOutput

func (FunctionConfigurationSyncConfigOutput) ToFunctionConfigurationSyncConfigPtrOutputWithContext

func (o FunctionConfigurationSyncConfigOutput) ToFunctionConfigurationSyncConfigPtrOutputWithContext(ctx context.Context) FunctionConfigurationSyncConfigPtrOutput

type FunctionConfigurationSyncConfigPtrInput

type FunctionConfigurationSyncConfigPtrInput interface {
	pulumi.Input

	ToFunctionConfigurationSyncConfigPtrOutput() FunctionConfigurationSyncConfigPtrOutput
	ToFunctionConfigurationSyncConfigPtrOutputWithContext(context.Context) FunctionConfigurationSyncConfigPtrOutput
}

FunctionConfigurationSyncConfigPtrInput is an input type that accepts FunctionConfigurationSyncConfigArgs, FunctionConfigurationSyncConfigPtr and FunctionConfigurationSyncConfigPtrOutput values. You can construct a concrete instance of `FunctionConfigurationSyncConfigPtrInput` via:

        FunctionConfigurationSyncConfigArgs{...}

or:

        nil

type FunctionConfigurationSyncConfigPtrOutput

type FunctionConfigurationSyncConfigPtrOutput struct{ *pulumi.OutputState }

func (FunctionConfigurationSyncConfigPtrOutput) ConflictDetection

The Conflict Detection strategy to use.

func (FunctionConfigurationSyncConfigPtrOutput) ConflictHandler

The Conflict Resolution strategy to perform in the event of a conflict.

func (FunctionConfigurationSyncConfigPtrOutput) Elem

func (FunctionConfigurationSyncConfigPtrOutput) ElementType

func (FunctionConfigurationSyncConfigPtrOutput) LambdaConflictHandlerConfig

func (FunctionConfigurationSyncConfigPtrOutput) ToFunctionConfigurationSyncConfigPtrOutput

func (o FunctionConfigurationSyncConfigPtrOutput) ToFunctionConfigurationSyncConfigPtrOutput() FunctionConfigurationSyncConfigPtrOutput

func (FunctionConfigurationSyncConfigPtrOutput) ToFunctionConfigurationSyncConfigPtrOutputWithContext

func (o FunctionConfigurationSyncConfigPtrOutput) ToFunctionConfigurationSyncConfigPtrOutputWithContext(ctx context.Context) FunctionConfigurationSyncConfigPtrOutput

type LookupDomainNameApiAssociationArgs added in v0.12.0

type LookupDomainNameApiAssociationArgs struct {
	ApiAssociationIdentifier string `pulumi:"apiAssociationIdentifier"`
}

type LookupDomainNameApiAssociationOutputArgs added in v0.12.0

type LookupDomainNameApiAssociationOutputArgs struct {
	ApiAssociationIdentifier pulumi.StringInput `pulumi:"apiAssociationIdentifier"`
}

func (LookupDomainNameApiAssociationOutputArgs) ElementType added in v0.12.0

type LookupDomainNameApiAssociationResult added in v0.12.0

type LookupDomainNameApiAssociationResult struct {
	ApiAssociationIdentifier *string `pulumi:"apiAssociationIdentifier"`
	ApiId                    *string `pulumi:"apiId"`
}

func LookupDomainNameApiAssociation added in v0.12.0

Resource Type definition for AWS::AppSync::DomainNameApiAssociation

type LookupDomainNameApiAssociationResultOutput added in v0.12.0

type LookupDomainNameApiAssociationResultOutput struct{ *pulumi.OutputState }

func (LookupDomainNameApiAssociationResultOutput) ApiAssociationIdentifier added in v0.12.0

func (LookupDomainNameApiAssociationResultOutput) ApiId added in v0.12.0

func (LookupDomainNameApiAssociationResultOutput) ElementType added in v0.12.0

func (LookupDomainNameApiAssociationResultOutput) ToLookupDomainNameApiAssociationResultOutput added in v0.12.0

func (o LookupDomainNameApiAssociationResultOutput) ToLookupDomainNameApiAssociationResultOutput() LookupDomainNameApiAssociationResultOutput

func (LookupDomainNameApiAssociationResultOutput) ToLookupDomainNameApiAssociationResultOutputWithContext added in v0.12.0

func (o LookupDomainNameApiAssociationResultOutput) ToLookupDomainNameApiAssociationResultOutputWithContext(ctx context.Context) LookupDomainNameApiAssociationResultOutput

type LookupDomainNameArgs added in v0.12.0

type LookupDomainNameArgs struct {
	DomainName string `pulumi:"domainName"`
}

type LookupDomainNameOutputArgs added in v0.12.0

type LookupDomainNameOutputArgs struct {
	DomainName pulumi.StringInput `pulumi:"domainName"`
}

func (LookupDomainNameOutputArgs) ElementType added in v0.12.0

func (LookupDomainNameOutputArgs) ElementType() reflect.Type

type LookupDomainNameResult added in v0.12.0

type LookupDomainNameResult struct {
	AppSyncDomainName *string `pulumi:"appSyncDomainName"`
	Description       *string `pulumi:"description"`
	HostedZoneId      *string `pulumi:"hostedZoneId"`
}

func LookupDomainName added in v0.12.0

func LookupDomainName(ctx *pulumi.Context, args *LookupDomainNameArgs, opts ...pulumi.InvokeOption) (*LookupDomainNameResult, error)

Resource Type definition for AWS::AppSync::DomainName

type LookupDomainNameResultOutput added in v0.12.0

type LookupDomainNameResultOutput struct{ *pulumi.OutputState }

func LookupDomainNameOutput added in v0.12.0

func (LookupDomainNameResultOutput) AppSyncDomainName added in v0.12.0

func (o LookupDomainNameResultOutput) AppSyncDomainName() pulumi.StringPtrOutput

func (LookupDomainNameResultOutput) Description added in v0.12.0

func (LookupDomainNameResultOutput) ElementType added in v0.12.0

func (LookupDomainNameResultOutput) HostedZoneId added in v0.12.0

func (LookupDomainNameResultOutput) ToLookupDomainNameResultOutput added in v0.12.0

func (o LookupDomainNameResultOutput) ToLookupDomainNameResultOutput() LookupDomainNameResultOutput

func (LookupDomainNameResultOutput) ToLookupDomainNameResultOutputWithContext added in v0.12.0

func (o LookupDomainNameResultOutput) ToLookupDomainNameResultOutputWithContext(ctx context.Context) LookupDomainNameResultOutput

type LookupFunctionConfigurationArgs added in v0.12.0

type LookupFunctionConfigurationArgs struct {
	// The ARN for the function generated by the service
	FunctionArn string `pulumi:"functionArn"`
}

type LookupFunctionConfigurationOutputArgs added in v0.12.0

type LookupFunctionConfigurationOutputArgs struct {
	// The ARN for the function generated by the service
	FunctionArn pulumi.StringInput `pulumi:"functionArn"`
}

func (LookupFunctionConfigurationOutputArgs) ElementType added in v0.12.0

type LookupFunctionConfigurationResult added in v0.12.0

type LookupFunctionConfigurationResult struct {
	// The resolver code that contains the request and response functions. When code is used, the runtime is required. The runtime value must be APPSYNC_JS.
	Code *string `pulumi:"code"`
	// The name of data source this function will attach.
	DataSourceName *string `pulumi:"dataSourceName"`
	// The function description.
	Description *string `pulumi:"description"`
	// The ARN for the function generated by the service
	FunctionArn *string `pulumi:"functionArn"`
	// The unique identifier for the function generated by the service
	FunctionId *string `pulumi:"functionId"`
	// The version of the request mapping template. Currently, only the 2018-05-29 version of the template is supported.
	FunctionVersion *string `pulumi:"functionVersion"`
	// The maximum number of resolver request inputs that will be sent to a single AWS Lambda function in a BatchInvoke operation.
	MaxBatchSize *int `pulumi:"maxBatchSize"`
	// The name of the function.
	Name *string `pulumi:"name"`
	// The Function request mapping template. Functions support only the 2018-05-29 version of the request mapping template.
	RequestMappingTemplate *string `pulumi:"requestMappingTemplate"`
	// The Function response mapping template.
	ResponseMappingTemplate *string `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.
	Runtime *FunctionConfigurationAppSyncRuntime `pulumi:"runtime"`
	// Describes a Sync configuration for a resolver. Specifies which Conflict Detection strategy and Resolution strategy to use when the resolver is invoked.
	SyncConfig *FunctionConfigurationSyncConfig `pulumi:"syncConfig"`
}

func LookupFunctionConfiguration added in v0.12.0

func LookupFunctionConfiguration(ctx *pulumi.Context, args *LookupFunctionConfigurationArgs, opts ...pulumi.InvokeOption) (*LookupFunctionConfigurationResult, error)

An example resource schema demonstrating some basic constructs and validation rules.

type LookupFunctionConfigurationResultOutput added in v0.12.0

type LookupFunctionConfigurationResultOutput struct{ *pulumi.OutputState }

func (LookupFunctionConfigurationResultOutput) Code added in v0.42.0

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

func (LookupFunctionConfigurationResultOutput) DataSourceName added in v0.12.0

The name of data source this function will attach.

func (LookupFunctionConfigurationResultOutput) Description added in v0.12.0

The function description.

func (LookupFunctionConfigurationResultOutput) ElementType added in v0.12.0

func (LookupFunctionConfigurationResultOutput) FunctionArn added in v0.12.0

The ARN for the function generated by the service

func (LookupFunctionConfigurationResultOutput) FunctionId added in v0.12.0

The unique identifier for the function generated by the service

func (LookupFunctionConfigurationResultOutput) FunctionVersion added in v0.12.0

The version of the request mapping template. Currently, only the 2018-05-29 version of the template is supported.

func (LookupFunctionConfigurationResultOutput) MaxBatchSize added in v0.12.0

The maximum number of resolver request inputs that will be sent to a single AWS Lambda function in a BatchInvoke operation.

func (LookupFunctionConfigurationResultOutput) Name added in v0.12.0

The name of the function.

func (LookupFunctionConfigurationResultOutput) RequestMappingTemplate added in v0.12.0

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

func (LookupFunctionConfigurationResultOutput) ResponseMappingTemplate added in v0.12.0

The Function response mapping template.

func (LookupFunctionConfigurationResultOutput) Runtime added in v0.42.0

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.

func (LookupFunctionConfigurationResultOutput) SyncConfig added in v0.12.0

Describes a Sync configuration for a resolver. Specifies which Conflict Detection strategy and Resolution strategy to use when the resolver is invoked.

func (LookupFunctionConfigurationResultOutput) ToLookupFunctionConfigurationResultOutput added in v0.12.0

func (o LookupFunctionConfigurationResultOutput) ToLookupFunctionConfigurationResultOutput() LookupFunctionConfigurationResultOutput

func (LookupFunctionConfigurationResultOutput) ToLookupFunctionConfigurationResultOutputWithContext added in v0.12.0

func (o LookupFunctionConfigurationResultOutput) ToLookupFunctionConfigurationResultOutputWithContext(ctx context.Context) LookupFunctionConfigurationResultOutput

type LookupResolverArgs added in v0.12.0

type LookupResolverArgs struct {
	ResolverArn string `pulumi:"resolverArn"`
}

type LookupResolverOutputArgs added in v0.12.0

type LookupResolverOutputArgs struct {
	ResolverArn pulumi.StringInput `pulumi:"resolverArn"`
}

func (LookupResolverOutputArgs) ElementType added in v0.12.0

func (LookupResolverOutputArgs) ElementType() reflect.Type

type LookupResolverResult added in v0.12.0

type LookupResolverResult struct {
	// The caching configuration for the resolver.
	CachingConfig *ResolverCachingConfig `pulumi:"cachingConfig"`
	// The “resolver“ code that contains the request and response functions. When code is used, the “runtime“ is required. The runtime value must be “APPSYNC_JS“.
	Code *string `pulumi:"code"`
	// The resolver data source name.
	DataSourceName *string `pulumi:"dataSourceName"`
	// The resolver type.
	//   +   *UNIT*: A UNIT resolver type. A UNIT resolver is the default resolver type. You can use a UNIT resolver to run a GraphQL query against a single data source.
	//   +   *PIPELINE*: A PIPELINE resolver type. You can use a PIPELINE resolver to invoke a series of “Function“ objects in a serial manner. You can use a pipeline resolver to run a GraphQL query against multiple data sources.
	Kind *string `pulumi:"kind"`
	// The maximum number of resolver request inputs that will be sent to a single LAMlong function in a “BatchInvoke“ operation.
	MaxBatchSize *int `pulumi:"maxBatchSize"`
	// Enables or disables enhanced resolver metrics for specified resolvers. Note that “MetricsConfig“ won't be used unless the “resolverLevelMetricsBehavior“ value is set to “PER_RESOLVER_METRICS“. If the “resolverLevelMetricsBehavior“ is set to “FULL_REQUEST_RESOLVER_METRICS“ instead, “MetricsConfig“ will be ignored. However, you can still set its value.
	MetricsConfig *ResolverMetricsConfig `pulumi:"metricsConfig"`
	// Functions linked with the pipeline resolver.
	PipelineConfig *ResolverPipelineConfig `pulumi:"pipelineConfig"`
	// The request mapping template.
	//  Request mapping templates are optional when using a Lambda data source. For all other data sources, a request mapping template is required.
	RequestMappingTemplate *string `pulumi:"requestMappingTemplate"`
	ResolverArn            *string `pulumi:"resolverArn"`
	// The response mapping template.
	ResponseMappingTemplate *string `pulumi:"responseMappingTemplate"`
	// Describes a runtime used by an APSYlong resolver or APSYlong function. Specifies the name and version of the runtime to use. Note that if a runtime is specified, code must also be specified.
	Runtime *ResolverAppSyncRuntime `pulumi:"runtime"`
	// The “SyncConfig“ for a resolver attached to a versioned data source.
	SyncConfig *ResolverSyncConfig `pulumi:"syncConfig"`
}

func LookupResolver added in v0.12.0

func LookupResolver(ctx *pulumi.Context, args *LookupResolverArgs, opts ...pulumi.InvokeOption) (*LookupResolverResult, error)

The “AWS::AppSync::Resolver“ resource defines the logical GraphQL resolver that you attach to fields in a schema. Request and response templates for resolvers are written in Apache Velocity Template Language (VTL) format. For more information about resolvers, see [Resolver Mapping Template Reference](https://docs.aws.amazon.com/appsync/latest/devguide/resolver-mapping-template-reference.html).

 When you submit an update, CFNLong updates resources based on differences between what you submit and the stack's current template. To cause this resource to be updated you must change a property value for this resource in the CFNshort template. Changing the S3 file content without changing a property value will not result in an update operation.
See [Update Behaviors of Stack Resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html) in the *User Guide*.

type LookupResolverResultOutput added in v0.12.0

type LookupResolverResultOutput struct{ *pulumi.OutputState }

func LookupResolverOutput added in v0.12.0

func LookupResolverOutput(ctx *pulumi.Context, args LookupResolverOutputArgs, opts ...pulumi.InvokeOption) LookupResolverResultOutput

func (LookupResolverResultOutput) CachingConfig added in v0.12.0

The caching configuration for the resolver.

func (LookupResolverResultOutput) Code added in v0.42.0

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

func (LookupResolverResultOutput) DataSourceName added in v0.12.0

The resolver data source name.

func (LookupResolverResultOutput) ElementType added in v0.12.0

func (LookupResolverResultOutput) ElementType() reflect.Type

func (LookupResolverResultOutput) Kind added in v0.12.0

The resolver type.

  • *UNIT*: A UNIT resolver type. A UNIT resolver is the default resolver type. You can use a UNIT resolver to run a GraphQL query against a single data source.
  • *PIPELINE*: A PIPELINE resolver type. You can use a PIPELINE resolver to invoke a series of “Function“ objects in a serial manner. You can use a pipeline resolver to run a GraphQL query against multiple data sources.

func (LookupResolverResultOutput) MaxBatchSize added in v0.12.0

The maximum number of resolver request inputs that will be sent to a single LAMlong function in a “BatchInvoke“ operation.

func (LookupResolverResultOutput) MetricsConfig added in v0.98.0

Enables or disables enhanced resolver metrics for specified resolvers. Note that “MetricsConfig“ won't be used unless the “resolverLevelMetricsBehavior“ value is set to “PER_RESOLVER_METRICS“. If the “resolverLevelMetricsBehavior“ is set to “FULL_REQUEST_RESOLVER_METRICS“ instead, “MetricsConfig“ will be ignored. However, you can still set its value.

func (LookupResolverResultOutput) PipelineConfig added in v0.12.0

Functions linked with the pipeline resolver.

func (LookupResolverResultOutput) RequestMappingTemplate added in v0.12.0

func (o LookupResolverResultOutput) RequestMappingTemplate() pulumi.StringPtrOutput

The request mapping template.

Request mapping templates are optional when using a Lambda data source. For all other data sources, a request mapping template is required.

func (LookupResolverResultOutput) ResolverArn added in v0.12.0

func (LookupResolverResultOutput) ResponseMappingTemplate added in v0.12.0

func (o LookupResolverResultOutput) ResponseMappingTemplate() pulumi.StringPtrOutput

The response mapping template.

func (LookupResolverResultOutput) Runtime added in v0.42.0

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

func (LookupResolverResultOutput) SyncConfig added in v0.12.0

The “SyncConfig“ for a resolver attached to a versioned data source.

func (LookupResolverResultOutput) ToLookupResolverResultOutput added in v0.12.0

func (o LookupResolverResultOutput) ToLookupResolverResultOutput() LookupResolverResultOutput

func (LookupResolverResultOutput) ToLookupResolverResultOutputWithContext added in v0.12.0

func (o LookupResolverResultOutput) ToLookupResolverResultOutputWithContext(ctx context.Context) LookupResolverResultOutput

type LookupSourceApiAssociationArgs added in v0.63.0

type LookupSourceApiAssociationArgs struct {
	// ARN of the SourceApiAssociation.
	AssociationArn string `pulumi:"associationArn"`
}

type LookupSourceApiAssociationOutputArgs added in v0.63.0

type LookupSourceApiAssociationOutputArgs struct {
	// ARN of the SourceApiAssociation.
	AssociationArn pulumi.StringInput `pulumi:"associationArn"`
}

func (LookupSourceApiAssociationOutputArgs) ElementType added in v0.63.0

type LookupSourceApiAssociationResult added in v0.63.0

type LookupSourceApiAssociationResult struct {
	// ARN of the SourceApiAssociation.
	AssociationArn *string `pulumi:"associationArn"`
	// Id of the SourceApiAssociation.
	AssociationId *string `pulumi:"associationId"`
	// Description of the SourceApiAssociation.
	Description *string `pulumi:"description"`
	// Date of last schema successful merge.
	LastSuccessfulMergeDate *string `pulumi:"lastSuccessfulMergeDate"`
	// ARN of the Merged API in the association.
	MergedApiArn *string `pulumi:"mergedApiArn"`
	// GraphQLApiId of the Merged API in the association.
	MergedApiId *string `pulumi:"mergedApiId"`
	// ARN of the source API in the association.
	SourceApiArn *string `pulumi:"sourceApiArn"`
	// Customized configuration for SourceApiAssociation.
	SourceApiAssociationConfig *SourceApiAssociationConfig `pulumi:"sourceApiAssociationConfig"`
	// Current status of SourceApiAssociation.
	SourceApiAssociationStatus *SourceApiAssociationStatus `pulumi:"sourceApiAssociationStatus"`
	// Current SourceApiAssociation status details.
	SourceApiAssociationStatusDetail *string `pulumi:"sourceApiAssociationStatusDetail"`
	// GraphQLApiId of the source API in the association.
	SourceApiId *string `pulumi:"sourceApiId"`
}

func LookupSourceApiAssociation added in v0.63.0

func LookupSourceApiAssociation(ctx *pulumi.Context, args *LookupSourceApiAssociationArgs, opts ...pulumi.InvokeOption) (*LookupSourceApiAssociationResult, error)

Resource Type definition for AWS::AppSync::SourceApiAssociation

type LookupSourceApiAssociationResultOutput added in v0.63.0

type LookupSourceApiAssociationResultOutput struct{ *pulumi.OutputState }

func (LookupSourceApiAssociationResultOutput) AssociationArn added in v0.63.0

ARN of the SourceApiAssociation.

func (LookupSourceApiAssociationResultOutput) AssociationId added in v0.63.0

Id of the SourceApiAssociation.

func (LookupSourceApiAssociationResultOutput) Description added in v0.63.0

Description of the SourceApiAssociation.

func (LookupSourceApiAssociationResultOutput) ElementType added in v0.63.0

func (LookupSourceApiAssociationResultOutput) LastSuccessfulMergeDate added in v0.63.0

Date of last schema successful merge.

func (LookupSourceApiAssociationResultOutput) MergedApiArn added in v0.63.0

ARN of the Merged API in the association.

func (LookupSourceApiAssociationResultOutput) MergedApiId added in v0.63.0

GraphQLApiId of the Merged API in the association.

func (LookupSourceApiAssociationResultOutput) SourceApiArn added in v0.63.0

ARN of the source API in the association.

func (LookupSourceApiAssociationResultOutput) SourceApiAssociationConfig added in v0.63.0

Customized configuration for SourceApiAssociation.

func (LookupSourceApiAssociationResultOutput) SourceApiAssociationStatus added in v0.63.0

Current status of SourceApiAssociation.

func (LookupSourceApiAssociationResultOutput) SourceApiAssociationStatusDetail added in v0.63.0

func (o LookupSourceApiAssociationResultOutput) SourceApiAssociationStatusDetail() pulumi.StringPtrOutput

Current SourceApiAssociation status details.

func (LookupSourceApiAssociationResultOutput) SourceApiId added in v0.63.0

GraphQLApiId of the source API in the association.

func (LookupSourceApiAssociationResultOutput) ToLookupSourceApiAssociationResultOutput added in v0.63.0

func (o LookupSourceApiAssociationResultOutput) ToLookupSourceApiAssociationResultOutput() LookupSourceApiAssociationResultOutput

func (LookupSourceApiAssociationResultOutput) ToLookupSourceApiAssociationResultOutputWithContext added in v0.63.0

func (o LookupSourceApiAssociationResultOutput) ToLookupSourceApiAssociationResultOutputWithContext(ctx context.Context) LookupSourceApiAssociationResultOutput

type Resolver

type Resolver struct {
	pulumi.CustomResourceState

	// The APSYlong GraphQL API to which you want to attach this resolver.
	ApiId pulumi.StringOutput `pulumi:"apiId"`
	// The caching configuration for the resolver.
	CachingConfig ResolverCachingConfigPtrOutput `pulumi:"cachingConfig"`
	// The “resolver“ 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"`
	// The Amazon S3 endpoint.
	CodeS3Location pulumi.StringPtrOutput `pulumi:"codeS3Location"`
	// The resolver data source name.
	DataSourceName pulumi.StringPtrOutput `pulumi:"dataSourceName"`
	// The GraphQL field on a type that invokes the resolver.
	FieldName pulumi.StringOutput `pulumi:"fieldName"`
	// The resolver type.
	//   +   *UNIT*: A UNIT resolver type. A UNIT resolver is the default resolver type. You can use a UNIT resolver to run a GraphQL query against a single data source.
	//   +   *PIPELINE*: A PIPELINE resolver type. You can use a PIPELINE resolver to invoke a series of “Function“ objects in a serial manner. You can use a pipeline resolver to run a GraphQL query against multiple data sources.
	Kind pulumi.StringPtrOutput `pulumi:"kind"`
	// The maximum number of resolver request inputs that will be sent to a single LAMlong function in a “BatchInvoke“ operation.
	MaxBatchSize pulumi.IntPtrOutput `pulumi:"maxBatchSize"`
	// Enables or disables enhanced resolver metrics for specified resolvers. Note that “MetricsConfig“ won't be used unless the “resolverLevelMetricsBehavior“ value is set to “PER_RESOLVER_METRICS“. If the “resolverLevelMetricsBehavior“ is set to “FULL_REQUEST_RESOLVER_METRICS“ instead, “MetricsConfig“ will be ignored. However, you can still set its value.
	MetricsConfig ResolverMetricsConfigPtrOutput `pulumi:"metricsConfig"`
	// Functions linked with the pipeline resolver.
	PipelineConfig ResolverPipelineConfigPtrOutput `pulumi:"pipelineConfig"`
	// The request mapping template.
	//  Request mapping templates are optional when using a Lambda data source. For all other data sources, a request mapping template is required.
	RequestMappingTemplate pulumi.StringPtrOutput `pulumi:"requestMappingTemplate"`
	// The location of a request mapping template in an S3 bucket. Use this if you want to provision with a template file in S3 rather than embedding it in your CFNshort template.
	RequestMappingTemplateS3Location pulumi.StringPtrOutput `pulumi:"requestMappingTemplateS3Location"`
	ResolverArn                      pulumi.StringOutput    `pulumi:"resolverArn"`
	// The response mapping template.
	ResponseMappingTemplate pulumi.StringPtrOutput `pulumi:"responseMappingTemplate"`
	// The location of a response mapping template in an S3 bucket. Use this if you want to provision with a template file in S3 rather than embedding it in your CFNshort template.
	ResponseMappingTemplateS3Location pulumi.StringPtrOutput `pulumi:"responseMappingTemplateS3Location"`
	// Describes a runtime used by an APSYlong resolver or APSYlong function. Specifies the name and version of the runtime to use. Note that if a runtime is specified, code must also be specified.
	Runtime ResolverAppSyncRuntimePtrOutput `pulumi:"runtime"`
	// The “SyncConfig“ for a resolver attached to a versioned data source.
	SyncConfig ResolverSyncConfigPtrOutput `pulumi:"syncConfig"`
	// The GraphQL type that invokes this resolver.
	TypeName pulumi.StringOutput `pulumi:"typeName"`
}

The “AWS::AppSync::Resolver“ resource defines the logical GraphQL resolver that you attach to fields in a schema. Request and response templates for resolvers are written in Apache Velocity Template Language (VTL) format. For more information about resolvers, see [Resolver Mapping Template Reference](https://docs.aws.amazon.com/appsync/latest/devguide/resolver-mapping-template-reference.html).

 When you submit an update, CFNLong updates resources based on differences between what you submit and the stack's current template. To cause this resource to be updated you must change a property value for this resource in the CFNshort template. Changing the S3 file content without changing a property value will not result in an update operation.
See [Update Behaviors of Stack Resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html) in the *User Guide*.

## Example Usage ### Example

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		graphQlApiId := cfg.Require("graphQlApiId")
		dataSourceName := cfg.Require("dataSourceName")
		fieldName := cfg.Require("fieldName")
		typeName := cfg.Require("typeName")
		requestMappingTemplateS3LocationInput := cfg.Require("requestMappingTemplateS3LocationInput")
		responseMappingTemplateS3LocationInput := cfg.Require("responseMappingTemplateS3LocationInput")
		_, err := appsync.NewResolver(ctx, "resolver", &appsync.ResolverArgs{
			ApiId:                             pulumi.String(graphQlApiId),
			TypeName:                          pulumi.String(typeName),
			FieldName:                         pulumi.String(fieldName),
			DataSourceName:                    pulumi.String(dataSourceName),
			RequestMappingTemplateS3Location:  pulumi.String(requestMappingTemplateS3LocationInput),
			ResponseMappingTemplateS3Location: pulumi.String(responseMappingTemplateS3LocationInput),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

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 ResolverAppSyncRuntime added in v0.42.0

type ResolverAppSyncRuntime 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"`
}

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

type ResolverAppSyncRuntimeArgs added in v0.42.0

type ResolverAppSyncRuntimeArgs 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"`
}

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

func (ResolverAppSyncRuntimeArgs) ElementType added in v0.42.0

func (ResolverAppSyncRuntimeArgs) ElementType() reflect.Type

func (ResolverAppSyncRuntimeArgs) ToResolverAppSyncRuntimeOutput added in v0.42.0

func (i ResolverAppSyncRuntimeArgs) ToResolverAppSyncRuntimeOutput() ResolverAppSyncRuntimeOutput

func (ResolverAppSyncRuntimeArgs) ToResolverAppSyncRuntimeOutputWithContext added in v0.42.0

func (i ResolverAppSyncRuntimeArgs) ToResolverAppSyncRuntimeOutputWithContext(ctx context.Context) ResolverAppSyncRuntimeOutput

func (ResolverAppSyncRuntimeArgs) ToResolverAppSyncRuntimePtrOutput added in v0.42.0

func (i ResolverAppSyncRuntimeArgs) ToResolverAppSyncRuntimePtrOutput() ResolverAppSyncRuntimePtrOutput

func (ResolverAppSyncRuntimeArgs) ToResolverAppSyncRuntimePtrOutputWithContext added in v0.42.0

func (i ResolverAppSyncRuntimeArgs) ToResolverAppSyncRuntimePtrOutputWithContext(ctx context.Context) ResolverAppSyncRuntimePtrOutput

type ResolverAppSyncRuntimeInput added in v0.42.0

type ResolverAppSyncRuntimeInput interface {
	pulumi.Input

	ToResolverAppSyncRuntimeOutput() ResolverAppSyncRuntimeOutput
	ToResolverAppSyncRuntimeOutputWithContext(context.Context) ResolverAppSyncRuntimeOutput
}

ResolverAppSyncRuntimeInput is an input type that accepts ResolverAppSyncRuntimeArgs and ResolverAppSyncRuntimeOutput values. You can construct a concrete instance of `ResolverAppSyncRuntimeInput` via:

ResolverAppSyncRuntimeArgs{...}

type ResolverAppSyncRuntimeOutput added in v0.42.0

type ResolverAppSyncRuntimeOutput struct{ *pulumi.OutputState }

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

func (ResolverAppSyncRuntimeOutput) ElementType added in v0.42.0

func (ResolverAppSyncRuntimeOutput) Name added in v0.42.0

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

func (ResolverAppSyncRuntimeOutput) RuntimeVersion added in v0.42.0

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

func (ResolverAppSyncRuntimeOutput) ToResolverAppSyncRuntimeOutput added in v0.42.0

func (o ResolverAppSyncRuntimeOutput) ToResolverAppSyncRuntimeOutput() ResolverAppSyncRuntimeOutput

func (ResolverAppSyncRuntimeOutput) ToResolverAppSyncRuntimeOutputWithContext added in v0.42.0

func (o ResolverAppSyncRuntimeOutput) ToResolverAppSyncRuntimeOutputWithContext(ctx context.Context) ResolverAppSyncRuntimeOutput

func (ResolverAppSyncRuntimeOutput) ToResolverAppSyncRuntimePtrOutput added in v0.42.0

func (o ResolverAppSyncRuntimeOutput) ToResolverAppSyncRuntimePtrOutput() ResolverAppSyncRuntimePtrOutput

func (ResolverAppSyncRuntimeOutput) ToResolverAppSyncRuntimePtrOutputWithContext added in v0.42.0

func (o ResolverAppSyncRuntimeOutput) ToResolverAppSyncRuntimePtrOutputWithContext(ctx context.Context) ResolverAppSyncRuntimePtrOutput

type ResolverAppSyncRuntimePtrInput added in v0.42.0

type ResolverAppSyncRuntimePtrInput interface {
	pulumi.Input

	ToResolverAppSyncRuntimePtrOutput() ResolverAppSyncRuntimePtrOutput
	ToResolverAppSyncRuntimePtrOutputWithContext(context.Context) ResolverAppSyncRuntimePtrOutput
}

ResolverAppSyncRuntimePtrInput is an input type that accepts ResolverAppSyncRuntimeArgs, ResolverAppSyncRuntimePtr and ResolverAppSyncRuntimePtrOutput values. You can construct a concrete instance of `ResolverAppSyncRuntimePtrInput` via:

        ResolverAppSyncRuntimeArgs{...}

or:

        nil

func ResolverAppSyncRuntimePtr added in v0.42.0

func ResolverAppSyncRuntimePtr(v *ResolverAppSyncRuntimeArgs) ResolverAppSyncRuntimePtrInput

type ResolverAppSyncRuntimePtrOutput added in v0.42.0

type ResolverAppSyncRuntimePtrOutput struct{ *pulumi.OutputState }

func (ResolverAppSyncRuntimePtrOutput) Elem added in v0.42.0

func (ResolverAppSyncRuntimePtrOutput) ElementType added in v0.42.0

func (ResolverAppSyncRuntimePtrOutput) Name added in v0.42.0

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

func (ResolverAppSyncRuntimePtrOutput) RuntimeVersion added in v0.42.0

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

func (ResolverAppSyncRuntimePtrOutput) ToResolverAppSyncRuntimePtrOutput added in v0.42.0

func (o ResolverAppSyncRuntimePtrOutput) ToResolverAppSyncRuntimePtrOutput() ResolverAppSyncRuntimePtrOutput

func (ResolverAppSyncRuntimePtrOutput) ToResolverAppSyncRuntimePtrOutputWithContext added in v0.42.0

func (o ResolverAppSyncRuntimePtrOutput) ToResolverAppSyncRuntimePtrOutputWithContext(ctx context.Context) ResolverAppSyncRuntimePtrOutput

type ResolverArgs

type ResolverArgs struct {
	// The APSYlong GraphQL API to which you want to attach this resolver.
	ApiId pulumi.StringInput
	// The caching configuration for the resolver.
	CachingConfig ResolverCachingConfigPtrInput
	// The “resolver“ 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
	// The Amazon S3 endpoint.
	CodeS3Location pulumi.StringPtrInput
	// The resolver data source name.
	DataSourceName pulumi.StringPtrInput
	// The GraphQL field on a type that invokes the resolver.
	FieldName pulumi.StringInput
	// The resolver type.
	//   +   *UNIT*: A UNIT resolver type. A UNIT resolver is the default resolver type. You can use a UNIT resolver to run a GraphQL query against a single data source.
	//   +   *PIPELINE*: A PIPELINE resolver type. You can use a PIPELINE resolver to invoke a series of “Function“ objects in a serial manner. You can use a pipeline resolver to run a GraphQL query against multiple data sources.
	Kind pulumi.StringPtrInput
	// The maximum number of resolver request inputs that will be sent to a single LAMlong function in a “BatchInvoke“ operation.
	MaxBatchSize pulumi.IntPtrInput
	// Enables or disables enhanced resolver metrics for specified resolvers. Note that “MetricsConfig“ won't be used unless the “resolverLevelMetricsBehavior“ value is set to “PER_RESOLVER_METRICS“. If the “resolverLevelMetricsBehavior“ is set to “FULL_REQUEST_RESOLVER_METRICS“ instead, “MetricsConfig“ will be ignored. However, you can still set its value.
	MetricsConfig ResolverMetricsConfigPtrInput
	// Functions linked with the pipeline resolver.
	PipelineConfig ResolverPipelineConfigPtrInput
	// The request mapping template.
	//  Request mapping templates are optional when using a Lambda data source. For all other data sources, a request mapping template is required.
	RequestMappingTemplate pulumi.StringPtrInput
	// The location of a request mapping template in an S3 bucket. Use this if you want to provision with a template file in S3 rather than embedding it in your CFNshort template.
	RequestMappingTemplateS3Location pulumi.StringPtrInput
	// The response mapping template.
	ResponseMappingTemplate pulumi.StringPtrInput
	// The location of a response mapping template in an S3 bucket. Use this if you want to provision with a template file in S3 rather than embedding it in your CFNshort template.
	ResponseMappingTemplateS3Location pulumi.StringPtrInput
	// Describes a runtime used by an APSYlong resolver or APSYlong function. Specifies the name and version of the runtime to use. Note that if a runtime is specified, code must also be specified.
	Runtime ResolverAppSyncRuntimePtrInput
	// The “SyncConfig“ for a resolver attached to a versioned data source.
	SyncConfig ResolverSyncConfigPtrInput
	// The GraphQL type that invokes this resolver.
	TypeName pulumi.StringInput
}

The set of arguments for constructing a Resolver resource.

func (ResolverArgs) ElementType

func (ResolverArgs) ElementType() reflect.Type

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 1–3,600 seconds.
	Ttl float64 `pulumi:"ttl"`
}

The caching configuration for a resolver that has caching activated.

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 1–3,600 seconds.
	Ttl pulumi.Float64Input `pulumi:"ttl"`
}

The caching configuration for a resolver that has caching activated.

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 }

The caching configuration for a resolver that has caching activated.

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 1–3,600 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 1–3,600 seconds.

type ResolverInput

type ResolverInput interface {
	pulumi.Input

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

type ResolverLambdaConflictHandlerConfig

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

The “LambdaConflictHandlerConfig“ when configuring LAMBDA as the Conflict Handler.

type ResolverLambdaConflictHandlerConfigArgs

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

The “LambdaConflictHandlerConfig“ when configuring LAMBDA as the Conflict Handler.

func (ResolverLambdaConflictHandlerConfigArgs) ElementType

func (ResolverLambdaConflictHandlerConfigArgs) ToResolverLambdaConflictHandlerConfigOutput

func (i ResolverLambdaConflictHandlerConfigArgs) ToResolverLambdaConflictHandlerConfigOutput() ResolverLambdaConflictHandlerConfigOutput

func (ResolverLambdaConflictHandlerConfigArgs) ToResolverLambdaConflictHandlerConfigOutputWithContext

func (i ResolverLambdaConflictHandlerConfigArgs) ToResolverLambdaConflictHandlerConfigOutputWithContext(ctx context.Context) ResolverLambdaConflictHandlerConfigOutput

func (ResolverLambdaConflictHandlerConfigArgs) ToResolverLambdaConflictHandlerConfigPtrOutput

func (i ResolverLambdaConflictHandlerConfigArgs) ToResolverLambdaConflictHandlerConfigPtrOutput() ResolverLambdaConflictHandlerConfigPtrOutput

func (ResolverLambdaConflictHandlerConfigArgs) ToResolverLambdaConflictHandlerConfigPtrOutputWithContext

func (i ResolverLambdaConflictHandlerConfigArgs) ToResolverLambdaConflictHandlerConfigPtrOutputWithContext(ctx context.Context) ResolverLambdaConflictHandlerConfigPtrOutput

type ResolverLambdaConflictHandlerConfigInput

type ResolverLambdaConflictHandlerConfigInput interface {
	pulumi.Input

	ToResolverLambdaConflictHandlerConfigOutput() ResolverLambdaConflictHandlerConfigOutput
	ToResolverLambdaConflictHandlerConfigOutputWithContext(context.Context) ResolverLambdaConflictHandlerConfigOutput
}

ResolverLambdaConflictHandlerConfigInput is an input type that accepts ResolverLambdaConflictHandlerConfigArgs and ResolverLambdaConflictHandlerConfigOutput values. You can construct a concrete instance of `ResolverLambdaConflictHandlerConfigInput` via:

ResolverLambdaConflictHandlerConfigArgs{...}

type ResolverLambdaConflictHandlerConfigOutput

type ResolverLambdaConflictHandlerConfigOutput struct{ *pulumi.OutputState }

The “LambdaConflictHandlerConfig“ when configuring LAMBDA as the Conflict Handler.

func (ResolverLambdaConflictHandlerConfigOutput) ElementType

func (ResolverLambdaConflictHandlerConfigOutput) LambdaConflictHandlerArn

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

func (ResolverLambdaConflictHandlerConfigOutput) ToResolverLambdaConflictHandlerConfigOutput

func (o ResolverLambdaConflictHandlerConfigOutput) ToResolverLambdaConflictHandlerConfigOutput() ResolverLambdaConflictHandlerConfigOutput

func (ResolverLambdaConflictHandlerConfigOutput) ToResolverLambdaConflictHandlerConfigOutputWithContext

func (o ResolverLambdaConflictHandlerConfigOutput) ToResolverLambdaConflictHandlerConfigOutputWithContext(ctx context.Context) ResolverLambdaConflictHandlerConfigOutput

func (ResolverLambdaConflictHandlerConfigOutput) ToResolverLambdaConflictHandlerConfigPtrOutput

func (o ResolverLambdaConflictHandlerConfigOutput) ToResolverLambdaConflictHandlerConfigPtrOutput() ResolverLambdaConflictHandlerConfigPtrOutput

func (ResolverLambdaConflictHandlerConfigOutput) ToResolverLambdaConflictHandlerConfigPtrOutputWithContext

func (o ResolverLambdaConflictHandlerConfigOutput) ToResolverLambdaConflictHandlerConfigPtrOutputWithContext(ctx context.Context) ResolverLambdaConflictHandlerConfigPtrOutput

type ResolverLambdaConflictHandlerConfigPtrInput

type ResolverLambdaConflictHandlerConfigPtrInput interface {
	pulumi.Input

	ToResolverLambdaConflictHandlerConfigPtrOutput() ResolverLambdaConflictHandlerConfigPtrOutput
	ToResolverLambdaConflictHandlerConfigPtrOutputWithContext(context.Context) ResolverLambdaConflictHandlerConfigPtrOutput
}

ResolverLambdaConflictHandlerConfigPtrInput is an input type that accepts ResolverLambdaConflictHandlerConfigArgs, ResolverLambdaConflictHandlerConfigPtr and ResolverLambdaConflictHandlerConfigPtrOutput values. You can construct a concrete instance of `ResolverLambdaConflictHandlerConfigPtrInput` via:

        ResolverLambdaConflictHandlerConfigArgs{...}

or:

        nil

type ResolverLambdaConflictHandlerConfigPtrOutput

type ResolverLambdaConflictHandlerConfigPtrOutput struct{ *pulumi.OutputState }

func (ResolverLambdaConflictHandlerConfigPtrOutput) Elem

func (ResolverLambdaConflictHandlerConfigPtrOutput) ElementType

func (ResolverLambdaConflictHandlerConfigPtrOutput) LambdaConflictHandlerArn

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

func (ResolverLambdaConflictHandlerConfigPtrOutput) ToResolverLambdaConflictHandlerConfigPtrOutput

func (o ResolverLambdaConflictHandlerConfigPtrOutput) ToResolverLambdaConflictHandlerConfigPtrOutput() ResolverLambdaConflictHandlerConfigPtrOutput

func (ResolverLambdaConflictHandlerConfigPtrOutput) ToResolverLambdaConflictHandlerConfigPtrOutputWithContext

func (o ResolverLambdaConflictHandlerConfigPtrOutput) ToResolverLambdaConflictHandlerConfigPtrOutputWithContext(ctx context.Context) ResolverLambdaConflictHandlerConfigPtrOutput

type ResolverMetricsConfig added in v0.98.0

type ResolverMetricsConfig string

Enables or disables enhanced resolver metrics for specified resolvers. Note that “MetricsConfig“ won't be used unless the “resolverLevelMetricsBehavior“ value is set to “PER_RESOLVER_METRICS“. If the “resolverLevelMetricsBehavior“ is set to “FULL_REQUEST_RESOLVER_METRICS“ instead, “MetricsConfig“ will be ignored. However, you can still set its value.

func (ResolverMetricsConfig) ElementType added in v0.98.0

func (ResolverMetricsConfig) ElementType() reflect.Type

func (ResolverMetricsConfig) ToResolverMetricsConfigOutput added in v0.98.0

func (e ResolverMetricsConfig) ToResolverMetricsConfigOutput() ResolverMetricsConfigOutput

func (ResolverMetricsConfig) ToResolverMetricsConfigOutputWithContext added in v0.98.0

func (e ResolverMetricsConfig) ToResolverMetricsConfigOutputWithContext(ctx context.Context) ResolverMetricsConfigOutput

func (ResolverMetricsConfig) ToResolverMetricsConfigPtrOutput added in v0.98.0

func (e ResolverMetricsConfig) ToResolverMetricsConfigPtrOutput() ResolverMetricsConfigPtrOutput

func (ResolverMetricsConfig) ToResolverMetricsConfigPtrOutputWithContext added in v0.98.0

func (e ResolverMetricsConfig) ToResolverMetricsConfigPtrOutputWithContext(ctx context.Context) ResolverMetricsConfigPtrOutput

func (ResolverMetricsConfig) ToStringOutput added in v0.98.0

func (e ResolverMetricsConfig) ToStringOutput() pulumi.StringOutput

func (ResolverMetricsConfig) ToStringOutputWithContext added in v0.98.0

func (e ResolverMetricsConfig) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (ResolverMetricsConfig) ToStringPtrOutput added in v0.98.0

func (e ResolverMetricsConfig) ToStringPtrOutput() pulumi.StringPtrOutput

func (ResolverMetricsConfig) ToStringPtrOutputWithContext added in v0.98.0

func (e ResolverMetricsConfig) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type ResolverMetricsConfigInput added in v0.98.0

type ResolverMetricsConfigInput interface {
	pulumi.Input

	ToResolverMetricsConfigOutput() ResolverMetricsConfigOutput
	ToResolverMetricsConfigOutputWithContext(context.Context) ResolverMetricsConfigOutput
}

ResolverMetricsConfigInput is an input type that accepts values of the ResolverMetricsConfig enum A concrete instance of `ResolverMetricsConfigInput` can be one of the following:

ResolverMetricsConfigEnabled
ResolverMetricsConfigDisabled

type ResolverMetricsConfigOutput added in v0.98.0

type ResolverMetricsConfigOutput struct{ *pulumi.OutputState }

func (ResolverMetricsConfigOutput) ElementType added in v0.98.0

func (ResolverMetricsConfigOutput) ToResolverMetricsConfigOutput added in v0.98.0

func (o ResolverMetricsConfigOutput) ToResolverMetricsConfigOutput() ResolverMetricsConfigOutput

func (ResolverMetricsConfigOutput) ToResolverMetricsConfigOutputWithContext added in v0.98.0

func (o ResolverMetricsConfigOutput) ToResolverMetricsConfigOutputWithContext(ctx context.Context) ResolverMetricsConfigOutput

func (ResolverMetricsConfigOutput) ToResolverMetricsConfigPtrOutput added in v0.98.0

func (o ResolverMetricsConfigOutput) ToResolverMetricsConfigPtrOutput() ResolverMetricsConfigPtrOutput

func (ResolverMetricsConfigOutput) ToResolverMetricsConfigPtrOutputWithContext added in v0.98.0

func (o ResolverMetricsConfigOutput) ToResolverMetricsConfigPtrOutputWithContext(ctx context.Context) ResolverMetricsConfigPtrOutput

func (ResolverMetricsConfigOutput) ToStringOutput added in v0.98.0

func (o ResolverMetricsConfigOutput) ToStringOutput() pulumi.StringOutput

func (ResolverMetricsConfigOutput) ToStringOutputWithContext added in v0.98.0

func (o ResolverMetricsConfigOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (ResolverMetricsConfigOutput) ToStringPtrOutput added in v0.98.0

func (o ResolverMetricsConfigOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (ResolverMetricsConfigOutput) ToStringPtrOutputWithContext added in v0.98.0

func (o ResolverMetricsConfigOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type ResolverMetricsConfigPtrInput added in v0.98.0

type ResolverMetricsConfigPtrInput interface {
	pulumi.Input

	ToResolverMetricsConfigPtrOutput() ResolverMetricsConfigPtrOutput
	ToResolverMetricsConfigPtrOutputWithContext(context.Context) ResolverMetricsConfigPtrOutput
}

func ResolverMetricsConfigPtr added in v0.98.0

func ResolverMetricsConfigPtr(v string) ResolverMetricsConfigPtrInput

type ResolverMetricsConfigPtrOutput added in v0.98.0

type ResolverMetricsConfigPtrOutput struct{ *pulumi.OutputState }

func (ResolverMetricsConfigPtrOutput) Elem added in v0.98.0

func (ResolverMetricsConfigPtrOutput) ElementType added in v0.98.0

func (ResolverMetricsConfigPtrOutput) ToResolverMetricsConfigPtrOutput added in v0.98.0

func (o ResolverMetricsConfigPtrOutput) ToResolverMetricsConfigPtrOutput() ResolverMetricsConfigPtrOutput

func (ResolverMetricsConfigPtrOutput) ToResolverMetricsConfigPtrOutputWithContext added in v0.98.0

func (o ResolverMetricsConfigPtrOutput) ToResolverMetricsConfigPtrOutputWithContext(ctx context.Context) ResolverMetricsConfigPtrOutput

func (ResolverMetricsConfigPtrOutput) ToStringPtrOutput added in v0.98.0

func (ResolverMetricsConfigPtrOutput) ToStringPtrOutputWithContext added in v0.98.0

func (o ResolverMetricsConfigPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type ResolverOutput

type ResolverOutput struct{ *pulumi.OutputState }

func (ResolverOutput) ApiId added in v0.17.0

The APSYlong GraphQL API to which you want to attach this resolver.

func (ResolverOutput) CachingConfig added in v0.17.0

The caching configuration for the resolver.

func (ResolverOutput) Code added in v0.42.0

The “resolver“ 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) CodeS3Location added in v0.42.0

func (o ResolverOutput) CodeS3Location() pulumi.StringPtrOutput

The Amazon S3 endpoint.

func (ResolverOutput) DataSourceName added in v0.17.0

func (o ResolverOutput) DataSourceName() pulumi.StringPtrOutput

The resolver data source name.

func (ResolverOutput) ElementType

func (ResolverOutput) ElementType() reflect.Type

func (ResolverOutput) FieldName added in v0.17.0

func (o ResolverOutput) FieldName() pulumi.StringOutput

The GraphQL field on a type that invokes the resolver.

func (ResolverOutput) Kind added in v0.17.0

The resolver type.

  • *UNIT*: A UNIT resolver type. A UNIT resolver is the default resolver type. You can use a UNIT resolver to run a GraphQL query against a single data source.
  • *PIPELINE*: A PIPELINE resolver type. You can use a PIPELINE resolver to invoke a series of “Function“ objects in a serial manner. You can use a pipeline resolver to run a GraphQL query against multiple data sources.

func (ResolverOutput) MaxBatchSize added in v0.17.0

func (o ResolverOutput) MaxBatchSize() pulumi.IntPtrOutput

The maximum number of resolver request inputs that will be sent to a single LAMlong function in a “BatchInvoke“ operation.

func (ResolverOutput) MetricsConfig added in v0.98.0

Enables or disables enhanced resolver metrics for specified resolvers. Note that “MetricsConfig“ won't be used unless the “resolverLevelMetricsBehavior“ value is set to “PER_RESOLVER_METRICS“. If the “resolverLevelMetricsBehavior“ is set to “FULL_REQUEST_RESOLVER_METRICS“ instead, “MetricsConfig“ will be ignored. However, you can still set its value.

func (ResolverOutput) PipelineConfig added in v0.17.0

Functions linked with the pipeline resolver.

func (ResolverOutput) RequestMappingTemplate added in v0.17.0

func (o ResolverOutput) RequestMappingTemplate() pulumi.StringPtrOutput

The request mapping template.

Request mapping templates are optional when using a Lambda data source. For all other data sources, a request mapping template is required.

func (ResolverOutput) RequestMappingTemplateS3Location added in v0.17.0

func (o ResolverOutput) RequestMappingTemplateS3Location() pulumi.StringPtrOutput

The location of a request mapping template in an S3 bucket. Use this if you want to provision with a template file in S3 rather than embedding it in your CFNshort template.

func (ResolverOutput) ResolverArn added in v0.17.0

func (o ResolverOutput) ResolverArn() pulumi.StringOutput

func (ResolverOutput) ResponseMappingTemplate added in v0.17.0

func (o ResolverOutput) ResponseMappingTemplate() pulumi.StringPtrOutput

The response mapping template.

func (ResolverOutput) ResponseMappingTemplateS3Location added in v0.17.0

func (o ResolverOutput) ResponseMappingTemplateS3Location() pulumi.StringPtrOutput

The location of a response mapping template in an S3 bucket. Use this if you want to provision with a template file in S3 rather than embedding it in your CFNshort template.

func (ResolverOutput) Runtime added in v0.42.0

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

func (ResolverOutput) SyncConfig added in v0.17.0

The “SyncConfig“ for a resolver attached to a versioned data source.

func (ResolverOutput) ToResolverOutput

func (o ResolverOutput) ToResolverOutput() ResolverOutput

func (ResolverOutput) ToResolverOutputWithContext

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

func (ResolverOutput) TypeName added in v0.17.0

func (o ResolverOutput) TypeName() pulumi.StringOutput

The GraphQL type that invokes this resolver.

type ResolverPipelineConfig

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

Use the “PipelineConfig“ property type to specify “PipelineConfig“ for an APSYlong resolver.

``PipelineConfig`` is a property of the [AWS::AppSync::Resolver](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-resolver.html) resource.

type ResolverPipelineConfigArgs

type ResolverPipelineConfigArgs struct {
	// A list of “Function“ objects.
	Functions pulumi.StringArrayInput `pulumi:"functions"`
}

Use the “PipelineConfig“ property type to specify “PipelineConfig“ for an APSYlong resolver.

``PipelineConfig`` is a property of the [AWS::AppSync::Resolver](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-resolver.html) resource.

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 }

Use the “PipelineConfig“ property type to specify “PipelineConfig“ for an APSYlong resolver.

``PipelineConfig`` is a property of the [AWS::AppSync::Resolver](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-resolver.html) resource.

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 ResolverState

type ResolverState struct {
}

func (ResolverState) ElementType

func (ResolverState) ElementType() reflect.Type

type ResolverSyncConfig

type ResolverSyncConfig struct {
	// The Conflict Detection strategy to use.
	//   +   *VERSION*: Detect conflicts based on object versions for this resolver.
	//   +   *NONE*: Do not detect conflicts when invoking this resolver.
	ConflictDetection string `pulumi:"conflictDetection"`
	// The Conflict Resolution strategy to perform in the event of a conflict.
	//   +   *OPTIMISTIC_CONCURRENCY*: Resolve conflicts by rejecting mutations when versions don't match the latest version at the server.
	//   +   *AUTOMERGE*: Resolve conflicts with the Automerge conflict resolution strategy.
	//   +   *LAMBDA*: Resolve conflicts with an LAMlong function supplied in the “LambdaConflictHandlerConfig“.
	ConflictHandler *string `pulumi:"conflictHandler"`
	// The “LambdaConflictHandlerConfig“ when configuring “LAMBDA“ as the Conflict Handler.
	LambdaConflictHandlerConfig *ResolverLambdaConflictHandlerConfig `pulumi:"lambdaConflictHandlerConfig"`
}

Describes a Sync configuration for a resolver.

Specifies which Conflict Detection strategy and Resolution strategy to use when the resolver is invoked.

type ResolverSyncConfigArgs

type ResolverSyncConfigArgs struct {
	// The Conflict Detection strategy to use.
	//   +   *VERSION*: Detect conflicts based on object versions for this resolver.
	//   +   *NONE*: Do not detect conflicts when invoking this resolver.
	ConflictDetection pulumi.StringInput `pulumi:"conflictDetection"`
	// The Conflict Resolution strategy to perform in the event of a conflict.
	//   +   *OPTIMISTIC_CONCURRENCY*: Resolve conflicts by rejecting mutations when versions don't match the latest version at the server.
	//   +   *AUTOMERGE*: Resolve conflicts with the Automerge conflict resolution strategy.
	//   +   *LAMBDA*: Resolve conflicts with an LAMlong function supplied in the “LambdaConflictHandlerConfig“.
	ConflictHandler pulumi.StringPtrInput `pulumi:"conflictHandler"`
	// The “LambdaConflictHandlerConfig“ when configuring “LAMBDA“ as the Conflict Handler.
	LambdaConflictHandlerConfig ResolverLambdaConflictHandlerConfigPtrInput `pulumi:"lambdaConflictHandlerConfig"`
}

Describes a Sync configuration for a resolver.

Specifies which Conflict Detection strategy and Resolution strategy to use when the resolver is invoked.

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 ResolverSyncConfigOutput

type ResolverSyncConfigOutput struct{ *pulumi.OutputState }

Describes a Sync configuration for a resolver.

Specifies which Conflict Detection strategy and Resolution strategy to use when the resolver is invoked.

func (ResolverSyncConfigOutput) ConflictDetection

func (o ResolverSyncConfigOutput) ConflictDetection() pulumi.StringOutput

The Conflict Detection strategy to use.

  • *VERSION*: Detect conflicts based on object versions for this resolver.
  • *NONE*: Do not detect conflicts when invoking this resolver.

func (ResolverSyncConfigOutput) ConflictHandler

func (o ResolverSyncConfigOutput) ConflictHandler() pulumi.StringPtrOutput

The Conflict Resolution strategy to perform in the event of a conflict.

  • *OPTIMISTIC_CONCURRENCY*: Resolve conflicts by rejecting mutations when versions don't match the latest version at the server.
  • *AUTOMERGE*: Resolve conflicts with the Automerge conflict resolution strategy.
  • *LAMBDA*: Resolve conflicts with an LAMlong function supplied in the “LambdaConflictHandlerConfig“.

func (ResolverSyncConfigOutput) ElementType

func (ResolverSyncConfigOutput) ElementType() reflect.Type

func (ResolverSyncConfigOutput) LambdaConflictHandlerConfig

The “LambdaConflictHandlerConfig“ when configuring “LAMBDA“ as the Conflict Handler.

func (ResolverSyncConfigOutput) ToResolverSyncConfigOutput

func (o ResolverSyncConfigOutput) ToResolverSyncConfigOutput() ResolverSyncConfigOutput

func (ResolverSyncConfigOutput) ToResolverSyncConfigOutputWithContext

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

func (ResolverSyncConfigOutput) ToResolverSyncConfigPtrOutput

func (o ResolverSyncConfigOutput) ToResolverSyncConfigPtrOutput() ResolverSyncConfigPtrOutput

func (ResolverSyncConfigOutput) ToResolverSyncConfigPtrOutputWithContext

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

type ResolverSyncConfigPtrInput

type ResolverSyncConfigPtrInput interface {
	pulumi.Input

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

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

        ResolverSyncConfigArgs{...}

or:

        nil

type ResolverSyncConfigPtrOutput

type ResolverSyncConfigPtrOutput struct{ *pulumi.OutputState }

func (ResolverSyncConfigPtrOutput) ConflictDetection

func (o ResolverSyncConfigPtrOutput) ConflictDetection() pulumi.StringPtrOutput

The Conflict Detection strategy to use.

  • *VERSION*: Detect conflicts based on object versions for this resolver.
  • *NONE*: Do not detect conflicts when invoking this resolver.

func (ResolverSyncConfigPtrOutput) ConflictHandler

The Conflict Resolution strategy to perform in the event of a conflict.

  • *OPTIMISTIC_CONCURRENCY*: Resolve conflicts by rejecting mutations when versions don't match the latest version at the server.
  • *AUTOMERGE*: Resolve conflicts with the Automerge conflict resolution strategy.
  • *LAMBDA*: Resolve conflicts with an LAMlong function supplied in the “LambdaConflictHandlerConfig“.

func (ResolverSyncConfigPtrOutput) Elem

func (ResolverSyncConfigPtrOutput) ElementType

func (ResolverSyncConfigPtrOutput) LambdaConflictHandlerConfig

The “LambdaConflictHandlerConfig“ when configuring “LAMBDA“ as the Conflict Handler.

func (ResolverSyncConfigPtrOutput) ToResolverSyncConfigPtrOutput

func (o ResolverSyncConfigPtrOutput) ToResolverSyncConfigPtrOutput() ResolverSyncConfigPtrOutput

func (ResolverSyncConfigPtrOutput) ToResolverSyncConfigPtrOutputWithContext

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

type SourceApiAssociation added in v0.63.0

type SourceApiAssociation struct {
	pulumi.CustomResourceState

	// ARN of the SourceApiAssociation.
	AssociationArn pulumi.StringOutput `pulumi:"associationArn"`
	// Id of the SourceApiAssociation.
	AssociationId pulumi.StringOutput `pulumi:"associationId"`
	// Description of the SourceApiAssociation.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Date of last schema successful merge.
	LastSuccessfulMergeDate pulumi.StringOutput `pulumi:"lastSuccessfulMergeDate"`
	// ARN of the Merged API in the association.
	MergedApiArn pulumi.StringOutput `pulumi:"mergedApiArn"`
	// GraphQLApiId of the Merged API in the association.
	MergedApiId pulumi.StringOutput `pulumi:"mergedApiId"`
	// Identifier of the Merged GraphQLApi to associate. It could be either GraphQLApi ApiId or ARN
	MergedApiIdentifier pulumi.StringPtrOutput `pulumi:"mergedApiIdentifier"`
	// ARN of the source API in the association.
	SourceApiArn pulumi.StringOutput `pulumi:"sourceApiArn"`
	// Customized configuration for SourceApiAssociation.
	SourceApiAssociationConfig SourceApiAssociationConfigPtrOutput `pulumi:"sourceApiAssociationConfig"`
	// Current status of SourceApiAssociation.
	SourceApiAssociationStatus SourceApiAssociationStatusOutput `pulumi:"sourceApiAssociationStatus"`
	// Current SourceApiAssociation status details.
	SourceApiAssociationStatusDetail pulumi.StringOutput `pulumi:"sourceApiAssociationStatusDetail"`
	// GraphQLApiId of the source API in the association.
	SourceApiId pulumi.StringOutput `pulumi:"sourceApiId"`
	// Identifier of the Source GraphQLApi to associate. It could be either GraphQLApi ApiId or ARN
	SourceApiIdentifier pulumi.StringPtrOutput `pulumi:"sourceApiIdentifier"`
}

Resource Type definition for AWS::AppSync::SourceApiAssociation

func GetSourceApiAssociation added in v0.63.0

func GetSourceApiAssociation(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SourceApiAssociationState, opts ...pulumi.ResourceOption) (*SourceApiAssociation, error)

GetSourceApiAssociation gets an existing SourceApiAssociation 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 NewSourceApiAssociation added in v0.63.0

func NewSourceApiAssociation(ctx *pulumi.Context,
	name string, args *SourceApiAssociationArgs, opts ...pulumi.ResourceOption) (*SourceApiAssociation, error)

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

func (*SourceApiAssociation) ElementType added in v0.63.0

func (*SourceApiAssociation) ElementType() reflect.Type

func (*SourceApiAssociation) ToSourceApiAssociationOutput added in v0.63.0

func (i *SourceApiAssociation) ToSourceApiAssociationOutput() SourceApiAssociationOutput

func (*SourceApiAssociation) ToSourceApiAssociationOutputWithContext added in v0.63.0

func (i *SourceApiAssociation) ToSourceApiAssociationOutputWithContext(ctx context.Context) SourceApiAssociationOutput

type SourceApiAssociationArgs added in v0.63.0

type SourceApiAssociationArgs struct {
	// Description of the SourceApiAssociation.
	Description pulumi.StringPtrInput
	// Identifier of the Merged GraphQLApi to associate. It could be either GraphQLApi ApiId or ARN
	MergedApiIdentifier pulumi.StringPtrInput
	// Customized configuration for SourceApiAssociation.
	SourceApiAssociationConfig SourceApiAssociationConfigPtrInput
	// Identifier of the Source GraphQLApi to associate. It could be either GraphQLApi ApiId or ARN
	SourceApiIdentifier pulumi.StringPtrInput
}

The set of arguments for constructing a SourceApiAssociation resource.

func (SourceApiAssociationArgs) ElementType added in v0.63.0

func (SourceApiAssociationArgs) ElementType() reflect.Type

type SourceApiAssociationConfig added in v0.63.0

type SourceApiAssociationConfig struct {
	// Configuration of the merged behavior for the association. For example when it could be auto or has to be manual.
	MergeType *SourceApiAssociationConfigMergeType `pulumi:"mergeType"`
}

type SourceApiAssociationConfigArgs added in v0.63.0

type SourceApiAssociationConfigArgs struct {
	// Configuration of the merged behavior for the association. For example when it could be auto or has to be manual.
	MergeType SourceApiAssociationConfigMergeTypePtrInput `pulumi:"mergeType"`
}

func (SourceApiAssociationConfigArgs) ElementType added in v0.63.0

func (SourceApiAssociationConfigArgs) ToSourceApiAssociationConfigOutput added in v0.63.0

func (i SourceApiAssociationConfigArgs) ToSourceApiAssociationConfigOutput() SourceApiAssociationConfigOutput

func (SourceApiAssociationConfigArgs) ToSourceApiAssociationConfigOutputWithContext added in v0.63.0

func (i SourceApiAssociationConfigArgs) ToSourceApiAssociationConfigOutputWithContext(ctx context.Context) SourceApiAssociationConfigOutput

func (SourceApiAssociationConfigArgs) ToSourceApiAssociationConfigPtrOutput added in v0.63.0

func (i SourceApiAssociationConfigArgs) ToSourceApiAssociationConfigPtrOutput() SourceApiAssociationConfigPtrOutput

func (SourceApiAssociationConfigArgs) ToSourceApiAssociationConfigPtrOutputWithContext added in v0.63.0

func (i SourceApiAssociationConfigArgs) ToSourceApiAssociationConfigPtrOutputWithContext(ctx context.Context) SourceApiAssociationConfigPtrOutput

type SourceApiAssociationConfigInput added in v0.63.0

type SourceApiAssociationConfigInput interface {
	pulumi.Input

	ToSourceApiAssociationConfigOutput() SourceApiAssociationConfigOutput
	ToSourceApiAssociationConfigOutputWithContext(context.Context) SourceApiAssociationConfigOutput
}

SourceApiAssociationConfigInput is an input type that accepts SourceApiAssociationConfigArgs and SourceApiAssociationConfigOutput values. You can construct a concrete instance of `SourceApiAssociationConfigInput` via:

SourceApiAssociationConfigArgs{...}

type SourceApiAssociationConfigMergeType added in v0.63.0

type SourceApiAssociationConfigMergeType string

Configuration of the merged behavior for the association. For example when it could be auto or has to be manual.

func (SourceApiAssociationConfigMergeType) ElementType added in v0.63.0

func (SourceApiAssociationConfigMergeType) ToSourceApiAssociationConfigMergeTypeOutput added in v0.63.0

func (e SourceApiAssociationConfigMergeType) ToSourceApiAssociationConfigMergeTypeOutput() SourceApiAssociationConfigMergeTypeOutput

func (SourceApiAssociationConfigMergeType) ToSourceApiAssociationConfigMergeTypeOutputWithContext added in v0.63.0

func (e SourceApiAssociationConfigMergeType) ToSourceApiAssociationConfigMergeTypeOutputWithContext(ctx context.Context) SourceApiAssociationConfigMergeTypeOutput

func (SourceApiAssociationConfigMergeType) ToSourceApiAssociationConfigMergeTypePtrOutput added in v0.63.0

func (e SourceApiAssociationConfigMergeType) ToSourceApiAssociationConfigMergeTypePtrOutput() SourceApiAssociationConfigMergeTypePtrOutput

func (SourceApiAssociationConfigMergeType) ToSourceApiAssociationConfigMergeTypePtrOutputWithContext added in v0.63.0

func (e SourceApiAssociationConfigMergeType) ToSourceApiAssociationConfigMergeTypePtrOutputWithContext(ctx context.Context) SourceApiAssociationConfigMergeTypePtrOutput

func (SourceApiAssociationConfigMergeType) ToStringOutput added in v0.63.0

func (SourceApiAssociationConfigMergeType) ToStringOutputWithContext added in v0.63.0

func (e SourceApiAssociationConfigMergeType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (SourceApiAssociationConfigMergeType) ToStringPtrOutput added in v0.63.0

func (SourceApiAssociationConfigMergeType) ToStringPtrOutputWithContext added in v0.63.0

func (e SourceApiAssociationConfigMergeType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type SourceApiAssociationConfigMergeTypeInput added in v0.63.0

type SourceApiAssociationConfigMergeTypeInput interface {
	pulumi.Input

	ToSourceApiAssociationConfigMergeTypeOutput() SourceApiAssociationConfigMergeTypeOutput
	ToSourceApiAssociationConfigMergeTypeOutputWithContext(context.Context) SourceApiAssociationConfigMergeTypeOutput
}

SourceApiAssociationConfigMergeTypeInput is an input type that accepts values of the SourceApiAssociationConfigMergeType enum A concrete instance of `SourceApiAssociationConfigMergeTypeInput` can be one of the following:

SourceApiAssociationConfigMergeTypeAutoMerge
SourceApiAssociationConfigMergeTypeManualMerge

type SourceApiAssociationConfigMergeTypeOutput added in v0.63.0

type SourceApiAssociationConfigMergeTypeOutput struct{ *pulumi.OutputState }

func (SourceApiAssociationConfigMergeTypeOutput) ElementType added in v0.63.0

func (SourceApiAssociationConfigMergeTypeOutput) ToSourceApiAssociationConfigMergeTypeOutput added in v0.63.0

func (o SourceApiAssociationConfigMergeTypeOutput) ToSourceApiAssociationConfigMergeTypeOutput() SourceApiAssociationConfigMergeTypeOutput

func (SourceApiAssociationConfigMergeTypeOutput) ToSourceApiAssociationConfigMergeTypeOutputWithContext added in v0.63.0

func (o SourceApiAssociationConfigMergeTypeOutput) ToSourceApiAssociationConfigMergeTypeOutputWithContext(ctx context.Context) SourceApiAssociationConfigMergeTypeOutput

func (SourceApiAssociationConfigMergeTypeOutput) ToSourceApiAssociationConfigMergeTypePtrOutput added in v0.63.0

func (o SourceApiAssociationConfigMergeTypeOutput) ToSourceApiAssociationConfigMergeTypePtrOutput() SourceApiAssociationConfigMergeTypePtrOutput

func (SourceApiAssociationConfigMergeTypeOutput) ToSourceApiAssociationConfigMergeTypePtrOutputWithContext added in v0.63.0

func (o SourceApiAssociationConfigMergeTypeOutput) ToSourceApiAssociationConfigMergeTypePtrOutputWithContext(ctx context.Context) SourceApiAssociationConfigMergeTypePtrOutput

func (SourceApiAssociationConfigMergeTypeOutput) ToStringOutput added in v0.63.0

func (SourceApiAssociationConfigMergeTypeOutput) ToStringOutputWithContext added in v0.63.0

func (SourceApiAssociationConfigMergeTypeOutput) ToStringPtrOutput added in v0.63.0

func (SourceApiAssociationConfigMergeTypeOutput) ToStringPtrOutputWithContext added in v0.63.0

type SourceApiAssociationConfigMergeTypePtrInput added in v0.63.0

type SourceApiAssociationConfigMergeTypePtrInput interface {
	pulumi.Input

	ToSourceApiAssociationConfigMergeTypePtrOutput() SourceApiAssociationConfigMergeTypePtrOutput
	ToSourceApiAssociationConfigMergeTypePtrOutputWithContext(context.Context) SourceApiAssociationConfigMergeTypePtrOutput
}

func SourceApiAssociationConfigMergeTypePtr added in v0.63.0

func SourceApiAssociationConfigMergeTypePtr(v string) SourceApiAssociationConfigMergeTypePtrInput

type SourceApiAssociationConfigMergeTypePtrOutput added in v0.63.0

type SourceApiAssociationConfigMergeTypePtrOutput struct{ *pulumi.OutputState }

func (SourceApiAssociationConfigMergeTypePtrOutput) Elem added in v0.63.0

func (SourceApiAssociationConfigMergeTypePtrOutput) ElementType added in v0.63.0

func (SourceApiAssociationConfigMergeTypePtrOutput) ToSourceApiAssociationConfigMergeTypePtrOutput added in v0.63.0

func (o SourceApiAssociationConfigMergeTypePtrOutput) ToSourceApiAssociationConfigMergeTypePtrOutput() SourceApiAssociationConfigMergeTypePtrOutput

func (SourceApiAssociationConfigMergeTypePtrOutput) ToSourceApiAssociationConfigMergeTypePtrOutputWithContext added in v0.63.0

func (o SourceApiAssociationConfigMergeTypePtrOutput) ToSourceApiAssociationConfigMergeTypePtrOutputWithContext(ctx context.Context) SourceApiAssociationConfigMergeTypePtrOutput

func (SourceApiAssociationConfigMergeTypePtrOutput) ToStringPtrOutput added in v0.63.0

func (SourceApiAssociationConfigMergeTypePtrOutput) ToStringPtrOutputWithContext added in v0.63.0

type SourceApiAssociationConfigOutput added in v0.63.0

type SourceApiAssociationConfigOutput struct{ *pulumi.OutputState }

func (SourceApiAssociationConfigOutput) ElementType added in v0.63.0

func (SourceApiAssociationConfigOutput) MergeType added in v0.63.0

Configuration of the merged behavior for the association. For example when it could be auto or has to be manual.

func (SourceApiAssociationConfigOutput) ToSourceApiAssociationConfigOutput added in v0.63.0

func (o SourceApiAssociationConfigOutput) ToSourceApiAssociationConfigOutput() SourceApiAssociationConfigOutput

func (SourceApiAssociationConfigOutput) ToSourceApiAssociationConfigOutputWithContext added in v0.63.0

func (o SourceApiAssociationConfigOutput) ToSourceApiAssociationConfigOutputWithContext(ctx context.Context) SourceApiAssociationConfigOutput

func (SourceApiAssociationConfigOutput) ToSourceApiAssociationConfigPtrOutput added in v0.63.0

func (o SourceApiAssociationConfigOutput) ToSourceApiAssociationConfigPtrOutput() SourceApiAssociationConfigPtrOutput

func (SourceApiAssociationConfigOutput) ToSourceApiAssociationConfigPtrOutputWithContext added in v0.63.0

func (o SourceApiAssociationConfigOutput) ToSourceApiAssociationConfigPtrOutputWithContext(ctx context.Context) SourceApiAssociationConfigPtrOutput

type SourceApiAssociationConfigPtrInput added in v0.63.0

type SourceApiAssociationConfigPtrInput interface {
	pulumi.Input

	ToSourceApiAssociationConfigPtrOutput() SourceApiAssociationConfigPtrOutput
	ToSourceApiAssociationConfigPtrOutputWithContext(context.Context) SourceApiAssociationConfigPtrOutput
}

SourceApiAssociationConfigPtrInput is an input type that accepts SourceApiAssociationConfigArgs, SourceApiAssociationConfigPtr and SourceApiAssociationConfigPtrOutput values. You can construct a concrete instance of `SourceApiAssociationConfigPtrInput` via:

        SourceApiAssociationConfigArgs{...}

or:

        nil

func SourceApiAssociationConfigPtr added in v0.63.0

type SourceApiAssociationConfigPtrOutput added in v0.63.0

type SourceApiAssociationConfigPtrOutput struct{ *pulumi.OutputState }

func (SourceApiAssociationConfigPtrOutput) Elem added in v0.63.0

func (SourceApiAssociationConfigPtrOutput) ElementType added in v0.63.0

func (SourceApiAssociationConfigPtrOutput) MergeType added in v0.63.0

Configuration of the merged behavior for the association. For example when it could be auto or has to be manual.

func (SourceApiAssociationConfigPtrOutput) ToSourceApiAssociationConfigPtrOutput added in v0.63.0

func (o SourceApiAssociationConfigPtrOutput) ToSourceApiAssociationConfigPtrOutput() SourceApiAssociationConfigPtrOutput

func (SourceApiAssociationConfigPtrOutput) ToSourceApiAssociationConfigPtrOutputWithContext added in v0.63.0

func (o SourceApiAssociationConfigPtrOutput) ToSourceApiAssociationConfigPtrOutputWithContext(ctx context.Context) SourceApiAssociationConfigPtrOutput

type SourceApiAssociationInput added in v0.63.0

type SourceApiAssociationInput interface {
	pulumi.Input

	ToSourceApiAssociationOutput() SourceApiAssociationOutput
	ToSourceApiAssociationOutputWithContext(ctx context.Context) SourceApiAssociationOutput
}

type SourceApiAssociationOutput added in v0.63.0

type SourceApiAssociationOutput struct{ *pulumi.OutputState }

func (SourceApiAssociationOutput) AssociationArn added in v0.63.0

func (o SourceApiAssociationOutput) AssociationArn() pulumi.StringOutput

ARN of the SourceApiAssociation.

func (SourceApiAssociationOutput) AssociationId added in v0.63.0

Id of the SourceApiAssociation.

func (SourceApiAssociationOutput) Description added in v0.63.0

Description of the SourceApiAssociation.

func (SourceApiAssociationOutput) ElementType added in v0.63.0

func (SourceApiAssociationOutput) ElementType() reflect.Type

func (SourceApiAssociationOutput) LastSuccessfulMergeDate added in v0.63.0

func (o SourceApiAssociationOutput) LastSuccessfulMergeDate() pulumi.StringOutput

Date of last schema successful merge.

func (SourceApiAssociationOutput) MergedApiArn added in v0.63.0

ARN of the Merged API in the association.

func (SourceApiAssociationOutput) MergedApiId added in v0.63.0

GraphQLApiId of the Merged API in the association.

func (SourceApiAssociationOutput) MergedApiIdentifier added in v0.63.0

func (o SourceApiAssociationOutput) MergedApiIdentifier() pulumi.StringPtrOutput

Identifier of the Merged GraphQLApi to associate. It could be either GraphQLApi ApiId or ARN

func (SourceApiAssociationOutput) SourceApiArn added in v0.63.0

ARN of the source API in the association.

func (SourceApiAssociationOutput) SourceApiAssociationConfig added in v0.63.0

func (o SourceApiAssociationOutput) SourceApiAssociationConfig() SourceApiAssociationConfigPtrOutput

Customized configuration for SourceApiAssociation.

func (SourceApiAssociationOutput) SourceApiAssociationStatus added in v0.63.0

func (o SourceApiAssociationOutput) SourceApiAssociationStatus() SourceApiAssociationStatusOutput

Current status of SourceApiAssociation.

func (SourceApiAssociationOutput) SourceApiAssociationStatusDetail added in v0.63.0

func (o SourceApiAssociationOutput) SourceApiAssociationStatusDetail() pulumi.StringOutput

Current SourceApiAssociation status details.

func (SourceApiAssociationOutput) SourceApiId added in v0.63.0

GraphQLApiId of the source API in the association.

func (SourceApiAssociationOutput) SourceApiIdentifier added in v0.63.0

func (o SourceApiAssociationOutput) SourceApiIdentifier() pulumi.StringPtrOutput

Identifier of the Source GraphQLApi to associate. It could be either GraphQLApi ApiId or ARN

func (SourceApiAssociationOutput) ToSourceApiAssociationOutput added in v0.63.0

func (o SourceApiAssociationOutput) ToSourceApiAssociationOutput() SourceApiAssociationOutput

func (SourceApiAssociationOutput) ToSourceApiAssociationOutputWithContext added in v0.63.0

func (o SourceApiAssociationOutput) ToSourceApiAssociationOutputWithContext(ctx context.Context) SourceApiAssociationOutput

type SourceApiAssociationState added in v0.63.0

type SourceApiAssociationState struct {
}

func (SourceApiAssociationState) ElementType added in v0.63.0

func (SourceApiAssociationState) ElementType() reflect.Type

type SourceApiAssociationStatus added in v0.63.0

type SourceApiAssociationStatus string

Current status of SourceApiAssociation.

type SourceApiAssociationStatusOutput added in v0.63.0

type SourceApiAssociationStatusOutput struct{ *pulumi.OutputState }

func (SourceApiAssociationStatusOutput) ElementType added in v0.63.0

func (SourceApiAssociationStatusOutput) ToSourceApiAssociationStatusOutput added in v0.63.0

func (o SourceApiAssociationStatusOutput) ToSourceApiAssociationStatusOutput() SourceApiAssociationStatusOutput

func (SourceApiAssociationStatusOutput) ToSourceApiAssociationStatusOutputWithContext added in v0.63.0

func (o SourceApiAssociationStatusOutput) ToSourceApiAssociationStatusOutputWithContext(ctx context.Context) SourceApiAssociationStatusOutput

func (SourceApiAssociationStatusOutput) ToSourceApiAssociationStatusPtrOutput added in v0.63.0

func (o SourceApiAssociationStatusOutput) ToSourceApiAssociationStatusPtrOutput() SourceApiAssociationStatusPtrOutput

func (SourceApiAssociationStatusOutput) ToSourceApiAssociationStatusPtrOutputWithContext added in v0.63.0

func (o SourceApiAssociationStatusOutput) ToSourceApiAssociationStatusPtrOutputWithContext(ctx context.Context) SourceApiAssociationStatusPtrOutput

func (SourceApiAssociationStatusOutput) ToStringOutput added in v0.63.0

func (SourceApiAssociationStatusOutput) ToStringOutputWithContext added in v0.63.0

func (o SourceApiAssociationStatusOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (SourceApiAssociationStatusOutput) ToStringPtrOutput added in v0.63.0

func (SourceApiAssociationStatusOutput) ToStringPtrOutputWithContext added in v0.63.0

func (o SourceApiAssociationStatusOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type SourceApiAssociationStatusPtrOutput added in v0.63.0

type SourceApiAssociationStatusPtrOutput struct{ *pulumi.OutputState }

func (SourceApiAssociationStatusPtrOutput) Elem added in v0.63.0

func (SourceApiAssociationStatusPtrOutput) ElementType added in v0.63.0

func (SourceApiAssociationStatusPtrOutput) ToSourceApiAssociationStatusPtrOutput added in v0.63.0

func (o SourceApiAssociationStatusPtrOutput) ToSourceApiAssociationStatusPtrOutput() SourceApiAssociationStatusPtrOutput

func (SourceApiAssociationStatusPtrOutput) ToSourceApiAssociationStatusPtrOutputWithContext added in v0.63.0

func (o SourceApiAssociationStatusPtrOutput) ToSourceApiAssociationStatusPtrOutputWithContext(ctx context.Context) SourceApiAssociationStatusPtrOutput

func (SourceApiAssociationStatusPtrOutput) ToStringPtrOutput added in v0.63.0

func (SourceApiAssociationStatusPtrOutput) ToStringPtrOutputWithContext added in v0.63.0

func (o SourceApiAssociationStatusPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

Jump to

Keyboard shortcuts

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