CfnCoreDefinitionVersionProps

class aws_cdk.aws_greengrass.CfnCoreDefinitionVersionProps(*, core_definition_id, cores)

Bases: object

Properties for defining a CfnCoreDefinitionVersion.

Parameters:
  • core_definition_id (str) – The ID of the core definition associated with this version. This value is a GUID.

  • cores (Union[IResolvable, Sequence[Union[IResolvable, CoreProperty, Dict[str, Any]]]]) – The Greengrass core in this version. Currently, the Cores property for a core definition version can contain only one core.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-coredefinitionversion.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 import aws_greengrass as greengrass

cfn_core_definition_version_props = greengrass.CfnCoreDefinitionVersionProps(
    core_definition_id="coreDefinitionId",
    cores=[greengrass.CfnCoreDefinitionVersion.CoreProperty(
        certificate_arn="certificateArn",
        id="id",
        thing_arn="thingArn",

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

Attributes

core_definition_id

The ID of the core definition associated with this version.

This value is a GUID.

See:

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

cores

The Greengrass core in this version.

Currently, the Cores property for a core definition version can contain only one core.

See:

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