Class BaseDeploymentConfig

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.codedeploy.BaseDeploymentConfig
All Implemented Interfaces:
IResource, IBaseDeploymentConfig, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable
Direct Known Subclasses:
EcsDeploymentConfig, LambdaDeploymentConfig, ServerDeploymentConfig

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-11-21T06:34:05.171Z") @Stability(Stable) public abstract class BaseDeploymentConfig extends Resource implements IBaseDeploymentConfig
The base class for ServerDeploymentConfig, EcsDeploymentConfig, and LambdaDeploymentConfig deployment configurations.
  • Constructor Details

    • BaseDeploymentConfig

      protected BaseDeploymentConfig(software.amazon.jsii.JsiiObjectRef objRef)
    • BaseDeploymentConfig

      protected BaseDeploymentConfig(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • BaseDeploymentConfig

      @Stability(Stable) protected BaseDeploymentConfig(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable BaseDeploymentConfigProps props)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      props -
    • BaseDeploymentConfig

      @Stability(Stable) protected BaseDeploymentConfig(@NotNull software.constructs.Construct scope, @NotNull String id)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
  • Method Details

    • fromDeploymentConfigName

      @Stability(Stable) @NotNull protected static IBaseDeploymentConfig fromDeploymentConfigName(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String deploymentConfigName)
      Import a custom Deployment Configuration for a Deployment Group defined outside the CDK.

      Parameters:
      scope - the parent Construct for this new Construct. This parameter is required.
      id - the logical ID of this new Construct. This parameter is required.
      deploymentConfigName - the name of the referenced custom Deployment Configuration. This parameter is required.
      Returns:
      a Construct representing a reference to an existing custom Deployment Configuration
    • getDeploymentConfigArn

      @Stability(Stable) @NotNull public String getDeploymentConfigArn()
      The arn of the deployment config.
      Specified by:
      getDeploymentConfigArn in interface IBaseDeploymentConfig
    • getDeploymentConfigName

      @Stability(Stable) @NotNull public String getDeploymentConfigName()
      The name of the deployment config.
      Specified by:
      getDeploymentConfigName in interface IBaseDeploymentConfig