Interface CfnDeviceDefinitionProps

All Superinterfaces:
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:56.962Z") @Stability(Stable) public interface CfnDeviceDefinitionProps extends
Properties for defining a CfnDeviceDefinition.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 Object tags;
 CfnDeviceDefinitionProps cfnDeviceDefinitionProps = CfnDeviceDefinitionProps.builder()
         // the properties below are optional
                         // the properties below are optional
  • Method Details

    • getName

      @Stability(Stable) @NotNull String getName()
      The name of the device definition.
    • getInitialVersion

      @Stability(Stable) @Nullable default Object getInitialVersion()
      The device definition version to include when the device definition is created.

      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::DeviceDefinitionVersion resource and specify the ID of this device definition.

    • getTags

      @Stability(Stable) @Nullable default Object getTags()
      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 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"
    • builder

      @Stability(Stable) static CfnDeviceDefinitionProps.Builder builder()
      a CfnDeviceDefinitionProps.Builder of CfnDeviceDefinitionProps