Class: AWSCDK::ServiceCatalogAppRegistry::CfnApplicationProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ServiceCatalogAppRegistry::CfnApplicationProps
- Defined in:
- service_catalog_app_registry/cfn_application_props.rb
Overview
Properties for defining a CfnApplication.
Instance Attribute Summary collapse
-
#description ⇒ String?
readonly
The description of the application.
-
#name ⇒ String
readonly
The name of the application.
-
#tags ⇒ Hash{String => String}?
readonly
Key-value pairs you can use to associate with the application.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(name:, description: nil, tags: nil) ⇒ CfnApplicationProps
constructor
A new instance of CfnApplicationProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(name:, description: nil, tags: nil) ⇒ CfnApplicationProps
Returns a new instance of CfnApplicationProps.
12 13 14 15 16 17 18 19 |
# File 'service_catalog_app_registry/cfn_application_props.rb', line 12 def initialize(name:, description: nil, tags: nil) @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
#description ⇒ String? (readonly)
The description of the application.
32 33 34 |
# File 'service_catalog_app_registry/cfn_application_props.rb', line 32 def description @description end |
#name ⇒ String (readonly)
The name of the application.
The name must be unique in the region in which you are creating the application.
27 28 29 |
# File 'service_catalog_app_registry/cfn_application_props.rb', line 27 def name @name end |
#tags ⇒ Hash{String => String}? (readonly)
Key-value pairs you can use to associate with the application.
37 38 39 |
# File 'service_catalog_app_registry/cfn_application_props.rb', line 37 def @tags end |
Class Method Details
.jsii_properties ⇒ Object
39 40 41 42 43 44 45 |
# File 'service_catalog_app_registry/cfn_application_props.rb', line 39 def self.jsii_properties { :name => "name", :description => "description", :tags => "tags", } end |
Instance Method Details
#to_jsii ⇒ Object
47 48 49 50 51 52 53 54 55 |
# File 'service_catalog_app_registry/cfn_application_props.rb', line 47 def to_jsii result = {} result.merge!({ "name" => @name, "description" => @description, "tags" => @tags, }) result.compact end |