Skip to content
v2.278.0

CfnDeploymentProps Struct ​

Properties for defining a CfnDeployment.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_m2 as m2 } from 'aws-cdk-lib';
const cfnDeploymentProps: m2.CfnDeploymentProps = {
  applicationId: 'applicationId',
  applicationVersion: 123,
  environmentId: 'environmentId',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_m2 as m2

cfn_deployment_props = m2.CfnDeploymentProps(
    application_id="applicationId",
    application_version=123,
    environment_id="environmentId"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.m2.*;

CfnDeploymentProps cfnDeploymentProps = CfnDeploymentProps.builder()
        .applicationId("applicationId")
        .applicationVersion(123)
        .environmentId("environmentId")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.M2;

var cfnDeploymentProps = new CfnDeploymentProps {
    ApplicationId = "applicationId",
    ApplicationVersion = 123,
    EnvironmentId = "environmentId"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cfnDeploymentProps := &CfnDeploymentProps{
	ApplicationId: jsii.String("applicationId"),
	ApplicationVersion: jsii.Number(123),
	EnvironmentId: jsii.String("environmentId"),
}

Properties ​

applicationIdstringapplication_idstrapplicationIdStringApplicationIdstringApplicationId*string required #
The unique identifier of the application.
applicationVersionnumberapplication_versionint | floatapplicationVersionNumberApplicationVersiondoubleApplicationVersion*float64 required #
The version of the application.
environmentIdstringenvironment_idstrenvironmentIdStringEnvironmentIdstringEnvironmentId*string required #
The unique identifier of the runtime environment.