Package-level declarations

Types

Link copied to clipboard
class Api : KotlinCustomResource

Resource schema for AppSync Api

Link copied to clipboard
data class ApiArgs(val eventConfig: Output<ApiEventConfigArgs>? = null, val name: Output<String>? = null, val ownerContact: Output<String>? = null, val tags: Output<List<TagArgs>>? = null) : ConvertibleToJava<ApiArgs>

Resource schema for AppSync Api

Link copied to clipboard

Builder for ApiArgs.

Link copied to clipboard
object ApiMapper : ResourceMapper<Api>
Link copied to clipboard

Builder for Api.

Link copied to clipboard
Link copied to clipboard
class ChannelNamespace : KotlinCustomResource

Resource schema for AppSync ChannelNamespace

Link copied to clipboard
data class ChannelNamespaceArgs(val apiId: Output<String>? = null, val codeHandlers: Output<String>? = null, val codeS3Location: Output<String>? = null, val handlerConfigs: Output<ChannelNamespaceHandlerConfigsArgs>? = null, val name: Output<String>? = null, val publishAuthModes: Output<List<ChannelNamespaceAuthModeArgs>>? = null, val subscribeAuthModes: Output<List<ChannelNamespaceAuthModeArgs>>? = null, val tags: Output<List<TagArgs>>? = null) : ConvertibleToJava<ChannelNamespaceArgs>

Resource schema for AppSync ChannelNamespace

Link copied to clipboard
object ChannelNamespaceMapper : ResourceMapper<ChannelNamespace>
Link copied to clipboard
class DataSource : KotlinCustomResource

Resource Type definition for AWS::AppSync::DataSource

Link copied to clipboard
data class DataSourceArgs(val apiId: Output<String>? = null, val description: Output<String>? = null, val dynamoDbConfig: Output<DataSourceDynamoDbConfigArgs>? = null, val elasticsearchConfig: Output<DataSourceElasticsearchConfigArgs>? = null, val eventBridgeConfig: Output<DataSourceEventBridgeConfigArgs>? = null, val httpConfig: Output<DataSourceHttpConfigArgs>? = null, val lambdaConfig: Output<DataSourceLambdaConfigArgs>? = null, val metricsConfig: Output<DataSourceMetricsConfig>? = null, val name: Output<String>? = null, val openSearchServiceConfig: Output<DataSourceOpenSearchServiceConfigArgs>? = null, val relationalDatabaseConfig: Output<DataSourceRelationalDatabaseConfigArgs>? = null, val serviceRoleArn: Output<String>? = null, val type: Output<String>? = null) : ConvertibleToJava<DataSourceArgs>

Resource Type definition for AWS::AppSync::DataSource

Link copied to clipboard
Link copied to clipboard
object DataSourceMapper : ResourceMapper<DataSource>
Link copied to clipboard
Link copied to clipboard
class DomainName : KotlinCustomResource

Resource Type definition for AWS::AppSync::DomainName

Link copied to clipboard
class DomainNameApiAssociation : KotlinCustomResource

Resource Type definition for AWS::AppSync::DomainNameApiAssociation

Link copied to clipboard
data class DomainNameApiAssociationArgs(val apiId: Output<String>? = null, val domainName: Output<String>? = null) : ConvertibleToJava<DomainNameApiAssociationArgs>

Resource Type definition for AWS::AppSync::DomainNameApiAssociation

Link copied to clipboard
data class DomainNameArgs(val certificateArn: Output<String>? = null, val description: Output<String>? = null, val domainName: Output<String>? = null, val tags: Output<List<TagArgs>>? = null) : ConvertibleToJava<DomainNameArgs>

Resource Type definition for AWS::AppSync::DomainName

Link copied to clipboard
Link copied to clipboard
object DomainNameMapper : ResourceMapper<DomainName>
Link copied to clipboard
Link copied to clipboard
class FunctionConfiguration : KotlinCustomResource

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

Link copied to clipboard
data class FunctionConfigurationArgs(val apiId: Output<String>? = null, val code: Output<String>? = null, val codeS3Location: Output<String>? = null, val dataSourceName: Output<String>? = null, val description: Output<String>? = null, val functionVersion: Output<String>? = null, val maxBatchSize: Output<Int>? = null, val name: Output<String>? = null, val requestMappingTemplate: Output<String>? = null, val requestMappingTemplateS3Location: Output<String>? = null, val responseMappingTemplate: Output<String>? = null, val responseMappingTemplateS3Location: Output<String>? = null, val runtime: Output<FunctionConfigurationAppSyncRuntimeArgs>? = null, val syncConfig: Output<FunctionConfigurationSyncConfigArgs>? = null) : ConvertibleToJava<FunctionConfigurationArgs>

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

Link copied to clipboard
Link copied to clipboard
class GraphQlApi : KotlinCustomResource

Resource Type definition for AWS::AppSync::GraphQLApi

