Class: AWSCDK::AppConfig::ExtensionAttributes
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::AppConfig::ExtensionAttributes
- Defined in:
- app_config/extension_attributes.rb
Overview
Attributes of an existing AWS AppConfig extension to import.
Instance Attribute Summary collapse
-
#actions ⇒ Array<AWSCDK::AppConfig::Action>?
readonly
The actions of the extension.
-
#description ⇒ String?
readonly
The description of the extension.
-
#extension_arn ⇒ String?
readonly
The Amazon Resource Name (ARN) of the extension.
-
#extension_id ⇒ String
readonly
The ID of the extension.
-
#extension_version_number ⇒ Numeric
readonly
The version number of the extension.
-
#name ⇒ String?
readonly
The name of the extension.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(extension_id:, extension_version_number:, actions: nil, description: nil, extension_arn: nil, name: nil) ⇒ ExtensionAttributes
constructor
A new instance of ExtensionAttributes.
- #to_jsii ⇒ Object
Constructor Details
#initialize(extension_id:, extension_version_number:, actions: nil, description: nil, extension_arn: nil, name: nil) ⇒ ExtensionAttributes
Returns a new instance of ExtensionAttributes.
13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'app_config/extension_attributes.rb', line 13 def initialize(extension_id:, extension_version_number:, actions: nil, description: nil, extension_arn: nil, name: nil) @extension_id = extension_id Jsii::Type.check_type(@extension_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "extensionId") @extension_version_number = extension_version_number Jsii::Type.check_type(@extension_version_number, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "extensionVersionNumber") @actions = actions Jsii::Type.check_type(@actions, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7ImZxbiI6ImF3cy1jZGstbGliLmF3c19hcHBjb25maWcuQWN0aW9uIn0sImtpbmQiOiJhcnJheSJ9fQ==")), "actions") unless @actions.nil? @description = description Jsii::Type.check_type(@description, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "description") unless @description.nil? @extension_arn = extension_arn Jsii::Type.check_type(@extension_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "extensionArn") unless @extension_arn.nil? @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") unless @name.nil? end |
Instance Attribute Details
#actions ⇒ Array<AWSCDK::AppConfig::Action>? (readonly)
Note:
Default: - None.
The actions of the extension.
40 41 42 |
# File 'app_config/extension_attributes.rb', line 40 def actions @actions end |
#description ⇒ String? (readonly)
Note:
Default: - None.
The description of the extension.
45 46 47 |
# File 'app_config/extension_attributes.rb', line 45 def description @description end |
#extension_arn ⇒ String? (readonly)
Note:
Default: - The extension ARN is generated.
The Amazon Resource Name (ARN) of the extension.
50 51 52 |
# File 'app_config/extension_attributes.rb', line 50 def extension_arn @extension_arn end |
#extension_id ⇒ String (readonly)
The ID of the extension.
31 32 33 |
# File 'app_config/extension_attributes.rb', line 31 def extension_id @extension_id end |
#extension_version_number ⇒ Numeric (readonly)
The version number of the extension.
35 36 37 |
# File 'app_config/extension_attributes.rb', line 35 def extension_version_number @extension_version_number end |
#name ⇒ String? (readonly)
Note:
Default: - None.
The name of the extension.
55 56 57 |
# File 'app_config/extension_attributes.rb', line 55 def name @name end |
Class Method Details
.jsii_properties ⇒ Object
57 58 59 60 61 62 63 64 65 66 |
# File 'app_config/extension_attributes.rb', line 57 def self.jsii_properties { :extension_id => "extensionId", :extension_version_number => "extensionVersionNumber", :actions => "actions", :description => "description", :extension_arn => "extensionArn", :name => "name", } end |
Instance Method Details
#to_jsii ⇒ Object
68 69 70 71 72 73 74 75 76 77 78 79 |
# File 'app_config/extension_attributes.rb', line 68 def to_jsii result = {} result.merge!({ "extensionId" => @extension_id, "extensionVersionNumber" => @extension_version_number, "actions" => @actions, "description" => @description, "extensionArn" => @extension_arn, "name" => @name, }) result.compact end |