interface StageDeclarationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.CodePipeline.Mixins.CfnPipelinePropsMixin.StageDeclarationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awscodepipeline/mixins#CfnPipelinePropsMixin_StageDeclarationProperty |
Java | software.amazon.awscdk.mixins.preview.services.codepipeline.mixins.CfnPipelinePropsMixin.StageDeclarationProperty |
Python | aws_cdk.mixins_preview.aws_codepipeline.mixins.CfnPipelinePropsMixin.StageDeclarationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_codepipeline » mixins » CfnPipelinePropsMixin » StageDeclarationProperty |
Represents information about a stage and its definition.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as codepipeline_mixins } from '@aws-cdk/mixins-preview/aws-codepipeline';
declare const configuration: any;
const stageDeclarationProperty: codepipeline_mixins.CfnPipelinePropsMixin.StageDeclarationProperty = {
actions: [{
actionTypeId: {
category: 'category',
owner: 'owner',
provider: 'provider',
version: 'version',
},
commands: ['commands'],
configuration: configuration,
environmentVariables: [{
name: 'name',
type: 'type',
value: 'value',
}],
inputArtifacts: [{
name: 'name',
}],
name: 'name',
namespace: 'namespace',
outputArtifacts: [{
files: ['files'],
name: 'name',
}],
outputVariables: ['outputVariables'],
region: 'region',
roleArn: 'roleArn',
runOrder: 123,
timeoutInMinutes: 123,
}],
beforeEntry: {
conditions: [{
result: 'result',
rules: [{
commands: ['commands'],
configuration: configuration,
inputArtifacts: [{
name: 'name',
}],
name: 'name',
region: 'region',
roleArn: 'roleArn',
ruleTypeId: {
category: 'category',
owner: 'owner',
provider: 'provider',
version: 'version',
},
}],
}],
},
blockers: [{
name: 'name',
type: 'type',
}],
name: 'name',
onFailure: {
conditions: [{
result: 'result',
rules: [{
commands: ['commands'],
configuration: configuration,
inputArtifacts: [{
name: 'name',
}],
name: 'name',
region: 'region',
roleArn: 'roleArn',
ruleTypeId: {
category: 'category',
owner: 'owner',
provider: 'provider',
version: 'version',
},
}],
}],
result: 'result',
retryConfiguration: {
retryMode: 'retryMode',
},
},
onSuccess: {
conditions: [{
result: 'result',
rules: [{
commands: ['commands'],
configuration: configuration,
inputArtifacts: [{
name: 'name',
}],
name: 'name',
region: 'region',
roleArn: 'roleArn',
ruleTypeId: {
category: 'category',
owner: 'owner',
provider: 'provider',
version: 'version',
},
}],
}],
},
};
Properties
| Name | Type | Description |
|---|---|---|
| actions? | IResolvable | (IResolvable | Action)[] | The actions included in a stage. |
| before | IResolvable | Before | The method to use when a stage allows entry. |
| blockers? | IResolvable | (IResolvable | Blocker)[] | Reserved for future use. |
| name? | string | The name of the stage. |
| on | IResolvable | Failure | The method to use when a stage has not completed successfully. |
| on | IResolvable | Success | The method to use when a stage has succeeded. |
actions?
Type:
IResolvable | (IResolvable | Action)[]
(optional)
The actions included in a stage.
beforeEntry?
Type:
IResolvable | Before
(optional)
The method to use when a stage allows entry.
For example, configuring this field for conditions will allow entry to the stage when the conditions are met.
blockers?
Type:
IResolvable | (IResolvable | Blocker)[]
(optional)
Reserved for future use.
name?
Type:
string
(optional)
The name of the stage.
onFailure?
Type:
IResolvable | Failure
(optional)
The method to use when a stage has not completed successfully.
For example, configuring this field for rollback will roll back a failed stage automatically to the last successful pipeline execution in the stage.
onSuccess?
Type:
IResolvable | Success
(optional)
The method to use when a stage has succeeded.
For example, configuring this field for conditions will allow the stage to succeed when the conditions are met.

.NET
Go
Java
Python
TypeScript