Interface CfnDeviceDefinition.DeviceDefinitionVersionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDeviceDefinition.DeviceDefinitionVersionProperty.Jsii$Proxy
- Enclosing class:
- CfnDeviceDefinition
@Stability(Stable)
public static interface CfnDeviceDefinition.DeviceDefinitionVersionProperty
extends software.amazon.jsii.JsiiSerializable
A device definition version contains a list of devices .
After you create a device definition version that contains the devices you want to deploy, you must add it to your group version. For more information, see
AWS::Greengrass::Group.
In an AWS CloudFormation template, DeviceDefinitionVersion is the property type of the InitialVersion property in the AWS::Greengrass::DeviceDefinition resource.
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.*;
DeviceDefinitionVersionProperty deviceDefinitionVersionProperty = DeviceDefinitionVersionProperty.builder()
.devices(List.of(DeviceProperty.builder()
.certificateArn("certificateArn")
.id("id")
.thingArn("thingArn")
// the properties below are optional
.syncShadow(false)
.build()))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDeviceDefinition.DeviceDefinitionVersionPropertystatic final classAn implementation forCfnDeviceDefinition.DeviceDefinitionVersionProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDevices
The devices in this version. -
builder
-