Class: AWSCDK::Interfaces::AWSConnect::InstanceStorageConfigReference

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
interfaces/aws_connect/instance_storage_config_reference.rb

Overview

A reference to a InstanceStorageConfig resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(association_id:, instance_arn:, resource_type:) ⇒ InstanceStorageConfigReference

Returns a new instance of InstanceStorageConfigReference.

Parameters:

  • association_id (String)

    The AssociationId of the InstanceStorageConfig resource.

  • instance_arn (String)

    The InstanceArn of the InstanceStorageConfig resource.

  • resource_type (String)

    The ResourceType of the InstanceStorageConfig resource.



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_idString (readonly)

The AssociationId of the InstanceStorageConfig resource.

Returns:

  • (String)


22
23
24
# File 'interfaces/aws_connect/instance_storage_config_reference.rb', line 22

def association_id
  @association_id
end

#instance_arnString (readonly)

The InstanceArn of the InstanceStorageConfig resource.

Returns:

  • (String)


26
27
28
# File 'interfaces/aws_connect/instance_storage_config_reference.rb', line 26

def instance_arn
  @instance_arn
end

#resource_typeString (readonly)

The ResourceType of the InstanceStorageConfig resource.

Returns:

  • (String)


30
31
32
# File 'interfaces/aws_connect/instance_storage_config_reference.rb', line 30

def resource_type
  @resource_type
end

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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