Module: AWSCDK::CodeDeploy::IServerDeploymentConfig
- Includes:
- IBaseDeploymentConfig
- Included in:
- ServerDeploymentConfig
- Defined in:
- code_deploy/i_server_deployment_config.rb
Overview
The Deployment Configuration of an EC2/on-premise Deployment Group.
The default, pre-defined Configurations are available as constants on the ServerDeploymentConfig class
(ServerDeploymentConfig.HALF_AT_A_TIME, ServerDeploymentConfig.ALL_AT_ONCE, etc.).
To create a custom Deployment Configuration,
instantiate the ServerDeploymentConfig Construct.
Class Method Summary collapse
Instance Method Summary collapse
-
#deployment_config_arn ⇒ String
The ARN of the Deployment Configuration.
-
#deployment_config_name ⇒ String
The physical, human-readable name of the Deployment Configuration.
-
#deployment_config_ref ⇒ AWSCDK::Interfaces::AWSCodedeploy::DeploymentConfigReference
A reference to a DeploymentConfig resource.
-
#env ⇒ AWSCDK::Interfaces::ResourceEnvironment
The environment this resource belongs to.
-
#node ⇒ Constructs::Node
The tree node.
-
#with(*mixins) ⇒ Constructs::IConstruct
Applies one or more mixins to this construct.
Class Method Details
.jsii_overridable_methods ⇒ Object
70 71 72 73 74 75 76 77 78 79 |
# File 'code_deploy/i_server_deployment_config.rb', line 70 def self.jsii_overridable_methods { :node => { kind: :property, name: "node", is_optional: false }, :env => { kind: :property, name: "env", is_optional: false }, :deployment_config_ref => { kind: :property, name: "deploymentConfigRef", is_optional: false }, :deployment_config_arn => { kind: :property, name: "deploymentConfigArn", is_optional: false }, :deployment_config_name => { kind: :property, name: "deploymentConfigName", is_optional: false }, :with => { kind: :method, name: "with", is_optional: false }, } end |
Instance Method Details
#deployment_config_arn ⇒ String
The ARN of the Deployment Configuration.
45 46 47 |
# File 'code_deploy/i_server_deployment_config.rb', line 45 def deployment_config_arn() jsii_get_property("deploymentConfigArn") end |
#deployment_config_name ⇒ String
The physical, human-readable name of the Deployment Configuration.
52 53 54 |
# File 'code_deploy/i_server_deployment_config.rb', line 52 def deployment_config_name() jsii_get_property("deploymentConfigName") end |
#deployment_config_ref ⇒ AWSCDK::Interfaces::AWSCodedeploy::DeploymentConfigReference
A reference to a DeploymentConfig resource.
38 39 40 |
# File 'code_deploy/i_server_deployment_config.rb', line 38 def deployment_config_ref() jsii_get_property("deploymentConfigRef") end |
#env ⇒ AWSCDK::Interfaces::ResourceEnvironment
The environment this resource belongs to.
For resources that are created and managed in a Stack (those created by
creating new class instances like new Role(), new Bucket(), etc.), this
is always the same as the environment of the stack they belong to.
For referenced resources (those obtained from referencing methods like
Role.fromRoleArn(), Bucket.fromBucketName(), etc.), they might be
different than the stack they were imported into.
31 32 33 |
# File 'code_deploy/i_server_deployment_config.rb', line 31 def env() jsii_get_property("env") end |
#node ⇒ Constructs::Node
The tree node.
16 17 18 |
# File 'code_deploy/i_server_deployment_config.rb', line 16 def node() jsii_get_property("node") end |
#with(*mixins) ⇒ Constructs::IConstruct
Applies one or more mixins to this construct.
Mixins are applied in order. The list of constructs is captured at the start of the call, so constructs added by a mixin will not be visited.
63 64 65 66 67 68 |
# File 'code_deploy/i_server_deployment_config.rb', line 63 def with(*mixins) mixins.each_with_index do |item, index| Jsii::Type.check_type(item, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJjb25zdHJ1Y3RzLklNaXhpbiJ9")), "mixins[#{index}]") end jsii_call_method("with", [*mixins]) end |