Class: AWSCDK::Interfaces::AWSServicecatalogappregistry::AttributeGroupAssociationReference

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

Overview

A reference to a AttributeGroupAssociation resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(application_arn:, attribute_group_arn:) ⇒ AttributeGroupAssociationReference

Returns a new instance of AttributeGroupAssociationReference.

Parameters:

  • application_arn (String)

    The ApplicationArn of the AttributeGroupAssociation resource.

  • attribute_group_arn (String)

    The AttributeGroupArn of the AttributeGroupAssociation resource.



9
10
11
12
13
14
# File 'interfaces/aws_servicecatalogappregistry/attribute_group_association_reference.rb', line 9

def initialize(application_arn:, attribute_group_arn:)
  @application_arn = application_arn
  Jsii::Type.check_type(@application_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "applicationArn")
  @attribute_group_arn = attribute_group_arn
  Jsii::Type.check_type(@attribute_group_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "attributeGroupArn")
end

Instance Attribute Details

#application_arnString (readonly)

The ApplicationArn of the AttributeGroupAssociation resource.

Returns:

  • (String)


19
20
21
# File 'interfaces/aws_servicecatalogappregistry/attribute_group_association_reference.rb', line 19

def application_arn
  @application_arn
end

#attribute_group_arnString (readonly)

The AttributeGroupArn of the AttributeGroupAssociation resource.

Returns:

  • (String)


23
24
25
# File 'interfaces/aws_servicecatalogappregistry/attribute_group_association_reference.rb', line 23

def attribute_group_arn
  @attribute_group_arn
end

Class Method Details

.jsii_propertiesObject



25
26
27
28
29
30
# File 'interfaces/aws_servicecatalogappregistry/attribute_group_association_reference.rb', line 25

def self.jsii_properties
  {
    :application_arn => "applicationArn",
    :attribute_group_arn => "attributeGroupArn",
  }
end

Instance Method Details

#to_jsiiObject



32
33
34
35
36
37
38
39
# File 'interfaces/aws_servicecatalogappregistry/attribute_group_association_reference.rb', line 32

def to_jsii
  result = {}
  result.merge!({
    "applicationArn" => @application_arn,
    "attributeGroupArn" => @attribute_group_arn,
  })
  result.compact
end