Class: AWSCDK::AppStream::CfnEntitlement::AttributeProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::AppStream::CfnEntitlement::AttributeProperty
- Defined in:
- app_stream/cfn_entitlement.rb
Overview
An attribute that belongs to an entitlement.
Application entitlements work by matching a supported SAML 2.0 attribute name to a value when a user identity federates to an AppStream 2.0 SAML application.
Instance Attribute Summary collapse
-
#name ⇒ String
readonly
A supported AWS IAM SAML PrincipalTag attribute that is matched to a value when a user identity federates to an AppStream 2.0 SAML application.
-
#value ⇒ String
readonly
A value that is matched to a supported SAML attribute name when a user identity federates to an AppStream 2.0 SAML application.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(name:, value:) ⇒ AttributeProperty
constructor
A new instance of AttributeProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(name:, value:) ⇒ AttributeProperty
Returns a new instance of AttributeProperty.
565 566 567 568 569 570 |
# File 'app_stream/cfn_entitlement.rb', line 565 def initialize(name:, value:) @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") @value = value Jsii::Type.check_type(@value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "value") end |
Instance Attribute Details
#name ⇒ String (readonly)
A supported AWS IAM SAML PrincipalTag attribute that is matched to a value when a user identity federates to an AppStream 2.0 SAML application.
The following are supported values:
- roles
- department
- organization
- groups
- title
- costCenter
- userType
586 587 588 |
# File 'app_stream/cfn_entitlement.rb', line 586 def name @name end |
#value ⇒ String (readonly)
A value that is matched to a supported SAML attribute name when a user identity federates to an AppStream 2.0 SAML application.
591 592 593 |
# File 'app_stream/cfn_entitlement.rb', line 591 def value @value end |
Class Method Details
.jsii_properties ⇒ Object
593 594 595 596 597 598 |
# File 'app_stream/cfn_entitlement.rb', line 593 def self.jsii_properties { :name => "name", :value => "value", } end |
Instance Method Details
#to_jsii ⇒ Object
600 601 602 603 604 605 606 607 |
# File 'app_stream/cfn_entitlement.rb', line 600 def to_jsii result = {} result.merge!({ "name" => @name, "value" => @value, }) result.compact end |