CfnGroupVersionPropsMixin

class aws_cdk.mixins_preview.aws_greengrass.mixins.CfnGroupVersionPropsMixin(props, *, strategy=None)

Bases: Mixin

The AWS::Greengrass::GroupVersion resource represents a group version in AWS IoT Greengrass .

A group version references a core definition version, device definition version, subscription definition version, and other version types that contain the components you want to deploy to a Greengrass core device. The group version must reference a core definition version that contains one core. Other version types are optionally included, depending on your business need. .. epigraph:

To create a group version, you must specify the ID of the group that you want to associate with the version. For information about creating a group, see ```AWS::Greengrass::Group`` <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-group.html>`_ .
See:

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

CloudformationResource:

AWS::Greengrass::GroupVersion

Mixin:

true

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 import mixins
from aws_cdk.mixins_preview.aws_greengrass import mixins as greengrass_mixins

cfn_group_version_props_mixin = greengrass_mixins.CfnGroupVersionPropsMixin(greengrass_mixins.CfnGroupVersionMixinProps(
    connector_definition_version_arn="connectorDefinitionVersionArn",
    core_definition_version_arn="coreDefinitionVersionArn",
    device_definition_version_arn="deviceDefinitionVersionArn",
    function_definition_version_arn="functionDefinitionVersionArn",
    group_id="groupId",
    logger_definition_version_arn="loggerDefinitionVersionArn",
    resource_definition_version_arn="resourceDefinitionVersionArn",
    subscription_definition_version_arn="subscriptionDefinitionVersionArn"
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

Create a mixin to apply properties to AWS::Greengrass::GroupVersion.

Parameters:

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

IConstruct

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['connectorDefinitionVersionArn', 'coreDefinitionVersionArn', 'deviceDefinitionVersionArn', 'functionDefinitionVersionArn', 'groupId', 'loggerDefinitionVersionArn', 'resourceDefinitionVersionArn', 'subscriptionDefinitionVersionArn']

Static Methods

classmethod is_mixin(x)

(experimental) Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

Stability:

experimental