aws-cdk-lib.aws_evidently.CfnSegmentProps

interface CfnSegmentProps

LanguageType name
.NETAmazon.CDK.AWS.Evidently.CfnSegmentProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsevidently#CfnSegmentProps
Javasoftware.amazon.awscdk.services.evidently.CfnSegmentProps
Pythonaws_cdk.aws_evidently.CfnSegmentProps
TypeScript aws-cdk-lib » 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 { aws_evidently as evidently } from 'aws-cdk-lib';
const cfnSegmentProps: evidently.CfnSegmentProps = {
  name: 'name',

  // the properties below are optional
  description: 'description',
  pattern: 'pattern',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties

NameTypeDescription
namestringA name for the segment.
description?stringAn optional description for this segment.
pattern?stringThe pattern to use for the segment.
tags?CfnTag[]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: CfnTag[] (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 .