CfnSegmentProps
- class aws_cdk.aws_evidently.CfnSegmentProps(*, name, description=None, pattern=None, tags=None)
Bases:
object
Properties for defining a
CfnSegment
.- Parameters:
name (
str
) – A name for the segment.description (
Optional
[str
]) – An optional description for this segment.pattern (
Optional
[str
]) – The pattern to use for the segment. For more information about pattern syntax, see Segment rule pattern syntax .tags (
Optional
[Sequence
[Union
[CfnTag
,Dict
[str
,Any
]]]]) – Assigns one or more tags (key-value pairs) to the feature. Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values. Tags don’t have any semantic meaning to AWS and are interpreted strictly as strings of characters. You can associate as many as 50 tags with a feature. For more information, see Tagging AWS resources .
- Link:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evidently-segment.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_evidently as evidently cfn_segment_props = evidently.CfnSegmentProps( name="name", # the properties below are optional description="description", pattern="pattern", tags=[CfnTag( key="key", value="value" )] )
Attributes
- description
An optional description for this segment.
- name
A name for the segment.
- pattern
The pattern to use for the segment.
For more information about pattern syntax, see Segment rule pattern syntax .
- tags
Assigns one or more tags (key-value pairs) to the feature.
Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.
Tags don’t have any semantic meaning to AWS and are interpreted strictly as strings of characters.
You can associate as many as 50 tags with a feature.
For more information, see Tagging AWS resources .