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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudwatchevidently/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 'gems/aws-sdk-cloudwatchevidently/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 'gems/aws-sdk-cloudwatchevidently/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.

Returns:

  • (String)


522
523
524
525
526
527
528
529
# File 'gems/aws-sdk-cloudwatchevidently/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.

Returns:

  • (Hash<String,String>)


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

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