Class: AWSCDK::AppConfig::CfnExtensionAssociationProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::AppConfig::CfnExtensionAssociationProps
- Defined in:
- app_config/cfn_extension_association_props.rb
Overview
Properties for defining a CfnExtensionAssociation.
Instance Attribute Summary collapse
-
#extension_identifier ⇒ String?
readonly
The name, the ID, or the Amazon Resource Name (ARN) of the extension.
-
#extension_version_number ⇒ Numeric?
readonly
The version number of the extension.
-
#parameters ⇒ AWSCDK::IResolvable, ...
readonly
The parameter names and values defined in the extensions.
-
#resource_identifier ⇒ String?
readonly
The ARN of an application, configuration profile, or environment.
-
#tags ⇒ Array<AWSCDK::CfnTag>?
readonly
Adds one or more tags for the specified extension association.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(extension_identifier: nil, extension_version_number: nil, parameters: nil, resource_identifier: nil, tags: nil) ⇒ CfnExtensionAssociationProps
constructor
A new instance of CfnExtensionAssociationProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(extension_identifier: nil, extension_version_number: nil, parameters: nil, resource_identifier: nil, tags: nil) ⇒ CfnExtensionAssociationProps
Returns a new instance of CfnExtensionAssociationProps.
14 15 16 17 18 19 20 21 22 23 24 25 |
# File 'app_config/cfn_extension_association_props.rb', line 14 def initialize(extension_identifier: nil, extension_version_number: nil, parameters: nil, resource_identifier: nil, tags: nil) @extension_identifier = extension_identifier Jsii::Type.check_type(@extension_identifier, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "extensionIdentifier") unless @extension_identifier.nil? @extension_version_number = extension_version_number Jsii::Type.check_type(@extension_version_number, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "extensionVersionNumber") unless @extension_version_number.nil? @parameters = parameters Jsii::Type.check_type(@parameters, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsicHJpbWl0aXZlIjoic3RyaW5nIn0sImtpbmQiOiJtYXAifX1dfX0=")), "parameters") unless @parameters.nil? @resource_identifier = resource_identifier Jsii::Type.check_type(@resource_identifier, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "resourceIdentifier") unless @resource_identifier.nil? @tags = .is_a?(Array) ? .map { |jsii_v0| jsii_v0.is_a?(Hash) ? ::AWSCDK::CfnTag.new(**jsii_v0.transform_keys(&:to_sym)) : jsii_v0 } : Jsii::Type.check_type(@tags, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7ImZxbiI6ImF3cy1jZGstbGliLkNmblRhZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "tags") unless @tags.nil? end |
Instance Attribute Details
#extension_identifier ⇒ String? (readonly)
The name, the ID, or the Amazon Resource Name (ARN) of the extension.
31 32 33 |
# File 'app_config/cfn_extension_association_props.rb', line 31 def extension_identifier @extension_identifier end |
#extension_version_number ⇒ Numeric? (readonly)
The version number of the extension.
If not specified, AWS AppConfig uses the maximum version of the extension.
38 39 40 |
# File 'app_config/cfn_extension_association_props.rb', line 38 def extension_version_number @extension_version_number end |
#parameters ⇒ AWSCDK::IResolvable, ... (readonly)
The parameter names and values defined in the extensions.
Extension parameters marked Required must be entered for this field.
45 46 47 |
# File 'app_config/cfn_extension_association_props.rb', line 45 def parameters @parameters end |
#resource_identifier ⇒ String? (readonly)
The ARN of an application, configuration profile, or environment.
50 51 52 |
# File 'app_config/cfn_extension_association_props.rb', line 50 def resource_identifier @resource_identifier end |
#tags ⇒ Array<AWSCDK::CfnTag>? (readonly)
Adds one or more tags for the specified extension association.
Tags are metadata that help you categorize resources in different ways, for example, by purpose, owner, or environment. Each tag consists of a key and an optional value, both of which you define.
57 58 59 |
# File 'app_config/cfn_extension_association_props.rb', line 57 def @tags end |
Class Method Details
.jsii_properties ⇒ Object
59 60 61 62 63 64 65 66 67 |
# File 'app_config/cfn_extension_association_props.rb', line 59 def self.jsii_properties { :extension_identifier => "extensionIdentifier", :extension_version_number => "extensionVersionNumber", :parameters => "parameters", :resource_identifier => "resourceIdentifier", :tags => "tags", } end |
Instance Method Details
#to_jsii ⇒ Object
69 70 71 72 73 74 75 76 77 78 79 |
# File 'app_config/cfn_extension_association_props.rb', line 69 def to_jsii result = {} result.merge!({ "extensionIdentifier" => @extension_identifier, "extensionVersionNumber" => @extension_version_number, "parameters" => @parameters, "resourceIdentifier" => @resource_identifier, "tags" => @tags, }) result.compact end |