Package-level declarations

Types

Link copied to clipboard
class Account : KotlinCustomResource

Provides a settings of an API Gateway Account. Settings is applied region-wide per provider block.

Link copied to clipboard
data class AccountArgs(val cloudwatchRoleArn: Output<String>? = null, val resetOnDelete: Output<Boolean>? = null) : ConvertibleToJava<AccountArgs>

Provides a settings of an API Gateway Account. Settings is applied region-wide per provider block.

Link copied to clipboard
Link copied to clipboard
object AccountMapper : ResourceMapper<Account>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class ApiKey : KotlinCustomResource

Provides an API Gateway API Key.

Link copied to clipboard
data class ApiKeyArgs(val customerId: Output<String>? = null, val description: Output<String>? = null, val enabled: Output<Boolean>? = null, val name: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val value: Output<String>? = null) : ConvertibleToJava<ApiKeyArgs>

Provides an API Gateway API Key.

Link copied to clipboard

Builder for ApiKeyArgs.

Link copied to clipboard
object ApiKeyMapper : ResourceMapper<ApiKey>
Link copied to clipboard

Builder for ApiKey.

Link copied to clipboard
class Authorizer : KotlinCustomResource

Provides an API Gateway Authorizer.

Link copied to clipboard
data class AuthorizerArgs(val authorizerCredentials: Output<String>? = null, val authorizerResultTtlInSeconds: Output<Int>? = null, val authorizerUri: Output<String>? = null, val identitySource: Output<String>? = null, val identityValidationExpression: Output<String>? = null, val name: Output<String>? = null, val providerArns: Output<List<String>>? = null, val restApi: Output<String>? = null, val type: Output<String>? = null) : ConvertibleToJava<AuthorizerArgs>

Provides an API Gateway Authorizer.

Link copied to clipboard
Link copied to clipboard
object AuthorizerMapper : ResourceMapper<Authorizer>
Link copied to clipboard
Link copied to clipboard
class BasePathMapping : KotlinCustomResource

Connects a custom domain name registered via aws.apigateway.DomainName with a deployed API so that its methods can be called via the custom domain name.

Link copied to clipboard
data class BasePathMappingArgs(val basePath: Output<String>? = null, val domainName: Output<String>? = null, val domainNameId: Output<String>? = null, val restApi: Output<String>? = null, val stageName: Output<String>? = null) : ConvertibleToJava<BasePathMappingArgs>

Connects a custom domain name registered via aws.apigateway.DomainName with a deployed API so that its methods can be called via the custom domain name.

Link copied to clipboard
object BasePathMappingMapper : ResourceMapper<BasePathMapping>
Link copied to clipboard
class ClientCertificate : KotlinCustomResource

Provides an API Gateway Client Certificate.

