Class PipelineDeployStackAction.Builder

java.lang.Object
software.amazon.awscdk.appdelivery.PipelineDeployStackAction.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<PipelineDeployStackAction>
Enclosing class:
PipelineDeployStackAction

@Stability(Deprecated) @Deprecated public static final class PipelineDeployStackAction.Builder extends Object implements software.amazon.jsii.Builder<PipelineDeployStackAction>
Deprecated.
(deprecated) A fluent builder for PipelineDeployStackAction.
  • Method Details

    • create

      @Stability(Deprecated) @Deprecated public static PipelineDeployStackAction.Builder create()
      Deprecated.
      Returns:
      a new instance of PipelineDeployStackAction.Builder.
    • adminPermissions

      @Stability(Deprecated) @Deprecated public PipelineDeployStackAction.Builder adminPermissions(Boolean adminPermissions)
      Deprecated.
      (deprecated) Whether to grant admin permissions to CloudFormation while deploying this template.

      Setting this to true affects the defaults for role and capabilities, if you don't specify any alternatives.

      The default role that will be created for you will have admin (i.e., *) permissions on all resources, and the deployment will have named IAM capabilities (i.e., able to create all IAM resources).

      This is a shorthand that you can use if you fully trust the templates that are deployed in this pipeline. If you want more fine-grained permissions, use addToRolePolicy and capabilities to control what the CloudFormation deployment is allowed to do.

      Parameters:
      adminPermissions - Whether to grant admin permissions to CloudFormation while deploying this template. This parameter is required.
      Returns:
      this
    • input

      @Stability(Deprecated) @Deprecated public PipelineDeployStackAction.Builder input(Artifact input)
      Deprecated.
      (deprecated) The CodePipeline artifact that holds the synthesized app, which is the contents of the <directory> when running cdk synth -o <directory>.

      Parameters:
      input - The CodePipeline artifact that holds the synthesized app, which is the contents of the <directory> when running cdk synth -o <directory>. This parameter is required.
      Returns:
      this
    • stack

      @Stability(Deprecated) @Deprecated public PipelineDeployStackAction.Builder stack(Stack stack)
      Deprecated.
      (deprecated) The CDK stack to be deployed.

      Parameters:
      stack - The CDK stack to be deployed. This parameter is required.
      Returns:
      this
    • capabilities

      @Stability(Deprecated) @Deprecated public PipelineDeployStackAction.Builder capabilities(List<? extends CloudFormationCapabilities> capabilities)
      Deprecated.
      (deprecated) Acknowledge certain changes made as part of deployment.

      For stacks that contain certain resources, explicit acknowledgement that AWS CloudFormation might create or update those resources. For example, you must specify AnonymousIAM if your stack template contains AWS Identity and Access Management (IAM) resources. For more information

      Default: [AnonymousIAM, AutoExpand], unless `adminPermissions` is true

      Parameters:
      capabilities - Acknowledge certain changes made as part of deployment. This parameter is required.
      Returns:
      this
      See Also:
    • changeSetName

      @Stability(Deprecated) @Deprecated public PipelineDeployStackAction.Builder changeSetName(String changeSetName)
      Deprecated.
      (deprecated) The name to use when creating a ChangeSet for the stack.

      Default: CDK-CodePipeline-ChangeSet

      Parameters:
      changeSetName - The name to use when creating a ChangeSet for the stack. This parameter is required.
      Returns:
      this
    • createChangeSetActionName

      @Stability(Deprecated) @Deprecated public PipelineDeployStackAction.Builder createChangeSetActionName(String createChangeSetActionName)
      Deprecated.
      (deprecated) The name of the CodePipeline action creating the ChangeSet.

      Default: 'ChangeSet'

      Parameters:
      createChangeSetActionName - The name of the CodePipeline action creating the ChangeSet. This parameter is required.
      Returns:
      this
    • createChangeSetRunOrder

      @Stability(Deprecated) @Deprecated public PipelineDeployStackAction.Builder createChangeSetRunOrder(Number createChangeSetRunOrder)
      Deprecated.
      (deprecated) The runOrder for the CodePipeline action creating the ChangeSet.

      Default: 1

      Parameters:
      createChangeSetRunOrder - The runOrder for the CodePipeline action creating the ChangeSet. This parameter is required.
      Returns:
      this
    • executeChangeSetActionName

      @Stability(Deprecated) @Deprecated public PipelineDeployStackAction.Builder executeChangeSetActionName(String executeChangeSetActionName)
      Deprecated.
      (deprecated) The name of the CodePipeline action creating the ChangeSet.

      Default: 'Execute'

      Parameters:
      executeChangeSetActionName - The name of the CodePipeline action creating the ChangeSet. This parameter is required.
      Returns:
      this
    • executeChangeSetRunOrder

      @Stability(Deprecated) @Deprecated public PipelineDeployStackAction.Builder executeChangeSetRunOrder(Number executeChangeSetRunOrder)
      Deprecated.
      (deprecated) The runOrder for the CodePipeline action executing the ChangeSet.

      Default: ``createChangeSetRunOrder + 1``

      Parameters:
      executeChangeSetRunOrder - The runOrder for the CodePipeline action executing the ChangeSet. This parameter is required.
      Returns:
      this
    • role

      @Stability(Deprecated) @Deprecated public PipelineDeployStackAction.Builder role(IRole role)
      Deprecated.
      (deprecated) IAM role to assume when deploying changes.

      If not specified, a fresh role is created. The role is created with zero permissions unless adminPermissions is true, in which case the role will have admin permissions.

      Default: A fresh role with admin or no permissions (depending on the value of `adminPermissions`).

      Parameters:
      role - IAM role to assume when deploying changes. This parameter is required.
      Returns:
      this
    • build

      @Stability(Deprecated) @Deprecated public PipelineDeployStackAction build()
      Deprecated.
      Specified by:
      build in interface software.amazon.jsii.Builder<PipelineDeployStackAction>
      Returns:
      a newly built instance of PipelineDeployStackAction.