Class: AWSCDK::CodeDeploy::CfnDeploymentGroup::GreenFleetProvisioningOptionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CodeDeploy::CfnDeploymentGroup::GreenFleetProvisioningOptionProperty
- Defined in:
- code_deploy/cfn_deployment_group.rb
Overview
Information about the instances that belong to the replacement environment in a blue/green deployment.
Instance Attribute Summary collapse
-
#action ⇒ String?
readonly
The method used to add instances to a replacement environment.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(action: nil) ⇒ GreenFleetProvisioningOptionProperty
constructor
A new instance of GreenFleetProvisioningOptionProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(action: nil) ⇒ GreenFleetProvisioningOptionProperty
Returns a new instance of GreenFleetProvisioningOptionProperty.
1438 1439 1440 1441 |
# File 'code_deploy/cfn_deployment_group.rb', line 1438 def initialize(action: nil) @action = action Jsii::Type.check_type(@action, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "action") unless @action.nil? end |
Instance Attribute Details
#action ⇒ String? (readonly)
The method used to add instances to a replacement environment.
DISCOVER_EXISTING: Use instances that already exist or will be created manually.COPY_AUTO_SCALING_GROUP: Use settings from a specified Auto Scaling group to define and create instances in a new Auto Scaling group.
1450 1451 1452 |
# File 'code_deploy/cfn_deployment_group.rb', line 1450 def action @action end |
Class Method Details
.jsii_properties ⇒ Object
1452 1453 1454 1455 1456 |
# File 'code_deploy/cfn_deployment_group.rb', line 1452 def self.jsii_properties { :action => "action", } end |
Instance Method Details
#to_jsii ⇒ Object
1458 1459 1460 1461 1462 1463 1464 |
# File 'code_deploy/cfn_deployment_group.rb', line 1458 def to_jsii result = {} result.merge!({ "action" => @action, }) result.compact end |