DeploymentReference
- class aws_cdk.aws_apigateway.DeploymentReference(*, deployment_id, rest_api_id)
Bases:
object
A reference to a Deployment resource.
- Parameters:
deployment_id (
str
) – The DeploymentId of the Deployment resource.rest_api_id (
str
) – The RestApiId 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_apigateway as apigateway deployment_reference = apigateway.DeploymentReference( deployment_id="deploymentId", rest_api_id="restApiId" )
Attributes
- deployment_id
The DeploymentId of the Deployment resource.
- rest_api_id
The RestApiId of the Deployment resource.