Link copied to clipboard
data class ClientCertificateArgs(val description: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<ClientCertificateArgs>

Provides an API Gateway Client Certificate.

Link copied to clipboard
object ClientCertificateMapper : ResourceMapper<ClientCertificate>
Link copied to clipboard
class Deployment : KotlinCustomResource

Manages an API Gateway REST Deployment. A deployment is a snapshot of the REST API configuration. The deployment can then be published to callable endpoints via the aws.apigateway.Stage resource and optionally managed further with the aws.apigateway.BasePathMapping resource, aws.apigateway.DomainName resource, and aws_api_method_settings resource. For more information, see the API Gateway Developer Guide. To properly capture all REST API configuration in a deployment, this resource must have dependencies on all prior resources that manage resources/paths, methods, integrations, etc.

Link copied to clipboard
data class DeploymentArgs(val canarySettings: Output<DeploymentCanarySettingsArgs>? = null, val description: Output<String>? = null, val restApi: Output<String>? = null, val stageDescription: Output<String>? = null, val stageName: Output<String>? = null, val triggers: Output<Map<String, String>>? = null, val variables: Output<Map<String, String>>? = null) : ConvertibleToJava<DeploymentArgs>

Manages an API Gateway REST Deployment. A deployment is a snapshot of the REST API configuration. The deployment can then be published to callable endpoints via the aws.apigateway.Stage resource and optionally managed further with the aws.apigateway.BasePathMapping resource, aws.apigateway.DomainName resource, and aws_api_method_settings resource. For more information, see the API Gateway Developer Guide. To properly capture all REST API configuration in a deployment, this resource must have dependencies on all prior resources that manage resources/paths, methods, integrations, etc.

Link copied to clipboard
Link copied to clipboard
object DeploymentMapper : ResourceMapper<Deployment>
Link copied to clipboard
Link copied to clipboard
class DocumentationPart : KotlinCustomResource

Provides a settings of an API Gateway Documentation Part.

Link copied to clipboard
data class DocumentationPartArgs(val location: Output<DocumentationPartLocationArgs>? = null, val properties: Output<String>? = null, val restApiId: Output<String>? = null) : ConvertibleToJava<DocumentationPartArgs>

Provides a settings of an API Gateway Documentation Part.

Link copied to clipboard
object DocumentationPartMapper : ResourceMapper<DocumentationPart>
Link copied to clipboard
class DocumentationVersion : KotlinCustomResource

Provides a resource to manage an API Gateway Documentation Version.

Link copied to clipboard
data class DocumentationVersionArgs(val description: Output<String>? = null, val restApiId: Output<String>? = null, val version: Output<String>? = null) : ConvertibleToJava<DocumentationVersionArgs>

Provides a resource to manage an API Gateway Documentation Version.

Link copied to clipboard
Link copied to clipboard
class DomainName : KotlinCustomResource

Registers a custom domain name for use with AWS API Gateway. Additional information about this functionality can be found in the API Gateway Developer Guide. This resource just establishes ownership of and the TLS settings for a particular domain name. An API can be attached to a particular path under the registered domain name using the aws.apigateway.BasePathMapping resource. API Gateway domains can be defined as either 'edge-optimized' or 'regional'. In an edge-optimized configuration, API Gateway internally creates and manages a CloudFront distribution to route requests on the given hostname. In addition to this resource it's necessary to create a DNS record corresponding to the given domain name which is an alias (either Route53 alias or traditional CNAME) to the Cloudfront domain name exported in the cloudfront_domain_name attribute. In a regional configuration, API Gateway does not create a CloudFront distribution to route requests to the API, though a distribution can be created if needed. In either case, it is necessary to create a DNS record corresponding to the given domain name which is an alias (either Route53 alias or traditional CNAME) to the regional domain name exported in the regional_domain_name attribute.

Link copied to clipboard
class DomainNameAccessAssociation : KotlinCustomResource

Creates a domain name access association resource between an access association source and a private custom domain name.

Link copied to clipboard
data class DomainNameAccessAssociationArgs(val accessAssociationSource: Output<String>? = null, val accessAssociationSourceType: Output<String>? = null, val domainNameArn: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<DomainNameAccessAssociationArgs>

Creates a domain name access association resource between an access association source and a private custom domain name.

Link copied to clipboard
data class DomainNameArgs(val certificateArn: Output<String>? = null, val certificateBody: Output<String>? = null, val certificateChain: Output<String>? = null, val certificateName: Output<String>? = null, val certificatePrivateKey: Output<String>? = null, val domainName: Output<String>? = null, val endpointConfiguration: Output<DomainNameEndpointConfigurationArgs>? = null, val mutualTlsAuthentication: Output<DomainNameMutualTlsAuthenticationArgs>? = null, val ownershipVerificationCertificateArn: Output<String>? = null, val policy: Output<String>? = null, val regionalCertificateArn: Output<String>? = null, val regionalCertificateName: Output<String>? = null, val securityPolicy: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<DomainNameArgs>

Registers a custom domain name for use with AWS API Gateway. Additional information about this functionality can be found in the API Gateway Developer Guide. This resource just establishes ownership of and the TLS settings for a particular domain name. An API can be attached to a particular path under the registered domain name using the aws.apigateway.BasePathMapping resource. API Gateway domains can be defined as either 'edge-optimized' or 'regional'. In an edge-optimized configuration, API Gateway internally creates and manages a CloudFront distribution to route requests on the given hostname. In addition to this resource it's necessary to create a DNS record corresponding to the given domain name which is an alias (either Route53 alias or traditional CNAME) to the Cloudfront domain name exported in the cloudfront_domain_name attribute. In a regional configuration, API Gateway does not create a CloudFront distribution to route requests to the API, though a distribution can be created if needed. In either case, it is necessary to create a DNS record corresponding to the given domain name which is an alias (either Route53 alias or traditional CNAME) to the regional domain name exported in the regional_domain_name attribute.

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

Provides an HTTP Method Integration for an API Gateway Integration.

Link copied to clipboard
data class IntegrationArgs(val cacheKeyParameters: Output<List<String>>? = null, val cacheNamespace: Output<String>? = null, val connectionId: Output<String>? = null, val connectionType: Output<String>? = null, val contentHandling: Output<String>? = null, val credentials: Output<String>? = null, val httpMethod: Output<String>? = null, val integrationHttpMethod: Output<String>? = null, val passthroughBehavior: Output<String>? = null, val requestParameters: Output<Map<String, String>>? = null, val requestTemplates: Output<Map<String, String>>? = null, val resourceId: Output<String>? = null, val restApi: Output<String>? = null, val timeoutMilliseconds: Output<Int>? = null, val tlsConfig: Output<IntegrationTlsConfigArgs>? = null, val type: Output<String>? = null, val uri: Output<String>? = null) : ConvertibleToJava<IntegrationArgs>

Provides an HTTP Method Integration for an API Gateway Integration.

Link copied to clipboard
Link copied to clipboard
object IntegrationMapper : ResourceMapper<Integration>
Link copied to clipboard
Link copied to clipboard
class IntegrationResponse : KotlinCustomResource

Provides an HTTP Method Integration Response for an API Gateway Resource.

Link copied to clipboard
data class IntegrationResponseArgs(val contentHandling: Output<String>? = null, val httpMethod: Output<String>? = null, val resourceId: Output<String>? = null, val responseParameters: Output<Map<String, String>>? = null, val responseTemplates: Output<Map<String, String>>? = null, val restApi: Output<String>? = null, val selectionPattern: Output<String>? = null, val statusCode: Output<String>? = null) : ConvertibleToJava<IntegrationResponseArgs>

Provides an HTTP Method Integration Response for an API Gateway Resource.

Link copied to clipboard
Link copied to clipboard
class Method : KotlinCustomResource

Provides a HTTP Method for an API Gateway Resource.

Link copied to clipboard
data class MethodArgs(val apiKeyRequired: Output<Boolean>? = null, val authorization: Output<String>? = null, val authorizationScopes: Output<List<String>>? = null, val authorizerId: Output<String>? = null, val httpMethod: Output<String>? = null, val operationName: Output<String>? = null, val requestModels: Output<Map<String, String>>? = null, val requestParameters: Output<Map<String, Boolean>>? = null, val requestValidatorId: Output<String>? = null, val resourceId: Output<String>? = null, val restApi: Output<String>? = null) : ConvertibleToJava<MethodArgs>

Provides a HTTP Method for an API Gateway Resource.

Link copied to clipboard

Builder for MethodArgs.

Link copied to clipboard
object MethodMapper : ResourceMapper<Method>
Link copied to clipboard

Builder for Method.

Link copied to clipboard
class MethodResponse : KotlinCustomResource

Provides an HTTP Method Response for an API Gateway Resource. More information about API Gateway method responses can be found in the Amazon API Gateway Developer Guide.

Link copied to clipboard
data class MethodResponseArgs(val httpMethod: Output<String>? = null, val resourceId: Output<String>? = null, val responseModels: Output<Map<String, String>>? = null, val responseParameters: Output<Map<String, Boolean>>? = null, val restApi: Output<String>? = null, val statusCode: Output<String>? = null) : ConvertibleToJava<MethodResponseArgs>

Provides an HTTP Method Response for an API Gateway Resource. More information about API Gateway method responses can be found in the Amazon API Gateway Developer Guide.

Link copied to clipboard
Link copied to clipboard
object MethodResponseMapper : ResourceMapper<MethodResponse>
Link copied to clipboard
class MethodSettings : KotlinCustomResource

Manages API Gateway Stage Method Settings. For example, CloudWatch logging and metrics.

Link copied to clipboard
data class MethodSettingsArgs(val methodPath: Output<String>? = null, val restApi: Output<String>? = null, val settings: Output<MethodSettingsSettingsArgs>? = null, val stageName: Output<String>? = null) : ConvertibleToJava<MethodSettingsArgs>

/* Manages API Gateway Stage Method Settings. For example, CloudWatch logging and metrics.

Link copied to clipboard
Link copied to clipboard
object MethodSettingsMapper : ResourceMapper<MethodSettings>
Link copied to clipboard
class Model : KotlinCustomResource

Provides a Model for a REST API Gateway.

Link copied to clipboard
data class ModelArgs(val contentType: Output<String>? = null, val description: Output<String>? = null, val name: Output<String>? = null, val restApi: Output<String>? = null, val schema: Output<String>? = null) : ConvertibleToJava<ModelArgs>

Provides a Model for a REST API Gateway.

Link copied to clipboard

Builder for ModelArgs.

Link copied to clipboard
object ModelMapper : ResourceMapper<Model>
Link copied to clipboard

Builder for Model.

Link copied to clipboard
class RequestValidator : KotlinCustomResource

Manages an API Gateway Request Validator.

Link copied to clipboard
data class RequestValidatorArgs(val name: Output<String>? = null, val restApi: Output<String>? = null, val validateRequestBody: Output<Boolean>? = null, val validateRequestParameters: Output<Boolean>? = null) : ConvertibleToJava<RequestValidatorArgs>

Manages an API Gateway Request Validator.

Link copied to clipboard
object RequestValidatorMapper : ResourceMapper<RequestValidator>
Link copied to clipboard
class Resource : KotlinCustomResource

Provides an API Gateway Resource.

Link copied to clipboard
data class ResourceArgs(val parentId: Output<String>? = null, val pathPart: Output<String>? = null, val restApi: Output<String>? = null) : ConvertibleToJava<ResourceArgs>

Provides an API Gateway Resource.

Link copied to clipboard
Link copied to clipboard
object ResourceMapper : ResourceMapper<Resource>
Link copied to clipboard
Link copied to clipboard
class Response : KotlinCustomResource

Provides an API Gateway Gateway Response for a REST API Gateway.

Link copied to clipboard
data class ResponseArgs(val responseParameters: Output<Map<String, String>>? = null, val responseTemplates: Output<Map<String, String>>? = null, val responseType: Output<String>? = null, val restApiId: Output<String>? = null, val statusCode: Output<String>? = null) : ConvertibleToJava<ResponseArgs>

Provides an API Gateway Gateway Response for a REST API Gateway.

Link copied to clipboard
Link copied to clipboard
object ResponseMapper : ResourceMapper<Response>
Link copied to clipboard
Link copied to clipboard
class RestApi : KotlinCustomResource

Manages an API Gateway REST API. The REST API can be configured via importing an OpenAPI specification in the body argument (with other arguments serving as overrides) or via other provider resources to manage the resources (aws.apigateway.Resource resource), methods (aws.apigateway.Method resource), integrations (aws.apigateway.Integration resource), etc. of the REST API. Once the REST API is configured, the aws.apigateway.Deployment resource can be used along with the aws.apigateway.Stage resource to publish the REST API.

Link copied to clipboard
data class RestApiArgs(val apiKeySource: Output<String>? = null, val binaryMediaTypes: Output<List<String>>? = null, val body: Output<String>? = null, val description: Output<String>? = null, val disableExecuteApiEndpoint: Output<Boolean>? = null, val endpointConfiguration: Output<RestApiEndpointConfigurationArgs>? = null, val failOnWarnings: Output<Boolean>? = null, val minimumCompressionSize: Output<String>? = null, val name: Output<String>? = null, val parameters: Output<Map<String, String>>? = null, val policy: Output<String>? = null, val putRestApiMode: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<RestApiArgs>

Manages an API Gateway REST API. The REST API can be configured via importing an OpenAPI specification in the body argument (with other arguments serving as overrides) or via other provider resources to manage the resources (aws.apigateway.Resource resource), methods (aws.apigateway.Method resource), integrations (aws.apigateway.Integration resource), etc. of the REST API. Once the REST API is configured, the aws.apigateway.Deployment resource can be used along with the aws.apigateway.Stage resource to publish the REST API.

Link copied to clipboard
Link copied to clipboard
object RestApiMapper : ResourceMapper<RestApi>
Link copied to clipboard
class RestApiPolicy : KotlinCustomResource

Provides an API Gateway REST API Policy.

Link copied to clipboard
data class RestApiPolicyArgs(val policy: Output<String>? = null, val restApiId: Output<String>? = null) : ConvertibleToJava<RestApiPolicyArgs>

Provides an API Gateway REST API Policy.

Link copied to clipboard
Link copied to clipboard
object RestApiPolicyMapper : ResourceMapper<RestApiPolicy>
Link copied to clipboard
Link copied to clipboard
class RestApiPut : KotlinCustomResource
Link copied to clipboard
data class RestApiPutArgs(val body: Output<String>? = null, val failOnWarnings: Output<Boolean>? = null, val parameters: Output<Map<String, String>>? = null, val restApiId: Output<String>? = null, val timeouts: Output<RestApiPutTimeoutsArgs>? = null, val triggers: Output<Map<String, String>>? = null) : ConvertibleToJava<RestApiPutArgs>
Link copied to clipboard
Link copied to clipboard
object RestApiPutMapper : ResourceMapper<RestApiPut>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class Stage : KotlinCustomResource

Manages an API Gateway Stage. A stage is a named reference to a deployment, which can be done via the aws.apigateway.Deployment resource. Stages can be optionally managed further with the aws.apigateway.BasePathMapping resource, aws.apigateway.DomainName resource, and aws_api_method_settings resource. For more information, see the API Gateway Developer Guide.

Link copied to clipboard
data class StageArgs(val accessLogSettings: Output<StageAccessLogSettingsArgs>? = null, val cacheClusterEnabled: Output<Boolean>? = null, val cacheClusterSize: Output<String>? = null, val canarySettings: Output<StageCanarySettingsArgs>? = null, val clientCertificateId: Output<String>? = null, val deployment: Output<String>? = null, val description: Output<String>? = null, val documentationVersion: Output<String>? = null, val restApi: Output<String>? = null, val stageName: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val variables: Output<Map<String, String>>? = null, val xrayTracingEnabled: Output<Boolean>? = null) : ConvertibleToJava<StageArgs>

Manages an API Gateway Stage. A stage is a named reference to a deployment, which can be done via the aws.apigateway.Deployment resource. Stages can be optionally managed further with the aws.apigateway.BasePathMapping resource, aws.apigateway.DomainName resource, and aws_api_method_settings resource. For more information, see the API Gateway Developer Guide.

Link copied to clipboard

Builder for StageArgs.

Link copied to clipboard
object StageMapper : ResourceMapper<Stage>
Link copied to clipboard

Builder for Stage.

Link copied to clipboard
class UsagePlan : KotlinCustomResource

Provides an API Gateway Usage Plan.

Link copied to clipboard
data class UsagePlanArgs(val apiStages: Output<List<UsagePlanApiStageArgs>>? = null, val description: Output<String>? = null, val name: Output<String>? = null, val productCode: Output<String>? = null, val quotaSettings: Output<UsagePlanQuotaSettingsArgs>? = null, val tags: Output<Map<String, String>>? = null, val throttleSettings: Output<UsagePlanThrottleSettingsArgs>? = null) : ConvertibleToJava<UsagePlanArgs>

Provides an API Gateway Usage Plan.

Link copied to clipboard
Link copied to clipboard
class UsagePlanKey : KotlinCustomResource

Provides an API Gateway Usage Plan Key.

Link copied to clipboard
data class UsagePlanKeyArgs(val keyId: Output<String>? = null, val keyType: Output<String>? = null, val usagePlanId: Output<String>? = null) : ConvertibleToJava<UsagePlanKeyArgs>

Provides an API Gateway Usage Plan Key.

Link copied to clipboard
Link copied to clipboard
object UsagePlanKeyMapper : ResourceMapper<UsagePlanKey>
Link copied to clipboard
Link copied to clipboard
object UsagePlanMapper : ResourceMapper<UsagePlan>
Link copied to clipboard
Link copied to clipboard
class VpcLink : KotlinCustomResource

Provides an API Gateway VPC Link.

Link copied to clipboard
data class VpcLinkArgs(val description: Output<String>? = null, val name: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val targetArn: Output<String>? = null) : ConvertibleToJava<VpcLinkArgs>

Provides an API Gateway VPC Link.

Link copied to clipboard
Link copied to clipboard
object VpcLinkMapper : ResourceMapper<VpcLink>
Link copied to clipboard

Functions

Link copied to clipboard
fun account(name: String): Account
suspend fun account(name: String, block: suspend AccountResourceBuilder.() -> Unit): Account
Link copied to clipboard
fun apiKey(name: String): ApiKey
suspend fun apiKey(name: String, block: suspend ApiKeyResourceBuilder.() -> Unit): ApiKey
Link copied to clipboard
suspend fun authorizer(name: String, block: suspend AuthorizerResourceBuilder.() -> Unit): Authorizer
Link copied to clipboard
Link copied to clipboard
suspend fun deployment(name: String, block: suspend DeploymentResourceBuilder.() -> Unit): Deployment
Link copied to clipboard
suspend fun domainName(name: String, block: suspend DomainNameResourceBuilder.() -> Unit): DomainName
Link copied to clipboard
suspend fun integration(name: String, block: suspend IntegrationResourceBuilder.() -> Unit): Integration
Link copied to clipboard
fun method(name: String): Method
suspend fun method(name: String, block: suspend MethodResourceBuilder.() -> Unit): Method
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun model(name: String): Model
suspend fun model(name: String, block: suspend ModelResourceBuilder.() -> Unit): Model
Link copied to clipboard
Link copied to clipboard
suspend fun resource(name: String, block: suspend ResourceResourceBuilder.() -> Unit): Resource
Link copied to clipboard
suspend fun response(name: String, block: suspend ResponseResourceBuilder.() -> Unit): Response
Link copied to clipboard
fun restApi(name: String): RestApi
suspend fun restApi(name: String, block: suspend RestApiResourceBuilder.() -> Unit): RestApi
Link copied to clipboard
Link copied to clipboard
suspend fun restApiPut(name: String, block: suspend RestApiPutResourceBuilder.() -> Unit): RestApiPut
Link copied to clipboard
fun stage(name: String): Stage
suspend fun stage(name: String, block: suspend StageResourceBuilder.() -> Unit): Stage
Link copied to clipboard
suspend fun usagePlan(name: String, block: suspend UsagePlanResourceBuilder.() -> Unit): UsagePlan
Link copied to clipboard
Link copied to clipboard
fun vpcLink(name: String): VpcLink
suspend fun vpcLink(name: String, block: suspend VpcLinkResourceBuilder.() -> Unit): VpcLink