Class: AWSCDK::Interfaces::AWSServicecatalogappregistry::ResourceAssociationReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSServicecatalogappregistry::ResourceAssociationReference
- Defined in:
- interfaces/aws_servicecatalogappregistry/resource_association_reference.rb
Overview
A reference to a ResourceAssociation resource.
Instance Attribute Summary collapse
-
#application_arn ⇒ String
readonly
The ApplicationArn of the ResourceAssociation resource.
-
#resource_arn ⇒ String
readonly
The ResourceArn of the ResourceAssociation resource.
-
#resource_type ⇒ String
readonly
The ResourceType of the ResourceAssociation resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(application_arn:, resource_arn:, resource_type:) ⇒ ResourceAssociationReference
constructor
A new instance of ResourceAssociationReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(application_arn:, resource_arn:, resource_type:) ⇒ ResourceAssociationReference
Returns a new instance of ResourceAssociationReference.
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_arn ⇒ String (readonly)
The ApplicationArn of the ResourceAssociation resource.
22 23 24 |
# File 'interfaces/aws_servicecatalogappregistry/resource_association_reference.rb', line 22 def application_arn @application_arn end |
#resource_arn ⇒ String (readonly)
The ResourceArn of the ResourceAssociation resource.
26 27 28 |
# File 'interfaces/aws_servicecatalogappregistry/resource_association_reference.rb', line 26 def resource_arn @resource_arn end |
#resource_type ⇒ String (readonly)
The ResourceType of the ResourceAssociation resource.
30 31 32 |
# File 'interfaces/aws_servicecatalogappregistry/resource_association_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_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_jsii ⇒ Object
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 |