# PermissionsBroadeningCheckProps

Properties for a `PermissionsBroadeningCheck`.

Used as props by: [ConfirmPermissionsBroadening](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.pipelines.ConfirmPermissionsBroadening.html)

- Source: [`pipelines/lib/codepipeline/confirm-permissions-broadening.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/aws-cdk-lib/pipelines/lib/codepipeline/confirm-permissions-broadening.ts#L16)

## Example

TypeScript:

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

Python:

```python
# pipeline: pipelines.CodePipeline

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

Java:

```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());
```

C# / .NET:

```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 }) }
});
```

Golang:

```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

- `notificationTopic`: [ITopic](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_sns.ITopic.html) — Topic to send notifications when a human needs to give manual confirmation.

  **Default:** no notification

- `stage`: [Stage](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.Stage.html) (required) — The CDK Stage object to check the stacks of.

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