Class: AWSCDK::ServiceCatalogAppRegistry::CfnAttributeGroupAssociationProps

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
service_catalog_app_registry/cfn_attribute_group_association_props.rb

Overview

Properties for defining a CfnAttributeGroupAssociation.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(application:, attribute_group:) ⇒ CfnAttributeGroupAssociationProps

Returns a new instance of CfnAttributeGroupAssociationProps.

Parameters:

  • application (String)

    The name or ID of the application.

  • attribute_group (String)

    The name or ID of the attribute group which holds the attributes that describe the application.



11
12
13
14
15
16
# File 'service_catalog_app_registry/cfn_attribute_group_association_props.rb', line 11

def initialize(application:, attribute_group:)
  @application = application
  Jsii::Type.check_type(@application, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "application")
  @attribute_group = attribute_group
  Jsii::Type.check_type(@attribute_group, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "attributeGroup")
end

Instance Attribute Details

#applicationString (readonly)

The name or ID of the application.



22
23
24
# File 'service_catalog_app_registry/cfn_attribute_group_association_props.rb', line 22

def application
  @application
end

#attribute_groupString (readonly)

The name or ID of the attribute group which holds the attributes that describe the application.



27
28
29
# File 'service_catalog_app_registry/cfn_attribute_group_association_props.rb', line 27

def attribute_group
  @attribute_group
end

Class Method Details

.jsii_propertiesObject



29
30
31
32
33
34
# File 'service_catalog_app_registry/cfn_attribute_group_association_props.rb', line 29

def self.jsii_properties
  {
    :application => "application",
    :attribute_group => "attributeGroup",
  }
end

Instance Method Details

#to_jsiiObject



36
37
38
39
40
41
42
43
# File 'service_catalog_app_registry/cfn_attribute_group_association_props.rb', line 36

def to_jsii
  result = {}
  result.merge!({
    "application" => @application,
    "attributeGroup" => @attribute_group,
  })
  result.compact
end