CfnGroupVersionPropsMixin
- class aws_cdk.mixins_preview.aws_greengrass.mixins.CfnGroupVersionPropsMixin(props, *, strategy=None)
Bases:
MixinThe
AWS::Greengrass::GroupVersionresource 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:
- 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:
props (
Union[CfnGroupVersionMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
- 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
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.- Stability:
experimental