@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:39.606Z") @Stability(value=Stable) public interface CfnDeviceDefinitionProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.greengrass.*;
Object tags;
CfnDeviceDefinitionProps cfnDeviceDefinitionProps = CfnDeviceDefinitionProps.builder()
.name("name")
// the properties below are optional
.initialVersion(DeviceDefinitionVersionProperty.builder()
.devices(List.of(DeviceProperty.builder()
.certificateArn("certificateArn")
.id("id")
.thingArn("thingArn")
// the properties below are optional
.syncShadow(false)
.build()))
.build())
.tags(tags)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnDeviceDefinitionProps.Builder
A builder for
CfnDeviceDefinitionProps |
static class |
CfnDeviceDefinitionProps.Jsii$Proxy
An implementation for
CfnDeviceDefinitionProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnDeviceDefinitionProps.Builder |
builder() |
default Object |
getInitialVersion()
The device definition version to include when the device definition is created.
|
String |
getName()
The name of the device definition.
|
default Object |
getTags()
Application-specific metadata to attach to the device definition.
|
@Stability(value=Stable) @NotNull String getName()
@Stability(value=Stable) @Nullable default Object getInitialVersion()
A device definition version contains a list of device property types.
To associate a device definition version after the device definition is created, create an
AWS::Greengrass::DeviceDefinitionVersionresource and specify the ID of this device definition.
@Stability(value=Stable) @Nullable default Object getTags()
You can use tags in IAM policies to control access to AWS IoT Greengrass resources. You can also use tags to categorize your resources. For more information, see Tagging Your AWS IoT Greengrass Resources in the Developer Guide .
This Json property type is processed as a map of key-value pairs. It uses the following format, which is different from most Tags implementations in AWS CloudFormation templates.
"Tags": { "KeyName0": "value", "KeyName1": "value", "KeyName2": "value"
}
@Stability(value=Stable) static CfnDeviceDefinitionProps.Builder builder()
CfnDeviceDefinitionProps.Builder of CfnDeviceDefinitionPropsCopyright © 2022. All rights reserved.