DeploymentReference

class aws_cdk.aws_apigatewayv2.DeploymentReference(*, api_id, deployment_id)

Bases: object

A reference to a Deployment resource.

Parameters:
  • api_id (str) – The ApiId of the Deployment resource.

  • deployment_id (str) – The DeploymentId of the Deployment resource.

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_apigatewayv2 as apigatewayv2

deployment_reference = apigatewayv2.DeploymentReference(
    api_id="apiId",
    deployment_id="deploymentId"
)

Attributes

api_id

The ApiId of the Deployment resource.

deployment_id

The DeploymentId of the Deployment resource.