Class: AWSCDK::AppStream::CfnDirectoryConfig::ServiceAccountCredentialsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::AppStream::CfnDirectoryConfig::ServiceAccountCredentialsProperty
- 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
-
#account_name ⇒ String
readonly
The user name of the account.
-
#account_password ⇒ String
readonly
The password for the account.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(account_name:, account_password:) ⇒ ServiceAccountCredentialsProperty
constructor
A new instance of ServiceAccountCredentialsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(account_name:, account_password:) ⇒ ServiceAccountCredentialsProperty
Returns a new instance of ServiceAccountCredentialsProperty.
579 580 581 582 583 584 |
# File 'app_stream/cfn_directory_config.rb', line 579 def initialize(account_name:, account_password:) @account_name = account_name Jsii::Type.check_type(@account_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "accountName") @account_password = account_password Jsii::Type.check_type(@account_password, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "accountPassword") end |
Instance Attribute Details
#account_name ⇒ String (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 @account_name end |
#account_password ⇒ String (readonly)
The password for the account.
597 598 599 |
# File 'app_stream/cfn_directory_config.rb', line 597 def account_password @account_password end |
Class Method Details
.jsii_properties ⇒ Object
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_jsii ⇒ Object
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 |