interface CfnSegmentProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Evidently.CfnSegmentProps |
Java | software.amazon.awscdk.services.evidently.CfnSegmentProps |
Python | aws_cdk.aws_evidently.CfnSegmentProps |
TypeScript | @aws-cdk/aws-evidently » CfnSegmentProps |
Properties for defining a CfnSegment
.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as evidently from '@aws-cdk/aws-evidently';
const cfnSegmentProps: evidently.CfnSegmentProps = {
name: 'name',
// the properties below are optional
description: 'description',
pattern: 'pattern',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
Name | Type | Description |
---|---|---|
name | string | A name for the segment. |
description? | string | An optional description for this segment. |
pattern? | string | The pattern to use for the segment. |
tags? | Cfn [] | Assigns one or more tags (key-value pairs) to the feature. |
name
Type:
string
A name for the segment.
description?
Type:
string
(optional)
An optional description for this segment.
pattern?
Type:
string
(optional)
The pattern to use for the segment.
For more information about pattern syntax, see Segment rule pattern syntax .
tags?
Type:
Cfn
[]
(optional)
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 .