Deployment Args
data class DeploymentArgs(val apiId: Output<String>? = null, val description: Output<String>? = null, val triggers: Output<Map<String, String>>? = null) : ConvertibleToJava<DeploymentArgs>
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.Routeresource associated with that API. To avoid race conditions when all resources are being created together, you need to add implicit resource references via thetriggersargument or explicit resource references using the resourcedependsOnmeta-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/1122334Content copied to clipboard
The triggers argument cannot be imported.