Class: AWSCDK::AppStream::CfnDirectoryConfig::ServiceAccountCredentialsProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
app_stream/cfn_directory_config.rb

Overview

The credentials for the service account used by the streaming instance to connect to the directory.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(account_name:, account_password:) ⇒ ServiceAccountCredentialsProperty

Returns a new instance of ServiceAccountCredentialsProperty.

Parameters:

  • account_name (String)

    The user name of the account.

  • account_password (String)

    The password for the account.



579
580
581
582
583
584
# File 'app_stream/cfn_directory_config.rb', line 579

def initialize(account_name:, account_password:)
  @account_name = 
  Jsii::Type.check_type(@account_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "accountName")
  @account_password = 
  Jsii::Type.check_type(@account_password, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "accountPassword")
end

Instance Attribute Details

#account_nameString (readonly)

The user name of the account.

This account must have the following privileges: create computer objects, join computers to the domain, and change/reset the password on descendant computer objects for the organizational units specified.



592
593
594
# File 'app_stream/cfn_directory_config.rb', line 592

def 
  @account_name
end

#account_passwordString (readonly)

The password for the account.



597
598
599
# File 'app_stream/cfn_directory_config.rb', line 597

def 
  @account_password
end

Class Method Details

.jsii_propertiesObject



599
600
601
602
603
604
# File 'app_stream/cfn_directory_config.rb', line 599

def self.jsii_properties
  {
    :account_name => "accountName",
    :account_password => "accountPassword",
  }
end

Instance Method Details

#to_jsiiObject



606
607
608
609
610
611
612
613
# File 'app_stream/cfn_directory_config.rb', line 606

def to_jsii
  result = {}
  result.merge!({
    "accountName" => @account_name,
    "accountPassword" => @account_password,
  })
  result.compact
end