CfnCoreDefinitionProps

class aws_cdk.aws_greengrass.CfnCoreDefinitionProps(*, name, initial_version=None, tags=None)

Bases: object

Properties for defining a CfnCoreDefinition.

Parameters:
Link:

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

ExampleMetadata:

fixture=_generated

Example:

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

# tags: Any

cfn_core_definition_props = greengrass.CfnCoreDefinitionProps(
    name="name",

    # the properties below are optional
    initial_version=greengrass.CfnCoreDefinition.CoreDefinitionVersionProperty(
        cores=[greengrass.CfnCoreDefinition.CoreProperty(
            certificate_arn="certificateArn",
            id="id",
            thing_arn="thingArn",

            # the properties below are optional
            sync_shadow=False
        )]
    ),
    tags=tags
)

Attributes

initial_version

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

Currently, a core definition version can contain only one `core <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-coredefinition-core.html>`_ . .. epigraph:

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

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

name

The name of the core definition.

Link:

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

tags

Application-specific metadata to attach to the core 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"
}
Link:

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