Class: Aws::CloudWatchOmni::Types::ResourceScope

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

Overview

A single resource scope entry within an AccessGrant. Associates a resource type with optional ARN patterns, tag conditions, and row-level filters.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#resource_arns ⇒ Array<String>

Specific resource ARNs or ARN patterns. When set, actions are limited to these resources. When absent, defaults to "*".

Returns:

  • (Array<String>)


4304
4305
4306
4307
4308
4309
4310
4311
4312
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 4304

class ResourceScope < Struct.new(
  :resource_type,
  :resource_arns,
  :tags,
  :signal_types,
  :row_scope_groups)
  SENSITIVE = []
  include Aws::Structure
end

#resource_type ⇒ String

Resource type name (e.g., "DataSet", "OmniDashboard").

Returns:

  • (String)


4304
4305
4306
4307
4308
4309
4310
4311
4312
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 4304

class ResourceScope < Struct.new(
  :resource_type,
  :resource_arns,
  :tags,
  :signal_types,
  :row_scope_groups)
  SENSITIVE = []
  include Aws::Structure
end

#row_scope_groups ⇒ Array<Array<Types::RowScope>>

Row-level filters for this scope, as an OR of AND-groups: a row is visible when it matches every filter in any one group. Requires signalTypes.

Row filters are additive across a principal's matching grants. A signal type with no matching group is unrestricted, and when rowScopeGroups is omitted all rows are visible for all signal types.

Returns:



4304
4305
4306
4307
4308
4309
4310
4311
4312
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 4304

class ResourceScope < Struct.new(
  :resource_type,
  :resource_arns,
  :tags,
  :signal_types,
  :row_scope_groups)
  SENSITIVE = []
  include Aws::Structure
end

#signal_types ⇒ Array<String>

Signal types this scope's row filtering applies to. Required when rowScopeGroups is set.

Returns:

  • (Array<String>)


4304
4305
4306
4307
4308
4309
4310
4311
4312
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 4304

class ResourceScope < Struct.new(
  :resource_type,
  :resource_arns,
  :tags,
  :signal_types,
  :row_scope_groups)
  SENSITIVE = []
  include Aws::Structure
end

#tags ⇒ Hash<String,String>

Tag-based conditions for dynamic resource scoping. Access applies only to resources carrying all of the specified tag key/value pairs.

Returns:

  • (Hash<String,String>)


4304
4305
4306
4307
4308
4309
4310
4311
4312
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 4304

class ResourceScope < Struct.new(
  :resource_type,
  :resource_arns,
  :tags,
  :signal_types,
  :row_scope_groups)
  SENSITIVE = []
  include Aws::Structure
end