Class: AWSCDK::Interfaces::AWSConnect::InstanceStorageConfigReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSConnect::InstanceStorageConfigReference
- Defined in:
- interfaces/aws_connect/instance_storage_config_reference.rb
Overview
A reference to a InstanceStorageConfig resource.
Instance Attribute Summary collapse
-
#association_id ⇒ String
readonly
The AssociationId of the InstanceStorageConfig resource.
-
#instance_arn ⇒ String
readonly
The InstanceArn of the InstanceStorageConfig resource.
-
#resource_type ⇒ String
readonly
The ResourceType of the InstanceStorageConfig resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(association_id:, instance_arn:, resource_type:) ⇒ InstanceStorageConfigReference
constructor
A new instance of InstanceStorageConfigReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(association_id:, instance_arn:, resource_type:) ⇒ InstanceStorageConfigReference
Returns a new instance of InstanceStorageConfigReference.
10 11 12 13 14 15 16 17 |
# File 'interfaces/aws_connect/instance_storage_config_reference.rb', line 10 def initialize(association_id:, instance_arn:, resource_type:) @association_id = association_id Jsii::Type.check_type(@association_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "associationId") @instance_arn = instance_arn Jsii::Type.check_type(@instance_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "instanceArn") @resource_type = resource_type Jsii::Type.check_type(@resource_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "resourceType") end |
Instance Attribute Details
#association_id ⇒ String (readonly)
The AssociationId of the InstanceStorageConfig resource.
22 23 24 |
# File 'interfaces/aws_connect/instance_storage_config_reference.rb', line 22 def association_id @association_id end |
#instance_arn ⇒ String (readonly)
The InstanceArn of the InstanceStorageConfig resource.
26 27 28 |
# File 'interfaces/aws_connect/instance_storage_config_reference.rb', line 26 def instance_arn @instance_arn end |
#resource_type ⇒ String (readonly)
The ResourceType of the InstanceStorageConfig resource.
30 31 32 |
# File 'interfaces/aws_connect/instance_storage_config_reference.rb', line 30 def resource_type @resource_type end |
Class Method Details
.jsii_properties ⇒ Object
32 33 34 35 36 37 38 |
# File 'interfaces/aws_connect/instance_storage_config_reference.rb', line 32 def self.jsii_properties { :association_id => "associationId", :instance_arn => "instanceArn", :resource_type => "resourceType", } end |
Instance Method Details
#to_jsii ⇒ Object
40 41 42 43 44 45 46 47 48 |
# File 'interfaces/aws_connect/instance_storage_config_reference.rb', line 40 def to_jsii result = {} result.merge!({ "associationId" => @association_id, "instanceArn" => @instance_arn, "resourceType" => @resource_type, }) result.compact end |