Class: AWSCDK::Deadline::CfnQueue::WindowsUserProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Deadline::CfnQueue::WindowsUserProperty
- Defined in:
- deadline/cfn_queue.rb
Overview
The Windows user details.
Instance Attribute Summary collapse
-
#password_arn ⇒ String
readonly
The password ARN for the Windows user.
-
#user ⇒ String
readonly
The user.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(password_arn:, user:) ⇒ WindowsUserProperty
constructor
A new instance of WindowsUserProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(password_arn:, user:) ⇒ WindowsUserProperty
Returns a new instance of WindowsUserProperty.
1015 1016 1017 1018 1019 1020 |
# File 'deadline/cfn_queue.rb', line 1015 def initialize(password_arn:, user:) @password_arn = password_arn Jsii::Type.check_type(@password_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "passwordArn") @user = user Jsii::Type.check_type(@user, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "user") end |
Instance Attribute Details
#password_arn ⇒ String (readonly)
The password ARN for the Windows user.
1026 1027 1028 |
# File 'deadline/cfn_queue.rb', line 1026 def password_arn @password_arn end |
#user ⇒ String (readonly)
The user.
1031 1032 1033 |
# File 'deadline/cfn_queue.rb', line 1031 def user @user end |
Class Method Details
.jsii_properties ⇒ Object
1033 1034 1035 1036 1037 1038 |
# File 'deadline/cfn_queue.rb', line 1033 def self.jsii_properties { :password_arn => "passwordArn", :user => "user", } end |
Instance Method Details
#to_jsii ⇒ Object
1040 1041 1042 1043 1044 1045 1046 1047 |
# File 'deadline/cfn_queue.rb', line 1040 def to_jsii result = {} result.merge!({ "passwordArn" => @password_arn, "user" => @user, }) result.compact end |