# CfnDeploymentProps

Struct · External

Properties for defining a `CfnDeployment`.

Used as props by: [CfnDeployment](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_m2.CfnDeployment.html)

- Source: Generated at build time
- Type last changed: v2.172.0 · 7 Dec 2024

## Example

TypeScript:

```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:

```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:

```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();
```

C#:

```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:

```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

- `applicationId`: string (required) — The unique identifier of the application.

- `applicationVersion`: number (required) — The version of the application.

- `environmentId`: string (required) — The unique identifier of the runtime environment.
