Deployment

class Deployment : KotlinCustomResource

Manages an Amazon API Gateway Version 2 deployment. More information can be found in the Amazon API Gateway Developer Guide.

Note: Creating a deployment for an API requires at least one aws.apigatewayv2.Route resource associated with that API. To avoid race conditions when all resources are being created together, you need to add implicit resource references via the triggers argument or explicit resource references using the resource dependsOn meta-argument.

Example Usage

Import

Using pulumi import, import aws_apigatewayv2_deployment using the API identifier and deployment identifier. For example:

$ pulumi import aws:apigatewayv2/deployment:Deployment example aabbccddee/1122334

The triggers argument cannot be imported.

Properties

Link copied to clipboard
val apiId: Output<String>

API identifier.

Link copied to clipboard
val autoDeployed: Output<Boolean>

Whether the deployment was automatically released.

Link copied to clipboard
val description: Output<String>?

Description for the deployment resource. Must be less than or equal to 1024 characters in length.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val triggers: Output<Map<String, String>>?

Map of arbitrary keys and values that, when changed, will trigger a redeployment.

Link copied to clipboard
val urn: Output<String>