Interface IBindableDeploymentConfig

All Superinterfaces:
software.constructs.IConstruct, software.constructs.IDependable, IDeploymentConfigRef, IEnvironmentAware, software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
IBindableDeploymentConfig.Jsii$Default
All Known Implementing Classes:
CustomLambdaDeploymentConfig, IBindableDeploymentConfig.Jsii$Proxy

@Generated(value="jsii-pacmak/1.125.0 (build fdbe357)", date="2026-01-19T12:03:51.135Z") @Stability(Stable) public interface IBindableDeploymentConfig extends software.amazon.jsii.JsiiSerializable, IDeploymentConfigRef
A DeploymentConfig that can specialize itself based on the target group it will be used for.

For example, this is used for AWS-managed deployment configs: these are already present in every region, but we need a region-specific ARN to reference them. Since we might use them in conjunction with cross-region DeploymentGroups, we need to specialize the account and region to the DeploymentGroup before using.

A DeploymentGroup must call bindEnvironment() first if it detects this type, before reading the DeploymentConfig ARN.

  • Method Details

    • bindEnvironment

      @Stability(Stable) @NotNull IDeploymentConfigRef bindEnvironment(@NotNull IDeploymentGroupRef deploymentGroup)
      Bind the predefined deployment config to the environment of the given resource.

      Parameters:
      deploymentGroup - This parameter is required.