@Stability(value=Stable)
public static interface CfnDeviceDefinition.DeviceDefinitionVersionProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnDeviceDefinition.DeviceDefinitionVersionProperty.Builder
A builder for
CfnDeviceDefinition.DeviceDefinitionVersionProperty |
static class |
CfnDeviceDefinition.DeviceDefinitionVersionProperty.Jsii$Proxy
An implementation for
CfnDeviceDefinition.DeviceDefinitionVersionProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnDeviceDefinition.DeviceDefinitionVersionProperty.Builder |
builder() |
Object |
getDevices()
The devices in this version.
|
@Stability(value=Stable) @NotNull Object getDevices()
@Stability(value=Stable) static CfnDeviceDefinition.DeviceDefinitionVersionProperty.Builder builder()
Copyright © 2022. All rights reserved.