Class: AWSCDK::Interfaces::AWSAppstream::StackUserAssociationReference

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
interfaces/aws_appstream/stack_user_association_reference.rb

Overview

A reference to a StackUserAssociation resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(authentication_type:, stack_name:, user_name:) ⇒ StackUserAssociationReference

Returns a new instance of StackUserAssociationReference.

Parameters:

  • authentication_type (String)

    The AuthenticationType of the StackUserAssociation resource.

  • stack_name (String)

    The StackName of the StackUserAssociation resource.

  • user_name (String)

    The UserName of the StackUserAssociation resource.



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_typeString (readonly)

The AuthenticationType of the StackUserAssociation resource.

Returns:

  • (String)


22
23
24
# File 'interfaces/aws_appstream/stack_user_association_reference.rb', line 22

def authentication_type
  @authentication_type
end

#stack_nameString (readonly)

The StackName of the StackUserAssociation resource.

Returns:

  • (String)


26
27
28
# File 'interfaces/aws_appstream/stack_user_association_reference.rb', line 26

def stack_name
  @stack_name
end

#user_nameString (readonly)

The UserName of the StackUserAssociation resource.

Returns:

  • (String)


30
31
32
# File 'interfaces/aws_appstream/stack_user_association_reference.rb', line 30

def user_name
  @user_name
end

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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