Module: AWSCDK::CodeDeploy::IBaseDeploymentConfig
- Includes:
- Interfaces::AWSCodedeploy::IDeploymentConfigRef
- Included in:
- BaseDeploymentConfig, IECSDeploymentConfig, ILambdaDeploymentConfig, IServerDeploymentConfig
- Defined in:
- code_deploy/i_base_deployment_config.rb
Overview
The base class for ServerDeploymentConfig, EcsDeploymentConfig, and LambdaDeploymentConfig deployment configurations.
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
65 66 67 68 69 70 71 72 73 74 |
# File 'code_deploy/i_base_deployment_config.rb', line 65 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.
40 41 42 |
# File 'code_deploy/i_base_deployment_config.rb', line 40 def deployment_config_arn() jsii_get_property("deploymentConfigArn") end |
#deployment_config_name ⇒ String
The physical, human-readable name of the Deployment Configuration.
47 48 49 |
# File 'code_deploy/i_base_deployment_config.rb', line 47 def deployment_config_name() jsii_get_property("deploymentConfigName") end |
#deployment_config_ref ⇒ AWSCDK::Interfaces::AWSCodedeploy::DeploymentConfigReference
A reference to a DeploymentConfig resource.
33 34 35 |
# File 'code_deploy/i_base_deployment_config.rb', line 33 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.
26 27 28 |
# File 'code_deploy/i_base_deployment_config.rb', line 26 def env() jsii_get_property("env") end |
#node ⇒ Constructs::Node
The tree node.
11 12 13 |
# File 'code_deploy/i_base_deployment_config.rb', line 11 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.
58 59 60 61 62 63 |
# File 'code_deploy/i_base_deployment_config.rb', line 58 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 |