Class: Aws::CloudWatchEvidently::Types::CreateSegmentRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-cloudwatchevidently/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionString

An optional description for this segment.

Returns:

  • (String)


522
523
524
525
526
527
528
529
# File 'lib/aws-sdk-cloudwatchevidently/types.rb', line 522

class CreateSegmentRequest < Struct.new(
  :description,
  :name,
  :pattern,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

A name for the segment.

Returns:

  • (String)


522
523
524
525
526
527
528
529
# File 'lib/aws-sdk-cloudwatchevidently/types.rb', line 522

class CreateSegmentRequest < Struct.new(
  :description,
  :name,
  :pattern,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#patternString

The pattern to use for the segment. For more information about pattern syntax, see [ Segment rule pattern syntax].

[1]: docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Evidently-segments.html#CloudWatch-Evidently-segments-syntax.html

Returns:

  • (String)


522
523
524
525
526
527
528
529
# File 'lib/aws-sdk-cloudwatchevidently/types.rb', line 522

class CreateSegmentRequest < Struct.new(
  :description,
  :name,
  :pattern,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsHash<String,String>

Assigns one or more tags (key-value pairs) to the segment.

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 Amazon Web Services and are interpreted strictly as strings of characters.

You can associate as many as 50 tags with a segment.

For more information, see [Tagging Amazon Web Services resources].

[1]: docs.aws.amazon.com/general/latest/gr/aws_tagging.html

Returns:

  • (Hash<String,String>)


522
523
524
525
526
527
528
529
# File 'lib/aws-sdk-cloudwatchevidently/types.rb', line 522

class CreateSegmentRequest < Struct.new(
  :description,
  :name,
  :pattern,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end