Class: AWSCDK::Interfaces::AWSAppstream::StackUserAssociationReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSAppstream::StackUserAssociationReference
- Defined in:
- interfaces/aws_appstream/stack_user_association_reference.rb
Overview
A reference to a StackUserAssociation resource.
Instance Attribute Summary collapse
-
#authentication_type ⇒ String
readonly
The AuthenticationType of the StackUserAssociation resource.
-
#stack_name ⇒ String
readonly
The StackName of the StackUserAssociation resource.
-
#user_name ⇒ String
readonly
The UserName of the StackUserAssociation resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(authentication_type:, stack_name:, user_name:) ⇒ StackUserAssociationReference
constructor
A new instance of StackUserAssociationReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(authentication_type:, stack_name:, user_name:) ⇒ StackUserAssociationReference
Returns a new instance of StackUserAssociationReference.
10 11 12 13 14 15 16 17 |
# File 'interfaces/aws_appstream/stack_user_association_reference.rb', line 10 def initialize(authentication_type:, stack_name:, user_name:) @authentication_type = authentication_type Jsii::Type.check_type(@authentication_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "authenticationType") @stack_name = stack_name Jsii::Type.check_type(@stack_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "stackName") @user_name = user_name Jsii::Type.check_type(@user_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "userName") end |
Instance Attribute Details
#authentication_type ⇒ String (readonly)
The AuthenticationType of the StackUserAssociation resource.
22 23 24 |
# File 'interfaces/aws_appstream/stack_user_association_reference.rb', line 22 def authentication_type @authentication_type end |
#stack_name ⇒ String (readonly)
The StackName of the StackUserAssociation resource.
26 27 28 |
# File 'interfaces/aws_appstream/stack_user_association_reference.rb', line 26 def stack_name @stack_name end |
#user_name ⇒ String (readonly)
The UserName of the StackUserAssociation resource.
30 31 32 |
# File 'interfaces/aws_appstream/stack_user_association_reference.rb', line 30 def user_name @user_name end |
Class Method Details
.jsii_properties ⇒ Object
32 33 34 35 36 37 38 |
# File 'interfaces/aws_appstream/stack_user_association_reference.rb', line 32 def self.jsii_properties { :authentication_type => "authenticationType", :stack_name => "stackName", :user_name => "userName", } end |
Instance Method Details
#to_jsii ⇒ Object
40 41 42 43 44 45 46 47 48 |
# File 'interfaces/aws_appstream/stack_user_association_reference.rb', line 40 def to_jsii result = {} result.merge!({ "authenticationType" => @authentication_type, "stackName" => @stack_name, "userName" => @user_name, }) result.compact end |