Documentation ¶
Index ¶
- type ApiKey
- type ApiKeyArgs
- type ApiKeyState
- type DataSource
- type DataSourceArgs
- type DataSourceDynamodbConfig
- type DataSourceDynamodbConfigArgs
- func (DataSourceDynamodbConfigArgs) ElementType() reflect.Type
- func (i DataSourceDynamodbConfigArgs) ToDataSourceDynamodbConfigOutput() DataSourceDynamodbConfigOutput
- func (i DataSourceDynamodbConfigArgs) ToDataSourceDynamodbConfigOutputWithContext(ctx context.Context) DataSourceDynamodbConfigOutput
- func (i DataSourceDynamodbConfigArgs) ToDataSourceDynamodbConfigPtrOutput() DataSourceDynamodbConfigPtrOutput
- func (i DataSourceDynamodbConfigArgs) ToDataSourceDynamodbConfigPtrOutputWithContext(ctx context.Context) DataSourceDynamodbConfigPtrOutput
- type DataSourceDynamodbConfigInput
- type DataSourceDynamodbConfigOutput
- func (DataSourceDynamodbConfigOutput) ElementType() reflect.Type
- func (o DataSourceDynamodbConfigOutput) Region() pulumi.StringPtrOutput
- func (o DataSourceDynamodbConfigOutput) TableName() pulumi.StringOutput
- func (o DataSourceDynamodbConfigOutput) ToDataSourceDynamodbConfigOutput() DataSourceDynamodbConfigOutput
- func (o DataSourceDynamodbConfigOutput) ToDataSourceDynamodbConfigOutputWithContext(ctx context.Context) DataSourceDynamodbConfigOutput
- func (o DataSourceDynamodbConfigOutput) ToDataSourceDynamodbConfigPtrOutput() DataSourceDynamodbConfigPtrOutput
- func (o DataSourceDynamodbConfigOutput) ToDataSourceDynamodbConfigPtrOutputWithContext(ctx context.Context) DataSourceDynamodbConfigPtrOutput
- func (o DataSourceDynamodbConfigOutput) UseCallerCredentials() pulumi.BoolPtrOutput
- type DataSourceDynamodbConfigPtrInput
- type DataSourceDynamodbConfigPtrOutput
- func (o DataSourceDynamodbConfigPtrOutput) Elem() DataSourceDynamodbConfigOutput
- func (DataSourceDynamodbConfigPtrOutput) ElementType() reflect.Type
- func (o DataSourceDynamodbConfigPtrOutput) Region() pulumi.StringPtrOutput
- func (o DataSourceDynamodbConfigPtrOutput) TableName() pulumi.StringPtrOutput
- func (o DataSourceDynamodbConfigPtrOutput) ToDataSourceDynamodbConfigPtrOutput() DataSourceDynamodbConfigPtrOutput
- func (o DataSourceDynamodbConfigPtrOutput) ToDataSourceDynamodbConfigPtrOutputWithContext(ctx context.Context) DataSourceDynamodbConfigPtrOutput
- func (o DataSourceDynamodbConfigPtrOutput) UseCallerCredentials() pulumi.BoolPtrOutput
- type DataSourceElasticsearchConfig
- type DataSourceElasticsearchConfigArgs
- func (DataSourceElasticsearchConfigArgs) ElementType() reflect.Type
- func (i DataSourceElasticsearchConfigArgs) ToDataSourceElasticsearchConfigOutput() DataSourceElasticsearchConfigOutput
- func (i DataSourceElasticsearchConfigArgs) ToDataSourceElasticsearchConfigOutputWithContext(ctx context.Context) DataSourceElasticsearchConfigOutput
- func (i DataSourceElasticsearchConfigArgs) ToDataSourceElasticsearchConfigPtrOutput() DataSourceElasticsearchConfigPtrOutput
- func (i DataSourceElasticsearchConfigArgs) ToDataSourceElasticsearchConfigPtrOutputWithContext(ctx context.Context) DataSourceElasticsearchConfigPtrOutput
- type DataSourceElasticsearchConfigInput
- type DataSourceElasticsearchConfigOutput
- func (DataSourceElasticsearchConfigOutput) ElementType() reflect.Type
- func (o DataSourceElasticsearchConfigOutput) Endpoint() pulumi.StringOutput
- func (o DataSourceElasticsearchConfigOutput) Region() pulumi.StringPtrOutput
- func (o DataSourceElasticsearchConfigOutput) ToDataSourceElasticsearchConfigOutput() DataSourceElasticsearchConfigOutput
- func (o DataSourceElasticsearchConfigOutput) ToDataSourceElasticsearchConfigOutputWithContext(ctx context.Context) DataSourceElasticsearchConfigOutput
- func (o DataSourceElasticsearchConfigOutput) ToDataSourceElasticsearchConfigPtrOutput() DataSourceElasticsearchConfigPtrOutput
- func (o DataSourceElasticsearchConfigOutput) ToDataSourceElasticsearchConfigPtrOutputWithContext(ctx context.Context) DataSourceElasticsearchConfigPtrOutput
- type DataSourceElasticsearchConfigPtrInput
- type DataSourceElasticsearchConfigPtrOutput
- func (o DataSourceElasticsearchConfigPtrOutput) Elem() DataSourceElasticsearchConfigOutput
- func (DataSourceElasticsearchConfigPtrOutput) ElementType() reflect.Type
- func (o DataSourceElasticsearchConfigPtrOutput) Endpoint() pulumi.StringPtrOutput
- func (o DataSourceElasticsearchConfigPtrOutput) Region() pulumi.StringPtrOutput
- func (o DataSourceElasticsearchConfigPtrOutput) ToDataSourceElasticsearchConfigPtrOutput() DataSourceElasticsearchConfigPtrOutput
- func (o DataSourceElasticsearchConfigPtrOutput) ToDataSourceElasticsearchConfigPtrOutputWithContext(ctx context.Context) DataSourceElasticsearchConfigPtrOutput
- type DataSourceHttpConfig
- type DataSourceHttpConfigArgs
- func (DataSourceHttpConfigArgs) ElementType() reflect.Type
- func (i DataSourceHttpConfigArgs) ToDataSourceHttpConfigOutput() DataSourceHttpConfigOutput
- func (i DataSourceHttpConfigArgs) ToDataSourceHttpConfigOutputWithContext(ctx context.Context) DataSourceHttpConfigOutput
- func (i DataSourceHttpConfigArgs) ToDataSourceHttpConfigPtrOutput() DataSourceHttpConfigPtrOutput
- func (i DataSourceHttpConfigArgs) ToDataSourceHttpConfigPtrOutputWithContext(ctx context.Context) DataSourceHttpConfigPtrOutput
- type DataSourceHttpConfigInput
- type DataSourceHttpConfigOutput
- func (DataSourceHttpConfigOutput) ElementType() reflect.Type
- func (o DataSourceHttpConfigOutput) Endpoint() pulumi.StringOutput
- func (o DataSourceHttpConfigOutput) ToDataSourceHttpConfigOutput() DataSourceHttpConfigOutput
- func (o DataSourceHttpConfigOutput) ToDataSourceHttpConfigOutputWithContext(ctx context.Context) DataSourceHttpConfigOutput
- func (o DataSourceHttpConfigOutput) ToDataSourceHttpConfigPtrOutput() DataSourceHttpConfigPtrOutput
- func (o DataSourceHttpConfigOutput) ToDataSourceHttpConfigPtrOutputWithContext(ctx context.Context) DataSourceHttpConfigPtrOutput
- type DataSourceHttpConfigPtrInput
- type DataSourceHttpConfigPtrOutput
- func (o DataSourceHttpConfigPtrOutput) Elem() DataSourceHttpConfigOutput
- func (DataSourceHttpConfigPtrOutput) ElementType() reflect.Type
- func (o DataSourceHttpConfigPtrOutput) Endpoint() pulumi.StringPtrOutput
- func (o DataSourceHttpConfigPtrOutput) ToDataSourceHttpConfigPtrOutput() DataSourceHttpConfigPtrOutput
- func (o DataSourceHttpConfigPtrOutput) ToDataSourceHttpConfigPtrOutputWithContext(ctx context.Context) DataSourceHttpConfigPtrOutput
- type DataSourceLambdaConfig
- type DataSourceLambdaConfigArgs
- func (DataSourceLambdaConfigArgs) ElementType() reflect.Type
- func (i DataSourceLambdaConfigArgs) ToDataSourceLambdaConfigOutput() DataSourceLambdaConfigOutput
- func (i DataSourceLambdaConfigArgs) ToDataSourceLambdaConfigOutputWithContext(ctx context.Context) DataSourceLambdaConfigOutput
- func (i DataSourceLambdaConfigArgs) ToDataSourceLambdaConfigPtrOutput() DataSourceLambdaConfigPtrOutput
- func (i DataSourceLambdaConfigArgs) ToDataSourceLambdaConfigPtrOutputWithContext(ctx context.Context) DataSourceLambdaConfigPtrOutput
- type DataSourceLambdaConfigInput
- type DataSourceLambdaConfigOutput
- func (DataSourceLambdaConfigOutput) ElementType() reflect.Type
- func (o DataSourceLambdaConfigOutput) FunctionArn() pulumi.StringOutput
- func (o DataSourceLambdaConfigOutput) ToDataSourceLambdaConfigOutput() DataSourceLambdaConfigOutput
- func (o DataSourceLambdaConfigOutput) ToDataSourceLambdaConfigOutputWithContext(ctx context.Context) DataSourceLambdaConfigOutput
- func (o DataSourceLambdaConfigOutput) ToDataSourceLambdaConfigPtrOutput() DataSourceLambdaConfigPtrOutput
- func (o DataSourceLambdaConfigOutput) ToDataSourceLambdaConfigPtrOutputWithContext(ctx context.Context) DataSourceLambdaConfigPtrOutput
- type DataSourceLambdaConfigPtrInput
- type DataSourceLambdaConfigPtrOutput
- func (o DataSourceLambdaConfigPtrOutput) Elem() DataSourceLambdaConfigOutput
- func (DataSourceLambdaConfigPtrOutput) ElementType() reflect.Type
- func (o DataSourceLambdaConfigPtrOutput) FunctionArn() pulumi.StringPtrOutput
- func (o DataSourceLambdaConfigPtrOutput) ToDataSourceLambdaConfigPtrOutput() DataSourceLambdaConfigPtrOutput
- func (o DataSourceLambdaConfigPtrOutput) ToDataSourceLambdaConfigPtrOutputWithContext(ctx context.Context) DataSourceLambdaConfigPtrOutput
- type DataSourceState
- type Function
- type FunctionArgs
- type FunctionState
- type GraphQLApi
- type GraphQLApiAdditionalAuthenticationProvider
- type GraphQLApiAdditionalAuthenticationProviderArgs
- func (GraphQLApiAdditionalAuthenticationProviderArgs) ElementType() reflect.Type
- func (i GraphQLApiAdditionalAuthenticationProviderArgs) ToGraphQLApiAdditionalAuthenticationProviderOutput() GraphQLApiAdditionalAuthenticationProviderOutput
- func (i GraphQLApiAdditionalAuthenticationProviderArgs) ToGraphQLApiAdditionalAuthenticationProviderOutputWithContext(ctx context.Context) GraphQLApiAdditionalAuthenticationProviderOutput
- type GraphQLApiAdditionalAuthenticationProviderArray
- func (GraphQLApiAdditionalAuthenticationProviderArray) ElementType() reflect.Type
- func (i GraphQLApiAdditionalAuthenticationProviderArray) ToGraphQLApiAdditionalAuthenticationProviderArrayOutput() GraphQLApiAdditionalAuthenticationProviderArrayOutput
- func (i GraphQLApiAdditionalAuthenticationProviderArray) ToGraphQLApiAdditionalAuthenticationProviderArrayOutputWithContext(ctx context.Context) GraphQLApiAdditionalAuthenticationProviderArrayOutput
- type GraphQLApiAdditionalAuthenticationProviderArrayInput
- type GraphQLApiAdditionalAuthenticationProviderArrayOutput
- func (GraphQLApiAdditionalAuthenticationProviderArrayOutput) ElementType() reflect.Type
- func (o GraphQLApiAdditionalAuthenticationProviderArrayOutput) Index(i pulumi.IntInput) GraphQLApiAdditionalAuthenticationProviderOutput
- func (o GraphQLApiAdditionalAuthenticationProviderArrayOutput) ToGraphQLApiAdditionalAuthenticationProviderArrayOutput() GraphQLApiAdditionalAuthenticationProviderArrayOutput
- func (o GraphQLApiAdditionalAuthenticationProviderArrayOutput) ToGraphQLApiAdditionalAuthenticationProviderArrayOutputWithContext(ctx context.Context) GraphQLApiAdditionalAuthenticationProviderArrayOutput
- type GraphQLApiAdditionalAuthenticationProviderInput
- type GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfig
- type GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigArgs
- func (GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigArgs) ElementType() reflect.Type
- func (i GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigArgs) ToGraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput() GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput
- func (i GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigArgs) ToGraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutputWithContext(ctx context.Context) GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput
- func (i GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigArgs) ToGraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput() GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput
- func (i GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigArgs) ToGraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutputWithContext(ctx context.Context) GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput
- type GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigInput
- type GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput
- func (o GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput) AuthTtl() pulumi.IntPtrOutput
- func (o GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput) ClientId() pulumi.StringPtrOutput
- func (GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput) ElementType() reflect.Type
- func (o GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput) IatTtl() pulumi.IntPtrOutput
- func (o GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput) Issuer() pulumi.StringOutput
- func (o GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput) ToGraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput() GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput
- func (o GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput) ToGraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutputWithContext(ctx context.Context) GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput
- func (o GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput) ToGraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput() GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput
- func (o GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput) ToGraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutputWithContext(ctx context.Context) GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput
- type GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrInput
- type GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput
- func (o GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput) AuthTtl() pulumi.IntPtrOutput
- func (o GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput) ClientId() pulumi.StringPtrOutput
- func (o GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput) Elem() GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput
- func (GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput) ElementType() reflect.Type
- func (o GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput) IatTtl() pulumi.IntPtrOutput
- func (o GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput) Issuer() pulumi.StringPtrOutput
- func (o GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput) ToGraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput() GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput
- func (o GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput) ToGraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutputWithContext(ctx context.Context) GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput
- type GraphQLApiAdditionalAuthenticationProviderOutput
- func (o GraphQLApiAdditionalAuthenticationProviderOutput) AuthenticationType() pulumi.StringOutput
- func (GraphQLApiAdditionalAuthenticationProviderOutput) ElementType() reflect.Type
- func (o GraphQLApiAdditionalAuthenticationProviderOutput) OpenidConnectConfig() GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput
- func (o GraphQLApiAdditionalAuthenticationProviderOutput) ToGraphQLApiAdditionalAuthenticationProviderOutput() GraphQLApiAdditionalAuthenticationProviderOutput
- func (o GraphQLApiAdditionalAuthenticationProviderOutput) ToGraphQLApiAdditionalAuthenticationProviderOutputWithContext(ctx context.Context) GraphQLApiAdditionalAuthenticationProviderOutput
- func (o GraphQLApiAdditionalAuthenticationProviderOutput) UserPoolConfig() GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput
- type GraphQLApiAdditionalAuthenticationProviderUserPoolConfig
- type GraphQLApiAdditionalAuthenticationProviderUserPoolConfigArgs
- func (GraphQLApiAdditionalAuthenticationProviderUserPoolConfigArgs) ElementType() reflect.Type
- func (i GraphQLApiAdditionalAuthenticationProviderUserPoolConfigArgs) ToGraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutput() GraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutput
- func (i GraphQLApiAdditionalAuthenticationProviderUserPoolConfigArgs) ToGraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutputWithContext(ctx context.Context) GraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutput
- func (i GraphQLApiAdditionalAuthenticationProviderUserPoolConfigArgs) ToGraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput() GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput
- func (i GraphQLApiAdditionalAuthenticationProviderUserPoolConfigArgs) ToGraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutputWithContext(ctx context.Context) GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput
- type GraphQLApiAdditionalAuthenticationProviderUserPoolConfigInput
- type GraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutput
- func (o GraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutput) AppIdClientRegex() pulumi.StringPtrOutput
- func (o GraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutput) AwsRegion() pulumi.StringPtrOutput
- func (GraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutput) ElementType() reflect.Type
- func (o GraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutput) ToGraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutput() GraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutput
- func (o GraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutput) ToGraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutputWithContext(ctx context.Context) GraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutput
- func (o GraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutput) ToGraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput() GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput
- func (o GraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutput) ToGraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutputWithContext(ctx context.Context) GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput
- func (o GraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutput) UserPoolId() pulumi.StringOutput
- type GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrInput
- type GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput
- func (o GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput) AppIdClientRegex() pulumi.StringPtrOutput
- func (o GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput) AwsRegion() pulumi.StringPtrOutput
- func (o GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput) Elem() GraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutput
- func (GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput) ElementType() reflect.Type
- func (o GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput) ToGraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput() GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput
- func (o GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput) ToGraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutputWithContext(ctx context.Context) GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput
- func (o GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput) UserPoolId() pulumi.StringPtrOutput
- type GraphQLApiArgs
- type GraphQLApiLogConfig
- type GraphQLApiLogConfigArgs
- func (GraphQLApiLogConfigArgs) ElementType() reflect.Type
- func (i GraphQLApiLogConfigArgs) ToGraphQLApiLogConfigOutput() GraphQLApiLogConfigOutput
- func (i GraphQLApiLogConfigArgs) ToGraphQLApiLogConfigOutputWithContext(ctx context.Context) GraphQLApiLogConfigOutput
- func (i GraphQLApiLogConfigArgs) ToGraphQLApiLogConfigPtrOutput() GraphQLApiLogConfigPtrOutput
- func (i GraphQLApiLogConfigArgs) ToGraphQLApiLogConfigPtrOutputWithContext(ctx context.Context) GraphQLApiLogConfigPtrOutput
- type GraphQLApiLogConfigInput
- type GraphQLApiLogConfigOutput
- func (o GraphQLApiLogConfigOutput) CloudwatchLogsRoleArn() pulumi.StringOutput
- func (GraphQLApiLogConfigOutput) ElementType() reflect.Type
- func (o GraphQLApiLogConfigOutput) ExcludeVerboseContent() pulumi.BoolPtrOutput
- func (o GraphQLApiLogConfigOutput) FieldLogLevel() pulumi.StringOutput
- func (o GraphQLApiLogConfigOutput) ToGraphQLApiLogConfigOutput() GraphQLApiLogConfigOutput
- func (o GraphQLApiLogConfigOutput) ToGraphQLApiLogConfigOutputWithContext(ctx context.Context) GraphQLApiLogConfigOutput
- func (o GraphQLApiLogConfigOutput) ToGraphQLApiLogConfigPtrOutput() GraphQLApiLogConfigPtrOutput
- func (o GraphQLApiLogConfigOutput) ToGraphQLApiLogConfigPtrOutputWithContext(ctx context.Context) GraphQLApiLogConfigPtrOutput
- type GraphQLApiLogConfigPtrInput
- type GraphQLApiLogConfigPtrOutput
- func (o GraphQLApiLogConfigPtrOutput) CloudwatchLogsRoleArn() pulumi.StringPtrOutput
- func (o GraphQLApiLogConfigPtrOutput) Elem() GraphQLApiLogConfigOutput
- func (GraphQLApiLogConfigPtrOutput) ElementType() reflect.Type
- func (o GraphQLApiLogConfigPtrOutput) ExcludeVerboseContent() pulumi.BoolPtrOutput
- func (o GraphQLApiLogConfigPtrOutput) FieldLogLevel() pulumi.StringPtrOutput
- func (o GraphQLApiLogConfigPtrOutput) ToGraphQLApiLogConfigPtrOutput() GraphQLApiLogConfigPtrOutput
- func (o GraphQLApiLogConfigPtrOutput) ToGraphQLApiLogConfigPtrOutputWithContext(ctx context.Context) GraphQLApiLogConfigPtrOutput
- type GraphQLApiOpenidConnectConfig
- type GraphQLApiOpenidConnectConfigArgs
- func (GraphQLApiOpenidConnectConfigArgs) ElementType() reflect.Type
- func (i GraphQLApiOpenidConnectConfigArgs) ToGraphQLApiOpenidConnectConfigOutput() GraphQLApiOpenidConnectConfigOutput
- func (i GraphQLApiOpenidConnectConfigArgs) ToGraphQLApiOpenidConnectConfigOutputWithContext(ctx context.Context) GraphQLApiOpenidConnectConfigOutput
- func (i GraphQLApiOpenidConnectConfigArgs) ToGraphQLApiOpenidConnectConfigPtrOutput() GraphQLApiOpenidConnectConfigPtrOutput
- func (i GraphQLApiOpenidConnectConfigArgs) ToGraphQLApiOpenidConnectConfigPtrOutputWithContext(ctx context.Context) GraphQLApiOpenidConnectConfigPtrOutput
- type GraphQLApiOpenidConnectConfigInput
- type GraphQLApiOpenidConnectConfigOutput
- func (o GraphQLApiOpenidConnectConfigOutput) AuthTtl() pulumi.IntPtrOutput
- func (o GraphQLApiOpenidConnectConfigOutput) ClientId() pulumi.StringPtrOutput
- func (GraphQLApiOpenidConnectConfigOutput) ElementType() reflect.Type
- func (o GraphQLApiOpenidConnectConfigOutput) IatTtl() pulumi.IntPtrOutput
- func (o GraphQLApiOpenidConnectConfigOutput) Issuer() pulumi.StringOutput
- func (o GraphQLApiOpenidConnectConfigOutput) ToGraphQLApiOpenidConnectConfigOutput() GraphQLApiOpenidConnectConfigOutput
- func (o GraphQLApiOpenidConnectConfigOutput) ToGraphQLApiOpenidConnectConfigOutputWithContext(ctx context.Context) GraphQLApiOpenidConnectConfigOutput
- func (o GraphQLApiOpenidConnectConfigOutput) ToGraphQLApiOpenidConnectConfigPtrOutput() GraphQLApiOpenidConnectConfigPtrOutput
- func (o GraphQLApiOpenidConnectConfigOutput) ToGraphQLApiOpenidConnectConfigPtrOutputWithContext(ctx context.Context) GraphQLApiOpenidConnectConfigPtrOutput
- type GraphQLApiOpenidConnectConfigPtrInput
- type GraphQLApiOpenidConnectConfigPtrOutput
- func (o GraphQLApiOpenidConnectConfigPtrOutput) AuthTtl() pulumi.IntPtrOutput
- func (o GraphQLApiOpenidConnectConfigPtrOutput) ClientId() pulumi.StringPtrOutput
- func (o GraphQLApiOpenidConnectConfigPtrOutput) Elem() GraphQLApiOpenidConnectConfigOutput
- func (GraphQLApiOpenidConnectConfigPtrOutput) ElementType() reflect.Type
- func (o GraphQLApiOpenidConnectConfigPtrOutput) IatTtl() pulumi.IntPtrOutput
- func (o GraphQLApiOpenidConnectConfigPtrOutput) Issuer() pulumi.StringPtrOutput
- func (o GraphQLApiOpenidConnectConfigPtrOutput) ToGraphQLApiOpenidConnectConfigPtrOutput() GraphQLApiOpenidConnectConfigPtrOutput
- func (o GraphQLApiOpenidConnectConfigPtrOutput) ToGraphQLApiOpenidConnectConfigPtrOutputWithContext(ctx context.Context) GraphQLApiOpenidConnectConfigPtrOutput
- type GraphQLApiState
- type GraphQLApiUserPoolConfig
- type GraphQLApiUserPoolConfigArgs
- func (GraphQLApiUserPoolConfigArgs) ElementType() reflect.Type
- func (i GraphQLApiUserPoolConfigArgs) ToGraphQLApiUserPoolConfigOutput() GraphQLApiUserPoolConfigOutput
- func (i GraphQLApiUserPoolConfigArgs) ToGraphQLApiUserPoolConfigOutputWithContext(ctx context.Context) GraphQLApiUserPoolConfigOutput
- func (i GraphQLApiUserPoolConfigArgs) ToGraphQLApiUserPoolConfigPtrOutput() GraphQLApiUserPoolConfigPtrOutput
- func (i GraphQLApiUserPoolConfigArgs) ToGraphQLApiUserPoolConfigPtrOutputWithContext(ctx context.Context) GraphQLApiUserPoolConfigPtrOutput
- type GraphQLApiUserPoolConfigInput
- type GraphQLApiUserPoolConfigOutput
- func (o GraphQLApiUserPoolConfigOutput) AppIdClientRegex() pulumi.StringPtrOutput
- func (o GraphQLApiUserPoolConfigOutput) AwsRegion() pulumi.StringPtrOutput
- func (o GraphQLApiUserPoolConfigOutput) DefaultAction() pulumi.StringOutput
- func (GraphQLApiUserPoolConfigOutput) ElementType() reflect.Type
- func (o GraphQLApiUserPoolConfigOutput) ToGraphQLApiUserPoolConfigOutput() GraphQLApiUserPoolConfigOutput
- func (o GraphQLApiUserPoolConfigOutput) ToGraphQLApiUserPoolConfigOutputWithContext(ctx context.Context) GraphQLApiUserPoolConfigOutput
- func (o GraphQLApiUserPoolConfigOutput) ToGraphQLApiUserPoolConfigPtrOutput() GraphQLApiUserPoolConfigPtrOutput
- func (o GraphQLApiUserPoolConfigOutput) ToGraphQLApiUserPoolConfigPtrOutputWithContext(ctx context.Context) GraphQLApiUserPoolConfigPtrOutput
- func (o GraphQLApiUserPoolConfigOutput) UserPoolId() pulumi.StringOutput
- type GraphQLApiUserPoolConfigPtrInput
- type GraphQLApiUserPoolConfigPtrOutput
- func (o GraphQLApiUserPoolConfigPtrOutput) AppIdClientRegex() pulumi.StringPtrOutput
- func (o GraphQLApiUserPoolConfigPtrOutput) AwsRegion() pulumi.StringPtrOutput
- func (o GraphQLApiUserPoolConfigPtrOutput) DefaultAction() pulumi.StringPtrOutput
- func (o GraphQLApiUserPoolConfigPtrOutput) Elem() GraphQLApiUserPoolConfigOutput
- func (GraphQLApiUserPoolConfigPtrOutput) ElementType() reflect.Type
- func (o GraphQLApiUserPoolConfigPtrOutput) ToGraphQLApiUserPoolConfigPtrOutput() GraphQLApiUserPoolConfigPtrOutput
- func (o GraphQLApiUserPoolConfigPtrOutput) ToGraphQLApiUserPoolConfigPtrOutputWithContext(ctx context.Context) GraphQLApiUserPoolConfigPtrOutput
- func (o GraphQLApiUserPoolConfigPtrOutput) UserPoolId() pulumi.StringPtrOutput
- type Resolver
- type ResolverArgs
- type ResolverCachingConfig
- type ResolverCachingConfigArgs
- func (ResolverCachingConfigArgs) ElementType() reflect.Type
- func (i ResolverCachingConfigArgs) ToResolverCachingConfigOutput() ResolverCachingConfigOutput
- func (i ResolverCachingConfigArgs) ToResolverCachingConfigOutputWithContext(ctx context.Context) ResolverCachingConfigOutput
- func (i ResolverCachingConfigArgs) ToResolverCachingConfigPtrOutput() ResolverCachingConfigPtrOutput
- func (i ResolverCachingConfigArgs) ToResolverCachingConfigPtrOutputWithContext(ctx context.Context) ResolverCachingConfigPtrOutput
- type ResolverCachingConfigInput
- type ResolverCachingConfigOutput
- func (o ResolverCachingConfigOutput) CachingKeys() pulumi.StringArrayOutput
- func (ResolverCachingConfigOutput) ElementType() reflect.Type
- func (o ResolverCachingConfigOutput) ToResolverCachingConfigOutput() ResolverCachingConfigOutput
- func (o ResolverCachingConfigOutput) ToResolverCachingConfigOutputWithContext(ctx context.Context) ResolverCachingConfigOutput
- func (o ResolverCachingConfigOutput) ToResolverCachingConfigPtrOutput() ResolverCachingConfigPtrOutput
- func (o ResolverCachingConfigOutput) ToResolverCachingConfigPtrOutputWithContext(ctx context.Context) ResolverCachingConfigPtrOutput
- func (o ResolverCachingConfigOutput) Ttl() pulumi.IntPtrOutput
- type ResolverCachingConfigPtrInput
- type ResolverCachingConfigPtrOutput
- func (o ResolverCachingConfigPtrOutput) CachingKeys() pulumi.StringArrayOutput
- func (o ResolverCachingConfigPtrOutput) Elem() ResolverCachingConfigOutput
- func (ResolverCachingConfigPtrOutput) ElementType() reflect.Type
- func (o ResolverCachingConfigPtrOutput) ToResolverCachingConfigPtrOutput() ResolverCachingConfigPtrOutput
- func (o ResolverCachingConfigPtrOutput) ToResolverCachingConfigPtrOutputWithContext(ctx context.Context) ResolverCachingConfigPtrOutput
- func (o ResolverCachingConfigPtrOutput) Ttl() pulumi.IntPtrOutput
- type ResolverPipelineConfig
- type ResolverPipelineConfigArgs
- func (ResolverPipelineConfigArgs) ElementType() reflect.Type
- func (i ResolverPipelineConfigArgs) ToResolverPipelineConfigOutput() ResolverPipelineConfigOutput
- func (i ResolverPipelineConfigArgs) ToResolverPipelineConfigOutputWithContext(ctx context.Context) ResolverPipelineConfigOutput
- func (i ResolverPipelineConfigArgs) ToResolverPipelineConfigPtrOutput() ResolverPipelineConfigPtrOutput
- func (i ResolverPipelineConfigArgs) ToResolverPipelineConfigPtrOutputWithContext(ctx context.Context) ResolverPipelineConfigPtrOutput
- type ResolverPipelineConfigInput
- type ResolverPipelineConfigOutput
- func (ResolverPipelineConfigOutput) ElementType() reflect.Type
- func (o ResolverPipelineConfigOutput) Functions() pulumi.StringArrayOutput
- func (o ResolverPipelineConfigOutput) ToResolverPipelineConfigOutput() ResolverPipelineConfigOutput
- func (o ResolverPipelineConfigOutput) ToResolverPipelineConfigOutputWithContext(ctx context.Context) ResolverPipelineConfigOutput
- func (o ResolverPipelineConfigOutput) ToResolverPipelineConfigPtrOutput() ResolverPipelineConfigPtrOutput
- func (o ResolverPipelineConfigOutput) ToResolverPipelineConfigPtrOutputWithContext(ctx context.Context) ResolverPipelineConfigPtrOutput
- type ResolverPipelineConfigPtrInput
- type ResolverPipelineConfigPtrOutput
- func (o ResolverPipelineConfigPtrOutput) Elem() ResolverPipelineConfigOutput
- func (ResolverPipelineConfigPtrOutput) ElementType() reflect.Type
- func (o ResolverPipelineConfigPtrOutput) Functions() pulumi.StringArrayOutput
- func (o ResolverPipelineConfigPtrOutput) ToResolverPipelineConfigPtrOutput() ResolverPipelineConfigPtrOutput
- func (o ResolverPipelineConfigPtrOutput) ToResolverPipelineConfigPtrOutputWithContext(ctx context.Context) ResolverPipelineConfigPtrOutput
- type ResolverState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiKey ¶
type ApiKey struct { pulumi.CustomResourceState // The ID of the associated AppSync API ApiId pulumi.StringOutput `pulumi:"apiId"` // The API key description. Defaults to "Managed by Pulumi". Description pulumi.StringOutput `pulumi:"description"` // RFC3339 string representation of the expiry date. Rounded down to nearest hour. By default, it is 7 days from the date of creation. Expires pulumi.StringPtrOutput `pulumi:"expires"` // The API key Key pulumi.StringOutput `pulumi:"key"` }
Provides an AppSync API Key.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/appsync" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleGraphQLApi, err := appsync.NewGraphQLApi(ctx, "exampleGraphQLApi", &appsync.GraphQLApiArgs{ AuthenticationType: pulumi.String("API_KEY"), }) if err != nil { return err } _, err = appsync.NewApiKey(ctx, "exampleApiKey", &appsync.ApiKeyArgs{ ApiId: exampleGraphQLApi.ID(), Expires: pulumi.String("2018-05-03T04:00:00Z"), }) if err != nil { return err } return nil }) }
```
func GetApiKey ¶
func GetApiKey(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ApiKeyState, opts ...pulumi.ResourceOption) (*ApiKey, error)
GetApiKey gets an existing ApiKey resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewApiKey ¶
func NewApiKey(ctx *pulumi.Context, name string, args *ApiKeyArgs, opts ...pulumi.ResourceOption) (*ApiKey, error)
NewApiKey registers a new resource with the given unique name, arguments, and options.
type ApiKeyArgs ¶
type ApiKeyArgs struct { // The ID of the associated AppSync API ApiId pulumi.StringInput // The API key description. Defaults to "Managed by Pulumi". Description pulumi.StringPtrInput // RFC3339 string representation of the expiry date. Rounded down to nearest hour. By default, it is 7 days from the date of creation. Expires pulumi.StringPtrInput }
The set of arguments for constructing a ApiKey resource.
func (ApiKeyArgs) ElementType ¶
func (ApiKeyArgs) ElementType() reflect.Type
type ApiKeyState ¶
type ApiKeyState struct { // The ID of the associated AppSync API ApiId pulumi.StringPtrInput // The API key description. Defaults to "Managed by Pulumi". Description pulumi.StringPtrInput // RFC3339 string representation of the expiry date. Rounded down to nearest hour. By default, it is 7 days from the date of creation. Expires pulumi.StringPtrInput // The API key Key pulumi.StringPtrInput }
func (ApiKeyState) ElementType ¶
func (ApiKeyState) ElementType() reflect.Type
type DataSource ¶
type DataSource struct { pulumi.CustomResourceState // The API ID for the GraphQL API for the DataSource. ApiId pulumi.StringOutput `pulumi:"apiId"` // The ARN Arn pulumi.StringOutput `pulumi:"arn"` // A description of the DataSource. Description pulumi.StringPtrOutput `pulumi:"description"` // DynamoDB settings. See below DynamodbConfig DataSourceDynamodbConfigPtrOutput `pulumi:"dynamodbConfig"` // Amazon Elasticsearch settings. See below ElasticsearchConfig DataSourceElasticsearchConfigPtrOutput `pulumi:"elasticsearchConfig"` // HTTP settings. See below HttpConfig DataSourceHttpConfigPtrOutput `pulumi:"httpConfig"` // AWS Lambda settings. See below LambdaConfig DataSourceLambdaConfigPtrOutput `pulumi:"lambdaConfig"` // A user-supplied name for the DataSource. Name pulumi.StringOutput `pulumi:"name"` // The IAM service role ARN for the data source. ServiceRoleArn pulumi.StringPtrOutput `pulumi:"serviceRoleArn"` // The type of the DataSource. Valid values: `AWS_LAMBDA`, `AMAZON_DYNAMODB`, `AMAZON_ELASTICSEARCH`, `HTTP`, `NONE`. Type pulumi.StringOutput `pulumi:"type"` }
Provides an AppSync DataSource.
## Example Usage
```go package main
import (
"fmt" "github.com/pulumi/pulumi-aws/sdk/v3/go/aws/appsync" "github.com/pulumi/pulumi-aws/sdk/v3/go/aws/dynamodb" "github.com/pulumi/pulumi-aws/sdk/v3/go/aws/iam" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleTable, err := dynamodb.NewTable(ctx, "exampleTable", &dynamodb.TableArgs{ ReadCapacity: pulumi.Int(1), WriteCapacity: pulumi.Int(1), HashKey: pulumi.String("UserId"), Attributes: dynamodb.TableAttributeArray{ &dynamodb.TableAttributeArgs{ Name: pulumi.String("UserId"), Type: pulumi.String("S"), }, }, }) if err != nil { return err } exampleRole, err := iam.NewRole(ctx, "exampleRole", &iam.RoleArgs{ AssumeRolePolicy: pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v", "{\n", " \"Version\": \"2012-10-17\",\n", " \"Statement\": [\n", " {\n", " \"Action\": \"sts:AssumeRole\",\n", " \"Principal\": {\n", " \"Service\": \"appsync.amazonaws.com\"\n", " },\n", " \"Effect\": \"Allow\"\n", " }\n", " ]\n", "}\n")), }) if err != nil { return err } _, err = iam.NewRolePolicy(ctx, "exampleRolePolicy", &iam.RolePolicyArgs{ Role: exampleRole.ID(), Policy: exampleTable.Arn.ApplyT(func(arn string) (string, error) { return fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v", "{\n", " \"Version\": \"2012-10-17\",\n", " \"Statement\": [\n", " {\n", " \"Action\": [\n", " \"dynamodb:*\"\n", " ],\n", " \"Effect\": \"Allow\",\n", " \"Resource\": [\n", " \"", arn, "\"\n", " ]\n", " }\n", " ]\n", "}\n"), nil }).(pulumi.StringOutput), }) if err != nil { return err } exampleGraphQLApi, err := appsync.NewGraphQLApi(ctx, "exampleGraphQLApi", &appsync.GraphQLApiArgs{ AuthenticationType: pulumi.String("API_KEY"), }) if err != nil { return err } _, err = appsync.NewDataSource(ctx, "exampleDataSource", &appsync.DataSourceArgs{ ApiId: exampleGraphQLApi.ID(), ServiceRoleArn: exampleRole.Arn, Type: pulumi.String("AMAZON_DYNAMODB"), DynamodbConfig: &appsync.DataSourceDynamodbConfigArgs{ TableName: exampleTable.Name, }, }) if err != nil { return err } return nil }) }
```
func GetDataSource ¶
func GetDataSource(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DataSourceState, opts ...pulumi.ResourceOption) (*DataSource, error)
GetDataSource gets an existing DataSource resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewDataSource ¶
func NewDataSource(ctx *pulumi.Context, name string, args *DataSourceArgs, opts ...pulumi.ResourceOption) (*DataSource, error)
NewDataSource registers a new resource with the given unique name, arguments, and options.
type DataSourceArgs ¶
type DataSourceArgs struct { // The API ID for the GraphQL API for the DataSource. ApiId pulumi.StringInput // A description of the DataSource. Description pulumi.StringPtrInput // DynamoDB settings. See below DynamodbConfig DataSourceDynamodbConfigPtrInput // Amazon Elasticsearch settings. See below ElasticsearchConfig DataSourceElasticsearchConfigPtrInput // HTTP settings. See below HttpConfig DataSourceHttpConfigPtrInput // AWS Lambda settings. See below LambdaConfig DataSourceLambdaConfigPtrInput // A user-supplied name for the DataSource. Name pulumi.StringPtrInput // The IAM service role ARN for the data source. ServiceRoleArn pulumi.StringPtrInput // The type of the DataSource. Valid values: `AWS_LAMBDA`, `AMAZON_DYNAMODB`, `AMAZON_ELASTICSEARCH`, `HTTP`, `NONE`. Type pulumi.StringInput }
The set of arguments for constructing a DataSource resource.
func (DataSourceArgs) ElementType ¶
func (DataSourceArgs) ElementType() reflect.Type
type DataSourceDynamodbConfig ¶
type DataSourceDynamodbConfig struct { // AWS region of Elasticsearch domain. Defaults to current region. Region *string `pulumi:"region"` // Name of the DynamoDB table. TableName string `pulumi:"tableName"` // Set to `true` to use Amazon Cognito credentials with this data source. UseCallerCredentials *bool `pulumi:"useCallerCredentials"` }
type DataSourceDynamodbConfigArgs ¶
type DataSourceDynamodbConfigArgs struct { // AWS region of Elasticsearch domain. Defaults to current region. Region pulumi.StringPtrInput `pulumi:"region"` // Name of the DynamoDB table. TableName pulumi.StringInput `pulumi:"tableName"` // Set to `true` to use Amazon Cognito credentials with this data source. UseCallerCredentials pulumi.BoolPtrInput `pulumi:"useCallerCredentials"` }
func (DataSourceDynamodbConfigArgs) ElementType ¶
func (DataSourceDynamodbConfigArgs) ElementType() reflect.Type
func (DataSourceDynamodbConfigArgs) ToDataSourceDynamodbConfigOutput ¶
func (i DataSourceDynamodbConfigArgs) ToDataSourceDynamodbConfigOutput() DataSourceDynamodbConfigOutput
func (DataSourceDynamodbConfigArgs) ToDataSourceDynamodbConfigOutputWithContext ¶
func (i DataSourceDynamodbConfigArgs) ToDataSourceDynamodbConfigOutputWithContext(ctx context.Context) DataSourceDynamodbConfigOutput
func (DataSourceDynamodbConfigArgs) ToDataSourceDynamodbConfigPtrOutput ¶
func (i DataSourceDynamodbConfigArgs) ToDataSourceDynamodbConfigPtrOutput() DataSourceDynamodbConfigPtrOutput
func (DataSourceDynamodbConfigArgs) ToDataSourceDynamodbConfigPtrOutputWithContext ¶
func (i DataSourceDynamodbConfigArgs) ToDataSourceDynamodbConfigPtrOutputWithContext(ctx context.Context) DataSourceDynamodbConfigPtrOutput
type DataSourceDynamodbConfigInput ¶
type DataSourceDynamodbConfigInput interface { pulumi.Input ToDataSourceDynamodbConfigOutput() DataSourceDynamodbConfigOutput ToDataSourceDynamodbConfigOutputWithContext(context.Context) DataSourceDynamodbConfigOutput }
DataSourceDynamodbConfigInput is an input type that accepts DataSourceDynamodbConfigArgs and DataSourceDynamodbConfigOutput values. You can construct a concrete instance of `DataSourceDynamodbConfigInput` via:
DataSourceDynamodbConfigArgs{...}
type DataSourceDynamodbConfigOutput ¶
type DataSourceDynamodbConfigOutput struct{ *pulumi.OutputState }
func (DataSourceDynamodbConfigOutput) ElementType ¶
func (DataSourceDynamodbConfigOutput) ElementType() reflect.Type
func (DataSourceDynamodbConfigOutput) Region ¶
func (o DataSourceDynamodbConfigOutput) Region() pulumi.StringPtrOutput
AWS region of Elasticsearch domain. Defaults to current region.
func (DataSourceDynamodbConfigOutput) TableName ¶
func (o DataSourceDynamodbConfigOutput) TableName() pulumi.StringOutput
Name of the DynamoDB table.
func (DataSourceDynamodbConfigOutput) ToDataSourceDynamodbConfigOutput ¶
func (o DataSourceDynamodbConfigOutput) ToDataSourceDynamodbConfigOutput() DataSourceDynamodbConfigOutput
func (DataSourceDynamodbConfigOutput) ToDataSourceDynamodbConfigOutputWithContext ¶
func (o DataSourceDynamodbConfigOutput) ToDataSourceDynamodbConfigOutputWithContext(ctx context.Context) DataSourceDynamodbConfigOutput
func (DataSourceDynamodbConfigOutput) ToDataSourceDynamodbConfigPtrOutput ¶
func (o DataSourceDynamodbConfigOutput) ToDataSourceDynamodbConfigPtrOutput() DataSourceDynamodbConfigPtrOutput
func (DataSourceDynamodbConfigOutput) ToDataSourceDynamodbConfigPtrOutputWithContext ¶
func (o DataSourceDynamodbConfigOutput) ToDataSourceDynamodbConfigPtrOutputWithContext(ctx context.Context) DataSourceDynamodbConfigPtrOutput
func (DataSourceDynamodbConfigOutput) UseCallerCredentials ¶
func (o DataSourceDynamodbConfigOutput) UseCallerCredentials() pulumi.BoolPtrOutput
Set to `true` to use Amazon Cognito credentials with this data source.
type DataSourceDynamodbConfigPtrInput ¶
type DataSourceDynamodbConfigPtrInput interface { pulumi.Input ToDataSourceDynamodbConfigPtrOutput() DataSourceDynamodbConfigPtrOutput ToDataSourceDynamodbConfigPtrOutputWithContext(context.Context) DataSourceDynamodbConfigPtrOutput }
DataSourceDynamodbConfigPtrInput is an input type that accepts DataSourceDynamodbConfigArgs, DataSourceDynamodbConfigPtr and DataSourceDynamodbConfigPtrOutput values. You can construct a concrete instance of `DataSourceDynamodbConfigPtrInput` via:
DataSourceDynamodbConfigArgs{...} or: nil
func DataSourceDynamodbConfigPtr ¶
func DataSourceDynamodbConfigPtr(v *DataSourceDynamodbConfigArgs) DataSourceDynamodbConfigPtrInput
type DataSourceDynamodbConfigPtrOutput ¶
type DataSourceDynamodbConfigPtrOutput struct{ *pulumi.OutputState }
func (DataSourceDynamodbConfigPtrOutput) Elem ¶
func (o DataSourceDynamodbConfigPtrOutput) Elem() DataSourceDynamodbConfigOutput
func (DataSourceDynamodbConfigPtrOutput) ElementType ¶
func (DataSourceDynamodbConfigPtrOutput) ElementType() reflect.Type
func (DataSourceDynamodbConfigPtrOutput) Region ¶
func (o DataSourceDynamodbConfigPtrOutput) Region() pulumi.StringPtrOutput
AWS region of Elasticsearch domain. Defaults to current region.
func (DataSourceDynamodbConfigPtrOutput) TableName ¶
func (o DataSourceDynamodbConfigPtrOutput) TableName() pulumi.StringPtrOutput
Name of the DynamoDB table.
func (DataSourceDynamodbConfigPtrOutput) ToDataSourceDynamodbConfigPtrOutput ¶
func (o DataSourceDynamodbConfigPtrOutput) ToDataSourceDynamodbConfigPtrOutput() DataSourceDynamodbConfigPtrOutput
func (DataSourceDynamodbConfigPtrOutput) ToDataSourceDynamodbConfigPtrOutputWithContext ¶
func (o DataSourceDynamodbConfigPtrOutput) ToDataSourceDynamodbConfigPtrOutputWithContext(ctx context.Context) DataSourceDynamodbConfigPtrOutput
func (DataSourceDynamodbConfigPtrOutput) UseCallerCredentials ¶
func (o DataSourceDynamodbConfigPtrOutput) UseCallerCredentials() pulumi.BoolPtrOutput
Set to `true` to use Amazon Cognito credentials with this data source.
type DataSourceElasticsearchConfigArgs ¶
type DataSourceElasticsearchConfigArgs struct { // HTTP URL. Endpoint pulumi.StringInput `pulumi:"endpoint"` // AWS region of Elasticsearch domain. Defaults to current region. Region pulumi.StringPtrInput `pulumi:"region"` }
func (DataSourceElasticsearchConfigArgs) ElementType ¶
func (DataSourceElasticsearchConfigArgs) ElementType() reflect.Type
func (DataSourceElasticsearchConfigArgs) ToDataSourceElasticsearchConfigOutput ¶
func (i DataSourceElasticsearchConfigArgs) ToDataSourceElasticsearchConfigOutput() DataSourceElasticsearchConfigOutput
func (DataSourceElasticsearchConfigArgs) ToDataSourceElasticsearchConfigOutputWithContext ¶
func (i DataSourceElasticsearchConfigArgs) ToDataSourceElasticsearchConfigOutputWithContext(ctx context.Context) DataSourceElasticsearchConfigOutput
func (DataSourceElasticsearchConfigArgs) ToDataSourceElasticsearchConfigPtrOutput ¶
func (i DataSourceElasticsearchConfigArgs) ToDataSourceElasticsearchConfigPtrOutput() DataSourceElasticsearchConfigPtrOutput
func (DataSourceElasticsearchConfigArgs) ToDataSourceElasticsearchConfigPtrOutputWithContext ¶
func (i DataSourceElasticsearchConfigArgs) ToDataSourceElasticsearchConfigPtrOutputWithContext(ctx context.Context) DataSourceElasticsearchConfigPtrOutput
type DataSourceElasticsearchConfigInput ¶
type DataSourceElasticsearchConfigInput interface { pulumi.Input ToDataSourceElasticsearchConfigOutput() DataSourceElasticsearchConfigOutput ToDataSourceElasticsearchConfigOutputWithContext(context.Context) DataSourceElasticsearchConfigOutput }
DataSourceElasticsearchConfigInput is an input type that accepts DataSourceElasticsearchConfigArgs and DataSourceElasticsearchConfigOutput values. You can construct a concrete instance of `DataSourceElasticsearchConfigInput` via:
DataSourceElasticsearchConfigArgs{...}
type DataSourceElasticsearchConfigOutput ¶
type DataSourceElasticsearchConfigOutput struct{ *pulumi.OutputState }
func (DataSourceElasticsearchConfigOutput) ElementType ¶
func (DataSourceElasticsearchConfigOutput) ElementType() reflect.Type
func (DataSourceElasticsearchConfigOutput) Endpoint ¶
func (o DataSourceElasticsearchConfigOutput) Endpoint() pulumi.StringOutput
HTTP URL.
func (DataSourceElasticsearchConfigOutput) Region ¶
func (o DataSourceElasticsearchConfigOutput) Region() pulumi.StringPtrOutput
AWS region of Elasticsearch domain. Defaults to current region.
func (DataSourceElasticsearchConfigOutput) ToDataSourceElasticsearchConfigOutput ¶
func (o DataSourceElasticsearchConfigOutput) ToDataSourceElasticsearchConfigOutput() DataSourceElasticsearchConfigOutput
func (DataSourceElasticsearchConfigOutput) ToDataSourceElasticsearchConfigOutputWithContext ¶
func (o DataSourceElasticsearchConfigOutput) ToDataSourceElasticsearchConfigOutputWithContext(ctx context.Context) DataSourceElasticsearchConfigOutput
func (DataSourceElasticsearchConfigOutput) ToDataSourceElasticsearchConfigPtrOutput ¶
func (o DataSourceElasticsearchConfigOutput) ToDataSourceElasticsearchConfigPtrOutput() DataSourceElasticsearchConfigPtrOutput
func (DataSourceElasticsearchConfigOutput) ToDataSourceElasticsearchConfigPtrOutputWithContext ¶
func (o DataSourceElasticsearchConfigOutput) ToDataSourceElasticsearchConfigPtrOutputWithContext(ctx context.Context) DataSourceElasticsearchConfigPtrOutput
type DataSourceElasticsearchConfigPtrInput ¶
type DataSourceElasticsearchConfigPtrInput interface { pulumi.Input ToDataSourceElasticsearchConfigPtrOutput() DataSourceElasticsearchConfigPtrOutput ToDataSourceElasticsearchConfigPtrOutputWithContext(context.Context) DataSourceElasticsearchConfigPtrOutput }
DataSourceElasticsearchConfigPtrInput is an input type that accepts DataSourceElasticsearchConfigArgs, DataSourceElasticsearchConfigPtr and DataSourceElasticsearchConfigPtrOutput values. You can construct a concrete instance of `DataSourceElasticsearchConfigPtrInput` via:
DataSourceElasticsearchConfigArgs{...} or: nil
func DataSourceElasticsearchConfigPtr ¶
func DataSourceElasticsearchConfigPtr(v *DataSourceElasticsearchConfigArgs) DataSourceElasticsearchConfigPtrInput
type DataSourceElasticsearchConfigPtrOutput ¶
type DataSourceElasticsearchConfigPtrOutput struct{ *pulumi.OutputState }
func (DataSourceElasticsearchConfigPtrOutput) ElementType ¶
func (DataSourceElasticsearchConfigPtrOutput) ElementType() reflect.Type
func (DataSourceElasticsearchConfigPtrOutput) Endpoint ¶
func (o DataSourceElasticsearchConfigPtrOutput) Endpoint() pulumi.StringPtrOutput
HTTP URL.
func (DataSourceElasticsearchConfigPtrOutput) Region ¶
func (o DataSourceElasticsearchConfigPtrOutput) Region() pulumi.StringPtrOutput
AWS region of Elasticsearch domain. Defaults to current region.
func (DataSourceElasticsearchConfigPtrOutput) ToDataSourceElasticsearchConfigPtrOutput ¶
func (o DataSourceElasticsearchConfigPtrOutput) ToDataSourceElasticsearchConfigPtrOutput() DataSourceElasticsearchConfigPtrOutput
func (DataSourceElasticsearchConfigPtrOutput) ToDataSourceElasticsearchConfigPtrOutputWithContext ¶
func (o DataSourceElasticsearchConfigPtrOutput) ToDataSourceElasticsearchConfigPtrOutputWithContext(ctx context.Context) DataSourceElasticsearchConfigPtrOutput
type DataSourceHttpConfig ¶
type DataSourceHttpConfig struct { // HTTP URL. Endpoint string `pulumi:"endpoint"` }
type DataSourceHttpConfigArgs ¶
type DataSourceHttpConfigArgs struct { // HTTP URL. Endpoint pulumi.StringInput `pulumi:"endpoint"` }
func (DataSourceHttpConfigArgs) ElementType ¶
func (DataSourceHttpConfigArgs) ElementType() reflect.Type
func (DataSourceHttpConfigArgs) ToDataSourceHttpConfigOutput ¶
func (i DataSourceHttpConfigArgs) ToDataSourceHttpConfigOutput() DataSourceHttpConfigOutput
func (DataSourceHttpConfigArgs) ToDataSourceHttpConfigOutputWithContext ¶
func (i DataSourceHttpConfigArgs) ToDataSourceHttpConfigOutputWithContext(ctx context.Context) DataSourceHttpConfigOutput
func (DataSourceHttpConfigArgs) ToDataSourceHttpConfigPtrOutput ¶
func (i DataSourceHttpConfigArgs) ToDataSourceHttpConfigPtrOutput() DataSourceHttpConfigPtrOutput
func (DataSourceHttpConfigArgs) ToDataSourceHttpConfigPtrOutputWithContext ¶
func (i DataSourceHttpConfigArgs) ToDataSourceHttpConfigPtrOutputWithContext(ctx context.Context) DataSourceHttpConfigPtrOutput
type DataSourceHttpConfigInput ¶
type DataSourceHttpConfigInput interface { pulumi.Input ToDataSourceHttpConfigOutput() DataSourceHttpConfigOutput ToDataSourceHttpConfigOutputWithContext(context.Context) DataSourceHttpConfigOutput }
DataSourceHttpConfigInput is an input type that accepts DataSourceHttpConfigArgs and DataSourceHttpConfigOutput values. You can construct a concrete instance of `DataSourceHttpConfigInput` via:
DataSourceHttpConfigArgs{...}
type DataSourceHttpConfigOutput ¶
type DataSourceHttpConfigOutput struct{ *pulumi.OutputState }
func (DataSourceHttpConfigOutput) ElementType ¶
func (DataSourceHttpConfigOutput) ElementType() reflect.Type
func (DataSourceHttpConfigOutput) Endpoint ¶
func (o DataSourceHttpConfigOutput) Endpoint() pulumi.StringOutput
HTTP URL.
func (DataSourceHttpConfigOutput) ToDataSourceHttpConfigOutput ¶
func (o DataSourceHttpConfigOutput) ToDataSourceHttpConfigOutput() DataSourceHttpConfigOutput
func (DataSourceHttpConfigOutput) ToDataSourceHttpConfigOutputWithContext ¶
func (o DataSourceHttpConfigOutput) ToDataSourceHttpConfigOutputWithContext(ctx context.Context) DataSourceHttpConfigOutput
func (DataSourceHttpConfigOutput) ToDataSourceHttpConfigPtrOutput ¶
func (o DataSourceHttpConfigOutput) ToDataSourceHttpConfigPtrOutput() DataSourceHttpConfigPtrOutput
func (DataSourceHttpConfigOutput) ToDataSourceHttpConfigPtrOutputWithContext ¶
func (o DataSourceHttpConfigOutput) ToDataSourceHttpConfigPtrOutputWithContext(ctx context.Context) DataSourceHttpConfigPtrOutput
type DataSourceHttpConfigPtrInput ¶
type DataSourceHttpConfigPtrInput interface { pulumi.Input ToDataSourceHttpConfigPtrOutput() DataSourceHttpConfigPtrOutput ToDataSourceHttpConfigPtrOutputWithContext(context.Context) DataSourceHttpConfigPtrOutput }
DataSourceHttpConfigPtrInput is an input type that accepts DataSourceHttpConfigArgs, DataSourceHttpConfigPtr and DataSourceHttpConfigPtrOutput values. You can construct a concrete instance of `DataSourceHttpConfigPtrInput` via:
DataSourceHttpConfigArgs{...} or: nil
func DataSourceHttpConfigPtr ¶
func DataSourceHttpConfigPtr(v *DataSourceHttpConfigArgs) DataSourceHttpConfigPtrInput
type DataSourceHttpConfigPtrOutput ¶
type DataSourceHttpConfigPtrOutput struct{ *pulumi.OutputState }
func (DataSourceHttpConfigPtrOutput) Elem ¶
func (o DataSourceHttpConfigPtrOutput) Elem() DataSourceHttpConfigOutput
func (DataSourceHttpConfigPtrOutput) ElementType ¶
func (DataSourceHttpConfigPtrOutput) ElementType() reflect.Type
func (DataSourceHttpConfigPtrOutput) Endpoint ¶
func (o DataSourceHttpConfigPtrOutput) Endpoint() pulumi.StringPtrOutput
HTTP URL.
func (DataSourceHttpConfigPtrOutput) ToDataSourceHttpConfigPtrOutput ¶
func (o DataSourceHttpConfigPtrOutput) ToDataSourceHttpConfigPtrOutput() DataSourceHttpConfigPtrOutput
func (DataSourceHttpConfigPtrOutput) ToDataSourceHttpConfigPtrOutputWithContext ¶
func (o DataSourceHttpConfigPtrOutput) ToDataSourceHttpConfigPtrOutputWithContext(ctx context.Context) DataSourceHttpConfigPtrOutput
type DataSourceLambdaConfig ¶
type DataSourceLambdaConfig struct { // The ARN for the Lambda function. FunctionArn string `pulumi:"functionArn"` }
type DataSourceLambdaConfigArgs ¶
type DataSourceLambdaConfigArgs struct { // The ARN for the Lambda function. FunctionArn pulumi.StringInput `pulumi:"functionArn"` }
func (DataSourceLambdaConfigArgs) ElementType ¶
func (DataSourceLambdaConfigArgs) ElementType() reflect.Type
func (DataSourceLambdaConfigArgs) ToDataSourceLambdaConfigOutput ¶
func (i DataSourceLambdaConfigArgs) ToDataSourceLambdaConfigOutput() DataSourceLambdaConfigOutput
func (DataSourceLambdaConfigArgs) ToDataSourceLambdaConfigOutputWithContext ¶
func (i DataSourceLambdaConfigArgs) ToDataSourceLambdaConfigOutputWithContext(ctx context.Context) DataSourceLambdaConfigOutput
func (DataSourceLambdaConfigArgs) ToDataSourceLambdaConfigPtrOutput ¶
func (i DataSourceLambdaConfigArgs) ToDataSourceLambdaConfigPtrOutput() DataSourceLambdaConfigPtrOutput
func (DataSourceLambdaConfigArgs) ToDataSourceLambdaConfigPtrOutputWithContext ¶
func (i DataSourceLambdaConfigArgs) ToDataSourceLambdaConfigPtrOutputWithContext(ctx context.Context) DataSourceLambdaConfigPtrOutput
type DataSourceLambdaConfigInput ¶
type DataSourceLambdaConfigInput interface { pulumi.Input ToDataSourceLambdaConfigOutput() DataSourceLambdaConfigOutput ToDataSourceLambdaConfigOutputWithContext(context.Context) DataSourceLambdaConfigOutput }
DataSourceLambdaConfigInput is an input type that accepts DataSourceLambdaConfigArgs and DataSourceLambdaConfigOutput values. You can construct a concrete instance of `DataSourceLambdaConfigInput` via:
DataSourceLambdaConfigArgs{...}
type DataSourceLambdaConfigOutput ¶
type DataSourceLambdaConfigOutput struct{ *pulumi.OutputState }
func (DataSourceLambdaConfigOutput) ElementType ¶
func (DataSourceLambdaConfigOutput) ElementType() reflect.Type
func (DataSourceLambdaConfigOutput) FunctionArn ¶
func (o DataSourceLambdaConfigOutput) FunctionArn() pulumi.StringOutput
The ARN for the Lambda function.
func (DataSourceLambdaConfigOutput) ToDataSourceLambdaConfigOutput ¶
func (o DataSourceLambdaConfigOutput) ToDataSourceLambdaConfigOutput() DataSourceLambdaConfigOutput
func (DataSourceLambdaConfigOutput) ToDataSourceLambdaConfigOutputWithContext ¶
func (o DataSourceLambdaConfigOutput) ToDataSourceLambdaConfigOutputWithContext(ctx context.Context) DataSourceLambdaConfigOutput
func (DataSourceLambdaConfigOutput) ToDataSourceLambdaConfigPtrOutput ¶
func (o DataSourceLambdaConfigOutput) ToDataSourceLambdaConfigPtrOutput() DataSourceLambdaConfigPtrOutput
func (DataSourceLambdaConfigOutput) ToDataSourceLambdaConfigPtrOutputWithContext ¶
func (o DataSourceLambdaConfigOutput) ToDataSourceLambdaConfigPtrOutputWithContext(ctx context.Context) DataSourceLambdaConfigPtrOutput
type DataSourceLambdaConfigPtrInput ¶
type DataSourceLambdaConfigPtrInput interface { pulumi.Input ToDataSourceLambdaConfigPtrOutput() DataSourceLambdaConfigPtrOutput ToDataSourceLambdaConfigPtrOutputWithContext(context.Context) DataSourceLambdaConfigPtrOutput }
DataSourceLambdaConfigPtrInput is an input type that accepts DataSourceLambdaConfigArgs, DataSourceLambdaConfigPtr and DataSourceLambdaConfigPtrOutput values. You can construct a concrete instance of `DataSourceLambdaConfigPtrInput` via:
DataSourceLambdaConfigArgs{...} or: nil
func DataSourceLambdaConfigPtr ¶
func DataSourceLambdaConfigPtr(v *DataSourceLambdaConfigArgs) DataSourceLambdaConfigPtrInput
type DataSourceLambdaConfigPtrOutput ¶
type DataSourceLambdaConfigPtrOutput struct{ *pulumi.OutputState }
func (DataSourceLambdaConfigPtrOutput) Elem ¶
func (o DataSourceLambdaConfigPtrOutput) Elem() DataSourceLambdaConfigOutput
func (DataSourceLambdaConfigPtrOutput) ElementType ¶
func (DataSourceLambdaConfigPtrOutput) ElementType() reflect.Type
func (DataSourceLambdaConfigPtrOutput) FunctionArn ¶
func (o DataSourceLambdaConfigPtrOutput) FunctionArn() pulumi.StringPtrOutput
The ARN for the Lambda function.
func (DataSourceLambdaConfigPtrOutput) ToDataSourceLambdaConfigPtrOutput ¶
func (o DataSourceLambdaConfigPtrOutput) ToDataSourceLambdaConfigPtrOutput() DataSourceLambdaConfigPtrOutput
func (DataSourceLambdaConfigPtrOutput) ToDataSourceLambdaConfigPtrOutputWithContext ¶
func (o DataSourceLambdaConfigPtrOutput) ToDataSourceLambdaConfigPtrOutputWithContext(ctx context.Context) DataSourceLambdaConfigPtrOutput
type DataSourceState ¶
type DataSourceState struct { // The API ID for the GraphQL API for the DataSource. ApiId pulumi.StringPtrInput // The ARN Arn pulumi.StringPtrInput // A description of the DataSource. Description pulumi.StringPtrInput // DynamoDB settings. See below DynamodbConfig DataSourceDynamodbConfigPtrInput // Amazon Elasticsearch settings. See below ElasticsearchConfig DataSourceElasticsearchConfigPtrInput // HTTP settings. See below HttpConfig DataSourceHttpConfigPtrInput // AWS Lambda settings. See below LambdaConfig DataSourceLambdaConfigPtrInput // A user-supplied name for the DataSource. Name pulumi.StringPtrInput // The IAM service role ARN for the data source. ServiceRoleArn pulumi.StringPtrInput // The type of the DataSource. Valid values: `AWS_LAMBDA`, `AMAZON_DYNAMODB`, `AMAZON_ELASTICSEARCH`, `HTTP`, `NONE`. Type pulumi.StringPtrInput }
func (DataSourceState) ElementType ¶
func (DataSourceState) ElementType() reflect.Type
type Function ¶
type Function struct { pulumi.CustomResourceState // The ID of the associated AppSync API. ApiId pulumi.StringOutput `pulumi:"apiId"` // The ARN of the Function object. Arn pulumi.StringOutput `pulumi:"arn"` // The Function DataSource name. DataSource pulumi.StringOutput `pulumi:"dataSource"` // The Function description. Description pulumi.StringPtrOutput `pulumi:"description"` // A unique ID representing the Function object. FunctionId pulumi.StringOutput `pulumi:"functionId"` // The version of the request mapping template. Currently the supported value is `2018-05-29`. FunctionVersion pulumi.StringPtrOutput `pulumi:"functionVersion"` // The Function name. The function name does not have to be unique. Name pulumi.StringOutput `pulumi:"name"` // The Function request mapping template. Functions support only the 2018-05-29 version of the request mapping template. RequestMappingTemplate pulumi.StringOutput `pulumi:"requestMappingTemplate"` // The Function response mapping template. ResponseMappingTemplate pulumi.StringOutput `pulumi:"responseMappingTemplate"` }
Provides an AppSync Function.
## Example Usage
```go package main
import (
"fmt" "github.com/pulumi/pulumi-aws/sdk/v3/go/aws/appsync" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { testGraphQLApi, err := appsync.NewGraphQLApi(ctx, "testGraphQLApi", &appsync.GraphQLApiArgs{ AuthenticationType: pulumi.String("API_KEY"), Schema: pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v", "type Mutation {\n", " putPost(id: ID!, title: String!): Post\n", "}\n", "\n", "type Post {\n", " id: ID!\n", " title: String!\n", "}\n", "\n", "type Query {\n", " singlePost(id: ID!): Post\n", "}\n", "\n", "schema {\n", " query: Query\n", " mutation: Mutation\n", "}\n")), }) if err != nil { return err } testDataSource, err := appsync.NewDataSource(ctx, "testDataSource", &appsync.DataSourceArgs{ ApiId: testGraphQLApi.ID(), Type: pulumi.String("HTTP"), HttpConfig: &appsync.DataSourceHttpConfigArgs{ Endpoint: pulumi.String("http://example.com"), }, }) if err != nil { return err } _, err = appsync.NewFunction(ctx, "testFunction", &appsync.FunctionArgs{ ApiId: testGraphQLApi.ID(), DataSource: testDataSource.Name, Name: pulumi.String("tf_example"), RequestMappingTemplate: pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v", "{\n", " \"version\": \"2018-05-29\",\n", " \"method\": \"GET\",\n", " \"resourcePath\": \"/\",\n", " \"params\":{\n", " \"headers\": ", "$", "utils.http.copyheaders(", "$", "ctx.request.headers)\n", " }\n", "}\n")), ResponseMappingTemplate: pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v", "#if(", "$", "ctx.result.statusCode == 200)\n", " ", "$", "ctx.result.body\n", "#else\n", " ", "$", "utils.appendError(", "$", "ctx.result.body, ", "$", "ctx.result.statusCode)\n", "#end\n")), }) if err != nil { return err } return nil }) }
```
func GetFunction ¶
func GetFunction(ctx *pulumi.Context, name string, id pulumi.IDInput, state *FunctionState, opts ...pulumi.ResourceOption) (*Function, error)
GetFunction gets an existing Function resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewFunction ¶
func NewFunction(ctx *pulumi.Context, name string, args *FunctionArgs, opts ...pulumi.ResourceOption) (*Function, error)
NewFunction registers a new resource with the given unique name, arguments, and options.
type FunctionArgs ¶
type FunctionArgs struct { // The ID of the associated AppSync API. ApiId pulumi.StringInput // The Function DataSource name. DataSource pulumi.StringInput // The Function description. Description pulumi.StringPtrInput // The version of the request mapping template. Currently the supported value is `2018-05-29`. FunctionVersion pulumi.StringPtrInput // The Function name. The function name does not have to be unique. Name pulumi.StringPtrInput // The Function request mapping template. Functions support only the 2018-05-29 version of the request mapping template. RequestMappingTemplate pulumi.StringInput // The Function response mapping template. ResponseMappingTemplate pulumi.StringInput }
The set of arguments for constructing a Function resource.
func (FunctionArgs) ElementType ¶
func (FunctionArgs) ElementType() reflect.Type
type FunctionState ¶
type FunctionState struct { // The ID of the associated AppSync API. ApiId pulumi.StringPtrInput // The ARN of the Function object. Arn pulumi.StringPtrInput // The Function DataSource name. DataSource pulumi.StringPtrInput // The Function description. Description pulumi.StringPtrInput // A unique ID representing the Function object. FunctionId pulumi.StringPtrInput // The version of the request mapping template. Currently the supported value is `2018-05-29`. FunctionVersion pulumi.StringPtrInput // The Function name. The function name does not have to be unique. Name pulumi.StringPtrInput // The Function request mapping template. Functions support only the 2018-05-29 version of the request mapping template. RequestMappingTemplate pulumi.StringPtrInput // The Function response mapping template. ResponseMappingTemplate pulumi.StringPtrInput }
func (FunctionState) ElementType ¶
func (FunctionState) ElementType() reflect.Type
type GraphQLApi ¶
type GraphQLApi struct { pulumi.CustomResourceState // One or more additional authentication providers for the GraphqlApi. Defined below. AdditionalAuthenticationProviders GraphQLApiAdditionalAuthenticationProviderArrayOutput `pulumi:"additionalAuthenticationProviders"` // The ARN Arn pulumi.StringOutput `pulumi:"arn"` // The authentication type. Valid values: `API_KEY`, `AWS_IAM`, `AMAZON_COGNITO_USER_POOLS`, `OPENID_CONNECT` AuthenticationType pulumi.StringOutput `pulumi:"authenticationType"` // Nested argument containing logging configuration. Defined below. LogConfig GraphQLApiLogConfigPtrOutput `pulumi:"logConfig"` // A user-supplied name for the GraphqlApi. Name pulumi.StringOutput `pulumi:"name"` // Nested argument containing OpenID Connect configuration. Defined below. OpenidConnectConfig GraphQLApiOpenidConnectConfigPtrOutput `pulumi:"openidConnectConfig"` // The schema definition, in GraphQL schema language format. This provider cannot perform drift detection of this configuration. Schema pulumi.StringPtrOutput `pulumi:"schema"` // A map of tags to assign to the resource. Tags pulumi.StringMapOutput `pulumi:"tags"` // Map of URIs associated with the API. e.g. `uris["GRAPHQL"] = https://ID.appsync-api.REGION.amazonaws.com/graphql` Uris pulumi.StringMapOutput `pulumi:"uris"` // The Amazon Cognito User Pool configuration. Defined below. UserPoolConfig GraphQLApiUserPoolConfigPtrOutput `pulumi:"userPoolConfig"` // Whether tracing with X-ray is enabled. Defaults to false. XrayEnabled pulumi.BoolPtrOutput `pulumi:"xrayEnabled"` }
Provides an AppSync GraphQL API.
## Example Usage ### API Key Authentication
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/appsync" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := appsync.NewGraphQLApi(ctx, "example", &appsync.GraphQLApiArgs{ AuthenticationType: pulumi.String("API_KEY"), }) if err != nil { return err } return nil }) }
``` ### AWS Cognito User Pool Authentication
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/appsync" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := appsync.NewGraphQLApi(ctx, "example", &appsync.GraphQLApiArgs{ AuthenticationType: pulumi.String("AMAZON_COGNITO_USER_POOLS"), UserPoolConfig: &appsync.GraphQLApiUserPoolConfigArgs{ AwsRegion: pulumi.Any(data.Aws_region.Current.Name), DefaultAction: pulumi.String("DENY"), UserPoolId: pulumi.Any(aws_cognito_user_pool.Example.Id), }, }) if err != nil { return err } return nil }) }
``` ### AWS IAM Authentication
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/appsync" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := appsync.NewGraphQLApi(ctx, "example", &appsync.GraphQLApiArgs{ AuthenticationType: pulumi.String("AWS_IAM"), }) if err != nil { return err } return nil }) }
``` ### With Schema
```go package main
import (
"fmt" "github.com/pulumi/pulumi-aws/sdk/v3/go/aws/appsync" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := appsync.NewGraphQLApi(ctx, "example", &appsync.GraphQLApiArgs{ AuthenticationType: pulumi.String("AWS_IAM"), Schema: pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v", "schema {\n", " query: Query\n", "}\n", "type Query {\n", " test: Int\n", "}\n", "\n")), }) if err != nil { return err } return nil }) }
``` ### OpenID Connect Authentication
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/appsync" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := appsync.NewGraphQLApi(ctx, "example", &appsync.GraphQLApiArgs{ AuthenticationType: pulumi.String("OPENID_CONNECT"), OpenidConnectConfig: &appsync.GraphQLApiOpenidConnectConfigArgs{ Issuer: pulumi.String("https://example.com"), }, }) if err != nil { return err } return nil }) }
``` ### With Multiple Authentication Providers
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/appsync" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := appsync.NewGraphQLApi(ctx, "example", &appsync.GraphQLApiArgs{ AdditionalAuthenticationProviders: appsync.GraphQLApiAdditionalAuthenticationProviderArray{ &appsync.GraphQLApiAdditionalAuthenticationProviderArgs{ AuthenticationType: pulumi.String("AWS_IAM"), }, }, AuthenticationType: pulumi.String("API_KEY"), }) if err != nil { return err } return nil }) }
``` ### Enabling Logging
```go package main
import (
"fmt" "github.com/pulumi/pulumi-aws/sdk/v3/go/aws/appsync" "github.com/pulumi/pulumi-aws/sdk/v3/go/aws/iam" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleRole, err := iam.NewRole(ctx, "exampleRole", &iam.RoleArgs{ AssumeRolePolicy: pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v", "{\n", " \"Version\": \"2012-10-17\",\n", " \"Statement\": [\n", " {\n", " \"Effect\": \"Allow\",\n", " \"Principal\": {\n", " \"Service\": \"appsync.amazonaws.com\"\n", " },\n", " \"Action\": \"sts:AssumeRole\"\n", " }\n", " ]\n", "}\n")), }) if err != nil { return err } _, err = iam.NewRolePolicyAttachment(ctx, "exampleRolePolicyAttachment", &iam.RolePolicyAttachmentArgs{ PolicyArn: pulumi.String("arn:aws:iam::aws:policy/service-role/AWSAppSyncPushToCloudWatchLogs"), Role: exampleRole.Name, }) if err != nil { return err } _, err = appsync.NewGraphQLApi(ctx, "exampleGraphQLApi", &appsync.GraphQLApiArgs{ LogConfig: &appsync.GraphQLApiLogConfigArgs{ CloudwatchLogsRoleArn: exampleRole.Arn, FieldLogLevel: pulumi.String("ERROR"), }, }) if err != nil { return err } return nil }) }
```
func GetGraphQLApi ¶
func GetGraphQLApi(ctx *pulumi.Context, name string, id pulumi.IDInput, state *GraphQLApiState, opts ...pulumi.ResourceOption) (*GraphQLApi, error)
GetGraphQLApi gets an existing GraphQLApi resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewGraphQLApi ¶
func NewGraphQLApi(ctx *pulumi.Context, name string, args *GraphQLApiArgs, opts ...pulumi.ResourceOption) (*GraphQLApi, error)
NewGraphQLApi registers a new resource with the given unique name, arguments, and options.
type GraphQLApiAdditionalAuthenticationProvider ¶
type GraphQLApiAdditionalAuthenticationProvider struct { // The authentication type. Valid values: `API_KEY`, `AWS_IAM`, `AMAZON_COGNITO_USER_POOLS`, `OPENID_CONNECT` AuthenticationType string `pulumi:"authenticationType"` // Nested argument containing OpenID Connect configuration. Defined below. OpenidConnectConfig *GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfig `pulumi:"openidConnectConfig"` // The Amazon Cognito User Pool configuration. Defined below. UserPoolConfig *GraphQLApiAdditionalAuthenticationProviderUserPoolConfig `pulumi:"userPoolConfig"` }
type GraphQLApiAdditionalAuthenticationProviderArgs ¶
type GraphQLApiAdditionalAuthenticationProviderArgs struct { // The authentication type. Valid values: `API_KEY`, `AWS_IAM`, `AMAZON_COGNITO_USER_POOLS`, `OPENID_CONNECT` AuthenticationType pulumi.StringInput `pulumi:"authenticationType"` // Nested argument containing OpenID Connect configuration. Defined below. OpenidConnectConfig GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrInput `pulumi:"openidConnectConfig"` // The Amazon Cognito User Pool configuration. Defined below. UserPoolConfig GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrInput `pulumi:"userPoolConfig"` }
func (GraphQLApiAdditionalAuthenticationProviderArgs) ElementType ¶
func (GraphQLApiAdditionalAuthenticationProviderArgs) ElementType() reflect.Type
func (GraphQLApiAdditionalAuthenticationProviderArgs) ToGraphQLApiAdditionalAuthenticationProviderOutput ¶
func (i GraphQLApiAdditionalAuthenticationProviderArgs) ToGraphQLApiAdditionalAuthenticationProviderOutput() GraphQLApiAdditionalAuthenticationProviderOutput
func (GraphQLApiAdditionalAuthenticationProviderArgs) ToGraphQLApiAdditionalAuthenticationProviderOutputWithContext ¶
func (i GraphQLApiAdditionalAuthenticationProviderArgs) ToGraphQLApiAdditionalAuthenticationProviderOutputWithContext(ctx context.Context) GraphQLApiAdditionalAuthenticationProviderOutput
type GraphQLApiAdditionalAuthenticationProviderArray ¶
type GraphQLApiAdditionalAuthenticationProviderArray []GraphQLApiAdditionalAuthenticationProviderInput
func (GraphQLApiAdditionalAuthenticationProviderArray) ElementType ¶
func (GraphQLApiAdditionalAuthenticationProviderArray) ElementType() reflect.Type
func (GraphQLApiAdditionalAuthenticationProviderArray) ToGraphQLApiAdditionalAuthenticationProviderArrayOutput ¶
func (i GraphQLApiAdditionalAuthenticationProviderArray) ToGraphQLApiAdditionalAuthenticationProviderArrayOutput() GraphQLApiAdditionalAuthenticationProviderArrayOutput
func (GraphQLApiAdditionalAuthenticationProviderArray) ToGraphQLApiAdditionalAuthenticationProviderArrayOutputWithContext ¶
func (i GraphQLApiAdditionalAuthenticationProviderArray) ToGraphQLApiAdditionalAuthenticationProviderArrayOutputWithContext(ctx context.Context) GraphQLApiAdditionalAuthenticationProviderArrayOutput
type GraphQLApiAdditionalAuthenticationProviderArrayInput ¶
type GraphQLApiAdditionalAuthenticationProviderArrayInput interface { pulumi.Input ToGraphQLApiAdditionalAuthenticationProviderArrayOutput() GraphQLApiAdditionalAuthenticationProviderArrayOutput ToGraphQLApiAdditionalAuthenticationProviderArrayOutputWithContext(context.Context) GraphQLApiAdditionalAuthenticationProviderArrayOutput }
GraphQLApiAdditionalAuthenticationProviderArrayInput is an input type that accepts GraphQLApiAdditionalAuthenticationProviderArray and GraphQLApiAdditionalAuthenticationProviderArrayOutput values. You can construct a concrete instance of `GraphQLApiAdditionalAuthenticationProviderArrayInput` via:
GraphQLApiAdditionalAuthenticationProviderArray{ GraphQLApiAdditionalAuthenticationProviderArgs{...} }
type GraphQLApiAdditionalAuthenticationProviderArrayOutput ¶
type GraphQLApiAdditionalAuthenticationProviderArrayOutput struct{ *pulumi.OutputState }
func (GraphQLApiAdditionalAuthenticationProviderArrayOutput) ElementType ¶
func (GraphQLApiAdditionalAuthenticationProviderArrayOutput) ElementType() reflect.Type
func (GraphQLApiAdditionalAuthenticationProviderArrayOutput) ToGraphQLApiAdditionalAuthenticationProviderArrayOutput ¶
func (o GraphQLApiAdditionalAuthenticationProviderArrayOutput) ToGraphQLApiAdditionalAuthenticationProviderArrayOutput() GraphQLApiAdditionalAuthenticationProviderArrayOutput
func (GraphQLApiAdditionalAuthenticationProviderArrayOutput) ToGraphQLApiAdditionalAuthenticationProviderArrayOutputWithContext ¶
func (o GraphQLApiAdditionalAuthenticationProviderArrayOutput) ToGraphQLApiAdditionalAuthenticationProviderArrayOutputWithContext(ctx context.Context) GraphQLApiAdditionalAuthenticationProviderArrayOutput
type GraphQLApiAdditionalAuthenticationProviderInput ¶
type GraphQLApiAdditionalAuthenticationProviderInput interface { pulumi.Input ToGraphQLApiAdditionalAuthenticationProviderOutput() GraphQLApiAdditionalAuthenticationProviderOutput ToGraphQLApiAdditionalAuthenticationProviderOutputWithContext(context.Context) GraphQLApiAdditionalAuthenticationProviderOutput }
GraphQLApiAdditionalAuthenticationProviderInput is an input type that accepts GraphQLApiAdditionalAuthenticationProviderArgs and GraphQLApiAdditionalAuthenticationProviderOutput values. You can construct a concrete instance of `GraphQLApiAdditionalAuthenticationProviderInput` via:
GraphQLApiAdditionalAuthenticationProviderArgs{...}
type GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfig ¶
type GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfig struct { // Number of milliseconds a token is valid after being authenticated. AuthTtl *int `pulumi:"authTtl"` // Client identifier of the Relying party at the OpenID identity provider. This identifier is typically obtained when the Relying party is registered with the OpenID identity provider. You can specify a regular expression so the AWS AppSync can validate against multiple client identifiers at a time. ClientId *string `pulumi:"clientId"` // Number of milliseconds a token is valid after being issued to a user. IatTtl *int `pulumi:"iatTtl"` // Issuer for the OpenID Connect configuration. The issuer returned by discovery MUST exactly match the value of iss in the ID Token. Issuer string `pulumi:"issuer"` }
type GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigArgs ¶
type GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigArgs struct { // Number of milliseconds a token is valid after being authenticated. AuthTtl pulumi.IntPtrInput `pulumi:"authTtl"` // Client identifier of the Relying party at the OpenID identity provider. This identifier is typically obtained when the Relying party is registered with the OpenID identity provider. You can specify a regular expression so the AWS AppSync can validate against multiple client identifiers at a time. ClientId pulumi.StringPtrInput `pulumi:"clientId"` // Number of milliseconds a token is valid after being issued to a user. IatTtl pulumi.IntPtrInput `pulumi:"iatTtl"` // Issuer for the OpenID Connect configuration. The issuer returned by discovery MUST exactly match the value of iss in the ID Token. Issuer pulumi.StringInput `pulumi:"issuer"` }
func (GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigArgs) ElementType ¶
func (GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigArgs) ElementType() reflect.Type
func (GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigArgs) ToGraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput ¶
func (i GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigArgs) ToGraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput() GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput
func (GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigArgs) ToGraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutputWithContext ¶
func (i GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigArgs) ToGraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutputWithContext(ctx context.Context) GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput
func (GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigArgs) ToGraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput ¶
func (i GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigArgs) ToGraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput() GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput
func (GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigArgs) ToGraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutputWithContext ¶
func (i GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigArgs) ToGraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutputWithContext(ctx context.Context) GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput
type GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigInput ¶
type GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigInput interface { pulumi.Input ToGraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput() GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput ToGraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutputWithContext(context.Context) GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput }
GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigInput is an input type that accepts GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigArgs and GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput values. You can construct a concrete instance of `GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigInput` via:
GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigArgs{...}
type GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput ¶
type GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput struct{ *pulumi.OutputState }
func (GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput) AuthTtl ¶
func (o GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput) AuthTtl() pulumi.IntPtrOutput
Number of milliseconds a token is valid after being authenticated.
func (GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput) ClientId ¶
func (o GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput) ClientId() pulumi.StringPtrOutput
Client identifier of the Relying party at the OpenID identity provider. This identifier is typically obtained when the Relying party is registered with the OpenID identity provider. You can specify a regular expression so the AWS AppSync can validate against multiple client identifiers at a time.
func (GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput) ElementType ¶
func (GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput) ElementType() reflect.Type
func (GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput) IatTtl ¶
func (o GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput) IatTtl() pulumi.IntPtrOutput
Number of milliseconds a token is valid after being issued to a user.
func (GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput) Issuer ¶
func (o GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput) Issuer() pulumi.StringOutput
Issuer for the OpenID Connect configuration. The issuer returned by discovery MUST exactly match the value of iss in the ID Token.
func (GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput) ToGraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput ¶
func (o GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput) ToGraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput() GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput
func (GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput) ToGraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutputWithContext ¶
func (o GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput) ToGraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutputWithContext(ctx context.Context) GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput
func (GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput) ToGraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput ¶
func (o GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput) ToGraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput() GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput
func (GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput) ToGraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutputWithContext ¶
func (o GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigOutput) ToGraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutputWithContext(ctx context.Context) GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput
type GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrInput ¶
type GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrInput interface { pulumi.Input ToGraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput() GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput ToGraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutputWithContext(context.Context) GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput }
GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrInput is an input type that accepts GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigArgs, GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtr and GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput values. You can construct a concrete instance of `GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrInput` via:
GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigArgs{...} or: nil
func GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtr ¶
func GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtr(v *GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigArgs) GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrInput
type GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput ¶
type GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput struct{ *pulumi.OutputState }
func (GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput) AuthTtl ¶
func (o GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput) AuthTtl() pulumi.IntPtrOutput
Number of milliseconds a token is valid after being authenticated.
func (GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput) ClientId ¶
func (o GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput) ClientId() pulumi.StringPtrOutput
Client identifier of the Relying party at the OpenID identity provider. This identifier is typically obtained when the Relying party is registered with the OpenID identity provider. You can specify a regular expression so the AWS AppSync can validate against multiple client identifiers at a time.
func (GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput) ElementType ¶
func (GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput) ElementType() reflect.Type
func (GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput) IatTtl ¶
func (o GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput) IatTtl() pulumi.IntPtrOutput
Number of milliseconds a token is valid after being issued to a user.
func (GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput) Issuer ¶
func (o GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput) Issuer() pulumi.StringPtrOutput
Issuer for the OpenID Connect configuration. The issuer returned by discovery MUST exactly match the value of iss in the ID Token.
func (GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput) ToGraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput ¶
func (o GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput) ToGraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput() GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput
func (GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput) ToGraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutputWithContext ¶
func (o GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput) ToGraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutputWithContext(ctx context.Context) GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput
type GraphQLApiAdditionalAuthenticationProviderOutput ¶
type GraphQLApiAdditionalAuthenticationProviderOutput struct{ *pulumi.OutputState }
func (GraphQLApiAdditionalAuthenticationProviderOutput) AuthenticationType ¶
func (o GraphQLApiAdditionalAuthenticationProviderOutput) AuthenticationType() pulumi.StringOutput
The authentication type. Valid values: `API_KEY`, `AWS_IAM`, `AMAZON_COGNITO_USER_POOLS`, `OPENID_CONNECT`
func (GraphQLApiAdditionalAuthenticationProviderOutput) ElementType ¶
func (GraphQLApiAdditionalAuthenticationProviderOutput) ElementType() reflect.Type
func (GraphQLApiAdditionalAuthenticationProviderOutput) OpenidConnectConfig ¶
func (o GraphQLApiAdditionalAuthenticationProviderOutput) OpenidConnectConfig() GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrOutput
Nested argument containing OpenID Connect configuration. Defined below.
func (GraphQLApiAdditionalAuthenticationProviderOutput) ToGraphQLApiAdditionalAuthenticationProviderOutput ¶
func (o GraphQLApiAdditionalAuthenticationProviderOutput) ToGraphQLApiAdditionalAuthenticationProviderOutput() GraphQLApiAdditionalAuthenticationProviderOutput
func (GraphQLApiAdditionalAuthenticationProviderOutput) ToGraphQLApiAdditionalAuthenticationProviderOutputWithContext ¶
func (o GraphQLApiAdditionalAuthenticationProviderOutput) ToGraphQLApiAdditionalAuthenticationProviderOutputWithContext(ctx context.Context) GraphQLApiAdditionalAuthenticationProviderOutput
func (GraphQLApiAdditionalAuthenticationProviderOutput) UserPoolConfig ¶
func (o GraphQLApiAdditionalAuthenticationProviderOutput) UserPoolConfig() GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput
The Amazon Cognito User Pool configuration. Defined below.
type GraphQLApiAdditionalAuthenticationProviderUserPoolConfig ¶
type GraphQLApiAdditionalAuthenticationProviderUserPoolConfig struct { // A regular expression for validating the incoming Amazon Cognito User Pool app client ID. AppIdClientRegex *string `pulumi:"appIdClientRegex"` // The AWS region in which the user pool was created. AwsRegion *string `pulumi:"awsRegion"` // The user pool ID. UserPoolId string `pulumi:"userPoolId"` }
type GraphQLApiAdditionalAuthenticationProviderUserPoolConfigArgs ¶
type GraphQLApiAdditionalAuthenticationProviderUserPoolConfigArgs struct { // A regular expression for validating the incoming Amazon Cognito User Pool app client ID. AppIdClientRegex pulumi.StringPtrInput `pulumi:"appIdClientRegex"` // The AWS region in which the user pool was created. AwsRegion pulumi.StringPtrInput `pulumi:"awsRegion"` // The user pool ID. UserPoolId pulumi.StringInput `pulumi:"userPoolId"` }
func (GraphQLApiAdditionalAuthenticationProviderUserPoolConfigArgs) ElementType ¶
func (GraphQLApiAdditionalAuthenticationProviderUserPoolConfigArgs) ElementType() reflect.Type
func (GraphQLApiAdditionalAuthenticationProviderUserPoolConfigArgs) ToGraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutput ¶
func (i GraphQLApiAdditionalAuthenticationProviderUserPoolConfigArgs) ToGraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutput() GraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutput
func (GraphQLApiAdditionalAuthenticationProviderUserPoolConfigArgs) ToGraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutputWithContext ¶
func (i GraphQLApiAdditionalAuthenticationProviderUserPoolConfigArgs) ToGraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutputWithContext(ctx context.Context) GraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutput
func (GraphQLApiAdditionalAuthenticationProviderUserPoolConfigArgs) ToGraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput ¶
func (i GraphQLApiAdditionalAuthenticationProviderUserPoolConfigArgs) ToGraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput() GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput
func (GraphQLApiAdditionalAuthenticationProviderUserPoolConfigArgs) ToGraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutputWithContext ¶
func (i GraphQLApiAdditionalAuthenticationProviderUserPoolConfigArgs) ToGraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutputWithContext(ctx context.Context) GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput
type GraphQLApiAdditionalAuthenticationProviderUserPoolConfigInput ¶
type GraphQLApiAdditionalAuthenticationProviderUserPoolConfigInput interface { pulumi.Input ToGraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutput() GraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutput ToGraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutputWithContext(context.Context) GraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutput }
GraphQLApiAdditionalAuthenticationProviderUserPoolConfigInput is an input type that accepts GraphQLApiAdditionalAuthenticationProviderUserPoolConfigArgs and GraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutput values. You can construct a concrete instance of `GraphQLApiAdditionalAuthenticationProviderUserPoolConfigInput` via:
GraphQLApiAdditionalAuthenticationProviderUserPoolConfigArgs{...}
type GraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutput ¶
type GraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutput struct{ *pulumi.OutputState }
func (GraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutput) AppIdClientRegex ¶
func (o GraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutput) AppIdClientRegex() pulumi.StringPtrOutput
A regular expression for validating the incoming Amazon Cognito User Pool app client ID.
func (GraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutput) AwsRegion ¶
func (o GraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutput) AwsRegion() pulumi.StringPtrOutput
The AWS region in which the user pool was created.
func (GraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutput) ElementType ¶
func (GraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutput) ElementType() reflect.Type
func (GraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutput) ToGraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutput ¶
func (o GraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutput) ToGraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutput() GraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutput
func (GraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutput) ToGraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutputWithContext ¶
func (o GraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutput) ToGraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutputWithContext(ctx context.Context) GraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutput
func (GraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutput) ToGraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput ¶
func (o GraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutput) ToGraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput() GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput
func (GraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutput) ToGraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutputWithContext ¶
func (o GraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutput) ToGraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutputWithContext(ctx context.Context) GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput
func (GraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutput) UserPoolId ¶
func (o GraphQLApiAdditionalAuthenticationProviderUserPoolConfigOutput) UserPoolId() pulumi.StringOutput
The user pool ID.
type GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrInput ¶
type GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrInput interface { pulumi.Input ToGraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput() GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput ToGraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutputWithContext(context.Context) GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput }
GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrInput is an input type that accepts GraphQLApiAdditionalAuthenticationProviderUserPoolConfigArgs, GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtr and GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput values. You can construct a concrete instance of `GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrInput` via:
GraphQLApiAdditionalAuthenticationProviderUserPoolConfigArgs{...} or: nil
func GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtr ¶
func GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtr(v *GraphQLApiAdditionalAuthenticationProviderUserPoolConfigArgs) GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrInput
type GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput ¶
type GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput struct{ *pulumi.OutputState }
func (GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput) AppIdClientRegex ¶
func (o GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput) AppIdClientRegex() pulumi.StringPtrOutput
A regular expression for validating the incoming Amazon Cognito User Pool app client ID.
func (GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput) AwsRegion ¶
func (o GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput) AwsRegion() pulumi.StringPtrOutput
The AWS region in which the user pool was created.
func (GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput) ElementType ¶
func (GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput) ElementType() reflect.Type
func (GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput) ToGraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput ¶
func (o GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput) ToGraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput() GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput
func (GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput) ToGraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutputWithContext ¶
func (o GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput) ToGraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutputWithContext(ctx context.Context) GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput
func (GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput) UserPoolId ¶
func (o GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrOutput) UserPoolId() pulumi.StringPtrOutput
The user pool ID.
type GraphQLApiArgs ¶
type GraphQLApiArgs struct { // One or more additional authentication providers for the GraphqlApi. Defined below. AdditionalAuthenticationProviders GraphQLApiAdditionalAuthenticationProviderArrayInput // The authentication type. Valid values: `API_KEY`, `AWS_IAM`, `AMAZON_COGNITO_USER_POOLS`, `OPENID_CONNECT` AuthenticationType pulumi.StringInput // Nested argument containing logging configuration. Defined below. LogConfig GraphQLApiLogConfigPtrInput // A user-supplied name for the GraphqlApi. Name pulumi.StringPtrInput // Nested argument containing OpenID Connect configuration. Defined below. OpenidConnectConfig GraphQLApiOpenidConnectConfigPtrInput // The schema definition, in GraphQL schema language format. This provider cannot perform drift detection of this configuration. Schema pulumi.StringPtrInput // A map of tags to assign to the resource. Tags pulumi.StringMapInput // The Amazon Cognito User Pool configuration. Defined below. UserPoolConfig GraphQLApiUserPoolConfigPtrInput // Whether tracing with X-ray is enabled. Defaults to false. XrayEnabled pulumi.BoolPtrInput }
The set of arguments for constructing a GraphQLApi resource.
func (GraphQLApiArgs) ElementType ¶
func (GraphQLApiArgs) ElementType() reflect.Type
type GraphQLApiLogConfig ¶
type GraphQLApiLogConfig struct { // Amazon Resource Name of the service role that AWS AppSync will assume to publish to Amazon CloudWatch logs in your account. CloudwatchLogsRoleArn string `pulumi:"cloudwatchLogsRoleArn"` // Set to TRUE to exclude sections that contain information such as headers, context, and evaluated mapping templates, regardless of logging level. Valid values: `true`, `false`. Default value: `false` ExcludeVerboseContent *bool `pulumi:"excludeVerboseContent"` // Field logging level. Valid values: `ALL`, `ERROR`, `NONE`. FieldLogLevel string `pulumi:"fieldLogLevel"` }
type GraphQLApiLogConfigArgs ¶
type GraphQLApiLogConfigArgs struct { // Amazon Resource Name of the service role that AWS AppSync will assume to publish to Amazon CloudWatch logs in your account. CloudwatchLogsRoleArn pulumi.StringInput `pulumi:"cloudwatchLogsRoleArn"` // Set to TRUE to exclude sections that contain information such as headers, context, and evaluated mapping templates, regardless of logging level. Valid values: `true`, `false`. Default value: `false` ExcludeVerboseContent pulumi.BoolPtrInput `pulumi:"excludeVerboseContent"` // Field logging level. Valid values: `ALL`, `ERROR`, `NONE`. FieldLogLevel pulumi.StringInput `pulumi:"fieldLogLevel"` }
func (GraphQLApiLogConfigArgs) ElementType ¶
func (GraphQLApiLogConfigArgs) ElementType() reflect.Type
func (GraphQLApiLogConfigArgs) ToGraphQLApiLogConfigOutput ¶
func (i GraphQLApiLogConfigArgs) ToGraphQLApiLogConfigOutput() GraphQLApiLogConfigOutput
func (GraphQLApiLogConfigArgs) ToGraphQLApiLogConfigOutputWithContext ¶
func (i GraphQLApiLogConfigArgs) ToGraphQLApiLogConfigOutputWithContext(ctx context.Context) GraphQLApiLogConfigOutput
func (GraphQLApiLogConfigArgs) ToGraphQLApiLogConfigPtrOutput ¶
func (i GraphQLApiLogConfigArgs) ToGraphQLApiLogConfigPtrOutput() GraphQLApiLogConfigPtrOutput
func (GraphQLApiLogConfigArgs) ToGraphQLApiLogConfigPtrOutputWithContext ¶
func (i GraphQLApiLogConfigArgs) ToGraphQLApiLogConfigPtrOutputWithContext(ctx context.Context) GraphQLApiLogConfigPtrOutput
type GraphQLApiLogConfigInput ¶
type GraphQLApiLogConfigInput interface { pulumi.Input ToGraphQLApiLogConfigOutput() GraphQLApiLogConfigOutput ToGraphQLApiLogConfigOutputWithContext(context.Context) GraphQLApiLogConfigOutput }
GraphQLApiLogConfigInput is an input type that accepts GraphQLApiLogConfigArgs and GraphQLApiLogConfigOutput values. You can construct a concrete instance of `GraphQLApiLogConfigInput` via:
GraphQLApiLogConfigArgs{...}
type GraphQLApiLogConfigOutput ¶
type GraphQLApiLogConfigOutput struct{ *pulumi.OutputState }
func (GraphQLApiLogConfigOutput) CloudwatchLogsRoleArn ¶
func (o GraphQLApiLogConfigOutput) CloudwatchLogsRoleArn() pulumi.StringOutput
Amazon Resource Name of the service role that AWS AppSync will assume to publish to Amazon CloudWatch logs in your account.
func (GraphQLApiLogConfigOutput) ElementType ¶
func (GraphQLApiLogConfigOutput) ElementType() reflect.Type
func (GraphQLApiLogConfigOutput) ExcludeVerboseContent ¶
func (o GraphQLApiLogConfigOutput) ExcludeVerboseContent() pulumi.BoolPtrOutput
Set to TRUE to exclude sections that contain information such as headers, context, and evaluated mapping templates, regardless of logging level. Valid values: `true`, `false`. Default value: `false`
func (GraphQLApiLogConfigOutput) FieldLogLevel ¶
func (o GraphQLApiLogConfigOutput) FieldLogLevel() pulumi.StringOutput
Field logging level. Valid values: `ALL`, `ERROR`, `NONE`.
func (GraphQLApiLogConfigOutput) ToGraphQLApiLogConfigOutput ¶
func (o GraphQLApiLogConfigOutput) ToGraphQLApiLogConfigOutput() GraphQLApiLogConfigOutput
func (GraphQLApiLogConfigOutput) ToGraphQLApiLogConfigOutputWithContext ¶
func (o GraphQLApiLogConfigOutput) ToGraphQLApiLogConfigOutputWithContext(ctx context.Context) GraphQLApiLogConfigOutput
func (GraphQLApiLogConfigOutput) ToGraphQLApiLogConfigPtrOutput ¶
func (o GraphQLApiLogConfigOutput) ToGraphQLApiLogConfigPtrOutput() GraphQLApiLogConfigPtrOutput
func (GraphQLApiLogConfigOutput) ToGraphQLApiLogConfigPtrOutputWithContext ¶
func (o GraphQLApiLogConfigOutput) ToGraphQLApiLogConfigPtrOutputWithContext(ctx context.Context) GraphQLApiLogConfigPtrOutput
type GraphQLApiLogConfigPtrInput ¶
type GraphQLApiLogConfigPtrInput interface { pulumi.Input ToGraphQLApiLogConfigPtrOutput() GraphQLApiLogConfigPtrOutput ToGraphQLApiLogConfigPtrOutputWithContext(context.Context) GraphQLApiLogConfigPtrOutput }
GraphQLApiLogConfigPtrInput is an input type that accepts GraphQLApiLogConfigArgs, GraphQLApiLogConfigPtr and GraphQLApiLogConfigPtrOutput values. You can construct a concrete instance of `GraphQLApiLogConfigPtrInput` via:
GraphQLApiLogConfigArgs{...} or: nil
func GraphQLApiLogConfigPtr ¶
func GraphQLApiLogConfigPtr(v *GraphQLApiLogConfigArgs) GraphQLApiLogConfigPtrInput
type GraphQLApiLogConfigPtrOutput ¶
type GraphQLApiLogConfigPtrOutput struct{ *pulumi.OutputState }
func (GraphQLApiLogConfigPtrOutput) CloudwatchLogsRoleArn ¶
func (o GraphQLApiLogConfigPtrOutput) CloudwatchLogsRoleArn() pulumi.StringPtrOutput
Amazon Resource Name of the service role that AWS AppSync will assume to publish to Amazon CloudWatch logs in your account.
func (GraphQLApiLogConfigPtrOutput) Elem ¶
func (o GraphQLApiLogConfigPtrOutput) Elem() GraphQLApiLogConfigOutput
func (GraphQLApiLogConfigPtrOutput) ElementType ¶
func (GraphQLApiLogConfigPtrOutput) ElementType() reflect.Type
func (GraphQLApiLogConfigPtrOutput) ExcludeVerboseContent ¶
func (o GraphQLApiLogConfigPtrOutput) ExcludeVerboseContent() pulumi.BoolPtrOutput
Set to TRUE to exclude sections that contain information such as headers, context, and evaluated mapping templates, regardless of logging level. Valid values: `true`, `false`. Default value: `false`
func (GraphQLApiLogConfigPtrOutput) FieldLogLevel ¶
func (o GraphQLApiLogConfigPtrOutput) FieldLogLevel() pulumi.StringPtrOutput
Field logging level. Valid values: `ALL`, `ERROR`, `NONE`.
func (GraphQLApiLogConfigPtrOutput) ToGraphQLApiLogConfigPtrOutput ¶
func (o GraphQLApiLogConfigPtrOutput) ToGraphQLApiLogConfigPtrOutput() GraphQLApiLogConfigPtrOutput
func (GraphQLApiLogConfigPtrOutput) ToGraphQLApiLogConfigPtrOutputWithContext ¶
func (o GraphQLApiLogConfigPtrOutput) ToGraphQLApiLogConfigPtrOutputWithContext(ctx context.Context) GraphQLApiLogConfigPtrOutput
type GraphQLApiOpenidConnectConfig ¶
type GraphQLApiOpenidConnectConfig struct { // Number of milliseconds a token is valid after being authenticated. AuthTtl *int `pulumi:"authTtl"` // Client identifier of the Relying party at the OpenID identity provider. This identifier is typically obtained when the Relying party is registered with the OpenID identity provider. You can specify a regular expression so the AWS AppSync can validate against multiple client identifiers at a time. ClientId *string `pulumi:"clientId"` // Number of milliseconds a token is valid after being issued to a user. IatTtl *int `pulumi:"iatTtl"` // Issuer for the OpenID Connect configuration. The issuer returned by discovery MUST exactly match the value of iss in the ID Token. Issuer string `pulumi:"issuer"` }
type GraphQLApiOpenidConnectConfigArgs ¶
type GraphQLApiOpenidConnectConfigArgs struct { // Number of milliseconds a token is valid after being authenticated. AuthTtl pulumi.IntPtrInput `pulumi:"authTtl"` // Client identifier of the Relying party at the OpenID identity provider. This identifier is typically obtained when the Relying party is registered with the OpenID identity provider. You can specify a regular expression so the AWS AppSync can validate against multiple client identifiers at a time. ClientId pulumi.StringPtrInput `pulumi:"clientId"` // Number of milliseconds a token is valid after being issued to a user. IatTtl pulumi.IntPtrInput `pulumi:"iatTtl"` // Issuer for the OpenID Connect configuration. The issuer returned by discovery MUST exactly match the value of iss in the ID Token. Issuer pulumi.StringInput `pulumi:"issuer"` }
func (GraphQLApiOpenidConnectConfigArgs) ElementType ¶
func (GraphQLApiOpenidConnectConfigArgs) ElementType() reflect.Type
func (GraphQLApiOpenidConnectConfigArgs) ToGraphQLApiOpenidConnectConfigOutput ¶
func (i GraphQLApiOpenidConnectConfigArgs) ToGraphQLApiOpenidConnectConfigOutput() GraphQLApiOpenidConnectConfigOutput
func (GraphQLApiOpenidConnectConfigArgs) ToGraphQLApiOpenidConnectConfigOutputWithContext ¶
func (i GraphQLApiOpenidConnectConfigArgs) ToGraphQLApiOpenidConnectConfigOutputWithContext(ctx context.Context) GraphQLApiOpenidConnectConfigOutput
func (GraphQLApiOpenidConnectConfigArgs) ToGraphQLApiOpenidConnectConfigPtrOutput ¶
func (i GraphQLApiOpenidConnectConfigArgs) ToGraphQLApiOpenidConnectConfigPtrOutput() GraphQLApiOpenidConnectConfigPtrOutput
func (GraphQLApiOpenidConnectConfigArgs) ToGraphQLApiOpenidConnectConfigPtrOutputWithContext ¶
func (i GraphQLApiOpenidConnectConfigArgs) ToGraphQLApiOpenidConnectConfigPtrOutputWithContext(ctx context.Context) GraphQLApiOpenidConnectConfigPtrOutput
type GraphQLApiOpenidConnectConfigInput ¶
type GraphQLApiOpenidConnectConfigInput interface { pulumi.Input ToGraphQLApiOpenidConnectConfigOutput() GraphQLApiOpenidConnectConfigOutput ToGraphQLApiOpenidConnectConfigOutputWithContext(context.Context) GraphQLApiOpenidConnectConfigOutput }
GraphQLApiOpenidConnectConfigInput is an input type that accepts GraphQLApiOpenidConnectConfigArgs and GraphQLApiOpenidConnectConfigOutput values. You can construct a concrete instance of `GraphQLApiOpenidConnectConfigInput` via:
GraphQLApiOpenidConnectConfigArgs{...}
type GraphQLApiOpenidConnectConfigOutput ¶
type GraphQLApiOpenidConnectConfigOutput struct{ *pulumi.OutputState }
func (GraphQLApiOpenidConnectConfigOutput) AuthTtl ¶
func (o GraphQLApiOpenidConnectConfigOutput) AuthTtl() pulumi.IntPtrOutput
Number of milliseconds a token is valid after being authenticated.
func (GraphQLApiOpenidConnectConfigOutput) ClientId ¶
func (o GraphQLApiOpenidConnectConfigOutput) ClientId() pulumi.StringPtrOutput
Client identifier of the Relying party at the OpenID identity provider. This identifier is typically obtained when the Relying party is registered with the OpenID identity provider. You can specify a regular expression so the AWS AppSync can validate against multiple client identifiers at a time.
func (GraphQLApiOpenidConnectConfigOutput) ElementType ¶
func (GraphQLApiOpenidConnectConfigOutput) ElementType() reflect.Type
func (GraphQLApiOpenidConnectConfigOutput) IatTtl ¶
func (o GraphQLApiOpenidConnectConfigOutput) IatTtl() pulumi.IntPtrOutput
Number of milliseconds a token is valid after being issued to a user.
func (GraphQLApiOpenidConnectConfigOutput) Issuer ¶
func (o GraphQLApiOpenidConnectConfigOutput) Issuer() pulumi.StringOutput
Issuer for the OpenID Connect configuration. The issuer returned by discovery MUST exactly match the value of iss in the ID Token.
func (GraphQLApiOpenidConnectConfigOutput) ToGraphQLApiOpenidConnectConfigOutput ¶
func (o GraphQLApiOpenidConnectConfigOutput) ToGraphQLApiOpenidConnectConfigOutput() GraphQLApiOpenidConnectConfigOutput
func (GraphQLApiOpenidConnectConfigOutput) ToGraphQLApiOpenidConnectConfigOutputWithContext ¶
func (o GraphQLApiOpenidConnectConfigOutput) ToGraphQLApiOpenidConnectConfigOutputWithContext(ctx context.Context) GraphQLApiOpenidConnectConfigOutput
func (GraphQLApiOpenidConnectConfigOutput) ToGraphQLApiOpenidConnectConfigPtrOutput ¶
func (o GraphQLApiOpenidConnectConfigOutput) ToGraphQLApiOpenidConnectConfigPtrOutput() GraphQLApiOpenidConnectConfigPtrOutput
func (GraphQLApiOpenidConnectConfigOutput) ToGraphQLApiOpenidConnectConfigPtrOutputWithContext ¶
func (o GraphQLApiOpenidConnectConfigOutput) ToGraphQLApiOpenidConnectConfigPtrOutputWithContext(ctx context.Context) GraphQLApiOpenidConnectConfigPtrOutput
type GraphQLApiOpenidConnectConfigPtrInput ¶
type GraphQLApiOpenidConnectConfigPtrInput interface { pulumi.Input ToGraphQLApiOpenidConnectConfigPtrOutput() GraphQLApiOpenidConnectConfigPtrOutput ToGraphQLApiOpenidConnectConfigPtrOutputWithContext(context.Context) GraphQLApiOpenidConnectConfigPtrOutput }
GraphQLApiOpenidConnectConfigPtrInput is an input type that accepts GraphQLApiOpenidConnectConfigArgs, GraphQLApiOpenidConnectConfigPtr and GraphQLApiOpenidConnectConfigPtrOutput values. You can construct a concrete instance of `GraphQLApiOpenidConnectConfigPtrInput` via:
GraphQLApiOpenidConnectConfigArgs{...} or: nil
func GraphQLApiOpenidConnectConfigPtr ¶
func GraphQLApiOpenidConnectConfigPtr(v *GraphQLApiOpenidConnectConfigArgs) GraphQLApiOpenidConnectConfigPtrInput
type GraphQLApiOpenidConnectConfigPtrOutput ¶
type GraphQLApiOpenidConnectConfigPtrOutput struct{ *pulumi.OutputState }
func (GraphQLApiOpenidConnectConfigPtrOutput) AuthTtl ¶
func (o GraphQLApiOpenidConnectConfigPtrOutput) AuthTtl() pulumi.IntPtrOutput
Number of milliseconds a token is valid after being authenticated.
func (GraphQLApiOpenidConnectConfigPtrOutput) ClientId ¶
func (o GraphQLApiOpenidConnectConfigPtrOutput) ClientId() pulumi.StringPtrOutput
Client identifier of the Relying party at the OpenID identity provider. This identifier is typically obtained when the Relying party is registered with the OpenID identity provider. You can specify a regular expression so the AWS AppSync can validate against multiple client identifiers at a time.
func (GraphQLApiOpenidConnectConfigPtrOutput) ElementType ¶
func (GraphQLApiOpenidConnectConfigPtrOutput) ElementType() reflect.Type
func (GraphQLApiOpenidConnectConfigPtrOutput) IatTtl ¶
func (o GraphQLApiOpenidConnectConfigPtrOutput) IatTtl() pulumi.IntPtrOutput
Number of milliseconds a token is valid after being issued to a user.
func (GraphQLApiOpenidConnectConfigPtrOutput) Issuer ¶
func (o GraphQLApiOpenidConnectConfigPtrOutput) Issuer() pulumi.StringPtrOutput
Issuer for the OpenID Connect configuration. The issuer returned by discovery MUST exactly match the value of iss in the ID Token.
func (GraphQLApiOpenidConnectConfigPtrOutput) ToGraphQLApiOpenidConnectConfigPtrOutput ¶
func (o GraphQLApiOpenidConnectConfigPtrOutput) ToGraphQLApiOpenidConnectConfigPtrOutput() GraphQLApiOpenidConnectConfigPtrOutput
func (GraphQLApiOpenidConnectConfigPtrOutput) ToGraphQLApiOpenidConnectConfigPtrOutputWithContext ¶
func (o GraphQLApiOpenidConnectConfigPtrOutput) ToGraphQLApiOpenidConnectConfigPtrOutputWithContext(ctx context.Context) GraphQLApiOpenidConnectConfigPtrOutput
type GraphQLApiState ¶
type GraphQLApiState struct { // One or more additional authentication providers for the GraphqlApi. Defined below. AdditionalAuthenticationProviders GraphQLApiAdditionalAuthenticationProviderArrayInput // The ARN Arn pulumi.StringPtrInput // The authentication type. Valid values: `API_KEY`, `AWS_IAM`, `AMAZON_COGNITO_USER_POOLS`, `OPENID_CONNECT` AuthenticationType pulumi.StringPtrInput // Nested argument containing logging configuration. Defined below. LogConfig GraphQLApiLogConfigPtrInput // A user-supplied name for the GraphqlApi. Name pulumi.StringPtrInput // Nested argument containing OpenID Connect configuration. Defined below. OpenidConnectConfig GraphQLApiOpenidConnectConfigPtrInput // The schema definition, in GraphQL schema language format. This provider cannot perform drift detection of this configuration. Schema pulumi.StringPtrInput // A map of tags to assign to the resource. Tags pulumi.StringMapInput // Map of URIs associated with the API. e.g. `uris["GRAPHQL"] = https://ID.appsync-api.REGION.amazonaws.com/graphql` Uris pulumi.StringMapInput // The Amazon Cognito User Pool configuration. Defined below. UserPoolConfig GraphQLApiUserPoolConfigPtrInput // Whether tracing with X-ray is enabled. Defaults to false. XrayEnabled pulumi.BoolPtrInput }
func (GraphQLApiState) ElementType ¶
func (GraphQLApiState) ElementType() reflect.Type
type GraphQLApiUserPoolConfig ¶
type GraphQLApiUserPoolConfig struct { // A regular expression for validating the incoming Amazon Cognito User Pool app client ID. AppIdClientRegex *string `pulumi:"appIdClientRegex"` // The AWS region in which the user pool was created. AwsRegion *string `pulumi:"awsRegion"` // The action that you want your GraphQL API to take when a request that uses Amazon Cognito User Pool authentication doesn't match the Amazon Cognito User Pool configuration. Valid: `ALLOW` and `DENY` DefaultAction string `pulumi:"defaultAction"` // The user pool ID. UserPoolId string `pulumi:"userPoolId"` }
type GraphQLApiUserPoolConfigArgs ¶
type GraphQLApiUserPoolConfigArgs struct { // A regular expression for validating the incoming Amazon Cognito User Pool app client ID. AppIdClientRegex pulumi.StringPtrInput `pulumi:"appIdClientRegex"` // The AWS region in which the user pool was created. AwsRegion pulumi.StringPtrInput `pulumi:"awsRegion"` // The action that you want your GraphQL API to take when a request that uses Amazon Cognito User Pool authentication doesn't match the Amazon Cognito User Pool configuration. Valid: `ALLOW` and `DENY` DefaultAction pulumi.StringInput `pulumi:"defaultAction"` // The user pool ID. UserPoolId pulumi.StringInput `pulumi:"userPoolId"` }
func (GraphQLApiUserPoolConfigArgs) ElementType ¶
func (GraphQLApiUserPoolConfigArgs) ElementType() reflect.Type
func (GraphQLApiUserPoolConfigArgs) ToGraphQLApiUserPoolConfigOutput ¶
func (i GraphQLApiUserPoolConfigArgs) ToGraphQLApiUserPoolConfigOutput() GraphQLApiUserPoolConfigOutput
func (GraphQLApiUserPoolConfigArgs) ToGraphQLApiUserPoolConfigOutputWithContext ¶
func (i GraphQLApiUserPoolConfigArgs) ToGraphQLApiUserPoolConfigOutputWithContext(ctx context.Context) GraphQLApiUserPoolConfigOutput
func (GraphQLApiUserPoolConfigArgs) ToGraphQLApiUserPoolConfigPtrOutput ¶
func (i GraphQLApiUserPoolConfigArgs) ToGraphQLApiUserPoolConfigPtrOutput() GraphQLApiUserPoolConfigPtrOutput
func (GraphQLApiUserPoolConfigArgs) ToGraphQLApiUserPoolConfigPtrOutputWithContext ¶
func (i GraphQLApiUserPoolConfigArgs) ToGraphQLApiUserPoolConfigPtrOutputWithContext(ctx context.Context) GraphQLApiUserPoolConfigPtrOutput
type GraphQLApiUserPoolConfigInput ¶
type GraphQLApiUserPoolConfigInput interface { pulumi.Input ToGraphQLApiUserPoolConfigOutput() GraphQLApiUserPoolConfigOutput ToGraphQLApiUserPoolConfigOutputWithContext(context.Context) GraphQLApiUserPoolConfigOutput }
GraphQLApiUserPoolConfigInput is an input type that accepts GraphQLApiUserPoolConfigArgs and GraphQLApiUserPoolConfigOutput values. You can construct a concrete instance of `GraphQLApiUserPoolConfigInput` via:
GraphQLApiUserPoolConfigArgs{...}
type GraphQLApiUserPoolConfigOutput ¶
type GraphQLApiUserPoolConfigOutput struct{ *pulumi.OutputState }
func (GraphQLApiUserPoolConfigOutput) AppIdClientRegex ¶
func (o GraphQLApiUserPoolConfigOutput) AppIdClientRegex() pulumi.StringPtrOutput
A regular expression for validating the incoming Amazon Cognito User Pool app client ID.
func (GraphQLApiUserPoolConfigOutput) AwsRegion ¶
func (o GraphQLApiUserPoolConfigOutput) AwsRegion() pulumi.StringPtrOutput
The AWS region in which the user pool was created.
func (GraphQLApiUserPoolConfigOutput) DefaultAction ¶
func (o GraphQLApiUserPoolConfigOutput) DefaultAction() pulumi.StringOutput
The action that you want your GraphQL API to take when a request that uses Amazon Cognito User Pool authentication doesn't match the Amazon Cognito User Pool configuration. Valid: `ALLOW` and `DENY`
func (GraphQLApiUserPoolConfigOutput) ElementType ¶
func (GraphQLApiUserPoolConfigOutput) ElementType() reflect.Type
func (GraphQLApiUserPoolConfigOutput) ToGraphQLApiUserPoolConfigOutput ¶
func (o GraphQLApiUserPoolConfigOutput) ToGraphQLApiUserPoolConfigOutput() GraphQLApiUserPoolConfigOutput
func (GraphQLApiUserPoolConfigOutput) ToGraphQLApiUserPoolConfigOutputWithContext ¶
func (o GraphQLApiUserPoolConfigOutput) ToGraphQLApiUserPoolConfigOutputWithContext(ctx context.Context) GraphQLApiUserPoolConfigOutput
func (GraphQLApiUserPoolConfigOutput) ToGraphQLApiUserPoolConfigPtrOutput ¶
func (o GraphQLApiUserPoolConfigOutput) ToGraphQLApiUserPoolConfigPtrOutput() GraphQLApiUserPoolConfigPtrOutput
func (GraphQLApiUserPoolConfigOutput) ToGraphQLApiUserPoolConfigPtrOutputWithContext ¶
func (o GraphQLApiUserPoolConfigOutput) ToGraphQLApiUserPoolConfigPtrOutputWithContext(ctx context.Context) GraphQLApiUserPoolConfigPtrOutput
func (GraphQLApiUserPoolConfigOutput) UserPoolId ¶
func (o GraphQLApiUserPoolConfigOutput) UserPoolId() pulumi.StringOutput
The user pool ID.
type GraphQLApiUserPoolConfigPtrInput ¶
type GraphQLApiUserPoolConfigPtrInput interface { pulumi.Input ToGraphQLApiUserPoolConfigPtrOutput() GraphQLApiUserPoolConfigPtrOutput ToGraphQLApiUserPoolConfigPtrOutputWithContext(context.Context) GraphQLApiUserPoolConfigPtrOutput }
GraphQLApiUserPoolConfigPtrInput is an input type that accepts GraphQLApiUserPoolConfigArgs, GraphQLApiUserPoolConfigPtr and GraphQLApiUserPoolConfigPtrOutput values. You can construct a concrete instance of `GraphQLApiUserPoolConfigPtrInput` via:
GraphQLApiUserPoolConfigArgs{...} or: nil
func GraphQLApiUserPoolConfigPtr ¶
func GraphQLApiUserPoolConfigPtr(v *GraphQLApiUserPoolConfigArgs) GraphQLApiUserPoolConfigPtrInput
type GraphQLApiUserPoolConfigPtrOutput ¶
type GraphQLApiUserPoolConfigPtrOutput struct{ *pulumi.OutputState }
func (GraphQLApiUserPoolConfigPtrOutput) AppIdClientRegex ¶
func (o GraphQLApiUserPoolConfigPtrOutput) AppIdClientRegex() pulumi.StringPtrOutput
A regular expression for validating the incoming Amazon Cognito User Pool app client ID.
func (GraphQLApiUserPoolConfigPtrOutput) AwsRegion ¶
func (o GraphQLApiUserPoolConfigPtrOutput) AwsRegion() pulumi.StringPtrOutput
The AWS region in which the user pool was created.
func (GraphQLApiUserPoolConfigPtrOutput) DefaultAction ¶
func (o GraphQLApiUserPoolConfigPtrOutput) DefaultAction() pulumi.StringPtrOutput
The action that you want your GraphQL API to take when a request that uses Amazon Cognito User Pool authentication doesn't match the Amazon Cognito User Pool configuration. Valid: `ALLOW` and `DENY`
func (GraphQLApiUserPoolConfigPtrOutput) Elem ¶
func (o GraphQLApiUserPoolConfigPtrOutput) Elem() GraphQLApiUserPoolConfigOutput
func (GraphQLApiUserPoolConfigPtrOutput) ElementType ¶
func (GraphQLApiUserPoolConfigPtrOutput) ElementType() reflect.Type
func (GraphQLApiUserPoolConfigPtrOutput) ToGraphQLApiUserPoolConfigPtrOutput ¶
func (o GraphQLApiUserPoolConfigPtrOutput) ToGraphQLApiUserPoolConfigPtrOutput() GraphQLApiUserPoolConfigPtrOutput
func (GraphQLApiUserPoolConfigPtrOutput) ToGraphQLApiUserPoolConfigPtrOutputWithContext ¶
func (o GraphQLApiUserPoolConfigPtrOutput) ToGraphQLApiUserPoolConfigPtrOutputWithContext(ctx context.Context) GraphQLApiUserPoolConfigPtrOutput
func (GraphQLApiUserPoolConfigPtrOutput) UserPoolId ¶
func (o GraphQLApiUserPoolConfigPtrOutput) UserPoolId() pulumi.StringPtrOutput
The user pool ID.
type Resolver ¶
type Resolver struct { pulumi.CustomResourceState // The API ID for the GraphQL API. ApiId pulumi.StringOutput `pulumi:"apiId"` // The ARN Arn pulumi.StringOutput `pulumi:"arn"` // The CachingConfig. CachingConfig ResolverCachingConfigPtrOutput `pulumi:"cachingConfig"` // The DataSource name. DataSource pulumi.StringPtrOutput `pulumi:"dataSource"` // The field name from the schema defined in the GraphQL API. Field pulumi.StringOutput `pulumi:"field"` // The resolver type. Valid values are `UNIT` and `PIPELINE`. Kind pulumi.StringPtrOutput `pulumi:"kind"` // The PipelineConfig. PipelineConfig ResolverPipelineConfigPtrOutput `pulumi:"pipelineConfig"` // The request mapping template for UNIT resolver or 'before mapping template' for PIPELINE resolver. RequestTemplate pulumi.StringOutput `pulumi:"requestTemplate"` // The response mapping template for UNIT resolver or 'after mapping template' for PIPELINE resolver. ResponseTemplate pulumi.StringOutput `pulumi:"responseTemplate"` // The type name from the schema defined in the GraphQL API. Type pulumi.StringOutput `pulumi:"type"` }
Provides an AppSync Resolver.
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.
type ResolverArgs ¶
type ResolverArgs struct { // The API ID for the GraphQL API. ApiId pulumi.StringInput // The CachingConfig. CachingConfig ResolverCachingConfigPtrInput // The DataSource name. DataSource pulumi.StringPtrInput // The field name from the schema defined in the GraphQL API. Field pulumi.StringInput // The resolver type. Valid values are `UNIT` and `PIPELINE`. Kind pulumi.StringPtrInput // The PipelineConfig. PipelineConfig ResolverPipelineConfigPtrInput // The request mapping template for UNIT resolver or 'before mapping template' for PIPELINE resolver. RequestTemplate pulumi.StringInput // The response mapping template for UNIT resolver or 'after mapping template' for PIPELINE resolver. ResponseTemplate pulumi.StringInput // The type name from the schema defined in the GraphQL API. Type pulumi.StringInput }
The set of arguments for constructing a Resolver resource.
func (ResolverArgs) ElementType ¶
func (ResolverArgs) ElementType() reflect.Type
type ResolverCachingConfig ¶
type ResolverCachingConfigArgs ¶
type ResolverCachingConfigArgs struct { // The list of caching key. CachingKeys pulumi.StringArrayInput `pulumi:"cachingKeys"` // The TTL in seconds. Ttl pulumi.IntPtrInput `pulumi:"ttl"` }
func (ResolverCachingConfigArgs) ElementType ¶
func (ResolverCachingConfigArgs) ElementType() reflect.Type
func (ResolverCachingConfigArgs) ToResolverCachingConfigOutput ¶
func (i ResolverCachingConfigArgs) ToResolverCachingConfigOutput() ResolverCachingConfigOutput
func (ResolverCachingConfigArgs) ToResolverCachingConfigOutputWithContext ¶
func (i ResolverCachingConfigArgs) ToResolverCachingConfigOutputWithContext(ctx context.Context) ResolverCachingConfigOutput
func (ResolverCachingConfigArgs) ToResolverCachingConfigPtrOutput ¶
func (i ResolverCachingConfigArgs) ToResolverCachingConfigPtrOutput() ResolverCachingConfigPtrOutput
func (ResolverCachingConfigArgs) ToResolverCachingConfigPtrOutputWithContext ¶
func (i ResolverCachingConfigArgs) ToResolverCachingConfigPtrOutputWithContext(ctx context.Context) ResolverCachingConfigPtrOutput
type ResolverCachingConfigInput ¶
type ResolverCachingConfigInput interface { pulumi.Input ToResolverCachingConfigOutput() ResolverCachingConfigOutput ToResolverCachingConfigOutputWithContext(context.Context) ResolverCachingConfigOutput }
ResolverCachingConfigInput is an input type that accepts ResolverCachingConfigArgs and ResolverCachingConfigOutput values. You can construct a concrete instance of `ResolverCachingConfigInput` via:
ResolverCachingConfigArgs{...}
type ResolverCachingConfigOutput ¶
type ResolverCachingConfigOutput struct{ *pulumi.OutputState }
func (ResolverCachingConfigOutput) CachingKeys ¶
func (o ResolverCachingConfigOutput) CachingKeys() pulumi.StringArrayOutput
The list of caching key.
func (ResolverCachingConfigOutput) ElementType ¶
func (ResolverCachingConfigOutput) ElementType() reflect.Type
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 ¶
func (o ResolverCachingConfigOutput) Ttl() pulumi.IntPtrOutput
The TTL in seconds.
type ResolverCachingConfigPtrInput ¶
type ResolverCachingConfigPtrInput interface { pulumi.Input ToResolverCachingConfigPtrOutput() ResolverCachingConfigPtrOutput ToResolverCachingConfigPtrOutputWithContext(context.Context) ResolverCachingConfigPtrOutput }
ResolverCachingConfigPtrInput is an input type that accepts ResolverCachingConfigArgs, ResolverCachingConfigPtr and ResolverCachingConfigPtrOutput values. You can construct a concrete instance of `ResolverCachingConfigPtrInput` via:
ResolverCachingConfigArgs{...} or: nil
func ResolverCachingConfigPtr ¶
func ResolverCachingConfigPtr(v *ResolverCachingConfigArgs) ResolverCachingConfigPtrInput
type ResolverCachingConfigPtrOutput ¶
type ResolverCachingConfigPtrOutput struct{ *pulumi.OutputState }
func (ResolverCachingConfigPtrOutput) CachingKeys ¶
func (o ResolverCachingConfigPtrOutput) CachingKeys() pulumi.StringArrayOutput
The list of caching key.
func (ResolverCachingConfigPtrOutput) Elem ¶
func (o ResolverCachingConfigPtrOutput) Elem() ResolverCachingConfigOutput
func (ResolverCachingConfigPtrOutput) ElementType ¶
func (ResolverCachingConfigPtrOutput) ElementType() reflect.Type
func (ResolverCachingConfigPtrOutput) ToResolverCachingConfigPtrOutput ¶
func (o ResolverCachingConfigPtrOutput) ToResolverCachingConfigPtrOutput() ResolverCachingConfigPtrOutput
func (ResolverCachingConfigPtrOutput) ToResolverCachingConfigPtrOutputWithContext ¶
func (o ResolverCachingConfigPtrOutput) ToResolverCachingConfigPtrOutputWithContext(ctx context.Context) ResolverCachingConfigPtrOutput
func (ResolverCachingConfigPtrOutput) Ttl ¶
func (o ResolverCachingConfigPtrOutput) Ttl() pulumi.IntPtrOutput
The TTL in seconds.
type ResolverPipelineConfig ¶
type ResolverPipelineConfig struct { // The list of Function ID. Functions []string `pulumi:"functions"` }
type ResolverPipelineConfigArgs ¶
type ResolverPipelineConfigArgs struct { // The list of Function ID. Functions pulumi.StringArrayInput `pulumi:"functions"` }
func (ResolverPipelineConfigArgs) ElementType ¶
func (ResolverPipelineConfigArgs) ElementType() reflect.Type
func (ResolverPipelineConfigArgs) ToResolverPipelineConfigOutput ¶
func (i ResolverPipelineConfigArgs) ToResolverPipelineConfigOutput() ResolverPipelineConfigOutput
func (ResolverPipelineConfigArgs) ToResolverPipelineConfigOutputWithContext ¶
func (i ResolverPipelineConfigArgs) ToResolverPipelineConfigOutputWithContext(ctx context.Context) ResolverPipelineConfigOutput
func (ResolverPipelineConfigArgs) ToResolverPipelineConfigPtrOutput ¶
func (i ResolverPipelineConfigArgs) ToResolverPipelineConfigPtrOutput() ResolverPipelineConfigPtrOutput
func (ResolverPipelineConfigArgs) ToResolverPipelineConfigPtrOutputWithContext ¶
func (i ResolverPipelineConfigArgs) ToResolverPipelineConfigPtrOutputWithContext(ctx context.Context) ResolverPipelineConfigPtrOutput
type ResolverPipelineConfigInput ¶
type ResolverPipelineConfigInput interface { pulumi.Input ToResolverPipelineConfigOutput() ResolverPipelineConfigOutput ToResolverPipelineConfigOutputWithContext(context.Context) ResolverPipelineConfigOutput }
ResolverPipelineConfigInput is an input type that accepts ResolverPipelineConfigArgs and ResolverPipelineConfigOutput values. You can construct a concrete instance of `ResolverPipelineConfigInput` via:
ResolverPipelineConfigArgs{...}
type ResolverPipelineConfigOutput ¶
type ResolverPipelineConfigOutput struct{ *pulumi.OutputState }
func (ResolverPipelineConfigOutput) ElementType ¶
func (ResolverPipelineConfigOutput) ElementType() reflect.Type
func (ResolverPipelineConfigOutput) Functions ¶
func (o ResolverPipelineConfigOutput) Functions() pulumi.StringArrayOutput
The list of Function ID.
func (ResolverPipelineConfigOutput) ToResolverPipelineConfigOutput ¶
func (o ResolverPipelineConfigOutput) ToResolverPipelineConfigOutput() ResolverPipelineConfigOutput
func (ResolverPipelineConfigOutput) ToResolverPipelineConfigOutputWithContext ¶
func (o ResolverPipelineConfigOutput) ToResolverPipelineConfigOutputWithContext(ctx context.Context) ResolverPipelineConfigOutput
func (ResolverPipelineConfigOutput) ToResolverPipelineConfigPtrOutput ¶
func (o ResolverPipelineConfigOutput) ToResolverPipelineConfigPtrOutput() ResolverPipelineConfigPtrOutput
func (ResolverPipelineConfigOutput) ToResolverPipelineConfigPtrOutputWithContext ¶
func (o ResolverPipelineConfigOutput) ToResolverPipelineConfigPtrOutputWithContext(ctx context.Context) ResolverPipelineConfigPtrOutput
type ResolverPipelineConfigPtrInput ¶
type ResolverPipelineConfigPtrInput interface { pulumi.Input ToResolverPipelineConfigPtrOutput() ResolverPipelineConfigPtrOutput ToResolverPipelineConfigPtrOutputWithContext(context.Context) ResolverPipelineConfigPtrOutput }
ResolverPipelineConfigPtrInput is an input type that accepts ResolverPipelineConfigArgs, ResolverPipelineConfigPtr and ResolverPipelineConfigPtrOutput values. You can construct a concrete instance of `ResolverPipelineConfigPtrInput` via:
ResolverPipelineConfigArgs{...} or: nil
func ResolverPipelineConfigPtr ¶
func ResolverPipelineConfigPtr(v *ResolverPipelineConfigArgs) ResolverPipelineConfigPtrInput
type ResolverPipelineConfigPtrOutput ¶
type ResolverPipelineConfigPtrOutput struct{ *pulumi.OutputState }
func (ResolverPipelineConfigPtrOutput) Elem ¶
func (o ResolverPipelineConfigPtrOutput) Elem() ResolverPipelineConfigOutput
func (ResolverPipelineConfigPtrOutput) ElementType ¶
func (ResolverPipelineConfigPtrOutput) ElementType() reflect.Type
func (ResolverPipelineConfigPtrOutput) Functions ¶
func (o ResolverPipelineConfigPtrOutput) Functions() pulumi.StringArrayOutput
The list of Function ID.
func (ResolverPipelineConfigPtrOutput) ToResolverPipelineConfigPtrOutput ¶
func (o ResolverPipelineConfigPtrOutput) ToResolverPipelineConfigPtrOutput() ResolverPipelineConfigPtrOutput
func (ResolverPipelineConfigPtrOutput) ToResolverPipelineConfigPtrOutputWithContext ¶
func (o ResolverPipelineConfigPtrOutput) ToResolverPipelineConfigPtrOutputWithContext(ctx context.Context) ResolverPipelineConfigPtrOutput
type ResolverState ¶
type ResolverState struct { // The API ID for the GraphQL API. ApiId pulumi.StringPtrInput // The ARN Arn pulumi.StringPtrInput // The CachingConfig. CachingConfig ResolverCachingConfigPtrInput // The DataSource name. DataSource pulumi.StringPtrInput // The field name from the schema defined in the GraphQL API. Field pulumi.StringPtrInput // The resolver type. Valid values are `UNIT` and `PIPELINE`. Kind pulumi.StringPtrInput // The PipelineConfig. PipelineConfig ResolverPipelineConfigPtrInput // The request mapping template for UNIT resolver or 'before mapping template' for PIPELINE resolver. RequestTemplate pulumi.StringPtrInput // The response mapping template for UNIT resolver or 'after mapping template' for PIPELINE resolver. ResponseTemplate pulumi.StringPtrInput // The type name from the schema defined in the GraphQL API. Type pulumi.StringPtrInput }
func (ResolverState) ElementType ¶
func (ResolverState) ElementType() reflect.Type