CfnComponentProps

class aws_cdk.aws_greengrassv2.CfnComponentProps(*, component_name=None, tags=None)

Bases: object

Properties for defining a CfnComponent.

Parameters:
  • component_name (Optional[str]) – The name of the component.

  • tags (Optional[Sequence[Union[TagsItemsProperty, Dict[str, Any]]]]) – Tags associated with the component.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrassv2-component.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_greengrassv2 as greengrassv2

cfn_component_props = greengrassv2.CfnComponentProps(
    component_name="componentName",
    tags=[greengrassv2.CfnComponent.TagsItemsProperty(
        key="key",
        value="value"
    )]
)

Attributes

component_name

The name of the component.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrassv2-component.html#cfn-greengrassv2-component-componentname

tags

Tags associated with the component.

See:

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