AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Class: Aws::SSMIncidents::Types::ItemValue

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ssmincidents/lib/aws-sdk-ssmincidents/types.rb

Overview

Note:

ItemValue is a union - when making an API calls you must set exactly one of the members.

Note:

ItemValue is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ItemValue corresponding to the set member.

Describes a related item.

Direct Known Subclasses

Arn, MetricDefinition, Unknown, Url

Defined Under Namespace

Classes: Arn, MetricDefinition, Unknown, Url

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The Amazon Resource Name (ARN) of the related item, if the related item is an Amazon resource.

Returns:

  • (String)


1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
# File 'gems/aws-sdk-ssmincidents/lib/aws-sdk-ssmincidents/types.rb', line 1184

class ItemValue < Struct.new(
  :arn,
  :metric_definition,
  :url,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Arn < ItemValue; end
  class MetricDefinition < ItemValue; end
  class Url < ItemValue; end
  class Unknown < ItemValue; end
end

#metric_definitionString

The metric definition, if the related item is a metric in CloudWatch.

Returns:

  • (String)


1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
# File 'gems/aws-sdk-ssmincidents/lib/aws-sdk-ssmincidents/types.rb', line 1184

class ItemValue < Struct.new(
  :arn,
  :metric_definition,
  :url,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Arn < ItemValue; end
  class MetricDefinition < ItemValue; end
  class Url < ItemValue; end
  class Unknown < ItemValue; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



1184
1185
1186
# File 'gems/aws-sdk-ssmincidents/lib/aws-sdk-ssmincidents/types.rb', line 1184

def unknown
  @unknown
end

#urlString

The URL, if the related item is a non-AWS resource.

Returns:

  • (String)


1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
# File 'gems/aws-sdk-ssmincidents/lib/aws-sdk-ssmincidents/types.rb', line 1184

class ItemValue < Struct.new(
  :arn,
  :metric_definition,
  :url,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Arn < ItemValue; end
  class MetricDefinition < ItemValue; end
  class Url < ItemValue; end
  class Unknown < ItemValue; end
end