# CommandPayloadProperty

- Source: Generated at build time
- Type last changed: v2.174.0 · 4 Jan 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iot as iot } from 'aws-cdk-lib';
const commandPayloadProperty: iot.CfnCommand.CommandPayloadProperty = {
  content: 'content',
  contentType: 'contentType',
};
```

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_iot as iot

command_payload_property = iot.CfnCommand.CommandPayloadProperty(
    content="content",
    content_type="contentType"
)
```

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.iot.*;

CommandPayloadProperty commandPayloadProperty = CommandPayloadProperty.builder()
        .content("content")
        .contentType("contentType")
        .build();
```

C# / .NET:

```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.IoT;

var commandPayloadProperty = new CommandPayloadProperty {
    Content = "content",
    ContentType = "contentType"
};
```

Golang:

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

commandPayloadProperty := &CommandPayloadProperty{
	Content: jsii.String("content"),
	ContentType: jsii.String("contentType"),
}
```

## Properties

- `content`: string

- `contentType`: string
