Class BaseDeploymentConfig
The base class for ServerDeploymentConfig, EcsDeploymentConfig, and LambdaDeploymentConfig deployment configurations.
Inheritance
Inherited Members
Namespace: Amazon.CDK.AWS.CodeDeploy
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public abstract class BaseDeploymentConfig : Resource, IResource, IConstruct, IDependable, IBaseDeploymentConfig
Syntax (vb)
Public MustInherit Class BaseDeploymentConfig Inherits Resource Implements IResource, IConstruct, IDependable, IBaseDeploymentConfig
Remarks
Resource: AWS::CodeDeploy::DeploymentConfig
Synopsis
Constructors
BaseDeploymentConfig(Construct, string, IBaseDeploymentConfigProps?) | The base class for ServerDeploymentConfig, EcsDeploymentConfig, and LambdaDeploymentConfig deployment configurations. |
Properties
DeploymentConfigArn | The arn of the deployment config. |
DeploymentConfigName | The name of the deployment config. |
Methods
FromDeploymentConfigName(Construct, string, string) | Import a custom Deployment Configuration for a Deployment Group defined outside the CDK. |
Constructors
BaseDeploymentConfig(Construct, string, IBaseDeploymentConfigProps?)
The base class for ServerDeploymentConfig, EcsDeploymentConfig, and LambdaDeploymentConfig deployment configurations.
protected BaseDeploymentConfig(Construct scope, string id, IBaseDeploymentConfigProps? props = null)
Parameters
- scope Construct
- id string
- props IBaseDeploymentConfigProps
Remarks
Resource: AWS::CodeDeploy::DeploymentConfig
Properties
DeploymentConfigArn
The arn of the deployment config.
public virtual string DeploymentConfigArn { get; }
Property Value
Remarks
Attribute: true
DeploymentConfigName
The name of the deployment config.
public virtual string DeploymentConfigName { get; }
Property Value
Remarks
Attribute: true
Methods
FromDeploymentConfigName(Construct, string, string)
Import a custom Deployment Configuration for a Deployment Group defined outside the CDK.
protected static IBaseDeploymentConfig FromDeploymentConfigName(Construct scope, string id, string deploymentConfigName)
Parameters
- scope Construct
the parent Construct for this new Construct.
- id string
the logical ID of this new Construct.
- deploymentConfigName string
the name of the referenced custom Deployment Configuration.
Returns
a Construct representing a reference to an existing custom Deployment Configuration
Remarks
Resource: AWS::CodeDeploy::DeploymentConfig