class ConfirmPermissionsBroadening
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Pipelines.ConfirmPermissionsBroadening |
Java | software.amazon.awscdk.pipelines.ConfirmPermissionsBroadening |
Python | aws_cdk.pipelines.ConfirmPermissionsBroadening |
TypeScript (source) | @aws-cdk/pipelines » ConfirmPermissionsBroadening |
Implements
IFile, ICode
Extends
Step
Pause the pipeline if a deployment would add IAM permissions or Security Group rules.
This step is only supported in CodePipeline pipelines.
Example
declare const pipeline: pipelines.CodePipeline;
const stage = new MyApplicationStage(this, 'MyApplication');
pipeline.addStage(stage, {
pre: [
new pipelines.ConfirmPermissionsBroadening('Check', { stage }),
],
});
Initializer
new ConfirmPermissionsBroadening(id: string, props: PermissionsBroadeningCheckProps)
Parameters
- id
string - props
PermissionsBroadening Check Props
Properties
| Name | Type | Description |
|---|---|---|
| dependencies | Step[] | Return the steps this step depends on, based on the FileSets it requires. |
| dependency | File[] | The list of FileSets consumed by this Step. |
| id | string | Identifier for this step. |
| is | boolean | Whether or not this is a Source step. |
| primary | File | The primary FileSet produced by this Step. |
dependencies
Type:
Step[]
Return the steps this step depends on, based on the FileSets it requires.
dependencyFileSets
Type:
File[]
The list of FileSets consumed by this Step.
id
Type:
string
Identifier for this step.
isSource
Type:
boolean
Whether or not this is a Source step.
What it means to be a Source step depends on the engine.
primaryOutput?
Type:
File
(optional)
The primary FileSet produced by this Step.
Not all steps produce an output FileSet--if they do
you can substitute the Step object for the FileSet object.
Methods
| Name | Description |
|---|---|
| add | Add a dependency on another step. |
| produce | Create the desired Action and add it to the pipeline. |
| to | Return a string representation of this Step. |
addStepDependency(step)
public addStepDependency(step: Step): void
Parameters
- step
Step
Add a dependency on another step.
produceAction(stage, options)
public produceAction(stage: IStage, options: ProduceActionOptions): CodePipelineActionFactoryResult
Parameters
- stage
IStage - options
ProduceAction Options
Returns
Create the desired Action and add it to the pipeline.
toString()
public toString(): string
Returns
string
Return a string representation of this Step.

.NET
Java
Python
TypeScript (