Link copied to clipboard
data class GraphQlApiArgs(val additionalAuthenticationProviders: Output<List<GraphQlApiAdditionalAuthenticationProviderArgs>>? = null, val apiType: Output<String>? = null, val authenticationType: Output<String>? = null, val enhancedMetricsConfig: Output<GraphQlApiEnhancedMetricsConfigArgs>? = null, val environmentVariables: Output<Map<String, String>>? = null, val introspectionConfig: Output<String>? = null, val lambdaAuthorizerConfig: Output<GraphQlApiLambdaAuthorizerConfigArgs>? = null, val logConfig: Output<GraphQlApiLogConfigArgs>? = null, val mergedApiExecutionRoleArn: Output<String>? = null, val name: Output<String>? = null, val openIdConnectConfig: Output<GraphQlApiOpenIdConnectConfigArgs>? = null, val ownerContact: Output<String>? = null, val queryDepthLimit: Output<Int>? = null, val resolverCountLimit: Output<Int>? = null, val tags: Output<List<TagArgs>>? = null, val userPoolConfig: Output<GraphQlApiUserPoolConfigArgs>? = null, val visibility: Output<String>? = null, val xrayEnabled: Output<Boolean>? = null) : ConvertibleToJava<GraphQlApiArgs>

Resource Type definition for AWS::AppSync::GraphQLApi

Link copied to clipboard
Link copied to clipboard
object GraphQlApiMapper : ResourceMapper<GraphQlApi>
Link copied to clipboard
Link copied to clipboard
class Resolver : KotlinCustomResource

The `AWS::AppSync::Resolver` resource defines the logical GraphQL resolver that you attach to fields in a schema. Request and response templates for resolvers are written in Apache Velocity Template Language (VTL) format. For more information about resolvers, see Resolver Mapping Template Reference. When you submit an update, CFNLong updates resources based on differences between what you submit and the stack's current template. To cause this resource to be updated you must change a property value for this resource in the CFNshort template. Changing the S3 file content without changing a property value will not result in an update operation. See Update Behaviors of Stack Resources in the User Guide.

Link copied to clipboard
data class ResolverArgs(val apiId: Output<String>? = null, val cachingConfig: Output<ResolverCachingConfigArgs>? = null, val code: Output<String>? = null, val codeS3Location: Output<String>? = null, val dataSourceName: Output<String>? = null, val fieldName: Output<String>? = null, val kind: Output<String>? = null, val maxBatchSize: Output<Int>? = null, val metricsConfig: Output<ResolverMetricsConfig>? = null, val pipelineConfig: Output<ResolverPipelineConfigArgs>? = null, val requestMappingTemplate: Output<String>? = null, val requestMappingTemplateS3Location: Output<String>? = null, val responseMappingTemplate: Output<String>? = null, val responseMappingTemplateS3Location: Output<String>? = null, val runtime: Output<ResolverAppSyncRuntimeArgs>? = null, val syncConfig: Output<ResolverSyncConfigArgs>? = null, val typeName: Output<String>? = null) : ConvertibleToJava<ResolverArgs>

The `AWS::AppSync::Resolver` resource defines the logical GraphQL resolver that you attach to fields in a schema. Request and response templates for resolvers are written in Apache Velocity Template Language (VTL) format. For more information about resolvers, see Resolver Mapping Template Reference. When you submit an update, CFNLong updates resources based on differences between what you submit and the stack's current template. To cause this resource to be updated you must change a property value for this resource in the CFNshort template. Changing the S3 file content without changing a property value will not result in an update operation. See Update Behaviors of Stack Resources in the User Guide.

Link copied to clipboard
Link copied to clipboard
object ResolverMapper : ResourceMapper<Resolver>
Link copied to clipboard
Link copied to clipboard
class SourceApiAssociation : KotlinCustomResource

Resource Type definition for AWS::AppSync::SourceApiAssociation

Link copied to clipboard
data class SourceApiAssociationArgs(val description: Output<String>? = null, val mergedApiIdentifier: Output<String>? = null, val sourceApiAssociationConfig: Output<SourceApiAssociationConfigArgs>? = null, val sourceApiIdentifier: Output<String>? = null) : ConvertibleToJava<SourceApiAssociationArgs>

Resource Type definition for AWS::AppSync::SourceApiAssociation

Link copied to clipboard

Functions

Link copied to clipboard
fun api(name: String): Api
suspend fun api(name: String, block: suspend ApiResourceBuilder.() -> Unit): Api
Link copied to clipboard
Link copied to clipboard
suspend fun dataSource(name: String, block: suspend DataSourceResourceBuilder.() -> Unit): DataSource
Link copied to clipboard
suspend fun domainName(name: String, block: suspend DomainNameResourceBuilder.() -> Unit): DomainName
Link copied to clipboard
suspend fun graphQlApi(name: String, block: suspend GraphQlApiResourceBuilder.() -> Unit): GraphQlApi
Link copied to clipboard
suspend fun resolver(name: String, block: suspend ResolverResourceBuilder.() -> Unit): Resolver