Class: AWSCDK::CodeDeploy::ECSApplicationProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CodeDeploy::ECSApplicationProps
- Defined in:
- code_deploy/ecs_application_props.rb
Overview
Construction properties for EcsApplication.
Instance Attribute Summary collapse
-
#application_name ⇒ String?
readonly
The physical, human-readable name of the CodeDeploy Application.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(application_name: nil) ⇒ ECSApplicationProps
constructor
A new instance of ECSApplicationProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(application_name: nil) ⇒ ECSApplicationProps
Returns a new instance of ECSApplicationProps.
8 9 10 11 |
# File 'code_deploy/ecs_application_props.rb', line 8 def initialize(application_name: nil) @application_name = application_name Jsii::Type.check_type(@application_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "applicationName") unless @application_name.nil? end |
Instance Attribute Details
#application_name ⇒ String? (readonly)
Note:
Default: an auto-generated name will be used
The physical, human-readable name of the CodeDeploy Application.
17 18 19 |
# File 'code_deploy/ecs_application_props.rb', line 17 def application_name @application_name end |
Class Method Details
.jsii_properties ⇒ Object
19 20 21 22 23 |
# File 'code_deploy/ecs_application_props.rb', line 19 def self.jsii_properties { :application_name => "applicationName", } end |
Instance Method Details
#to_jsii ⇒ Object
25 26 27 28 29 30 31 |
# File 'code_deploy/ecs_application_props.rb', line 25 def to_jsii result = {} result.merge!({ "applicationName" => @application_name, }) result.compact end |