interface CdkStageProps
Language | Type name |
---|---|
.NET | Amazon.CDK.Pipelines.CdkStageProps |
Java | software.amazon.awscdk.pipelines.CdkStageProps |
Python | aws_cdk.pipelines.CdkStageProps |
TypeScript (source) | @aws-cdk/pipelines » CdkStageProps |
⚠️ Deprecated: This class is part of the old API. Use the API based on the CodePipeline
class instead
Construction properties for a CdkStage.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as codepipeline from '@aws-cdk/aws-codepipeline';
import * as sns from '@aws-cdk/aws-sns';
import * as pipelines from '@aws-cdk/pipelines';
declare const artifact: codepipeline.Artifact;
declare const stage: codepipeline.IStage;
declare const stageHost: pipelines.IStageHost;
declare const topic: sns.Topic;
const cdkStageProps: pipelines.CdkStageProps = {
cloudAssemblyArtifact: artifact,
host: stageHost,
pipelineStage: stage,
stageName: 'stageName',
// the properties below are optional
confirmBroadeningPermissions: false,
securityNotificationTopic: topic,
};
Properties
Name | Type | Description |
---|---|---|
cloud | Artifact | The CodePipeline Artifact with the Cloud Assembly. |
host | IStage | Features the Stage needs from its environment. |
pipeline | IStage | The underlying Pipeline Stage associated with thisCdkStage. |
stage | string | Name of the stage that should be created. |
confirm | boolean | Run a security check before every application prepare/deploy actions. |
security | ITopic | Optional SNS topic to send notifications to when any security check registers changes within a application. |
cloudAssemblyArtifact
⚠️ Deprecated: This class is part of the old API. Use the API based on the CodePipeline
class instead
Type:
Artifact
The CodePipeline Artifact with the Cloud Assembly.
host
⚠️ Deprecated: This class is part of the old API. Use the API based on the CodePipeline
class instead
Type:
IStage
Features the Stage needs from its environment.
pipelineStage
⚠️ Deprecated: This class is part of the old API. Use the API based on the CodePipeline
class instead
Type:
IStage
The underlying Pipeline Stage associated with thisCdkStage.
stageName
⚠️ Deprecated: This class is part of the old API. Use the API based on the CodePipeline
class instead
Type:
string
Name of the stage that should be created.
confirmBroadeningPermissions?
⚠️ Deprecated: This class is part of the old API. Use the API based on the CodePipeline
class instead
Type:
boolean
(optional, default: false)
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 })
securityNotificationTopic?
⚠️ Deprecated: This class is part of the old API. Use the API based on the CodePipeline
class instead
Type:
ITopic
(optional, default: undefined no stage level notification topic)
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 })