Class CfnDeviceDefinitionPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeviceDefinitionPropsMixin>
- Enclosing class:
CfnDeviceDefinitionPropsMixin
CfnDeviceDefinitionPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) The device definition version to include when the device definition is created.initialVersion(IResolvable initialVersion) The device definition version to include when the device definition is created.The name of the device definition.Application-specific metadata to attach to the device definition.
-
Method Details
-
create
@Stability(Stable) public static CfnDeviceDefinitionPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnDeviceDefinitionPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnDeviceDefinitionPropsMixin.Builder.
-
initialVersion
@Stability(Stable) public CfnDeviceDefinitionPropsMixin.Builder initialVersion(IResolvable initialVersion) The device definition version to include when the device definition is created.A device definition version contains a list of
deviceproperty 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.- Parameters:
initialVersion- The device definition version to include when the device definition is created. This parameter is required.- Returns:
this- See Also:
-
initialVersion
@Stability(Stable) public CfnDeviceDefinitionPropsMixin.Builder initialVersion(CfnDeviceDefinitionPropsMixin.DeviceDefinitionVersionProperty initialVersion) The device definition version to include when the device definition is created.A device definition version contains a list of
deviceproperty 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.- Parameters:
initialVersion- The device definition version to include when the device definition is created. This parameter is required.- Returns:
this- See Also:
-
name
The name of the device definition.- Parameters:
name- The name of the device definition. This parameter is required.- Returns:
this- See Also:
-
tags
Application-specific metadata to attach to the device definition.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
Jsonproperty type is processed as a map of key-value pairs. It uses the following format, which is different from mostTagsimplementations in CloudFormation templates."Tags": { "KeyName0": "value", "KeyName1": "value", "KeyName2": "value" }- Parameters:
tags- Application-specific metadata to attach to the device definition. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDeviceDefinitionPropsMixin>- Returns:
- a newly built instance of
CfnDeviceDefinitionPropsMixin.
-