Package software.amazon.awscdk.pipelines
Class CdkStageProps.Builder
java.lang.Object
software.amazon.awscdk.pipelines.CdkStageProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CdkStageProps>
- Enclosing interface:
CdkStageProps
@Stability(Deprecated)
@Deprecated
public static final class CdkStageProps.Builder
extends Object
implements software.amazon.jsii.Builder<CdkStageProps>
Deprecated.
A builder for
CdkStageProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Deprecated.cloudAssemblyArtifact
(Artifact cloudAssemblyArtifact) Deprecated.confirmBroadeningPermissions
(Boolean confirmBroadeningPermissions) Deprecated.host
(IStageHost host) Deprecated.pipelineStage
(IStage pipelineStage) Deprecated.securityNotificationTopic
(ITopic securityNotificationTopic) Deprecated.Deprecated.
-
Constructor Details
-
Builder
public Builder()Deprecated.
-
-
Method Details
-
cloudAssemblyArtifact
@Stability(Deprecated) @Deprecated public CdkStageProps.Builder cloudAssemblyArtifact(Artifact cloudAssemblyArtifact) Deprecated.Sets the value ofCdkStageProps.getCloudAssemblyArtifact()
- Parameters:
cloudAssemblyArtifact
- The CodePipeline Artifact with the Cloud Assembly. This parameter is required.- Returns:
this
-
host
Deprecated.Sets the value ofCdkStageProps.getHost()
- Parameters:
host
- Features the Stage needs from its environment. This parameter is required.- Returns:
this
-
pipelineStage
Deprecated.Sets the value ofCdkStageProps.getPipelineStage()
- Parameters:
pipelineStage
- The underlying Pipeline Stage associated with thisCdkStage. This parameter is required.- Returns:
this
-
stageName
Deprecated.Sets the value ofCdkStageProps.getStageName()
- Parameters:
stageName
- Name of the stage that should be created. This parameter is required.- Returns:
this
-
confirmBroadeningPermissions
@Stability(Deprecated) @Deprecated public CdkStageProps.Builder confirmBroadeningPermissions(Boolean confirmBroadeningPermissions) Deprecated.Sets the value ofCdkStageProps.getConfirmBroadeningPermissions()
- Parameters:
confirmBroadeningPermissions
- Run a security check before every application prepare/deploy actions. Note: Stage level security check can be overriden per application as follows:stage.addApplication(app, { confirmBroadeningPermissions: false })
- Returns:
this
-
securityNotificationTopic
@Stability(Deprecated) @Deprecated public CdkStageProps.Builder securityNotificationTopic(ITopic securityNotificationTopic) Deprecated.Sets the value ofCdkStageProps.getSecurityNotificationTopic()
- Parameters:
securityNotificationTopic
- Optional SNS topic to send notifications to when any security check registers changes within a application. Note: The Stage Notification Topic can be overriden per application as follows:stage.addApplication(app, { securityNotificationTopic: newTopic })
- Returns:
this
-
build
Deprecated.Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CdkStageProps>
- Returns:
- a new instance of
CdkStageProps
- Throws:
NullPointerException
- if any required attribute was not provided
-