CfnCollectionMixinProps

class aws_cdk.mixins_preview.aws_rekognition.mixins.CfnCollectionMixinProps(*, collection_id=None, tags=None)

Bases: object

Properties for CfnCollectionPropsMixin.

Parameters:
  • collection_id (Optional[str]) – ID for the collection that you are creating.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – A set of tags (key-value pairs) that you want to attach to the collection.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rekognition-collection.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.mixins_preview.aws_rekognition import mixins as rekognition_mixins

cfn_collection_mixin_props = rekognition_mixins.CfnCollectionMixinProps(
    collection_id="collectionId",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

collection_id

ID for the collection that you are creating.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rekognition-collection.html#cfn-rekognition-collection-collectionid

tags

A set of tags (key-value pairs) that you want to attach to the collection.

See:

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