Class: Aws::CloudWatchOmni::Types::AccessGrantPrincipalAttribute

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

Overview

A single attribute condition used to match principals for attribute-based access.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#key ⇒ String

The Identity Center user attribute to match on. One of userName, active, userStatus, displayName, email, name.givenName, name.familyName, enterprise.department, enterprise.division, enterprise.organization, enterprise.costCenter, or enterprise.employeeNumber. Each key may appear only once per grant.

Returns:

  • (String)


146
147
148
149
150
151
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 146

class AccessGrantPrincipalAttribute < Struct.new(
  :key,
  :value)
  SENSITIVE = []
  include Aws::Structure
end

#value ⇒ String

The attribute value.

Returns:

  • (String)


146
147
148
149
150
151
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 146

class AccessGrantPrincipalAttribute < Struct.new(
  :key,
  :value)
  SENSITIVE = []
  include Aws::Structure
end