CfnCollectionProps
- class aws_cdk.aws_rekognition.CfnCollectionProps(*, collection_id, tags=None)
Bases:
objectProperties 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:
- 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.
- tags
A set of tags (key-value pairs) that you want to attach to the collection.