CfnCollectionProps

class aws_cdk.aws_rekognition.CfnCollectionProps(*, collection_id, tags=None)

Bases: object

Properties for defining a CfnCollection.

Parameters:
  • collection_id (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.

Link:

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.
import aws_cdk.aws_rekognition as rekognition

cfn_collection_props = rekognition.CfnCollectionProps(
    collection_id="collectionId",

    # the properties below are optional
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

collection_id

ID for the collection that you are creating.

Link:

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.

Link:

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