Class: AWSCDK::ServiceCatalogAppRegistry::CfnAttributeGroupProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ServiceCatalogAppRegistry::CfnAttributeGroupProps
- Defined in:
- service_catalog_app_registry/cfn_attribute_group_props.rb
Overview
Properties for defining a CfnAttributeGroup.
Instance Attribute Summary collapse
-
#attributes ⇒ Object
readonly
A nested object in a JSON or YAML template that supports arbitrary definitions.
-
#description ⇒ String?
readonly
The description of the attribute group that the user provides.
-
#name ⇒ String
readonly
The name of the attribute group.
-
#tags ⇒ Hash{String => String}?
readonly
Key-value pairs you can use to associate with the attribute group.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(attributes:, name:, description: nil, tags: nil) ⇒ CfnAttributeGroupProps
constructor
A new instance of CfnAttributeGroupProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(attributes:, name:, description: nil, tags: nil) ⇒ CfnAttributeGroupProps
Returns a new instance of CfnAttributeGroupProps.
13 14 15 16 17 18 19 20 21 22 |
# File 'service_catalog_app_registry/cfn_attribute_group_props.rb', line 13 def initialize(attributes:, name:, description: nil, tags: nil) @attributes = attributes Jsii::Type.check_type(@attributes, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJhbnkifQ==")), "attributes") @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") @description = description Jsii::Type.check_type(@description, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "description") unless @description.nil? @tags = Jsii::Type.check_type(@tags, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoibWFwIn19")), "tags") unless @tags.nil? end |
Instance Attribute Details
#attributes ⇒ Object (readonly)
A nested object in a JSON or YAML template that supports arbitrary definitions.
Represents the attributes in an attribute group that describes an application and its components.
30 31 32 |
# File 'service_catalog_app_registry/cfn_attribute_group_props.rb', line 30 def attributes @attributes end |
#description ⇒ String? (readonly)
The description of the attribute group that the user provides.
40 41 42 |
# File 'service_catalog_app_registry/cfn_attribute_group_props.rb', line 40 def description @description end |
#name ⇒ String (readonly)
The name of the attribute group.
35 36 37 |
# File 'service_catalog_app_registry/cfn_attribute_group_props.rb', line 35 def name @name end |
#tags ⇒ Hash{String => String}? (readonly)
Key-value pairs you can use to associate with the attribute group.
45 46 47 |
# File 'service_catalog_app_registry/cfn_attribute_group_props.rb', line 45 def @tags end |
Class Method Details
.jsii_properties ⇒ Object
47 48 49 50 51 52 53 54 |
# File 'service_catalog_app_registry/cfn_attribute_group_props.rb', line 47 def self.jsii_properties { :attributes => "attributes", :name => "name", :description => "description", :tags => "tags", } end |
Instance Method Details
#to_jsii ⇒ Object
56 57 58 59 60 61 62 63 64 65 |
# File 'service_catalog_app_registry/cfn_attribute_group_props.rb', line 56 def to_jsii result = {} result.merge!({ "attributes" => @attributes, "name" => @name, "description" => @description, "tags" => @tags, }) result.compact end |