ThingGroupPropertiesProperty Struct
Thing group properties.
| Source | |
|---|---|
| Type last changed |
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 thingGroupPropertiesProperty: iot.CfnThingGroup.ThingGroupPropertiesProperty = {
attributePayload: {
attributes: {
attributesKey: 'attributes',
},
},
thingGroupDescription: 'thingGroupDescription',
};
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
thing_group_properties_property = iot.CfnThingGroup.ThingGroupPropertiesProperty(
attribute_payload=iot.CfnThingGroup.AttributePayloadProperty(
attributes={
"attributes_key": "attributes"
}
),
thing_group_description="thingGroupDescription"
)
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.*;
ThingGroupPropertiesProperty thingGroupPropertiesProperty = ThingGroupPropertiesProperty.builder()
.attributePayload(AttributePayloadProperty.builder()
.attributes(Map.of(
"attributesKey", "attributes"))
.build())
.thingGroupDescription("thingGroupDescription")
.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 thingGroupPropertiesProperty = new ThingGroupPropertiesProperty {
AttributePayload = new AttributePayloadProperty {
Attributes = new Dictionary<string, string> {
{ "attributesKey", "attributes" }
}
},
ThingGroupDescription = "thingGroupDescription"
};
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"
thingGroupPropertiesProperty := &ThingGroupPropertiesProperty{
AttributePayload: &AttributePayloadProperty{
Attributes: map[string]*string{
"attributesKey": jsii.String("attributes"),
},
},
ThingGroupDescription: jsii.String("thingGroupDescription"),
}
Properties
attributePayloadoptionalIResolvable | CfnThingGroup.attribute_payloadoptionaltyping.Union[IResolvable, AttributePayloadProperty]attributePayloadoptionalIResolvableAttributePayloadoptionalIResolvableAttributePayloadoptionalinterface{} #The thing group attributes in JSON format.
thingGroupDescriptionoptionalstringthing_group_descriptionoptionalstrthingGroupDescriptionoptionalStringThingGroupDescriptionoptionalstringThingGroupDescriptionoptional*string #The thing group description.