CfnDeviceDefinitionMixinProps

class aws_cdk.mixins_preview.aws_greengrass.mixins.CfnDeviceDefinitionMixinProps(*, initial_version=None, name=None, tags=None)

Bases: object

Properties for CfnDeviceDefinitionPropsMixin.

Parameters:
See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-devicedefinition.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_greengrass import mixins as greengrass_mixins

# tags: Any

cfn_device_definition_mixin_props = greengrass_mixins.CfnDeviceDefinitionMixinProps(
    initial_version=greengrass_mixins.CfnDeviceDefinitionPropsMixin.DeviceDefinitionVersionProperty(
        devices=[greengrass_mixins.CfnDeviceDefinitionPropsMixin.DeviceProperty(
            certificate_arn="certificateArn",
            id="id",
            sync_shadow=False,
            thing_arn="thingArn"
        )]
    ),
    name="name",
    tags=tags
)

Attributes

initial_version

The device definition version to include when the device definition is created.

A device definition version contains a list of `device <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-devicedefinition-device.html>`_ property types. .. epigraph:

To associate a device definition version after the device definition is created, create an ```AWS::Greengrass::DeviceDefinitionVersion`` <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-devicedefinitionversion.html>`_ resource and specify the ID of this device definition.
See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-devicedefinition.html#cfn-greengrass-devicedefinition-initialversion

name

The name of the device definition.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-devicedefinition.html#cfn-greengrass-devicedefinition-name

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 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 CloudFormation templates:

"Tags": { "KeyName0": "value", "KeyName1": "value", "KeyName2": "value"
}
See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-devicedefinition.html#cfn-greengrass-devicedefinition-tags