Class: AWSCDK::Interfaces::AWSServicecatalogappregistry::ResourceAssociationReference

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
interfaces/aws_servicecatalogappregistry/resource_association_reference.rb

Overview

A reference to a ResourceAssociation resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(application_arn:, resource_arn:, resource_type:) ⇒ ResourceAssociationReference

Returns a new instance of ResourceAssociationReference.

Parameters:

  • application_arn (String)

    The ApplicationArn of the ResourceAssociation resource.

  • resource_arn (String)

    The ResourceArn of the ResourceAssociation resource.

  • resource_type (String)

    The ResourceType of the ResourceAssociation resource.



10
11
12
13
14
15
16
17
# File 'interfaces/aws_servicecatalogappregistry/resource_association_reference.rb', line 10

def initialize(application_arn:, resource_arn:, resource_type:)
  @application_arn = application_arn
  Jsii::Type.check_type(@application_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "applicationArn")
  @resource_arn = resource_arn
  Jsii::Type.check_type(@resource_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "resourceArn")
  @resource_type = resource_type
  Jsii::Type.check_type(@resource_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "resourceType")
end

Instance Attribute Details

#application_arnString (readonly)

The ApplicationArn of the ResourceAssociation resource.

Returns:

  • (String)


22
23
24
# File 'interfaces/aws_servicecatalogappregistry/resource_association_reference.rb', line 22

def application_arn
  @application_arn
end

#resource_arnString (readonly)

The ResourceArn of the ResourceAssociation resource.

Returns:

  • (String)


26
27
28
# File 'interfaces/aws_servicecatalogappregistry/resource_association_reference.rb', line 26

def resource_arn
  @resource_arn
end

#resource_typeString (readonly)

The ResourceType of the ResourceAssociation resource.

Returns:

  • (String)


30
31
32
# File 'interfaces/aws_servicecatalogappregistry/resource_association_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_servicecatalogappregistry/resource_association_reference.rb', line 32

def self.jsii_properties
  {
    :application_arn => "applicationArn",
    :resource_arn => "resourceArn",
    :resource_type => "resourceType",
  }
end

Instance Method Details

#to_jsiiObject



40
41
42
43
44
45
46
47
48
# File 'interfaces/aws_servicecatalogappregistry/resource_association_reference.rb', line 40

def to_jsii
  result = {}
  result.merge!({
    "applicationArn" => @application_arn,
    "resourceArn" => @resource_arn,
    "resourceType" => @resource_type,
  })
  result.compact
end