Documentation ¶
Index ¶
- type ApiKey
- func (*ApiKey) ElementType() reflect.Type
- func (i *ApiKey) ToApiKeyOutput() ApiKeyOutput
- func (i *ApiKey) ToApiKeyOutputWithContext(ctx context.Context) ApiKeyOutput
- func (i *ApiKey) ToApiKeyPtrOutput() ApiKeyPtrOutput
- func (i *ApiKey) ToApiKeyPtrOutputWithContext(ctx context.Context) ApiKeyPtrOutput
- type ApiKeyArgs
- type ApiKeyArray
- type ApiKeyArrayInput
- type ApiKeyArrayOutput
- type ApiKeyInput
- type ApiKeyMap
- type ApiKeyMapInput
- type ApiKeyMapOutput
- type ApiKeyOutput
- func (ApiKeyOutput) ElementType() reflect.Type
- func (o ApiKeyOutput) ToApiKeyOutput() ApiKeyOutput
- func (o ApiKeyOutput) ToApiKeyOutputWithContext(ctx context.Context) ApiKeyOutput
- func (o ApiKeyOutput) ToApiKeyPtrOutput() ApiKeyPtrOutput
- func (o ApiKeyOutput) ToApiKeyPtrOutputWithContext(ctx context.Context) ApiKeyPtrOutput
- type ApiKeyPtrInput
- type ApiKeyPtrOutput
- type ApiKeyState
- type DataSource
- func (*DataSource) ElementType() reflect.Type
- func (i *DataSource) ToDataSourceOutput() DataSourceOutput
- func (i *DataSource) ToDataSourceOutputWithContext(ctx context.Context) DataSourceOutput
- func (i *DataSource) ToDataSourcePtrOutput() DataSourcePtrOutput
- func (i *DataSource) ToDataSourcePtrOutputWithContext(ctx context.Context) DataSourcePtrOutput
- type DataSourceArgs
- type DataSourceArray
- type DataSourceArrayInput
- type DataSourceArrayOutput
- func (DataSourceArrayOutput) ElementType() reflect.Type
- func (o DataSourceArrayOutput) Index(i pulumi.IntInput) DataSourceOutput
- func (o DataSourceArrayOutput) ToDataSourceArrayOutput() DataSourceArrayOutput
- func (o DataSourceArrayOutput) ToDataSourceArrayOutputWithContext(ctx context.Context) DataSourceArrayOutput
- 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 DataSourceInput
- 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 DataSourceMap
- type DataSourceMapInput
- type DataSourceMapOutput
- func (DataSourceMapOutput) ElementType() reflect.Type
- func (o DataSourceMapOutput) MapIndex(k pulumi.StringInput) DataSourceOutput
- func (o DataSourceMapOutput) ToDataSourceMapOutput() DataSourceMapOutput
- func (o DataSourceMapOutput) ToDataSourceMapOutputWithContext(ctx context.Context) DataSourceMapOutput
- type DataSourceOutput
- func (DataSourceOutput) ElementType() reflect.Type
- func (o DataSourceOutput) ToDataSourceOutput() DataSourceOutput
- func (o DataSourceOutput) ToDataSourceOutputWithContext(ctx context.Context) DataSourceOutput
- func (o DataSourceOutput) ToDataSourcePtrOutput() DataSourcePtrOutput
- func (o DataSourceOutput) ToDataSourcePtrOutputWithContext(ctx context.Context) DataSourcePtrOutput
- type DataSourcePtrInput
- type DataSourcePtrOutput
- type DataSourceState
- type Function
- func (*Function) ElementType() reflect.Type
- func (i *Function) ToFunctionOutput() FunctionOutput
- func (i *Function) ToFunctionOutputWithContext(ctx context.Context) FunctionOutput
- func (i *Function) ToFunctionPtrOutput() FunctionPtrOutput
- func (i *Function) ToFunctionPtrOutputWithContext(ctx context.Context) FunctionPtrOutput
- type FunctionArgs
- type FunctionArray
- type FunctionArrayInput
- type FunctionArrayOutput
- type FunctionInput
- type FunctionMap
- type FunctionMapInput
- type FunctionMapOutput
- type FunctionOutput
- func (FunctionOutput) ElementType() reflect.Type
- func (o FunctionOutput) ToFunctionOutput() FunctionOutput
- func (o FunctionOutput) ToFunctionOutputWithContext(ctx context.Context) FunctionOutput
- func (o FunctionOutput) ToFunctionPtrOutput() FunctionPtrOutput
- func (o FunctionOutput) ToFunctionPtrOutputWithContext(ctx context.Context) FunctionPtrOutput
- type FunctionPtrInput
- type FunctionPtrOutput
- type FunctionState
- type GraphQLApi
- func (*GraphQLApi) ElementType() reflect.Type
- func (i *GraphQLApi) ToGraphQLApiOutput() GraphQLApiOutput
- func (i *GraphQLApi) ToGraphQLApiOutputWithContext(ctx context.Context) GraphQLApiOutput
- func (i *GraphQLApi) ToGraphQLApiPtrOutput() GraphQLApiPtrOutput
- func (i *GraphQLApi) ToGraphQLApiPtrOutputWithContext(ctx context.Context) GraphQLApiPtrOutput
- 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 GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfig
- type GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigArgs
- func (GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigArgs) ElementType() reflect.Type
- func (i GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigArgs) ToGraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput() GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput
- func (i GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigArgs) ToGraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutputWithContext(ctx context.Context) GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput
- func (i GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigArgs) ToGraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput() GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput
- func (i GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigArgs) ToGraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutputWithContext(ctx context.Context) GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput
- type GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigInput
- type GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput
- func (o GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput) AuthorizerResultTtlInSeconds() pulumi.IntPtrOutput
- func (o GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput) AuthorizerUri() pulumi.StringOutput
- func (GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput) ElementType() reflect.Type
- func (o GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput) IdentityValidationExpression() pulumi.StringPtrOutput
- func (o GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput) ToGraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput() GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput
- func (o GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput) ToGraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutputWithContext(ctx context.Context) GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput
- func (o GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput) ToGraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput() GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput
- func (o GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput) ToGraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutputWithContext(ctx context.Context) GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput
- type GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrInput
- type GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput
- func (o GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput) AuthorizerResultTtlInSeconds() pulumi.IntPtrOutput
- func (o GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput) AuthorizerUri() pulumi.StringPtrOutput
- func (o GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput) Elem() GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput
- func (GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput) ElementType() reflect.Type
- func (o GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput) IdentityValidationExpression() pulumi.StringPtrOutput
- func (o GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput) ToGraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput() GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput
- func (o GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput) ToGraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutputWithContext(ctx context.Context) GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput
- 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) LambdaAuthorizerConfig() GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput
- 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 GraphQLApiArray
- type GraphQLApiArrayInput
- type GraphQLApiArrayOutput
- func (GraphQLApiArrayOutput) ElementType() reflect.Type
- func (o GraphQLApiArrayOutput) Index(i pulumi.IntInput) GraphQLApiOutput
- func (o GraphQLApiArrayOutput) ToGraphQLApiArrayOutput() GraphQLApiArrayOutput
- func (o GraphQLApiArrayOutput) ToGraphQLApiArrayOutputWithContext(ctx context.Context) GraphQLApiArrayOutput
- type GraphQLApiInput
- type GraphQLApiLambdaAuthorizerConfig
- type GraphQLApiLambdaAuthorizerConfigArgs
- func (GraphQLApiLambdaAuthorizerConfigArgs) ElementType() reflect.Type
- func (i GraphQLApiLambdaAuthorizerConfigArgs) ToGraphQLApiLambdaAuthorizerConfigOutput() GraphQLApiLambdaAuthorizerConfigOutput
- func (i GraphQLApiLambdaAuthorizerConfigArgs) ToGraphQLApiLambdaAuthorizerConfigOutputWithContext(ctx context.Context) GraphQLApiLambdaAuthorizerConfigOutput
- func (i GraphQLApiLambdaAuthorizerConfigArgs) ToGraphQLApiLambdaAuthorizerConfigPtrOutput() GraphQLApiLambdaAuthorizerConfigPtrOutput
- func (i GraphQLApiLambdaAuthorizerConfigArgs) ToGraphQLApiLambdaAuthorizerConfigPtrOutputWithContext(ctx context.Context) GraphQLApiLambdaAuthorizerConfigPtrOutput
- type GraphQLApiLambdaAuthorizerConfigInput
- type GraphQLApiLambdaAuthorizerConfigOutput
- func (o GraphQLApiLambdaAuthorizerConfigOutput) AuthorizerResultTtlInSeconds() pulumi.IntPtrOutput
- func (o GraphQLApiLambdaAuthorizerConfigOutput) AuthorizerUri() pulumi.StringOutput
- func (GraphQLApiLambdaAuthorizerConfigOutput) ElementType() reflect.Type
- func (o GraphQLApiLambdaAuthorizerConfigOutput) IdentityValidationExpression() pulumi.StringPtrOutput
- func (o GraphQLApiLambdaAuthorizerConfigOutput) ToGraphQLApiLambdaAuthorizerConfigOutput() GraphQLApiLambdaAuthorizerConfigOutput
- func (o GraphQLApiLambdaAuthorizerConfigOutput) ToGraphQLApiLambdaAuthorizerConfigOutputWithContext(ctx context.Context) GraphQLApiLambdaAuthorizerConfigOutput
- func (o GraphQLApiLambdaAuthorizerConfigOutput) ToGraphQLApiLambdaAuthorizerConfigPtrOutput() GraphQLApiLambdaAuthorizerConfigPtrOutput
- func (o GraphQLApiLambdaAuthorizerConfigOutput) ToGraphQLApiLambdaAuthorizerConfigPtrOutputWithContext(ctx context.Context) GraphQLApiLambdaAuthorizerConfigPtrOutput
- type GraphQLApiLambdaAuthorizerConfigPtrInput
- type GraphQLApiLambdaAuthorizerConfigPtrOutput
- func (o GraphQLApiLambdaAuthorizerConfigPtrOutput) AuthorizerResultTtlInSeconds() pulumi.IntPtrOutput
- func (o GraphQLApiLambdaAuthorizerConfigPtrOutput) AuthorizerUri() pulumi.StringPtrOutput
- func (o GraphQLApiLambdaAuthorizerConfigPtrOutput) Elem() GraphQLApiLambdaAuthorizerConfigOutput
- func (GraphQLApiLambdaAuthorizerConfigPtrOutput) ElementType() reflect.Type
- func (o GraphQLApiLambdaAuthorizerConfigPtrOutput) IdentityValidationExpression() pulumi.StringPtrOutput
- func (o GraphQLApiLambdaAuthorizerConfigPtrOutput) ToGraphQLApiLambdaAuthorizerConfigPtrOutput() GraphQLApiLambdaAuthorizerConfigPtrOutput
- func (o GraphQLApiLambdaAuthorizerConfigPtrOutput) ToGraphQLApiLambdaAuthorizerConfigPtrOutputWithContext(ctx context.Context) GraphQLApiLambdaAuthorizerConfigPtrOutput
- 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 GraphQLApiMap
- type GraphQLApiMapInput
- type GraphQLApiMapOutput
- func (GraphQLApiMapOutput) ElementType() reflect.Type
- func (o GraphQLApiMapOutput) MapIndex(k pulumi.StringInput) GraphQLApiOutput
- func (o GraphQLApiMapOutput) ToGraphQLApiMapOutput() GraphQLApiMapOutput
- func (o GraphQLApiMapOutput) ToGraphQLApiMapOutputWithContext(ctx context.Context) GraphQLApiMapOutput
- 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 GraphQLApiOutput
- func (GraphQLApiOutput) ElementType() reflect.Type
- func (o GraphQLApiOutput) ToGraphQLApiOutput() GraphQLApiOutput
- func (o GraphQLApiOutput) ToGraphQLApiOutputWithContext(ctx context.Context) GraphQLApiOutput
- func (o GraphQLApiOutput) ToGraphQLApiPtrOutput() GraphQLApiPtrOutput
- func (o GraphQLApiOutput) ToGraphQLApiPtrOutputWithContext(ctx context.Context) GraphQLApiPtrOutput
- type GraphQLApiPtrInput
- type GraphQLApiPtrOutput
- 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
- func (*Resolver) ElementType() reflect.Type
- func (i *Resolver) ToResolverOutput() ResolverOutput
- func (i *Resolver) ToResolverOutputWithContext(ctx context.Context) ResolverOutput
- func (i *Resolver) ToResolverPtrOutput() ResolverPtrOutput
- func (i *Resolver) ToResolverPtrOutputWithContext(ctx context.Context) ResolverPtrOutput
- type ResolverArgs
- type ResolverArray
- type ResolverArrayInput
- type ResolverArrayOutput
- 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 ResolverInput
- type ResolverMap
- type ResolverMapInput
- type ResolverMapOutput
- type ResolverOutput
- func (ResolverOutput) ElementType() reflect.Type
- func (o ResolverOutput) ToResolverOutput() ResolverOutput
- func (o ResolverOutput) ToResolverOutputWithContext(ctx context.Context) ResolverOutput
- func (o ResolverOutput) ToResolverPtrOutput() ResolverPtrOutput
- func (o ResolverOutput) ToResolverPtrOutputWithContext(ctx context.Context) ResolverPtrOutput
- 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 ResolverPtrInput
- type ResolverPtrOutput
- 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/v4/go/aws/appsync" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleGraphQLApi, err := appsync.NewGraphQLApi(ctx, "exampleGraphQLApi", &appsync.GraphQLApiArgs{ AuthenticationType: pulumi.String("API_KEY"), }) if err != nil { return err } _, err = appsync.NewApiKey(ctx, "exampleApiKey", &appsync.ApiKeyArgs{ ApiId: exampleGraphQLApi.ID(), Expires: pulumi.String("2018-05-03T04:00:00Z"), }) if err != nil { return err } return nil }) }
```
## Import
`aws_appsync_api_key` can be imported using the AppSync API ID and key separated by `:`, e.g.,
```sh
$ pulumi import aws:appsync/apiKey:ApiKey example xxxxx:yyyyy
```
func GetApiKey ¶
func GetApiKey(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ApiKeyState, opts ...pulumi.ResourceOption) (*ApiKey, error)
GetApiKey gets an existing ApiKey resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewApiKey ¶
func NewApiKey(ctx *pulumi.Context, name string, args *ApiKeyArgs, opts ...pulumi.ResourceOption) (*ApiKey, error)
NewApiKey registers a new resource with the given unique name, arguments, and options.
func (*ApiKey) ElementType ¶
func (*ApiKey) ToApiKeyOutput ¶
func (i *ApiKey) ToApiKeyOutput() ApiKeyOutput
func (*ApiKey) ToApiKeyOutputWithContext ¶
func (i *ApiKey) ToApiKeyOutputWithContext(ctx context.Context) ApiKeyOutput
func (*ApiKey) ToApiKeyPtrOutput ¶
func (i *ApiKey) ToApiKeyPtrOutput() ApiKeyPtrOutput
func (*ApiKey) ToApiKeyPtrOutputWithContext ¶
func (i *ApiKey) ToApiKeyPtrOutputWithContext(ctx context.Context) ApiKeyPtrOutput
type ApiKeyArgs ¶
type ApiKeyArgs struct { // The ID of the associated AppSync API ApiId pulumi.StringInput // The API key description. Defaults to "Managed by Pulumi". Description pulumi.StringPtrInput // RFC3339 string representation of the expiry date. Rounded down to nearest hour. By default, it is 7 days from the date of creation. Expires pulumi.StringPtrInput }
The set of arguments for constructing a ApiKey resource.
func (ApiKeyArgs) ElementType ¶
func (ApiKeyArgs) ElementType() reflect.Type
type ApiKeyArray ¶
type ApiKeyArray []ApiKeyInput
func (ApiKeyArray) ElementType ¶
func (ApiKeyArray) ElementType() reflect.Type
func (ApiKeyArray) ToApiKeyArrayOutput ¶
func (i ApiKeyArray) ToApiKeyArrayOutput() ApiKeyArrayOutput
func (ApiKeyArray) ToApiKeyArrayOutputWithContext ¶
func (i ApiKeyArray) ToApiKeyArrayOutputWithContext(ctx context.Context) ApiKeyArrayOutput
type ApiKeyArrayInput ¶
type ApiKeyArrayInput interface { pulumi.Input ToApiKeyArrayOutput() ApiKeyArrayOutput ToApiKeyArrayOutputWithContext(context.Context) ApiKeyArrayOutput }
ApiKeyArrayInput is an input type that accepts ApiKeyArray and ApiKeyArrayOutput values. You can construct a concrete instance of `ApiKeyArrayInput` via:
ApiKeyArray{ ApiKeyArgs{...} }
type ApiKeyArrayOutput ¶
type ApiKeyArrayOutput struct{ *pulumi.OutputState }
func (ApiKeyArrayOutput) ElementType ¶
func (ApiKeyArrayOutput) ElementType() reflect.Type
func (ApiKeyArrayOutput) Index ¶
func (o ApiKeyArrayOutput) Index(i pulumi.IntInput) ApiKeyOutput
func (ApiKeyArrayOutput) ToApiKeyArrayOutput ¶
func (o ApiKeyArrayOutput) ToApiKeyArrayOutput() ApiKeyArrayOutput
func (ApiKeyArrayOutput) ToApiKeyArrayOutputWithContext ¶
func (o ApiKeyArrayOutput) ToApiKeyArrayOutputWithContext(ctx context.Context) ApiKeyArrayOutput
type ApiKeyInput ¶
type ApiKeyInput interface { pulumi.Input ToApiKeyOutput() ApiKeyOutput ToApiKeyOutputWithContext(ctx context.Context) ApiKeyOutput }
type ApiKeyMap ¶
type ApiKeyMap map[string]ApiKeyInput
func (ApiKeyMap) ElementType ¶
func (ApiKeyMap) ToApiKeyMapOutput ¶
func (i ApiKeyMap) ToApiKeyMapOutput() ApiKeyMapOutput
func (ApiKeyMap) ToApiKeyMapOutputWithContext ¶
func (i ApiKeyMap) ToApiKeyMapOutputWithContext(ctx context.Context) ApiKeyMapOutput
type ApiKeyMapInput ¶
type ApiKeyMapInput interface { pulumi.Input ToApiKeyMapOutput() ApiKeyMapOutput ToApiKeyMapOutputWithContext(context.Context) ApiKeyMapOutput }
ApiKeyMapInput is an input type that accepts ApiKeyMap and ApiKeyMapOutput values. You can construct a concrete instance of `ApiKeyMapInput` via:
ApiKeyMap{ "key": ApiKeyArgs{...} }
type ApiKeyMapOutput ¶
type ApiKeyMapOutput struct{ *pulumi.OutputState }
func (ApiKeyMapOutput) ElementType ¶
func (ApiKeyMapOutput) ElementType() reflect.Type
func (ApiKeyMapOutput) MapIndex ¶
func (o ApiKeyMapOutput) MapIndex(k pulumi.StringInput) ApiKeyOutput
func (ApiKeyMapOutput) ToApiKeyMapOutput ¶
func (o ApiKeyMapOutput) ToApiKeyMapOutput() ApiKeyMapOutput
func (ApiKeyMapOutput) ToApiKeyMapOutputWithContext ¶
func (o ApiKeyMapOutput) ToApiKeyMapOutputWithContext(ctx context.Context) ApiKeyMapOutput
type ApiKeyOutput ¶
type ApiKeyOutput struct{ *pulumi.OutputState }
func (ApiKeyOutput) ElementType ¶
func (ApiKeyOutput) ElementType() reflect.Type
func (ApiKeyOutput) ToApiKeyOutput ¶
func (o ApiKeyOutput) ToApiKeyOutput() ApiKeyOutput
func (ApiKeyOutput) ToApiKeyOutputWithContext ¶
func (o ApiKeyOutput) ToApiKeyOutputWithContext(ctx context.Context) ApiKeyOutput
func (ApiKeyOutput) ToApiKeyPtrOutput ¶
func (o ApiKeyOutput) ToApiKeyPtrOutput() ApiKeyPtrOutput
func (ApiKeyOutput) ToApiKeyPtrOutputWithContext ¶
func (o ApiKeyOutput) ToApiKeyPtrOutputWithContext(ctx context.Context) ApiKeyPtrOutput
type ApiKeyPtrInput ¶
type ApiKeyPtrInput interface { pulumi.Input ToApiKeyPtrOutput() ApiKeyPtrOutput ToApiKeyPtrOutputWithContext(ctx context.Context) ApiKeyPtrOutput }
type ApiKeyPtrOutput ¶
type ApiKeyPtrOutput struct{ *pulumi.OutputState }
func (ApiKeyPtrOutput) Elem ¶ added in v4.15.0
func (o ApiKeyPtrOutput) Elem() ApiKeyOutput
func (ApiKeyPtrOutput) ElementType ¶
func (ApiKeyPtrOutput) ElementType() reflect.Type
func (ApiKeyPtrOutput) ToApiKeyPtrOutput ¶
func (o ApiKeyPtrOutput) ToApiKeyPtrOutput() ApiKeyPtrOutput
func (ApiKeyPtrOutput) ToApiKeyPtrOutputWithContext ¶
func (o ApiKeyPtrOutput) ToApiKeyPtrOutputWithContext(ctx context.Context) ApiKeyPtrOutput
type ApiKeyState ¶
type ApiKeyState struct { // The ID of the associated AppSync API ApiId pulumi.StringPtrInput // The API key description. Defaults to "Managed by Pulumi". Description pulumi.StringPtrInput // RFC3339 string representation of the expiry date. Rounded down to nearest hour. By default, it is 7 days from the date of creation. Expires pulumi.StringPtrInput // The API key Key pulumi.StringPtrInput }
func (ApiKeyState) ElementType ¶
func (ApiKeyState) ElementType() reflect.Type
type DataSource ¶
type DataSource struct { pulumi.CustomResourceState // The API ID for the GraphQL API for the DataSource. ApiId pulumi.StringOutput `pulumi:"apiId"` // The ARN Arn pulumi.StringOutput `pulumi:"arn"` // A description of the DataSource. Description pulumi.StringPtrOutput `pulumi:"description"` // DynamoDB settings. See below DynamodbConfig DataSourceDynamodbConfigPtrOutput `pulumi:"dynamodbConfig"` // Amazon Elasticsearch settings. See below ElasticsearchConfig DataSourceElasticsearchConfigPtrOutput `pulumi:"elasticsearchConfig"` // HTTP settings. See below HttpConfig DataSourceHttpConfigPtrOutput `pulumi:"httpConfig"` // AWS Lambda settings. See below LambdaConfig DataSourceLambdaConfigPtrOutput `pulumi:"lambdaConfig"` // A user-supplied name for the DataSource. Name pulumi.StringOutput `pulumi:"name"` // 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/v4/go/aws/appsync" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/dynamodb" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/iam" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleTable, err := dynamodb.NewTable(ctx, "exampleTable", &dynamodb.TableArgs{ ReadCapacity: pulumi.Int(1), WriteCapacity: pulumi.Int(1), HashKey: pulumi.String("UserId"), Attributes: dynamodb.TableAttributeArray{ &dynamodb.TableAttributeArgs{ Name: pulumi.String("UserId"), Type: pulumi.String("S"), }, }, }) if err != nil { return err } exampleRole, err := iam.NewRole(ctx, "exampleRole", &iam.RoleArgs{ AssumeRolePolicy: pulumi.Any(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v", "{\n", " \"Version\": \"2012-10-17\",\n", " \"Statement\": [\n", " {\n", " \"Action\": \"sts:AssumeRole\",\n", " \"Principal\": {\n", " \"Service\": \"appsync.amazonaws.com\"\n", " },\n", " \"Effect\": \"Allow\"\n", " }\n", " ]\n", "}\n")), }) if err != nil { return err } _, err = iam.NewRolePolicy(ctx, "exampleRolePolicy", &iam.RolePolicyArgs{ Role: exampleRole.ID(), Policy: exampleTable.Arn.ApplyT(func(arn string) (string, error) { return fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v", "{\n", " \"Version\": \"2012-10-17\",\n", " \"Statement\": [\n", " {\n", " \"Action\": [\n", " \"dynamodb:*\"\n", " ],\n", " \"Effect\": \"Allow\",\n", " \"Resource\": [\n", " \"", arn, "\"\n", " ]\n", " }\n", " ]\n", "}\n"), nil }).(pulumi.StringOutput), }) if err != nil { return err } exampleGraphQLApi, err := appsync.NewGraphQLApi(ctx, "exampleGraphQLApi", &appsync.GraphQLApiArgs{ AuthenticationType: pulumi.String("API_KEY"), }) if err != nil { return err } _, err = appsync.NewDataSource(ctx, "exampleDataSource", &appsync.DataSourceArgs{ ApiId: exampleGraphQLApi.ID(), Name: pulumi.String("tf_appsync_example"), ServiceRoleArn: exampleRole.Arn, Type: pulumi.String("AMAZON_DYNAMODB"), DynamodbConfig: &appsync.DataSourceDynamodbConfigArgs{ TableName: exampleTable.Name, }, }) if err != nil { return err } return nil }) }
```
## Import
`aws_appsync_datasource` can be imported with their `api_id`, a hyphen, and `name`, e.g.,
```sh
$ pulumi import aws:appsync/dataSource:DataSource example abcdef123456-example
```
func GetDataSource ¶
func GetDataSource(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DataSourceState, opts ...pulumi.ResourceOption) (*DataSource, error)
GetDataSource gets an existing DataSource resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewDataSource ¶
func NewDataSource(ctx *pulumi.Context, name string, args *DataSourceArgs, opts ...pulumi.ResourceOption) (*DataSource, error)
NewDataSource registers a new resource with the given unique name, arguments, and options.
func (*DataSource) ElementType ¶
func (*DataSource) ElementType() reflect.Type
func (*DataSource) ToDataSourceOutput ¶
func (i *DataSource) ToDataSourceOutput() DataSourceOutput
func (*DataSource) ToDataSourceOutputWithContext ¶
func (i *DataSource) ToDataSourceOutputWithContext(ctx context.Context) DataSourceOutput
func (*DataSource) ToDataSourcePtrOutput ¶
func (i *DataSource) ToDataSourcePtrOutput() DataSourcePtrOutput
func (*DataSource) ToDataSourcePtrOutputWithContext ¶
func (i *DataSource) ToDataSourcePtrOutputWithContext(ctx context.Context) DataSourcePtrOutput
type DataSourceArgs ¶
type DataSourceArgs struct { // The API ID for the GraphQL API for the DataSource. ApiId pulumi.StringInput // A description of the DataSource. Description pulumi.StringPtrInput // DynamoDB settings. See below DynamodbConfig DataSourceDynamodbConfigPtrInput // Amazon Elasticsearch settings. See below ElasticsearchConfig DataSourceElasticsearchConfigPtrInput // HTTP settings. See below HttpConfig DataSourceHttpConfigPtrInput // AWS Lambda settings. See below LambdaConfig DataSourceLambdaConfigPtrInput // A user-supplied name for the DataSource. Name pulumi.StringPtrInput // 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 DataSourceArray ¶
type DataSourceArray []DataSourceInput
func (DataSourceArray) ElementType ¶
func (DataSourceArray) ElementType() reflect.Type
func (DataSourceArray) ToDataSourceArrayOutput ¶
func (i DataSourceArray) ToDataSourceArrayOutput() DataSourceArrayOutput
func (DataSourceArray) ToDataSourceArrayOutputWithContext ¶
func (i DataSourceArray) ToDataSourceArrayOutputWithContext(ctx context.Context) DataSourceArrayOutput
type DataSourceArrayInput ¶
type DataSourceArrayInput interface { pulumi.Input ToDataSourceArrayOutput() DataSourceArrayOutput ToDataSourceArrayOutputWithContext(context.Context) DataSourceArrayOutput }
DataSourceArrayInput is an input type that accepts DataSourceArray and DataSourceArrayOutput values. You can construct a concrete instance of `DataSourceArrayInput` via:
DataSourceArray{ DataSourceArgs{...} }
type DataSourceArrayOutput ¶
type DataSourceArrayOutput struct{ *pulumi.OutputState }
func (DataSourceArrayOutput) ElementType ¶
func (DataSourceArrayOutput) ElementType() reflect.Type
func (DataSourceArrayOutput) Index ¶
func (o DataSourceArrayOutput) Index(i pulumi.IntInput) DataSourceOutput
func (DataSourceArrayOutput) ToDataSourceArrayOutput ¶
func (o DataSourceArrayOutput) ToDataSourceArrayOutput() DataSourceArrayOutput
func (DataSourceArrayOutput) ToDataSourceArrayOutputWithContext ¶
func (o DataSourceArrayOutput) ToDataSourceArrayOutputWithContext(ctx context.Context) DataSourceArrayOutput
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 DataSourceInput ¶
type DataSourceInput interface { pulumi.Input ToDataSourceOutput() DataSourceOutput ToDataSourceOutputWithContext(ctx context.Context) DataSourceOutput }
type DataSourceLambdaConfig ¶
type DataSourceLambdaConfig struct { // The ARN for the Lambda function. FunctionArn string `pulumi:"functionArn"` }
type DataSourceLambdaConfigArgs ¶
type DataSourceLambdaConfigArgs struct { // The ARN for the Lambda function. FunctionArn pulumi.StringInput `pulumi:"functionArn"` }
func (DataSourceLambdaConfigArgs) ElementType ¶
func (DataSourceLambdaConfigArgs) ElementType() reflect.Type
func (DataSourceLambdaConfigArgs) ToDataSourceLambdaConfigOutput ¶
func (i DataSourceLambdaConfigArgs) ToDataSourceLambdaConfigOutput() DataSourceLambdaConfigOutput
func (DataSourceLambdaConfigArgs) ToDataSourceLambdaConfigOutputWithContext ¶
func (i DataSourceLambdaConfigArgs) ToDataSourceLambdaConfigOutputWithContext(ctx context.Context) DataSourceLambdaConfigOutput
func (DataSourceLambdaConfigArgs) ToDataSourceLambdaConfigPtrOutput ¶
func (i DataSourceLambdaConfigArgs) ToDataSourceLambdaConfigPtrOutput() DataSourceLambdaConfigPtrOutput
func (DataSourceLambdaConfigArgs) ToDataSourceLambdaConfigPtrOutputWithContext ¶
func (i DataSourceLambdaConfigArgs) ToDataSourceLambdaConfigPtrOutputWithContext(ctx context.Context) DataSourceLambdaConfigPtrOutput
type DataSourceLambdaConfigInput ¶
type DataSourceLambdaConfigInput interface { pulumi.Input ToDataSourceLambdaConfigOutput() DataSourceLambdaConfigOutput ToDataSourceLambdaConfigOutputWithContext(context.Context) DataSourceLambdaConfigOutput }
DataSourceLambdaConfigInput is an input type that accepts DataSourceLambdaConfigArgs and DataSourceLambdaConfigOutput values. You can construct a concrete instance of `DataSourceLambdaConfigInput` via:
DataSourceLambdaConfigArgs{...}
type DataSourceLambdaConfigOutput ¶
type DataSourceLambdaConfigOutput struct{ *pulumi.OutputState }
func (DataSourceLambdaConfigOutput) ElementType ¶
func (DataSourceLambdaConfigOutput) 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 DataSourceMap ¶
type DataSourceMap map[string]DataSourceInput
func (DataSourceMap) ElementType ¶
func (DataSourceMap) ElementType() reflect.Type
func (DataSourceMap) ToDataSourceMapOutput ¶
func (i DataSourceMap) ToDataSourceMapOutput() DataSourceMapOutput
func (DataSourceMap) ToDataSourceMapOutputWithContext ¶
func (i DataSourceMap) ToDataSourceMapOutputWithContext(ctx context.Context) DataSourceMapOutput
type DataSourceMapInput ¶
type DataSourceMapInput interface { pulumi.Input ToDataSourceMapOutput() DataSourceMapOutput ToDataSourceMapOutputWithContext(context.Context) DataSourceMapOutput }
DataSourceMapInput is an input type that accepts DataSourceMap and DataSourceMapOutput values. You can construct a concrete instance of `DataSourceMapInput` via:
DataSourceMap{ "key": DataSourceArgs{...} }
type DataSourceMapOutput ¶
type DataSourceMapOutput struct{ *pulumi.OutputState }
func (DataSourceMapOutput) ElementType ¶
func (DataSourceMapOutput) ElementType() reflect.Type
func (DataSourceMapOutput) MapIndex ¶
func (o DataSourceMapOutput) MapIndex(k pulumi.StringInput) DataSourceOutput
func (DataSourceMapOutput) ToDataSourceMapOutput ¶
func (o DataSourceMapOutput) ToDataSourceMapOutput() DataSourceMapOutput
func (DataSourceMapOutput) ToDataSourceMapOutputWithContext ¶
func (o DataSourceMapOutput) ToDataSourceMapOutputWithContext(ctx context.Context) DataSourceMapOutput
type DataSourceOutput ¶
type DataSourceOutput struct{ *pulumi.OutputState }
func (DataSourceOutput) ElementType ¶
func (DataSourceOutput) ElementType() reflect.Type
func (DataSourceOutput) ToDataSourceOutput ¶
func (o DataSourceOutput) ToDataSourceOutput() DataSourceOutput
func (DataSourceOutput) ToDataSourceOutputWithContext ¶
func (o DataSourceOutput) ToDataSourceOutputWithContext(ctx context.Context) DataSourceOutput
func (DataSourceOutput) ToDataSourcePtrOutput ¶
func (o DataSourceOutput) ToDataSourcePtrOutput() DataSourcePtrOutput
func (DataSourceOutput) ToDataSourcePtrOutputWithContext ¶
func (o DataSourceOutput) ToDataSourcePtrOutputWithContext(ctx context.Context) DataSourcePtrOutput
type DataSourcePtrInput ¶
type DataSourcePtrInput interface { pulumi.Input ToDataSourcePtrOutput() DataSourcePtrOutput ToDataSourcePtrOutputWithContext(ctx context.Context) DataSourcePtrOutput }
type DataSourcePtrOutput ¶
type DataSourcePtrOutput struct{ *pulumi.OutputState }
func (DataSourcePtrOutput) Elem ¶ added in v4.15.0
func (o DataSourcePtrOutput) Elem() DataSourceOutput
func (DataSourcePtrOutput) ElementType ¶
func (DataSourcePtrOutput) ElementType() reflect.Type
func (DataSourcePtrOutput) ToDataSourcePtrOutput ¶
func (o DataSourcePtrOutput) ToDataSourcePtrOutput() DataSourcePtrOutput
func (DataSourcePtrOutput) ToDataSourcePtrOutputWithContext ¶
func (o DataSourcePtrOutput) ToDataSourcePtrOutputWithContext(ctx context.Context) DataSourcePtrOutput
type 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/v4/go/aws/appsync" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleGraphQLApi, err := appsync.NewGraphQLApi(ctx, "exampleGraphQLApi", &appsync.GraphQLApiArgs{ AuthenticationType: pulumi.String("API_KEY"), Schema: pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v", "type Mutation {\n", " putPost(id: ID!, title: String!): Post\n", "}\n", "\n", "type Post {\n", " id: ID!\n", " title: String!\n", "}\n", "\n", "type Query {\n", " singlePost(id: ID!): Post\n", "}\n", "\n", "schema {\n", " query: Query\n", " mutation: Mutation\n", "}\n")), }) if err != nil { return err } exampleDataSource, err := appsync.NewDataSource(ctx, "exampleDataSource", &appsync.DataSourceArgs{ ApiId: exampleGraphQLApi.ID(), Name: pulumi.String("example"), Type: pulumi.String("HTTP"), HttpConfig: &appsync.DataSourceHttpConfigArgs{ Endpoint: pulumi.String("http://example.com"), }, }) if err != nil { return err } _, err = appsync.NewFunction(ctx, "exampleFunction", &appsync.FunctionArgs{ ApiId: exampleGraphQLApi.ID(), DataSource: exampleDataSource.Name, Name: pulumi.String("example"), RequestMappingTemplate: pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v", "{\n", " \"version\": \"2018-05-29\",\n", " \"method\": \"GET\",\n", " \"resourcePath\": \"/\",\n", " \"params\":{\n", " \"headers\": ", "$", "utils.http.copyheaders(", "$", "ctx.request.headers)\n", " }\n", "}\n")), ResponseMappingTemplate: pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v", "#if(", "$", "ctx.result.statusCode == 200)\n", " ", "$", "ctx.result.body\n", "#else\n", " ", "$", "utils.appendError(", "$", "ctx.result.body, ", "$", "ctx.result.statusCode)\n", "#end\n")), }) if err != nil { return err } return nil }) }
```
## Import
`aws_appsync_function` can be imported using the AppSync API ID and Function ID separated by `-`, e.g.,
```sh
$ pulumi import aws:appsync/function:Function example xxxxx-yyyyy
```
func GetFunction ¶
func GetFunction(ctx *pulumi.Context, name string, id pulumi.IDInput, state *FunctionState, opts ...pulumi.ResourceOption) (*Function, error)
GetFunction gets an existing Function resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewFunction ¶
func NewFunction(ctx *pulumi.Context, name string, args *FunctionArgs, opts ...pulumi.ResourceOption) (*Function, error)
NewFunction registers a new resource with the given unique name, arguments, and options.
func (*Function) ElementType ¶
func (*Function) ToFunctionOutput ¶
func (i *Function) ToFunctionOutput() FunctionOutput
func (*Function) ToFunctionOutputWithContext ¶
func (i *Function) ToFunctionOutputWithContext(ctx context.Context) FunctionOutput
func (*Function) ToFunctionPtrOutput ¶
func (i *Function) ToFunctionPtrOutput() FunctionPtrOutput
func (*Function) ToFunctionPtrOutputWithContext ¶
func (i *Function) ToFunctionPtrOutputWithContext(ctx context.Context) FunctionPtrOutput
type FunctionArgs ¶
type FunctionArgs struct { // The ID of the associated AppSync API. ApiId pulumi.StringInput // The Function DataSource name. DataSource pulumi.StringInput // The Function description. Description pulumi.StringPtrInput // The version of the request mapping template. Currently the supported value is `2018-05-29`. FunctionVersion pulumi.StringPtrInput // The 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 FunctionArray ¶
type FunctionArray []FunctionInput
func (FunctionArray) ElementType ¶
func (FunctionArray) ElementType() reflect.Type
func (FunctionArray) ToFunctionArrayOutput ¶
func (i FunctionArray) ToFunctionArrayOutput() FunctionArrayOutput
func (FunctionArray) ToFunctionArrayOutputWithContext ¶
func (i FunctionArray) ToFunctionArrayOutputWithContext(ctx context.Context) FunctionArrayOutput
type FunctionArrayInput ¶
type FunctionArrayInput interface { pulumi.Input ToFunctionArrayOutput() FunctionArrayOutput ToFunctionArrayOutputWithContext(context.Context) FunctionArrayOutput }
FunctionArrayInput is an input type that accepts FunctionArray and FunctionArrayOutput values. You can construct a concrete instance of `FunctionArrayInput` via:
FunctionArray{ FunctionArgs{...} }
type FunctionArrayOutput ¶
type FunctionArrayOutput struct{ *pulumi.OutputState }
func (FunctionArrayOutput) ElementType ¶
func (FunctionArrayOutput) ElementType() reflect.Type
func (FunctionArrayOutput) Index ¶
func (o FunctionArrayOutput) Index(i pulumi.IntInput) FunctionOutput
func (FunctionArrayOutput) ToFunctionArrayOutput ¶
func (o FunctionArrayOutput) ToFunctionArrayOutput() FunctionArrayOutput
func (FunctionArrayOutput) ToFunctionArrayOutputWithContext ¶
func (o FunctionArrayOutput) ToFunctionArrayOutputWithContext(ctx context.Context) FunctionArrayOutput
type FunctionInput ¶
type FunctionInput interface { pulumi.Input ToFunctionOutput() FunctionOutput ToFunctionOutputWithContext(ctx context.Context) FunctionOutput }
type FunctionMap ¶
type FunctionMap map[string]FunctionInput
func (FunctionMap) ElementType ¶
func (FunctionMap) ElementType() reflect.Type
func (FunctionMap) ToFunctionMapOutput ¶
func (i FunctionMap) ToFunctionMapOutput() FunctionMapOutput
func (FunctionMap) ToFunctionMapOutputWithContext ¶
func (i FunctionMap) ToFunctionMapOutputWithContext(ctx context.Context) FunctionMapOutput
type FunctionMapInput ¶
type FunctionMapInput interface { pulumi.Input ToFunctionMapOutput() FunctionMapOutput ToFunctionMapOutputWithContext(context.Context) FunctionMapOutput }
FunctionMapInput is an input type that accepts FunctionMap and FunctionMapOutput values. You can construct a concrete instance of `FunctionMapInput` via:
FunctionMap{ "key": FunctionArgs{...} }
type FunctionMapOutput ¶
type FunctionMapOutput struct{ *pulumi.OutputState }
func (FunctionMapOutput) ElementType ¶
func (FunctionMapOutput) ElementType() reflect.Type
func (FunctionMapOutput) MapIndex ¶
func (o FunctionMapOutput) MapIndex(k pulumi.StringInput) FunctionOutput
func (FunctionMapOutput) ToFunctionMapOutput ¶
func (o FunctionMapOutput) ToFunctionMapOutput() FunctionMapOutput
func (FunctionMapOutput) ToFunctionMapOutputWithContext ¶
func (o FunctionMapOutput) ToFunctionMapOutputWithContext(ctx context.Context) FunctionMapOutput
type FunctionOutput ¶
type FunctionOutput struct{ *pulumi.OutputState }
func (FunctionOutput) ElementType ¶
func (FunctionOutput) ElementType() reflect.Type
func (FunctionOutput) ToFunctionOutput ¶
func (o FunctionOutput) ToFunctionOutput() FunctionOutput
func (FunctionOutput) ToFunctionOutputWithContext ¶
func (o FunctionOutput) ToFunctionOutputWithContext(ctx context.Context) FunctionOutput
func (FunctionOutput) ToFunctionPtrOutput ¶
func (o FunctionOutput) ToFunctionPtrOutput() FunctionPtrOutput
func (FunctionOutput) ToFunctionPtrOutputWithContext ¶
func (o FunctionOutput) ToFunctionPtrOutputWithContext(ctx context.Context) FunctionPtrOutput
type FunctionPtrInput ¶
type FunctionPtrInput interface { pulumi.Input ToFunctionPtrOutput() FunctionPtrOutput ToFunctionPtrOutputWithContext(ctx context.Context) FunctionPtrOutput }
type FunctionPtrOutput ¶
type FunctionPtrOutput struct{ *pulumi.OutputState }
func (FunctionPtrOutput) Elem ¶ added in v4.15.0
func (o FunctionPtrOutput) Elem() FunctionOutput
func (FunctionPtrOutput) ElementType ¶
func (FunctionPtrOutput) ElementType() reflect.Type
func (FunctionPtrOutput) ToFunctionPtrOutput ¶
func (o FunctionPtrOutput) ToFunctionPtrOutput() FunctionPtrOutput
func (FunctionPtrOutput) ToFunctionPtrOutputWithContext ¶
func (o FunctionPtrOutput) ToFunctionPtrOutputWithContext(ctx context.Context) FunctionPtrOutput
type FunctionState ¶
type FunctionState struct { // The ID of the associated AppSync API. ApiId pulumi.StringPtrInput // The ARN of the Function object. Arn pulumi.StringPtrInput // The Function DataSource name. DataSource pulumi.StringPtrInput // The Function description. Description pulumi.StringPtrInput // A unique ID representing the Function object. FunctionId pulumi.StringPtrInput // The version of the request mapping template. Currently the supported value is `2018-05-29`. FunctionVersion pulumi.StringPtrInput // The 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`, `AWS_LAMBDA` AuthenticationType pulumi.StringOutput `pulumi:"authenticationType"` // Nested argument containing Lambda authorizer configuration. Defined below. LambdaAuthorizerConfig GraphQLApiLambdaAuthorizerConfigPtrOutput `pulumi:"lambdaAuthorizerConfig"` // Nested argument containing logging configuration. Defined below. LogConfig GraphQLApiLogConfigPtrOutput `pulumi:"logConfig"` // A user-supplied name for the GraphqlApi. Name pulumi.StringOutput `pulumi:"name"` // Nested argument containing OpenID Connect configuration. Defined below. OpenidConnectConfig GraphQLApiOpenidConnectConfigPtrOutput `pulumi:"openidConnectConfig"` // The schema definition, in GraphQL schema language format. This provider cannot perform drift detection of this configuration. Schema pulumi.StringPtrOutput `pulumi:"schema"` // A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` // Map of URIs associated with the APIE.g., `uris["GRAPHQL"] = https://ID.appsync-api.REGION.amazonaws.com/graphql` Uris pulumi.StringMapOutput `pulumi:"uris"` // The Amazon Cognito User Pool configuration. Defined below. UserPoolConfig GraphQLApiUserPoolConfigPtrOutput `pulumi:"userPoolConfig"` // Whether tracing with X-ray is enabled. Defaults to false. XrayEnabled pulumi.BoolPtrOutput `pulumi:"xrayEnabled"` }
Provides an AppSync GraphQL API.
## Example Usage ### API Key Authentication
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/appsync" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := appsync.NewGraphQLApi(ctx, "example", &appsync.GraphQLApiArgs{ AuthenticationType: pulumi.String("API_KEY"), }) if err != nil { return err } return nil }) }
``` ### AWS IAM Authentication
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/appsync" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := appsync.NewGraphQLApi(ctx, "example", &appsync.GraphQLApiArgs{ AuthenticationType: pulumi.String("AWS_IAM"), }) if err != nil { return err } return nil }) }
``` ### AWS Cognito User Pool Authentication
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/appsync" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := appsync.NewGraphQLApi(ctx, "example", &appsync.GraphQLApiArgs{ AuthenticationType: pulumi.String("AMAZON_COGNITO_USER_POOLS"), UserPoolConfig: &appsync.GraphQLApiUserPoolConfigArgs{ AwsRegion: pulumi.Any(data.Aws_region.Current.Name), DefaultAction: pulumi.String("DENY"), UserPoolId: pulumi.Any(aws_cognito_user_pool.Example.Id), }, }) if err != nil { return err } return nil }) }
``` ### OpenID Connect Authentication
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/appsync" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := appsync.NewGraphQLApi(ctx, "example", &appsync.GraphQLApiArgs{ AuthenticationType: pulumi.String("OPENID_CONNECT"), OpenidConnectConfig: &appsync.GraphQLApiOpenidConnectConfigArgs{ Issuer: pulumi.String("https://example.com"), }, }) if err != nil { return err } return nil }) }
``` ### AWS Lambda Authorizer Authentication
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/appsync" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/lambda" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := appsync.NewGraphQLApi(ctx, "example", &appsync.GraphQLApiArgs{ AuthenticationType: pulumi.String("AWS_LAMBDA"), LambdaAuthorizerConfig: &appsync.GraphQLApiLambdaAuthorizerConfigArgs{ AuthorizerUri: pulumi.String("arn:aws:lambda:us-east-1:123456789012:function:custom_lambda_authorizer"), }, }) if err != nil { return err } _, err = lambda.NewPermission(ctx, "appsyncLambdaAuthorizer", &lambda.PermissionArgs{ Action: pulumi.String("lambda:InvokeFunction"), Function: pulumi.Any("custom_lambda_authorizer"), Principal: pulumi.String("appsync.amazonaws.com"), SourceArn: example.Arn, }) if err != nil { return err } return nil }) }
``` ### With Multiple Authentication Providers
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/appsync" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := appsync.NewGraphQLApi(ctx, "example", &appsync.GraphQLApiArgs{ AdditionalAuthenticationProviders: appsync.GraphQLApiAdditionalAuthenticationProviderArray{ &appsync.GraphQLApiAdditionalAuthenticationProviderArgs{ AuthenticationType: pulumi.String("AWS_IAM"), }, }, AuthenticationType: pulumi.String("API_KEY"), }) if err != nil { return err } return nil }) }
``` ### With Schema
```go package main
import (
"fmt" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/appsync" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := appsync.NewGraphQLApi(ctx, "example", &appsync.GraphQLApiArgs{ AuthenticationType: pulumi.String("AWS_IAM"), Schema: pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v", "schema {\n", " query: Query\n", "}\n", "type Query {\n", " test: Int\n", "}\n", "\n")), }) if err != nil { return err } return nil }) }
``` ### Enabling Logging
```go package main
import (
"fmt" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/appsync" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/iam" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleRole, err := iam.NewRole(ctx, "exampleRole", &iam.RoleArgs{ AssumeRolePolicy: pulumi.Any(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v", "{\n", " \"Version\": \"2012-10-17\",\n", " \"Statement\": [\n", " {\n", " \"Effect\": \"Allow\",\n", " \"Principal\": {\n", " \"Service\": \"appsync.amazonaws.com\"\n", " },\n", " \"Action\": \"sts:AssumeRole\"\n", " }\n", " ]\n", "}\n")), }) if err != nil { return err } _, err = iam.NewRolePolicyAttachment(ctx, "exampleRolePolicyAttachment", &iam.RolePolicyAttachmentArgs{ PolicyArn: pulumi.String("arn:aws:iam::aws:policy/service-role/AWSAppSyncPushToCloudWatchLogs"), Role: exampleRole.Name, }) if err != nil { return err } _, err = appsync.NewGraphQLApi(ctx, "exampleGraphQLApi", &appsync.GraphQLApiArgs{ LogConfig: &appsync.GraphQLApiLogConfigArgs{ CloudwatchLogsRoleArn: exampleRole.Arn, FieldLogLevel: pulumi.String("ERROR"), }, }) if err != nil { return err } return nil }) }
``` ### Associate Web ACL (v2)
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/appsync" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/wafv2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleGraphQLApi, err := appsync.NewGraphQLApi(ctx, "exampleGraphQLApi", &appsync.GraphQLApiArgs{ AuthenticationType: pulumi.String("API_KEY"), }) if err != nil { return err } exampleWebAcl, err := wafv2.NewWebAcl(ctx, "exampleWebAcl", &wafv2.WebAclArgs{ Description: pulumi.String("Example of a managed rule."), Scope: pulumi.String("REGIONAL"), DefaultAction: &wafv2.WebAclDefaultActionArgs{ Allow: nil, }, Rules: wafv2.WebAclRuleArray{ &wafv2.WebAclRuleArgs{ Name: pulumi.String("rule-1"), Priority: pulumi.Int(1), OverrideAction: &wafv2.WebAclRuleOverrideActionArgs{ Block: []map[string]interface{}{ nil, }, }, Statement: &wafv2.WebAclRuleStatementArgs{ ManagedRuleGroupStatement: &wafv2.WebAclRuleStatementManagedRuleGroupStatementArgs{ Name: pulumi.String("AWSManagedRulesCommonRuleSet"), VendorName: pulumi.String("AWS"), }, }, VisibilityConfig: &wafv2.WebAclRuleVisibilityConfigArgs{ CloudwatchMetricsEnabled: pulumi.Bool(false), MetricName: pulumi.String("friendly-rule-metric-name"), SampledRequestsEnabled: pulumi.Bool(false), }, }, }, VisibilityConfig: &wafv2.WebAclVisibilityConfigArgs{ CloudwatchMetricsEnabled: pulumi.Bool(false), MetricName: pulumi.String("friendly-metric-name"), SampledRequestsEnabled: pulumi.Bool(false), }, }) if err != nil { return err } _, err = wafv2.NewWebAclAssociation(ctx, "exampleWebAclAssociation", &wafv2.WebAclAssociationArgs{ ResourceArn: exampleGraphQLApi.Arn, WebAclArn: exampleWebAcl.Arn, }) if err != nil { return err } return nil }) }
```
## Import
AppSync GraphQL API can be imported using the GraphQL API ID, e.g.,
```sh
$ pulumi import aws:appsync/graphQLApi:GraphQLApi example 0123456789
```
func GetGraphQLApi ¶
func GetGraphQLApi(ctx *pulumi.Context, name string, id pulumi.IDInput, state *GraphQLApiState, opts ...pulumi.ResourceOption) (*GraphQLApi, error)
GetGraphQLApi gets an existing GraphQLApi resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewGraphQLApi ¶
func NewGraphQLApi(ctx *pulumi.Context, name string, args *GraphQLApiArgs, opts ...pulumi.ResourceOption) (*GraphQLApi, error)
NewGraphQLApi registers a new resource with the given unique name, arguments, and options.
func (*GraphQLApi) ElementType ¶
func (*GraphQLApi) ElementType() reflect.Type
func (*GraphQLApi) ToGraphQLApiOutput ¶
func (i *GraphQLApi) ToGraphQLApiOutput() GraphQLApiOutput
func (*GraphQLApi) ToGraphQLApiOutputWithContext ¶
func (i *GraphQLApi) ToGraphQLApiOutputWithContext(ctx context.Context) GraphQLApiOutput
func (*GraphQLApi) ToGraphQLApiPtrOutput ¶
func (i *GraphQLApi) ToGraphQLApiPtrOutput() GraphQLApiPtrOutput
func (*GraphQLApi) ToGraphQLApiPtrOutputWithContext ¶
func (i *GraphQLApi) ToGraphQLApiPtrOutputWithContext(ctx context.Context) GraphQLApiPtrOutput
type GraphQLApiAdditionalAuthenticationProvider ¶
type GraphQLApiAdditionalAuthenticationProvider struct { // The authentication type. Valid values: `API_KEY`, `AWS_IAM`, `AMAZON_COGNITO_USER_POOLS`, `OPENID_CONNECT`, `AWS_LAMBDA` AuthenticationType string `pulumi:"authenticationType"` // Nested argument containing Lambda authorizer configuration. Defined below. LambdaAuthorizerConfig *GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfig `pulumi:"lambdaAuthorizerConfig"` // Nested argument containing OpenID Connect configuration. Defined below. OpenidConnectConfig *GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfig `pulumi:"openidConnectConfig"` // The Amazon Cognito User Pool configuration. Defined below. UserPoolConfig *GraphQLApiAdditionalAuthenticationProviderUserPoolConfig `pulumi:"userPoolConfig"` }
type GraphQLApiAdditionalAuthenticationProviderArgs ¶
type GraphQLApiAdditionalAuthenticationProviderArgs struct { // The authentication type. Valid values: `API_KEY`, `AWS_IAM`, `AMAZON_COGNITO_USER_POOLS`, `OPENID_CONNECT`, `AWS_LAMBDA` AuthenticationType pulumi.StringInput `pulumi:"authenticationType"` // Nested argument containing Lambda authorizer configuration. Defined below. LambdaAuthorizerConfig GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrInput `pulumi:"lambdaAuthorizerConfig"` // Nested argument containing OpenID Connect configuration. Defined below. OpenidConnectConfig GraphQLApiAdditionalAuthenticationProviderOpenidConnectConfigPtrInput `pulumi:"openidConnectConfig"` // The Amazon Cognito User Pool configuration. Defined below. UserPoolConfig GraphQLApiAdditionalAuthenticationProviderUserPoolConfigPtrInput `pulumi:"userPoolConfig"` }
func (GraphQLApiAdditionalAuthenticationProviderArgs) ElementType ¶
func (GraphQLApiAdditionalAuthenticationProviderArgs) 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 GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfig ¶ added in v4.33.0
type GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfig struct { // The number of seconds a response should be cached for. The default is 5 minutes (300 seconds). The Lambda function can override this by returning a `ttlOverride` key in its response. A value of 0 disables caching of responses. Minimum value of 0. Maximum value of 3600. AuthorizerResultTtlInSeconds *int `pulumi:"authorizerResultTtlInSeconds"` // The ARN of the Lambda function to be called for authorization. Note: This Lambda function must have a resource-based policy assigned to it, to allow `lambda:InvokeFunction` from service principal `appsync.amazonaws.com`. AuthorizerUri string `pulumi:"authorizerUri"` // A regular expression for validation of tokens before the Lambda function is called. IdentityValidationExpression *string `pulumi:"identityValidationExpression"` }
type GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigArgs ¶ added in v4.33.0
type GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigArgs struct { // The number of seconds a response should be cached for. The default is 5 minutes (300 seconds). The Lambda function can override this by returning a `ttlOverride` key in its response. A value of 0 disables caching of responses. Minimum value of 0. Maximum value of 3600. AuthorizerResultTtlInSeconds pulumi.IntPtrInput `pulumi:"authorizerResultTtlInSeconds"` // The ARN of the Lambda function to be called for authorization. Note: This Lambda function must have a resource-based policy assigned to it, to allow `lambda:InvokeFunction` from service principal `appsync.amazonaws.com`. AuthorizerUri pulumi.StringInput `pulumi:"authorizerUri"` // A regular expression for validation of tokens before the Lambda function is called. IdentityValidationExpression pulumi.StringPtrInput `pulumi:"identityValidationExpression"` }
func (GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigArgs) ElementType ¶ added in v4.33.0
func (GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigArgs) ElementType() reflect.Type
func (GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigArgs) ToGraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput ¶ added in v4.33.0
func (i GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigArgs) ToGraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput() GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput
func (GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigArgs) ToGraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutputWithContext ¶ added in v4.33.0
func (i GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigArgs) ToGraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutputWithContext(ctx context.Context) GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput
func (GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigArgs) ToGraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput ¶ added in v4.33.0
func (i GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigArgs) ToGraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput() GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput
func (GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigArgs) ToGraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutputWithContext ¶ added in v4.33.0
func (i GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigArgs) ToGraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutputWithContext(ctx context.Context) GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput
type GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigInput ¶ added in v4.33.0
type GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigInput interface { pulumi.Input ToGraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput() GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput ToGraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutputWithContext(context.Context) GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput }
GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigInput is an input type that accepts GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigArgs and GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput values. You can construct a concrete instance of `GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigInput` via:
GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigArgs{...}
type GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput ¶ added in v4.33.0
type GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput struct{ *pulumi.OutputState }
func (GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput) AuthorizerResultTtlInSeconds ¶ added in v4.33.0
func (o GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput) AuthorizerResultTtlInSeconds() pulumi.IntPtrOutput
The number of seconds a response should be cached for. The default is 5 minutes (300 seconds). The Lambda function can override this by returning a `ttlOverride` key in its response. A value of 0 disables caching of responses. Minimum value of 0. Maximum value of 3600.
func (GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput) AuthorizerUri ¶ added in v4.33.0
func (o GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput) AuthorizerUri() pulumi.StringOutput
The ARN of the Lambda function to be called for authorization. Note: This Lambda function must have a resource-based policy assigned to it, to allow `lambda:InvokeFunction` from service principal `appsync.amazonaws.com`.
func (GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput) ElementType ¶ added in v4.33.0
func (GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput) ElementType() reflect.Type
func (GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput) IdentityValidationExpression ¶ added in v4.33.0
func (o GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput) IdentityValidationExpression() pulumi.StringPtrOutput
A regular expression for validation of tokens before the Lambda function is called.
func (GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput) ToGraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput ¶ added in v4.33.0
func (o GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput) ToGraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput() GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput
func (GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput) ToGraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutputWithContext ¶ added in v4.33.0
func (o GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput) ToGraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutputWithContext(ctx context.Context) GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput
func (GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput) ToGraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput ¶ added in v4.33.0
func (o GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput) ToGraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput() GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput
func (GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput) ToGraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutputWithContext ¶ added in v4.33.0
func (o GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigOutput) ToGraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutputWithContext(ctx context.Context) GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput
type GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrInput ¶ added in v4.33.0
type GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrInput interface { pulumi.Input ToGraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput() GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput ToGraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutputWithContext(context.Context) GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput }
GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrInput is an input type that accepts GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigArgs, GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtr and GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput values. You can construct a concrete instance of `GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrInput` via:
GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigArgs{...} or: nil
func GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtr ¶ added in v4.33.0
func GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtr(v *GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigArgs) GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrInput
type GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput ¶ added in v4.33.0
type GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput struct{ *pulumi.OutputState }
func (GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput) AuthorizerResultTtlInSeconds ¶ added in v4.33.0
func (o GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput) AuthorizerResultTtlInSeconds() pulumi.IntPtrOutput
The number of seconds a response should be cached for. The default is 5 minutes (300 seconds). The Lambda function can override this by returning a `ttlOverride` key in its response. A value of 0 disables caching of responses. Minimum value of 0. Maximum value of 3600.
func (GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput) AuthorizerUri ¶ added in v4.33.0
func (o GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput) AuthorizerUri() pulumi.StringPtrOutput
The ARN of the Lambda function to be called for authorization. Note: This Lambda function must have a resource-based policy assigned to it, to allow `lambda:InvokeFunction` from service principal `appsync.amazonaws.com`.
func (GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput) Elem ¶ added in v4.33.0
func (GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput) ElementType ¶ added in v4.33.0
func (GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput) ElementType() reflect.Type
func (GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput) IdentityValidationExpression ¶ added in v4.33.0
func (o GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput) IdentityValidationExpression() pulumi.StringPtrOutput
A regular expression for validation of tokens before the Lambda function is called.
func (GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput) ToGraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput ¶ added in v4.33.0
func (o GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput) ToGraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput() GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput
func (GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput) ToGraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutputWithContext ¶ added in v4.33.0
func (o GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput) ToGraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutputWithContext(ctx context.Context) GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput
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`, `AWS_LAMBDA`
func (GraphQLApiAdditionalAuthenticationProviderOutput) ElementType ¶
func (GraphQLApiAdditionalAuthenticationProviderOutput) ElementType() reflect.Type
func (GraphQLApiAdditionalAuthenticationProviderOutput) LambdaAuthorizerConfig ¶ added in v4.33.0
func (o GraphQLApiAdditionalAuthenticationProviderOutput) LambdaAuthorizerConfig() GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfigPtrOutput
Nested argument containing Lambda authorizer configuration. Defined below.
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`, `AWS_LAMBDA` AuthenticationType pulumi.StringInput // Nested argument containing Lambda authorizer configuration. Defined below. LambdaAuthorizerConfig GraphQLApiLambdaAuthorizerConfigPtrInput // Nested argument containing logging configuration. Defined below. LogConfig GraphQLApiLogConfigPtrInput // A user-supplied name for the GraphqlApi. Name pulumi.StringPtrInput // Nested argument containing OpenID Connect configuration. Defined below. OpenidConnectConfig GraphQLApiOpenidConnectConfigPtrInput // The schema definition, in GraphQL schema language format. This provider cannot perform drift detection of this configuration. Schema pulumi.StringPtrInput // A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // The Amazon Cognito User Pool configuration. Defined below. UserPoolConfig GraphQLApiUserPoolConfigPtrInput // Whether tracing with X-ray is enabled. Defaults to false. XrayEnabled pulumi.BoolPtrInput }
The set of arguments for constructing a GraphQLApi resource.
func (GraphQLApiArgs) ElementType ¶
func (GraphQLApiArgs) ElementType() reflect.Type
type GraphQLApiArray ¶
type GraphQLApiArray []GraphQLApiInput
func (GraphQLApiArray) ElementType ¶
func (GraphQLApiArray) ElementType() reflect.Type
func (GraphQLApiArray) ToGraphQLApiArrayOutput ¶
func (i GraphQLApiArray) ToGraphQLApiArrayOutput() GraphQLApiArrayOutput
func (GraphQLApiArray) ToGraphQLApiArrayOutputWithContext ¶
func (i GraphQLApiArray) ToGraphQLApiArrayOutputWithContext(ctx context.Context) GraphQLApiArrayOutput
type GraphQLApiArrayInput ¶
type GraphQLApiArrayInput interface { pulumi.Input ToGraphQLApiArrayOutput() GraphQLApiArrayOutput ToGraphQLApiArrayOutputWithContext(context.Context) GraphQLApiArrayOutput }
GraphQLApiArrayInput is an input type that accepts GraphQLApiArray and GraphQLApiArrayOutput values. You can construct a concrete instance of `GraphQLApiArrayInput` via:
GraphQLApiArray{ GraphQLApiArgs{...} }
type GraphQLApiArrayOutput ¶
type GraphQLApiArrayOutput struct{ *pulumi.OutputState }
func (GraphQLApiArrayOutput) ElementType ¶
func (GraphQLApiArrayOutput) ElementType() reflect.Type
func (GraphQLApiArrayOutput) Index ¶
func (o GraphQLApiArrayOutput) Index(i pulumi.IntInput) GraphQLApiOutput
func (GraphQLApiArrayOutput) ToGraphQLApiArrayOutput ¶
func (o GraphQLApiArrayOutput) ToGraphQLApiArrayOutput() GraphQLApiArrayOutput
func (GraphQLApiArrayOutput) ToGraphQLApiArrayOutputWithContext ¶
func (o GraphQLApiArrayOutput) ToGraphQLApiArrayOutputWithContext(ctx context.Context) GraphQLApiArrayOutput
type GraphQLApiInput ¶
type GraphQLApiInput interface { pulumi.Input ToGraphQLApiOutput() GraphQLApiOutput ToGraphQLApiOutputWithContext(ctx context.Context) GraphQLApiOutput }
type GraphQLApiLambdaAuthorizerConfig ¶ added in v4.33.0
type GraphQLApiLambdaAuthorizerConfig struct { // The number of seconds a response should be cached for. The default is 5 minutes (300 seconds). The Lambda function can override this by returning a `ttlOverride` key in its response. A value of 0 disables caching of responses. Minimum value of 0. Maximum value of 3600. AuthorizerResultTtlInSeconds *int `pulumi:"authorizerResultTtlInSeconds"` // The ARN of the Lambda function to be called for authorization. Note: This Lambda function must have a resource-based policy assigned to it, to allow `lambda:InvokeFunction` from service principal `appsync.amazonaws.com`. AuthorizerUri string `pulumi:"authorizerUri"` // A regular expression for validation of tokens before the Lambda function is called. IdentityValidationExpression *string `pulumi:"identityValidationExpression"` }
type GraphQLApiLambdaAuthorizerConfigArgs ¶ added in v4.33.0
type GraphQLApiLambdaAuthorizerConfigArgs struct { // The number of seconds a response should be cached for. The default is 5 minutes (300 seconds). The Lambda function can override this by returning a `ttlOverride` key in its response. A value of 0 disables caching of responses. Minimum value of 0. Maximum value of 3600. AuthorizerResultTtlInSeconds pulumi.IntPtrInput `pulumi:"authorizerResultTtlInSeconds"` // The ARN of the Lambda function to be called for authorization. Note: This Lambda function must have a resource-based policy assigned to it, to allow `lambda:InvokeFunction` from service principal `appsync.amazonaws.com`. AuthorizerUri pulumi.StringInput `pulumi:"authorizerUri"` // A regular expression for validation of tokens before the Lambda function is called. IdentityValidationExpression pulumi.StringPtrInput `pulumi:"identityValidationExpression"` }
func (GraphQLApiLambdaAuthorizerConfigArgs) ElementType ¶ added in v4.33.0
func (GraphQLApiLambdaAuthorizerConfigArgs) ElementType() reflect.Type
func (GraphQLApiLambdaAuthorizerConfigArgs) ToGraphQLApiLambdaAuthorizerConfigOutput ¶ added in v4.33.0
func (i GraphQLApiLambdaAuthorizerConfigArgs) ToGraphQLApiLambdaAuthorizerConfigOutput() GraphQLApiLambdaAuthorizerConfigOutput
func (GraphQLApiLambdaAuthorizerConfigArgs) ToGraphQLApiLambdaAuthorizerConfigOutputWithContext ¶ added in v4.33.0
func (i GraphQLApiLambdaAuthorizerConfigArgs) ToGraphQLApiLambdaAuthorizerConfigOutputWithContext(ctx context.Context) GraphQLApiLambdaAuthorizerConfigOutput
func (GraphQLApiLambdaAuthorizerConfigArgs) ToGraphQLApiLambdaAuthorizerConfigPtrOutput ¶ added in v4.33.0
func (i GraphQLApiLambdaAuthorizerConfigArgs) ToGraphQLApiLambdaAuthorizerConfigPtrOutput() GraphQLApiLambdaAuthorizerConfigPtrOutput
func (GraphQLApiLambdaAuthorizerConfigArgs) ToGraphQLApiLambdaAuthorizerConfigPtrOutputWithContext ¶ added in v4.33.0
func (i GraphQLApiLambdaAuthorizerConfigArgs) ToGraphQLApiLambdaAuthorizerConfigPtrOutputWithContext(ctx context.Context) GraphQLApiLambdaAuthorizerConfigPtrOutput
type GraphQLApiLambdaAuthorizerConfigInput ¶ added in v4.33.0
type GraphQLApiLambdaAuthorizerConfigInput interface { pulumi.Input ToGraphQLApiLambdaAuthorizerConfigOutput() GraphQLApiLambdaAuthorizerConfigOutput ToGraphQLApiLambdaAuthorizerConfigOutputWithContext(context.Context) GraphQLApiLambdaAuthorizerConfigOutput }
GraphQLApiLambdaAuthorizerConfigInput is an input type that accepts GraphQLApiLambdaAuthorizerConfigArgs and GraphQLApiLambdaAuthorizerConfigOutput values. You can construct a concrete instance of `GraphQLApiLambdaAuthorizerConfigInput` via:
GraphQLApiLambdaAuthorizerConfigArgs{...}
type GraphQLApiLambdaAuthorizerConfigOutput ¶ added in v4.33.0
type GraphQLApiLambdaAuthorizerConfigOutput struct{ *pulumi.OutputState }
func (GraphQLApiLambdaAuthorizerConfigOutput) AuthorizerResultTtlInSeconds ¶ added in v4.33.0
func (o GraphQLApiLambdaAuthorizerConfigOutput) AuthorizerResultTtlInSeconds() pulumi.IntPtrOutput
The number of seconds a response should be cached for. The default is 5 minutes (300 seconds). The Lambda function can override this by returning a `ttlOverride` key in its response. A value of 0 disables caching of responses. Minimum value of 0. Maximum value of 3600.
func (GraphQLApiLambdaAuthorizerConfigOutput) AuthorizerUri ¶ added in v4.33.0
func (o GraphQLApiLambdaAuthorizerConfigOutput) AuthorizerUri() pulumi.StringOutput
The ARN of the Lambda function to be called for authorization. Note: This Lambda function must have a resource-based policy assigned to it, to allow `lambda:InvokeFunction` from service principal `appsync.amazonaws.com`.
func (GraphQLApiLambdaAuthorizerConfigOutput) ElementType ¶ added in v4.33.0
func (GraphQLApiLambdaAuthorizerConfigOutput) ElementType() reflect.Type
func (GraphQLApiLambdaAuthorizerConfigOutput) IdentityValidationExpression ¶ added in v4.33.0
func (o GraphQLApiLambdaAuthorizerConfigOutput) IdentityValidationExpression() pulumi.StringPtrOutput
A regular expression for validation of tokens before the Lambda function is called.
func (GraphQLApiLambdaAuthorizerConfigOutput) ToGraphQLApiLambdaAuthorizerConfigOutput ¶ added in v4.33.0
func (o GraphQLApiLambdaAuthorizerConfigOutput) ToGraphQLApiLambdaAuthorizerConfigOutput() GraphQLApiLambdaAuthorizerConfigOutput
func (GraphQLApiLambdaAuthorizerConfigOutput) ToGraphQLApiLambdaAuthorizerConfigOutputWithContext ¶ added in v4.33.0
func (o GraphQLApiLambdaAuthorizerConfigOutput) ToGraphQLApiLambdaAuthorizerConfigOutputWithContext(ctx context.Context) GraphQLApiLambdaAuthorizerConfigOutput
func (GraphQLApiLambdaAuthorizerConfigOutput) ToGraphQLApiLambdaAuthorizerConfigPtrOutput ¶ added in v4.33.0
func (o GraphQLApiLambdaAuthorizerConfigOutput) ToGraphQLApiLambdaAuthorizerConfigPtrOutput() GraphQLApiLambdaAuthorizerConfigPtrOutput
func (GraphQLApiLambdaAuthorizerConfigOutput) ToGraphQLApiLambdaAuthorizerConfigPtrOutputWithContext ¶ added in v4.33.0
func (o GraphQLApiLambdaAuthorizerConfigOutput) ToGraphQLApiLambdaAuthorizerConfigPtrOutputWithContext(ctx context.Context) GraphQLApiLambdaAuthorizerConfigPtrOutput
type GraphQLApiLambdaAuthorizerConfigPtrInput ¶ added in v4.33.0
type GraphQLApiLambdaAuthorizerConfigPtrInput interface { pulumi.Input ToGraphQLApiLambdaAuthorizerConfigPtrOutput() GraphQLApiLambdaAuthorizerConfigPtrOutput ToGraphQLApiLambdaAuthorizerConfigPtrOutputWithContext(context.Context) GraphQLApiLambdaAuthorizerConfigPtrOutput }
GraphQLApiLambdaAuthorizerConfigPtrInput is an input type that accepts GraphQLApiLambdaAuthorizerConfigArgs, GraphQLApiLambdaAuthorizerConfigPtr and GraphQLApiLambdaAuthorizerConfigPtrOutput values. You can construct a concrete instance of `GraphQLApiLambdaAuthorizerConfigPtrInput` via:
GraphQLApiLambdaAuthorizerConfigArgs{...} or: nil
func GraphQLApiLambdaAuthorizerConfigPtr ¶ added in v4.33.0
func GraphQLApiLambdaAuthorizerConfigPtr(v *GraphQLApiLambdaAuthorizerConfigArgs) GraphQLApiLambdaAuthorizerConfigPtrInput
type GraphQLApiLambdaAuthorizerConfigPtrOutput ¶ added in v4.33.0
type GraphQLApiLambdaAuthorizerConfigPtrOutput struct{ *pulumi.OutputState }
func (GraphQLApiLambdaAuthorizerConfigPtrOutput) AuthorizerResultTtlInSeconds ¶ added in v4.33.0
func (o GraphQLApiLambdaAuthorizerConfigPtrOutput) AuthorizerResultTtlInSeconds() pulumi.IntPtrOutput
The number of seconds a response should be cached for. The default is 5 minutes (300 seconds). The Lambda function can override this by returning a `ttlOverride` key in its response. A value of 0 disables caching of responses. Minimum value of 0. Maximum value of 3600.
func (GraphQLApiLambdaAuthorizerConfigPtrOutput) AuthorizerUri ¶ added in v4.33.0
func (o GraphQLApiLambdaAuthorizerConfigPtrOutput) AuthorizerUri() pulumi.StringPtrOutput
The ARN of the Lambda function to be called for authorization. Note: This Lambda function must have a resource-based policy assigned to it, to allow `lambda:InvokeFunction` from service principal `appsync.amazonaws.com`.
func (GraphQLApiLambdaAuthorizerConfigPtrOutput) ElementType ¶ added in v4.33.0
func (GraphQLApiLambdaAuthorizerConfigPtrOutput) ElementType() reflect.Type
func (GraphQLApiLambdaAuthorizerConfigPtrOutput) IdentityValidationExpression ¶ added in v4.33.0
func (o GraphQLApiLambdaAuthorizerConfigPtrOutput) IdentityValidationExpression() pulumi.StringPtrOutput
A regular expression for validation of tokens before the Lambda function is called.
func (GraphQLApiLambdaAuthorizerConfigPtrOutput) ToGraphQLApiLambdaAuthorizerConfigPtrOutput ¶ added in v4.33.0
func (o GraphQLApiLambdaAuthorizerConfigPtrOutput) ToGraphQLApiLambdaAuthorizerConfigPtrOutput() GraphQLApiLambdaAuthorizerConfigPtrOutput
func (GraphQLApiLambdaAuthorizerConfigPtrOutput) ToGraphQLApiLambdaAuthorizerConfigPtrOutputWithContext ¶ added in v4.33.0
func (o GraphQLApiLambdaAuthorizerConfigPtrOutput) ToGraphQLApiLambdaAuthorizerConfigPtrOutputWithContext(ctx context.Context) GraphQLApiLambdaAuthorizerConfigPtrOutput
type GraphQLApiLogConfig ¶
type GraphQLApiLogConfig struct { // Amazon Resource Name of the service role that AWS AppSync will assume to publish to Amazon CloudWatch logs in your account. CloudwatchLogsRoleArn string `pulumi:"cloudwatchLogsRoleArn"` // Set to TRUE to exclude sections that contain information such as headers, context, and evaluated mapping templates, regardless of logging level. Valid values: `true`, `false`. Default value: `false` ExcludeVerboseContent *bool `pulumi:"excludeVerboseContent"` // Field logging level. Valid values: `ALL`, `ERROR`, `NONE`. FieldLogLevel string `pulumi:"fieldLogLevel"` }
type GraphQLApiLogConfigArgs ¶
type GraphQLApiLogConfigArgs struct { // Amazon Resource Name of the service role that AWS AppSync will assume to publish to Amazon CloudWatch logs in your account. CloudwatchLogsRoleArn pulumi.StringInput `pulumi:"cloudwatchLogsRoleArn"` // Set to TRUE to exclude sections that contain information such as headers, context, and evaluated mapping templates, regardless of logging level. Valid values: `true`, `false`. Default value: `false` ExcludeVerboseContent pulumi.BoolPtrInput `pulumi:"excludeVerboseContent"` // Field logging level. Valid values: `ALL`, `ERROR`, `NONE`. FieldLogLevel pulumi.StringInput `pulumi:"fieldLogLevel"` }
func (GraphQLApiLogConfigArgs) ElementType ¶
func (GraphQLApiLogConfigArgs) ElementType() reflect.Type
func (GraphQLApiLogConfigArgs) ToGraphQLApiLogConfigOutput ¶
func (i GraphQLApiLogConfigArgs) ToGraphQLApiLogConfigOutput() GraphQLApiLogConfigOutput
func (GraphQLApiLogConfigArgs) ToGraphQLApiLogConfigOutputWithContext ¶
func (i GraphQLApiLogConfigArgs) ToGraphQLApiLogConfigOutputWithContext(ctx context.Context) GraphQLApiLogConfigOutput
func (GraphQLApiLogConfigArgs) ToGraphQLApiLogConfigPtrOutput ¶
func (i GraphQLApiLogConfigArgs) ToGraphQLApiLogConfigPtrOutput() GraphQLApiLogConfigPtrOutput
func (GraphQLApiLogConfigArgs) ToGraphQLApiLogConfigPtrOutputWithContext ¶
func (i GraphQLApiLogConfigArgs) ToGraphQLApiLogConfigPtrOutputWithContext(ctx context.Context) GraphQLApiLogConfigPtrOutput
type GraphQLApiLogConfigInput ¶
type GraphQLApiLogConfigInput interface { pulumi.Input ToGraphQLApiLogConfigOutput() GraphQLApiLogConfigOutput ToGraphQLApiLogConfigOutputWithContext(context.Context) GraphQLApiLogConfigOutput }
GraphQLApiLogConfigInput is an input type that accepts GraphQLApiLogConfigArgs and GraphQLApiLogConfigOutput values. You can construct a concrete instance of `GraphQLApiLogConfigInput` via:
GraphQLApiLogConfigArgs{...}
type GraphQLApiLogConfigOutput ¶
type GraphQLApiLogConfigOutput struct{ *pulumi.OutputState }
func (GraphQLApiLogConfigOutput) CloudwatchLogsRoleArn ¶
func (o GraphQLApiLogConfigOutput) CloudwatchLogsRoleArn() pulumi.StringOutput
Amazon Resource Name of the service role that AWS AppSync will assume to publish to Amazon CloudWatch logs in your account.
func (GraphQLApiLogConfigOutput) ElementType ¶
func (GraphQLApiLogConfigOutput) ElementType() reflect.Type
func (GraphQLApiLogConfigOutput) ExcludeVerboseContent ¶
func (o GraphQLApiLogConfigOutput) ExcludeVerboseContent() pulumi.BoolPtrOutput
Set to TRUE to exclude sections that contain information such as headers, context, and evaluated mapping templates, regardless of logging level. Valid values: `true`, `false`. Default value: `false`
func (GraphQLApiLogConfigOutput) FieldLogLevel ¶
func (o GraphQLApiLogConfigOutput) FieldLogLevel() pulumi.StringOutput
Field logging level. Valid values: `ALL`, `ERROR`, `NONE`.
func (GraphQLApiLogConfigOutput) ToGraphQLApiLogConfigOutput ¶
func (o GraphQLApiLogConfigOutput) ToGraphQLApiLogConfigOutput() GraphQLApiLogConfigOutput
func (GraphQLApiLogConfigOutput) ToGraphQLApiLogConfigOutputWithContext ¶
func (o GraphQLApiLogConfigOutput) ToGraphQLApiLogConfigOutputWithContext(ctx context.Context) GraphQLApiLogConfigOutput
func (GraphQLApiLogConfigOutput) ToGraphQLApiLogConfigPtrOutput ¶
func (o GraphQLApiLogConfigOutput) ToGraphQLApiLogConfigPtrOutput() GraphQLApiLogConfigPtrOutput
func (GraphQLApiLogConfigOutput) ToGraphQLApiLogConfigPtrOutputWithContext ¶
func (o GraphQLApiLogConfigOutput) ToGraphQLApiLogConfigPtrOutputWithContext(ctx context.Context) GraphQLApiLogConfigPtrOutput
type GraphQLApiLogConfigPtrInput ¶
type GraphQLApiLogConfigPtrInput interface { pulumi.Input ToGraphQLApiLogConfigPtrOutput() GraphQLApiLogConfigPtrOutput ToGraphQLApiLogConfigPtrOutputWithContext(context.Context) GraphQLApiLogConfigPtrOutput }
GraphQLApiLogConfigPtrInput is an input type that accepts GraphQLApiLogConfigArgs, GraphQLApiLogConfigPtr and GraphQLApiLogConfigPtrOutput values. You can construct a concrete instance of `GraphQLApiLogConfigPtrInput` via:
GraphQLApiLogConfigArgs{...} or: nil
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 GraphQLApiMap ¶
type GraphQLApiMap map[string]GraphQLApiInput
func (GraphQLApiMap) ElementType ¶
func (GraphQLApiMap) ElementType() reflect.Type
func (GraphQLApiMap) ToGraphQLApiMapOutput ¶
func (i GraphQLApiMap) ToGraphQLApiMapOutput() GraphQLApiMapOutput
func (GraphQLApiMap) ToGraphQLApiMapOutputWithContext ¶
func (i GraphQLApiMap) ToGraphQLApiMapOutputWithContext(ctx context.Context) GraphQLApiMapOutput
type GraphQLApiMapInput ¶
type GraphQLApiMapInput interface { pulumi.Input ToGraphQLApiMapOutput() GraphQLApiMapOutput ToGraphQLApiMapOutputWithContext(context.Context) GraphQLApiMapOutput }
GraphQLApiMapInput is an input type that accepts GraphQLApiMap and GraphQLApiMapOutput values. You can construct a concrete instance of `GraphQLApiMapInput` via:
GraphQLApiMap{ "key": GraphQLApiArgs{...} }
type GraphQLApiMapOutput ¶
type GraphQLApiMapOutput struct{ *pulumi.OutputState }
func (GraphQLApiMapOutput) ElementType ¶
func (GraphQLApiMapOutput) ElementType() reflect.Type
func (GraphQLApiMapOutput) MapIndex ¶
func (o GraphQLApiMapOutput) MapIndex(k pulumi.StringInput) GraphQLApiOutput
func (GraphQLApiMapOutput) ToGraphQLApiMapOutput ¶
func (o GraphQLApiMapOutput) ToGraphQLApiMapOutput() GraphQLApiMapOutput
func (GraphQLApiMapOutput) ToGraphQLApiMapOutputWithContext ¶
func (o GraphQLApiMapOutput) ToGraphQLApiMapOutputWithContext(ctx context.Context) GraphQLApiMapOutput
type GraphQLApiOpenidConnectConfig ¶
type GraphQLApiOpenidConnectConfig struct { // Number of milliseconds a token is valid after being authenticated. AuthTtl *int `pulumi:"authTtl"` // Client identifier of the Relying party at the OpenID identity provider. This identifier is typically obtained when the Relying party is registered with the OpenID identity provider. You can specify a regular expression so the AWS AppSync can validate against multiple client identifiers at a time. ClientId *string `pulumi:"clientId"` // Number of milliseconds a token is valid after being issued to a user. IatTtl *int `pulumi:"iatTtl"` // Issuer for the OpenID Connect configuration. The issuer returned by discovery MUST exactly match the value of iss in the ID Token. Issuer string `pulumi:"issuer"` }
type GraphQLApiOpenidConnectConfigArgs ¶
type GraphQLApiOpenidConnectConfigArgs struct { // Number of milliseconds a token is valid after being authenticated. AuthTtl pulumi.IntPtrInput `pulumi:"authTtl"` // Client identifier of the Relying party at the OpenID identity provider. This identifier is typically obtained when the Relying party is registered with the OpenID identity provider. You can specify a regular expression so the AWS AppSync can validate against multiple client identifiers at a time. ClientId pulumi.StringPtrInput `pulumi:"clientId"` // Number of milliseconds a token is valid after being issued to a user. IatTtl pulumi.IntPtrInput `pulumi:"iatTtl"` // Issuer for the OpenID Connect configuration. The issuer returned by discovery MUST exactly match the value of iss in the ID Token. Issuer pulumi.StringInput `pulumi:"issuer"` }
func (GraphQLApiOpenidConnectConfigArgs) ElementType ¶
func (GraphQLApiOpenidConnectConfigArgs) 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 GraphQLApiOutput ¶
type GraphQLApiOutput struct{ *pulumi.OutputState }
func (GraphQLApiOutput) ElementType ¶
func (GraphQLApiOutput) ElementType() reflect.Type
func (GraphQLApiOutput) ToGraphQLApiOutput ¶
func (o GraphQLApiOutput) ToGraphQLApiOutput() GraphQLApiOutput
func (GraphQLApiOutput) ToGraphQLApiOutputWithContext ¶
func (o GraphQLApiOutput) ToGraphQLApiOutputWithContext(ctx context.Context) GraphQLApiOutput
func (GraphQLApiOutput) ToGraphQLApiPtrOutput ¶
func (o GraphQLApiOutput) ToGraphQLApiPtrOutput() GraphQLApiPtrOutput
func (GraphQLApiOutput) ToGraphQLApiPtrOutputWithContext ¶
func (o GraphQLApiOutput) ToGraphQLApiPtrOutputWithContext(ctx context.Context) GraphQLApiPtrOutput
type GraphQLApiPtrInput ¶
type GraphQLApiPtrInput interface { pulumi.Input ToGraphQLApiPtrOutput() GraphQLApiPtrOutput ToGraphQLApiPtrOutputWithContext(ctx context.Context) GraphQLApiPtrOutput }
type GraphQLApiPtrOutput ¶
type GraphQLApiPtrOutput struct{ *pulumi.OutputState }
func (GraphQLApiPtrOutput) Elem ¶ added in v4.15.0
func (o GraphQLApiPtrOutput) Elem() GraphQLApiOutput
func (GraphQLApiPtrOutput) ElementType ¶
func (GraphQLApiPtrOutput) ElementType() reflect.Type
func (GraphQLApiPtrOutput) ToGraphQLApiPtrOutput ¶
func (o GraphQLApiPtrOutput) ToGraphQLApiPtrOutput() GraphQLApiPtrOutput
func (GraphQLApiPtrOutput) ToGraphQLApiPtrOutputWithContext ¶
func (o GraphQLApiPtrOutput) ToGraphQLApiPtrOutputWithContext(ctx context.Context) GraphQLApiPtrOutput
type GraphQLApiState ¶
type GraphQLApiState struct { // One or more additional authentication providers for the GraphqlApi. Defined below. AdditionalAuthenticationProviders GraphQLApiAdditionalAuthenticationProviderArrayInput // The ARN Arn pulumi.StringPtrInput // The authentication type. Valid values: `API_KEY`, `AWS_IAM`, `AMAZON_COGNITO_USER_POOLS`, `OPENID_CONNECT`, `AWS_LAMBDA` AuthenticationType pulumi.StringPtrInput // Nested argument containing Lambda authorizer configuration. Defined below. LambdaAuthorizerConfig GraphQLApiLambdaAuthorizerConfigPtrInput // Nested argument containing logging configuration. Defined below. LogConfig GraphQLApiLogConfigPtrInput // A user-supplied name for the GraphqlApi. Name pulumi.StringPtrInput // Nested argument containing OpenID Connect configuration. Defined below. OpenidConnectConfig GraphQLApiOpenidConnectConfigPtrInput // The schema definition, in GraphQL schema language format. This provider cannot perform drift detection of this configuration. Schema pulumi.StringPtrInput // A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. TagsAll pulumi.StringMapInput // Map of URIs associated with the APIE.g., `uris["GRAPHQL"] = https://ID.appsync-api.REGION.amazonaws.com/graphql` Uris pulumi.StringMapInput // The Amazon Cognito User Pool configuration. Defined below. UserPoolConfig GraphQLApiUserPoolConfigPtrInput // Whether tracing with X-ray is enabled. Defaults to false. XrayEnabled pulumi.BoolPtrInput }
func (GraphQLApiState) ElementType ¶
func (GraphQLApiState) ElementType() reflect.Type
type GraphQLApiUserPoolConfig ¶
type GraphQLApiUserPoolConfig struct { // A regular expression for validating the incoming Amazon Cognito User Pool app client ID. AppIdClientRegex *string `pulumi:"appIdClientRegex"` // The AWS region in which the user pool was created. AwsRegion *string `pulumi:"awsRegion"` // The action that you want your GraphQL API to take when a request that uses Amazon Cognito User Pool authentication doesn't match the Amazon Cognito User Pool configuration. Valid: `ALLOW` and `DENY` DefaultAction string `pulumi:"defaultAction"` // The user pool ID. UserPoolId string `pulumi:"userPoolId"` }
type GraphQLApiUserPoolConfigArgs ¶
type GraphQLApiUserPoolConfigArgs struct { // A regular expression for validating the incoming Amazon Cognito User Pool app client ID. AppIdClientRegex pulumi.StringPtrInput `pulumi:"appIdClientRegex"` // The AWS region in which the user pool was created. AwsRegion pulumi.StringPtrInput `pulumi:"awsRegion"` // The action that you want your GraphQL API to take when a request that uses Amazon Cognito User Pool authentication doesn't match the Amazon Cognito User Pool configuration. Valid: `ALLOW` and `DENY` DefaultAction pulumi.StringInput `pulumi:"defaultAction"` // The user pool ID. UserPoolId pulumi.StringInput `pulumi:"userPoolId"` }
func (GraphQLApiUserPoolConfigArgs) ElementType ¶
func (GraphQLApiUserPoolConfigArgs) 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. Required for non-Lambda resolvers. RequestTemplate pulumi.StringPtrOutput `pulumi:"requestTemplate"` // The response mapping template for UNIT resolver or 'after mapping template' for PIPELINE resolver. Required for non-Lambda resolvers. ResponseTemplate pulumi.StringPtrOutput `pulumi:"responseTemplate"` // The type name from the schema defined in the GraphQL API. Type pulumi.StringOutput `pulumi:"type"` }
Provides an AppSync Resolver.
## Example Usage
```go package main
import (
"fmt" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/appsync" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { testGraphQLApi, err := appsync.NewGraphQLApi(ctx, "testGraphQLApi", &appsync.GraphQLApiArgs{ AuthenticationType: pulumi.String("API_KEY"), Schema: pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v", "type Mutation {\n", " putPost(id: ID!, title: String!): Post\n", "}\n", "\n", "type Post {\n", " id: ID!\n", " title: String!\n", "}\n", "\n", "type Query {\n", " singlePost(id: ID!): Post\n", "}\n", "\n", "schema {\n", " query: Query\n", " mutation: Mutation\n", "}\n")), }) if err != nil { return err } testDataSource, err := appsync.NewDataSource(ctx, "testDataSource", &appsync.DataSourceArgs{ ApiId: testGraphQLApi.ID(), Name: pulumi.String("tf_example"), Type: pulumi.String("HTTP"), HttpConfig: &appsync.DataSourceHttpConfigArgs{ Endpoint: pulumi.String("http://example.com"), }, }) if err != nil { return err } _, err = appsync.NewResolver(ctx, "testResolver", &appsync.ResolverArgs{ ApiId: testGraphQLApi.ID(), Field: pulumi.String("singlePost"), Type: pulumi.String("Query"), DataSource: testDataSource.Name, RequestTemplate: pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v", "{\n", " \"version\": \"2018-05-29\",\n", " \"method\": \"GET\",\n", " \"resourcePath\": \"/\",\n", " \"params\":{\n", " \"headers\": ", "$", "utils.http.copyheaders(", "$", "ctx.request.headers)\n", " }\n", "}\n")), ResponseTemplate: pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v", "#if(", "$", "ctx.result.statusCode == 200)\n", " ", "$", "ctx.result.body\n", "#else\n", " ", "$", "utils.appendError(", "$", "ctx.result.body, ", "$", "ctx.result.statusCode)\n", "#end\n")), CachingConfig: &appsync.ResolverCachingConfigArgs{ CachingKeys: pulumi.StringArray{ pulumi.String(fmt.Sprintf("%v%v", "$", "context.identity.sub")), pulumi.String(fmt.Sprintf("%v%v", "$", "context.arguments.id")), }, Ttl: pulumi.Int(60), }, }) if err != nil { return err } _, err = appsync.NewResolver(ctx, "mutationPipelineTest", &appsync.ResolverArgs{ Type: pulumi.String("Mutation"), ApiId: testGraphQLApi.ID(), Field: pulumi.String("pipelineTest"), RequestTemplate: pulumi.String("{}"), ResponseTemplate: pulumi.String(fmt.Sprintf("%v%v%v%v", "$", "util.toJson(", "$", "ctx.result)")), Kind: pulumi.String("PIPELINE"), PipelineConfig: &appsync.ResolverPipelineConfigArgs{ Functions: pulumi.StringArray{ pulumi.Any(aws_appsync_function.Test1.Function_id), pulumi.Any(aws_appsync_function.Test2.Function_id), pulumi.Any(aws_appsync_function.Test3.Function_id), }, }, }) if err != nil { return err } return nil }) }
```
## Import
`aws_appsync_resolver` can be imported with their `api_id`, a hyphen, `type`, a hypen and `field` e.g.,
```sh
$ pulumi import aws:appsync/resolver:Resolver example abcdef123456-exampleType-exampleField
```
func GetResolver ¶
func GetResolver(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ResolverState, opts ...pulumi.ResourceOption) (*Resolver, error)
GetResolver gets an existing Resolver resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewResolver ¶
func NewResolver(ctx *pulumi.Context, name string, args *ResolverArgs, opts ...pulumi.ResourceOption) (*Resolver, error)
NewResolver registers a new resource with the given unique name, arguments, and options.
func (*Resolver) ElementType ¶
func (*Resolver) ToResolverOutput ¶
func (i *Resolver) ToResolverOutput() ResolverOutput
func (*Resolver) ToResolverOutputWithContext ¶
func (i *Resolver) ToResolverOutputWithContext(ctx context.Context) ResolverOutput
func (*Resolver) ToResolverPtrOutput ¶
func (i *Resolver) ToResolverPtrOutput() ResolverPtrOutput
func (*Resolver) ToResolverPtrOutputWithContext ¶
func (i *Resolver) ToResolverPtrOutputWithContext(ctx context.Context) ResolverPtrOutput
type ResolverArgs ¶
type ResolverArgs struct { // The API ID for the GraphQL API. ApiId pulumi.StringInput // The CachingConfig. CachingConfig ResolverCachingConfigPtrInput // The DataSource name. DataSource pulumi.StringPtrInput // The field name from the schema defined in the GraphQL API. Field pulumi.StringInput // The resolver type. Valid values are `UNIT` and `PIPELINE`. Kind pulumi.StringPtrInput // The PipelineConfig. PipelineConfig ResolverPipelineConfigPtrInput // The request mapping template for UNIT resolver or 'before mapping template' for PIPELINE resolver. Required for non-Lambda resolvers. RequestTemplate pulumi.StringPtrInput // The response mapping template for UNIT resolver or 'after mapping template' for PIPELINE resolver. Required for non-Lambda resolvers. ResponseTemplate pulumi.StringPtrInput // The type name from the schema defined in the GraphQL API. Type pulumi.StringInput }
The set of arguments for constructing a Resolver resource.
func (ResolverArgs) ElementType ¶
func (ResolverArgs) ElementType() reflect.Type
type ResolverArray ¶
type ResolverArray []ResolverInput
func (ResolverArray) ElementType ¶
func (ResolverArray) ElementType() reflect.Type
func (ResolverArray) ToResolverArrayOutput ¶
func (i ResolverArray) ToResolverArrayOutput() ResolverArrayOutput
func (ResolverArray) ToResolverArrayOutputWithContext ¶
func (i ResolverArray) ToResolverArrayOutputWithContext(ctx context.Context) ResolverArrayOutput
type ResolverArrayInput ¶
type ResolverArrayInput interface { pulumi.Input ToResolverArrayOutput() ResolverArrayOutput ToResolverArrayOutputWithContext(context.Context) ResolverArrayOutput }
ResolverArrayInput is an input type that accepts ResolverArray and ResolverArrayOutput values. You can construct a concrete instance of `ResolverArrayInput` via:
ResolverArray{ ResolverArgs{...} }
type ResolverArrayOutput ¶
type ResolverArrayOutput struct{ *pulumi.OutputState }
func (ResolverArrayOutput) ElementType ¶
func (ResolverArrayOutput) ElementType() reflect.Type
func (ResolverArrayOutput) Index ¶
func (o ResolverArrayOutput) Index(i pulumi.IntInput) ResolverOutput
func (ResolverArrayOutput) ToResolverArrayOutput ¶
func (o ResolverArrayOutput) ToResolverArrayOutput() ResolverArrayOutput
func (ResolverArrayOutput) ToResolverArrayOutputWithContext ¶
func (o ResolverArrayOutput) ToResolverArrayOutputWithContext(ctx context.Context) ResolverArrayOutput
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 ResolverInput ¶
type ResolverInput interface { pulumi.Input ToResolverOutput() ResolverOutput ToResolverOutputWithContext(ctx context.Context) ResolverOutput }
type ResolverMap ¶
type ResolverMap map[string]ResolverInput
func (ResolverMap) ElementType ¶
func (ResolverMap) ElementType() reflect.Type
func (ResolverMap) ToResolverMapOutput ¶
func (i ResolverMap) ToResolverMapOutput() ResolverMapOutput
func (ResolverMap) ToResolverMapOutputWithContext ¶
func (i ResolverMap) ToResolverMapOutputWithContext(ctx context.Context) ResolverMapOutput
type ResolverMapInput ¶
type ResolverMapInput interface { pulumi.Input ToResolverMapOutput() ResolverMapOutput ToResolverMapOutputWithContext(context.Context) ResolverMapOutput }
ResolverMapInput is an input type that accepts ResolverMap and ResolverMapOutput values. You can construct a concrete instance of `ResolverMapInput` via:
ResolverMap{ "key": ResolverArgs{...} }
type ResolverMapOutput ¶
type ResolverMapOutput struct{ *pulumi.OutputState }
func (ResolverMapOutput) ElementType ¶
func (ResolverMapOutput) ElementType() reflect.Type
func (ResolverMapOutput) MapIndex ¶
func (o ResolverMapOutput) MapIndex(k pulumi.StringInput) ResolverOutput
func (ResolverMapOutput) ToResolverMapOutput ¶
func (o ResolverMapOutput) ToResolverMapOutput() ResolverMapOutput
func (ResolverMapOutput) ToResolverMapOutputWithContext ¶
func (o ResolverMapOutput) ToResolverMapOutputWithContext(ctx context.Context) ResolverMapOutput
type ResolverOutput ¶
type ResolverOutput struct{ *pulumi.OutputState }
func (ResolverOutput) ElementType ¶
func (ResolverOutput) ElementType() reflect.Type
func (ResolverOutput) ToResolverOutput ¶
func (o ResolverOutput) ToResolverOutput() ResolverOutput
func (ResolverOutput) ToResolverOutputWithContext ¶
func (o ResolverOutput) ToResolverOutputWithContext(ctx context.Context) ResolverOutput
func (ResolverOutput) ToResolverPtrOutput ¶
func (o ResolverOutput) ToResolverPtrOutput() ResolverPtrOutput
func (ResolverOutput) ToResolverPtrOutputWithContext ¶
func (o ResolverOutput) ToResolverPtrOutputWithContext(ctx context.Context) ResolverPtrOutput
type ResolverPipelineConfig ¶
type ResolverPipelineConfig struct { // The list of Function ID. Functions []string `pulumi:"functions"` }
type ResolverPipelineConfigArgs ¶
type ResolverPipelineConfigArgs struct { // The list of Function ID. Functions pulumi.StringArrayInput `pulumi:"functions"` }
func (ResolverPipelineConfigArgs) ElementType ¶
func (ResolverPipelineConfigArgs) ElementType() reflect.Type
func (ResolverPipelineConfigArgs) ToResolverPipelineConfigOutput ¶
func (i ResolverPipelineConfigArgs) ToResolverPipelineConfigOutput() ResolverPipelineConfigOutput
func (ResolverPipelineConfigArgs) ToResolverPipelineConfigOutputWithContext ¶
func (i ResolverPipelineConfigArgs) ToResolverPipelineConfigOutputWithContext(ctx context.Context) ResolverPipelineConfigOutput
func (ResolverPipelineConfigArgs) ToResolverPipelineConfigPtrOutput ¶
func (i ResolverPipelineConfigArgs) ToResolverPipelineConfigPtrOutput() ResolverPipelineConfigPtrOutput
func (ResolverPipelineConfigArgs) ToResolverPipelineConfigPtrOutputWithContext ¶
func (i ResolverPipelineConfigArgs) ToResolverPipelineConfigPtrOutputWithContext(ctx context.Context) ResolverPipelineConfigPtrOutput
type ResolverPipelineConfigInput ¶
type ResolverPipelineConfigInput interface { pulumi.Input ToResolverPipelineConfigOutput() ResolverPipelineConfigOutput ToResolverPipelineConfigOutputWithContext(context.Context) ResolverPipelineConfigOutput }
ResolverPipelineConfigInput is an input type that accepts ResolverPipelineConfigArgs and ResolverPipelineConfigOutput values. You can construct a concrete instance of `ResolverPipelineConfigInput` via:
ResolverPipelineConfigArgs{...}
type ResolverPipelineConfigOutput ¶
type ResolverPipelineConfigOutput struct{ *pulumi.OutputState }
func (ResolverPipelineConfigOutput) ElementType ¶
func (ResolverPipelineConfigOutput) 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 ResolverPtrInput ¶
type ResolverPtrInput interface { pulumi.Input ToResolverPtrOutput() ResolverPtrOutput ToResolverPtrOutputWithContext(ctx context.Context) ResolverPtrOutput }
type ResolverPtrOutput ¶
type ResolverPtrOutput struct{ *pulumi.OutputState }
func (ResolverPtrOutput) Elem ¶ added in v4.15.0
func (o ResolverPtrOutput) Elem() ResolverOutput
func (ResolverPtrOutput) ElementType ¶
func (ResolverPtrOutput) ElementType() reflect.Type
func (ResolverPtrOutput) ToResolverPtrOutput ¶
func (o ResolverPtrOutput) ToResolverPtrOutput() ResolverPtrOutput
func (ResolverPtrOutput) ToResolverPtrOutputWithContext ¶
func (o ResolverPtrOutput) ToResolverPtrOutputWithContext(ctx context.Context) ResolverPtrOutput
type ResolverState ¶
type ResolverState struct { // The API ID for the GraphQL API. ApiId pulumi.StringPtrInput // The ARN Arn pulumi.StringPtrInput // The CachingConfig. CachingConfig ResolverCachingConfigPtrInput // The DataSource name. DataSource pulumi.StringPtrInput // The field name from the schema defined in the GraphQL API. Field pulumi.StringPtrInput // The resolver type. Valid values are `UNIT` and `PIPELINE`. Kind pulumi.StringPtrInput // The PipelineConfig. PipelineConfig ResolverPipelineConfigPtrInput // The request mapping template for UNIT resolver or 'before mapping template' for PIPELINE resolver. Required for non-Lambda resolvers. RequestTemplate pulumi.StringPtrInput // The response mapping template for UNIT resolver or 'after mapping template' for PIPELINE resolver. Required for non-Lambda resolvers. ResponseTemplate pulumi.StringPtrInput // The type name from the schema defined in the GraphQL API. Type pulumi.StringPtrInput }
func (ResolverState) ElementType ¶
func (ResolverState) ElementType() reflect.Type