Skip to content
v2.278.0

CommandPayloadProperty Struct ​

Example ​

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
# 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
// 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();
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"
};
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 ​

contentoptionalstringcontentoptionalstrcontentoptionalStringContentoptionalstringContentoptional*string #
contentTypeoptionalstringcontent_typeoptionalstrcontentTypeoptionalStringContentTypeoptionalstringContentTypeoptional*string #