Class: AWSCDK::SSO::CfnInstanceAccessControlAttributeConfiguration::AccessControlAttributeProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SSO::CfnInstanceAccessControlAttributeConfiguration::AccessControlAttributeProperty
- Defined in:
- sso/cfn_instance_access_control_attribute_configuration.rb
Overview
These are identity store attributes that you can configure for use in attributes-based access control (ABAC).
You can create permissions policies that determine who can access your AWS resources based upon the configured attribute values. When you enable ABAC and specify AccessControlAttributes , passes the attribute values of the authenticated user into IAM for use in policy evaluation.
Instance Attribute Summary collapse
-
#key ⇒ String
readonly
The name of the attribute associated with your identities in your identity source.
-
#value ⇒ AWSCDK::IResolvable, AWSCDK::SSO::CfnInstanceAccessControlAttributeConfiguration::AccessControlAttributeValueProperty
readonly
The value used for mapping a specified attribute to an identity source.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(key:, value:) ⇒ AccessControlAttributeProperty
constructor
A new instance of AccessControlAttributeProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(key:, value:) ⇒ AccessControlAttributeProperty
Returns a new instance of AccessControlAttributeProperty.
527 528 529 530 531 532 |
# File 'sso/cfn_instance_access_control_attribute_configuration.rb', line 527 def initialize(key:, value:) @key = key Jsii::Type.check_type(@key, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "key") @value = value.is_a?(Hash) ? ::AWSCDK::SSO::CfnInstanceAccessControlAttributeConfiguration::AccessControlAttributeValueProperty.new(**value.transform_keys(&:to_sym)) : value Jsii::Type.check_type(@value, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19zc28uQ2ZuSW5zdGFuY2VBY2Nlc3NDb250cm9sQXR0cmlidXRlQ29uZmlndXJhdGlvbi5BY2Nlc3NDb250cm9sQXR0cmlidXRlVmFsdWVQcm9wZXJ0eSJ9XX19")), "value") end |
Instance Attribute Details
#key ⇒ String (readonly)
The name of the attribute associated with your identities in your identity source.
This is used to map a specified attribute in your identity source with an attribute in .
540 541 542 |
# File 'sso/cfn_instance_access_control_attribute_configuration.rb', line 540 def key @key end |
#value ⇒ AWSCDK::IResolvable, AWSCDK::SSO::CfnInstanceAccessControlAttributeConfiguration::AccessControlAttributeValueProperty (readonly)
The value used for mapping a specified attribute to an identity source.
545 546 547 |
# File 'sso/cfn_instance_access_control_attribute_configuration.rb', line 545 def value @value end |
Class Method Details
.jsii_properties ⇒ Object
547 548 549 550 551 552 |
# File 'sso/cfn_instance_access_control_attribute_configuration.rb', line 547 def self.jsii_properties { :key => "key", :value => "value", } end |
Instance Method Details
#to_jsii ⇒ Object
554 555 556 557 558 559 560 561 |
# File 'sso/cfn_instance_access_control_attribute_configuration.rb', line 554 def to_jsii result = {} result.merge!({ "key" => @key, "value" => @value, }) result.compact end |