Class: AWSCDK::Interfaces::AWSWorkspaces::WorkspacesPoolReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSWorkspaces::WorkspacesPoolReference
- Defined in:
- interfaces/aws_workspaces/workspaces_pool_reference.rb
Overview
A reference to a WorkspacesPool resource.
Instance Attribute Summary collapse
-
#pool_arn ⇒ String
readonly
The ARN of the WorkspacesPool resource.
-
#pool_id ⇒ String
readonly
The PoolId of the WorkspacesPool resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(pool_arn:, pool_id:) ⇒ WorkspacesPoolReference
constructor
A new instance of WorkspacesPoolReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(pool_arn:, pool_id:) ⇒ WorkspacesPoolReference
Returns a new instance of WorkspacesPoolReference.
9 10 11 12 13 14 |
# File 'interfaces/aws_workspaces/workspaces_pool_reference.rb', line 9 def initialize(pool_arn:, pool_id:) @pool_arn = pool_arn Jsii::Type.check_type(@pool_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "poolArn") @pool_id = pool_id Jsii::Type.check_type(@pool_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "poolId") end |
Instance Attribute Details
#pool_arn ⇒ String (readonly)
The ARN of the WorkspacesPool resource.
19 20 21 |
# File 'interfaces/aws_workspaces/workspaces_pool_reference.rb', line 19 def pool_arn @pool_arn end |
#pool_id ⇒ String (readonly)
The PoolId of the WorkspacesPool resource.
23 24 25 |
# File 'interfaces/aws_workspaces/workspaces_pool_reference.rb', line 23 def pool_id @pool_id end |
Class Method Details
.jsii_properties ⇒ Object
25 26 27 28 29 30 |
# File 'interfaces/aws_workspaces/workspaces_pool_reference.rb', line 25 def self.jsii_properties { :pool_arn => "poolArn", :pool_id => "poolId", } end |
Instance Method Details
#to_jsii ⇒ Object
32 33 34 35 36 37 38 39 |
# File 'interfaces/aws_workspaces/workspaces_pool_reference.rb', line 32 def to_jsii result = {} result.merge!({ "poolArn" => @pool_arn, "poolId" => @pool_id, }) result.compact end |