Skip to content
v2.277.0

PermissionsBroadeningCheckProps Struct ​

Properties for a PermissionsBroadeningCheck.

Example ​

ts
declare const pipeline: pipelines.CodePipeline;
const stage = new MyApplicationStage(this, 'MyApplication');
pipeline.addStage(stage, {
  pre: [new pipelines.ConfirmPermissionsBroadening('Check', { stage })],
});
python
# pipeline: pipelines.CodePipeline

stage = MyApplicationStage(self, "MyApplication")
pipeline.add_stage(stage,
    pre=[pipelines.ConfirmPermissionsBroadening("Check", stage=stage)]
)
java
CodePipeline pipeline;

MyApplicationStage stage = new MyApplicationStage(this, "MyApplication");
pipeline.addStage(stage, AddStageOpts.builder()
        .pre(List.of(ConfirmPermissionsBroadening.Builder.create("Check").stage(stage).build()))
        .build());
csharp
// Install: dotnet add package Amazon.CDK.Lib
CodePipeline pipeline;

var stage = new MyApplicationStage(this, "MyApplication");
pipeline.AddStage(stage, new AddStageOpts {
    Pre = new [] { new ConfirmPermissionsBroadening("Check", new PermissionsBroadeningCheckProps { Stage = stage }) }
});
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
var pipeline CodePipeline

stage := newMyApplicationStage(this, jsii.String("MyApplication"))
pipeline.AddStage(stage, &AddStageOpts{
	Pre: []Step{
		pipelines.NewConfirmPermissionsBroadening(jsii.String("Check"), &PermissionsBroadeningCheckProps{
			Stage: *Stage,
		}),
	},
})

Properties ​

notificationTopicoptionalITopicnotification_topicoptionalITopicnotificationTopicoptionalITopicNotificationTopicoptionalITopicNotificationTopicoptionalITopic#
Topic to send notifications when a human needs to give manual confirmation.

Default: no notification

stageStagestageStagestageStageStageStageStageStagerequired#
The CDK Stage object to check the stacks of.

This should be the same Stage object you are passing to addStage().