Interface CfnDeviceDefinitionPropsMixin.DeviceDefinitionVersionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDeviceDefinitionPropsMixin.DeviceDefinitionVersionProperty.Jsii$Proxy
- Enclosing class:
CfnDeviceDefinitionPropsMixin
@Stability(Stable)
public static interface CfnDeviceDefinitionPropsMixin.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 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.cfnpropertymixins.services.greengrass.*;
DeviceDefinitionVersionProperty deviceDefinitionVersionProperty = DeviceDefinitionVersionProperty.builder()
.devices(List.of(DeviceProperty.builder()
.certificateArn("certificateArn")
.id("id")
.syncShadow(false)
.thingArn("thingArn")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnDeviceDefinitionPropsMixin.DeviceDefinitionVersionProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDevices
The devices in this version.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnDeviceDefinitionPropsMixin.DeviceProperty>- See Also:
-
builder
@Stability(Stable) static CfnDeviceDefinitionPropsMixin.DeviceDefinitionVersionProperty.Builder builder()
-