Class PublishAssetsAction.Builder

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

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

    • create

      @Stability(Deprecated) @Deprecated public static PublishAssetsAction.Builder create(software.constructs.Construct scope, String id)
      Deprecated.
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      Returns:
      a new instance of PublishAssetsAction.Builder.
    • actionName

      @Stability(Deprecated) @Deprecated public PublishAssetsAction.Builder actionName(String actionName)
      Deprecated.
      (deprecated) Name of publishing action.

      Parameters:
      actionName - Name of publishing action. This parameter is required.
      Returns:
      this
    • assetType

      @Stability(Deprecated) @Deprecated public PublishAssetsAction.Builder assetType(AssetType assetType)
      Deprecated.
      (deprecated) AssetType we're publishing.

      Parameters:
      assetType - AssetType we're publishing. This parameter is required.
      Returns:
      this
    • cloudAssemblyInput

      @Stability(Deprecated) @Deprecated public PublishAssetsAction.Builder cloudAssemblyInput(Artifact cloudAssemblyInput)
      Deprecated.
      (deprecated) The CodePipeline artifact that holds the Cloud Assembly.

      Parameters:
      cloudAssemblyInput - The CodePipeline artifact that holds the Cloud Assembly. This parameter is required.
      Returns:
      this
    • buildSpec

      @Stability(Deprecated) @Deprecated public PublishAssetsAction.Builder buildSpec(BuildSpec buildSpec)
      Deprecated.
      (deprecated) Custom BuildSpec that is merged with generated one.

      Default: - none

      Parameters:
      buildSpec - Custom BuildSpec that is merged with generated one. This parameter is required.
      Returns:
      this
    • cdkCliVersion

      @Stability(Deprecated) @Deprecated public PublishAssetsAction.Builder cdkCliVersion(String cdkCliVersion)
      Deprecated.
      (deprecated) Version of CDK CLI to 'npm install'.

      Default: - Latest version

      Parameters:
      cdkCliVersion - Version of CDK CLI to 'npm install'. This parameter is required.
      Returns:
      this
    • createBuildspecFile

      @Stability(Deprecated) @Deprecated public PublishAssetsAction.Builder createBuildspecFile(Boolean createBuildspecFile)
      Deprecated.
      (deprecated) Use a file buildspec written to the cloud assembly instead of an inline buildspec.

      This prevents size limitation errors as inline specs have a max length of 25600 characters

      Default: false

      Parameters:
      createBuildspecFile - Use a file buildspec written to the cloud assembly instead of an inline buildspec. This parameter is required.
      Returns:
      this
    • dependable

      @Stability(Deprecated) @Deprecated public PublishAssetsAction.Builder dependable(IDependable dependable)
      Deprecated.
      (deprecated) Any Dependable construct that the CodeBuild project needs to take a dependency on.

      Default: - none

      Parameters:
      dependable - Any Dependable construct that the CodeBuild project needs to take a dependency on. This parameter is required.
      Returns:
      this
    • preInstallCommands

      @Stability(Deprecated) @Deprecated public PublishAssetsAction.Builder preInstallCommands(List<String> preInstallCommands)
      Deprecated.
      (deprecated) Additional commands to run before installing cdk-assert Use this to setup proxies or npm mirrors.

      Default: -

      Parameters:
      preInstallCommands - Additional commands to run before installing cdk-assert Use this to setup proxies or npm mirrors. This parameter is required.
      Returns:
      this
    • projectName

      @Stability(Deprecated) @Deprecated public PublishAssetsAction.Builder projectName(String projectName)
      Deprecated.
      (deprecated) Name of the CodeBuild project.

      Default: - Automatically generated

      Parameters:
      projectName - Name of the CodeBuild project. This parameter is required.
      Returns:
      this
    • role

      @Stability(Deprecated) @Deprecated public PublishAssetsAction.Builder role(IRole role)
      Deprecated.
      (deprecated) Role to use for CodePipeline and CodeBuild to build and publish the assets.

      Default: - Automatically generated

      Parameters:
      role - Role to use for CodePipeline and CodeBuild to build and publish the assets. This parameter is required.
      Returns:
      this
    • subnetSelection

      @Stability(Deprecated) @Deprecated public PublishAssetsAction.Builder subnetSelection(SubnetSelection subnetSelection)
      Deprecated.
      (deprecated) Which subnets to use.

      Only used if 'vpc' is supplied.

      Default: - All private subnets.

      Parameters:
      subnetSelection - Which subnets to use. This parameter is required.
      Returns:
      this
    • vpc

      @Stability(Deprecated) @Deprecated public PublishAssetsAction.Builder vpc(IVpc vpc)
      Deprecated.
      (deprecated) The VPC where to execute the PublishAssetsAction.

      Default: - No VPC

      Parameters:
      vpc - The VPC where to execute the PublishAssetsAction. This parameter is required.
      Returns:
      this
    • build

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