Package-level declarations

Types

Link copied to clipboard

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) : 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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Provides an API Gateway API Key.

Link copied to clipboard
data class ApiKeyArgs(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
Link copied to clipboard

Builder for ApiKey.

Link copied to clipboard

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
Link copied to clipboard
Link copied to clipboard

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 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

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

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 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
Link copied to clipboard
Link copied to clipboard

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

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

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
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 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
Link copied to clipboard
Link copied to clipboard

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
Link copied to clipboard
Link copied to clipboard

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

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
Link copied to clipboard

Builder for Method.

Link copied to clipboard

Provides an HTTP Method Response for an API Gateway Resource.

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.

Link copied to clipboard
Link copied to clipboard

/* 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

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
Link copied to clipboard

Builder for Model.

Link copied to clipboard

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

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
Link copied to clipboard
Link copied to clipboard

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
Link copied to clipboard
Link copied to clipboard

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 minimumCompressionSize: Output<Int>? = 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
Link copied to clipboard

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
Link copied to clipboard
Link copied to clipboard

/* 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
Link copied to clipboard

Builder for Stage.

Link copied to clipboard

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

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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

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
Link copied to clipboard

Functions

Link copied to clipboard
suspend fun accountResource(name: String, block: suspend AccountResourceBuilder.() -> Unit): Account
Link copied to clipboard
suspend fun apiKeyResource(name: String, block: suspend ApiKeyResourceBuilder.() -> Unit): ApiKey
Link copied to clipboard
suspend fun authorizerResource(name: String, block: suspend AuthorizerResourceBuilder.() -> Unit): Authorizer
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun deploymentResource(name: String, block: suspend DeploymentResourceBuilder.() -> Unit): Deployment
Link copied to clipboard
Link copied to clipboard
suspend fun domainNameResource(name: String, block: suspend DomainNameResourceBuilder.() -> Unit): DomainName
Link copied to clipboard
suspend fun integrationResource(name: String, block: suspend IntegrationResourceBuilder.() -> Unit): Integration
Link copied to clipboard
suspend fun methodResource(name: String, block: suspend MethodResourceBuilder.() -> Unit): Method
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun modelResource(name: String, block: suspend ModelResourceBuilder.() -> Unit): Model
Link copied to clipboard
Link copied to clipboard
suspend fun resourceResource(name: String, block: suspend ResourceResourceBuilder.() -> Unit): Resource
Link copied to clipboard
suspend fun responseResource(name: String, block: suspend ResponseResourceBuilder.() -> Unit): Response
Link copied to clipboard
Link copied to clipboard
suspend fun restApiResource(name: String, block: suspend RestApiResourceBuilder.() -> Unit): RestApi
Link copied to clipboard
suspend fun stageResource(name: String, block: suspend StageResourceBuilder.() -> Unit): Stage
Link copied to clipboard
suspend fun usagePlanKeyResource(name: String, block: suspend UsagePlanKeyResourceBuilder.() -> Unit): UsagePlanKey
Link copied to clipboard
suspend fun usagePlanResource(name: String, block: suspend UsagePlanResourceBuilder.() -> Unit): UsagePlan
Link copied to clipboard
suspend fun vpcLinkResource(name: String, block: suspend VpcLinkResourceBuilder.() -> Unit): VpcLink