@aws-cdk/aws-codepipeline-api
Advanced tools
Comparing version 0.11.0 to 0.12.0
@@ -28,2 +28,30 @@ import events = require('@aws-cdk/aws-events'); | ||
/** | ||
* The API of Stage used internally by the CodePipeline Construct. | ||
* You should never need to call any of the methods inside of it yourself. | ||
*/ | ||
export interface IInternalStage { | ||
/** | ||
* Adds an Action to this Stage. | ||
* | ||
* @param action the Action to add to this Stage | ||
*/ | ||
_attachAction(action: Action): void; | ||
/** | ||
* Generates a unique output artifact name for the given Action. | ||
* | ||
* @param action the Action to generate the output artifact name for | ||
*/ | ||
_generateOutputArtifactName(action: Action): string; | ||
/** | ||
* Finds an input artifact for the given Action. | ||
* The chosen artifact will be the output artifact of the | ||
* last Action in the Pipeline | ||
* (up to the Stage this Action belongs to) | ||
* with the highest runOrder that has an output artifact. | ||
* | ||
* @param action the Action to find the input artifact for | ||
*/ | ||
_findInputArtifact(action: Action): Artifact; | ||
} | ||
/** | ||
* The abstract interface of a Pipeline Stage that is used by Actions. | ||
@@ -45,2 +73,7 @@ */ | ||
/** | ||
* The API of Stage used internally by the CodePipeline Construct. | ||
* You should never need to call any of the methods inside of it yourself. | ||
*/ | ||
readonly _internal: IInternalStage; | ||
/** | ||
* Grants read & write permissions to the Pipeline's S3 Bucket to the given Identity. | ||
@@ -51,11 +84,2 @@ * | ||
grantPipelineBucketReadWrite(identity: iam.IPrincipal): void; | ||
/** | ||
* Adds an Action to this Stage. | ||
* This is an internal operation - | ||
* an Action is added to a Stage when it's constructed, | ||
* so there's no need to call this method explicitly. | ||
* | ||
* @param action the Action to add to this Stage | ||
*/ | ||
_attachAction(action: Action): void; | ||
} | ||
@@ -127,4 +151,4 @@ /** | ||
readonly version: string; | ||
private readonly _inputArtifacts; | ||
private readonly _outputArtifacts; | ||
private readonly inputArtifacts; | ||
private readonly outputArtifacts; | ||
private readonly artifactBounds; | ||
@@ -135,7 +159,6 @@ private readonly stage; | ||
onStateChange(name: string, target?: events.IEventRuleTarget, options?: events.EventRuleProps): events.EventRule; | ||
readonly inputArtifacts: Artifact[]; | ||
readonly outputArtifacts: Artifact[]; | ||
protected addChild(child: cdk.Construct, name: string): void; | ||
protected addOutputArtifact(name: string): Artifact; | ||
protected addInputArtifact(artifact: Artifact): Action; | ||
readonly _inputArtifacts: Artifact[]; | ||
readonly _outputArtifacts: Artifact[]; | ||
protected addOutputArtifact(name?: string): Artifact; | ||
protected addInputArtifact(artifact?: Artifact): Action; | ||
} |
@@ -33,4 +33,4 @@ "use strict"; | ||
super(parent, id); | ||
this._inputArtifacts = new Array(); | ||
this._outputArtifacts = new Array(); | ||
this.inputArtifacts = new Array(); | ||
this.outputArtifacts = new Array(); | ||
validation.validateName('Action', id); | ||
@@ -45,7 +45,7 @@ this.owner = props.owner || 'AWS'; | ||
this.stage = props.stage; | ||
this.stage._attachAction(this); | ||
this.stage._internal._attachAction(this); | ||
} | ||
validate() { | ||
return validation.validateArtifactBounds('input', this._inputArtifacts, this.artifactBounds.minInputs, this.artifactBounds.maxInputs, this.category, this.provider) | ||
.concat(validation.validateArtifactBounds('output', this._outputArtifacts, this.artifactBounds.minOutputs, this.artifactBounds.maxOutputs, this.category, this.provider)); | ||
return validation.validateArtifactBounds('input', this.inputArtifacts, this.artifactBounds.minInputs, this.artifactBounds.maxInputs, this.category, this.provider) | ||
.concat(validation.validateArtifactBounds('output', this.outputArtifacts, this.artifactBounds.minOutputs, this.artifactBounds.maxOutputs, this.category, this.provider)); | ||
} | ||
@@ -66,20 +66,15 @@ onStateChange(name, target, options) { | ||
} | ||
get inputArtifacts() { | ||
return this._inputArtifacts.slice(); | ||
get _inputArtifacts() { | ||
return this.inputArtifacts.slice(); | ||
} | ||
get outputArtifacts() { | ||
return this._outputArtifacts.slice(); | ||
get _outputArtifacts() { | ||
return this.outputArtifacts.slice(); | ||
} | ||
addChild(child, name) { | ||
super.addChild(child, name); | ||
if (child instanceof artifact_1.Artifact) { | ||
this._outputArtifacts.push(child); | ||
} | ||
} | ||
addOutputArtifact(name) { | ||
addOutputArtifact(name = this.stage._internal._generateOutputArtifactName(this)) { | ||
const artifact = new artifact_1.Artifact(this, name); | ||
this.outputArtifacts.push(artifact); | ||
return artifact; | ||
} | ||
addInputArtifact(artifact) { | ||
this._inputArtifacts.push(artifact); | ||
addInputArtifact(artifact = this.stage._internal._findInputArtifact(this)) { | ||
this.inputArtifacts.push(artifact); | ||
return this; | ||
@@ -181,2 +176,2 @@ } | ||
// } | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWN0aW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiYWN0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsOENBQStDO0FBRS9DLG9DQUFxQztBQUNyQyx5Q0FBc0M7QUFDdEMsMkNBQTRDO0FBRTVDLElBQVksY0FPWDtBQVBELFdBQVksY0FBYztJQUN4QixtQ0FBaUIsQ0FBQTtJQUNqQixpQ0FBZSxDQUFBO0lBQ2YsK0JBQWEsQ0FBQTtJQUNiLHVDQUFxQixDQUFBO0lBQ3JCLG1DQUFpQixDQUFBO0lBQ2pCLG1DQUFpQixDQUFBO0FBQ25CLENBQUMsRUFQVyxjQUFjLEdBQWQsc0JBQWMsS0FBZCxzQkFBYyxRQU96QjtBQWdCRCxTQUFnQixhQUFhO0lBQzNCLE9BQU87UUFDTCxTQUFTLEVBQUUsQ0FBQztRQUNaLFNBQVMsRUFBRSxDQUFDO1FBQ1osVUFBVSxFQUFFLENBQUM7UUFDYixVQUFVLEVBQUUsQ0FBQztLQUNkLENBQUM7QUFDSixDQUFDO0FBUEQsc0NBT0M7QUEyRUQ7Ozs7R0FJRztBQUNILE1BQXNCLE1BQU8sU0FBUSxHQUFHLENBQUMsU0FBUztJQXFDaEQsWUFBWSxNQUFxQixFQUFFLEVBQVUsRUFBRSxLQUFrQjtRQUMvRCxLQUFLLENBQUMsTUFBTSxFQUFFLEVBQUUsQ0FBQyxDQUFDO1F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gfVxuLy8gfVxuIl19 |
@@ -11,3 +11,3 @@ import cdk = require("@aws-cdk/cdk"); | ||
*/ | ||
inputArtifact: Artifact; | ||
inputArtifact?: Artifact; | ||
/** | ||
@@ -18,5 +18,11 @@ * The service provider that the action calls. For example, a valid provider for Source actions is CodeBuild. | ||
/** | ||
* The source action owner (could be 'AWS', 'ThirdParty' or 'Custom'). | ||
* | ||
* @default 'AWS' | ||
*/ | ||
owner?: string; | ||
/** | ||
* The name of the build's output artifact. | ||
*/ | ||
artifactName?: string; | ||
outputArtifactName?: string; | ||
/** | ||
@@ -36,4 +42,4 @@ * The action's configuration. These are key-value pairs that specify input values for an action. | ||
export declare abstract class BuildAction extends Action { | ||
readonly artifact?: Artifact; | ||
readonly outputArtifact: Artifact; | ||
constructor(parent: cdk.Construct, name: string, props: BuildActionProps); | ||
} |
@@ -11,17 +11,8 @@ "use strict"; | ||
constructor(parent, name, props) { | ||
super(parent, name, { | ||
stage: props.stage, | ||
runOrder: props.runOrder, | ||
artifactBounds: { minInputs: 1, maxInputs: 1, minOutputs: 0, maxOutputs: 1 }, | ||
category: action_1.ActionCategory.Build, | ||
provider: props.provider, | ||
configuration: props.configuration | ||
}); | ||
super(parent, name, Object.assign({ category: action_1.ActionCategory.Build, artifactBounds: { minInputs: 1, maxInputs: 1, minOutputs: 0, maxOutputs: 1 } }, props)); | ||
this.addInputArtifact(props.inputArtifact); | ||
if (props.artifactName) { | ||
this.artifact = this.addOutputArtifact(props.artifactName); | ||
} | ||
this.outputArtifact = this.addOutputArtifact(props.outputArtifactName); | ||
} | ||
} | ||
exports.BuildAction = BuildAction; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnVpbGQtYWN0aW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiYnVpbGQtYWN0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQ0EscUNBQWlHO0FBK0JqRzs7Ozt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wcm9wcy5vdXRwdXRBcnRpZmFjdE5hbWUpO1xuICB9XG59XG4iXX0= |
@@ -6,2 +6,3 @@ import cdk = require('@aws-cdk/cdk'); | ||
provider: string; | ||
owner?: string; | ||
artifactBounds: ActionArtifactBounds; | ||
@@ -8,0 +9,0 @@ inputArtifact?: Artifact; |
@@ -6,16 +6,7 @@ "use strict"; | ||
constructor(parent, name, props) { | ||
super(parent, name, { | ||
stage: props.stage, | ||
runOrder: props.runOrder, | ||
category: action_1.ActionCategory.Deploy, | ||
provider: props.provider, | ||
artifactBounds: props.artifactBounds, | ||
configuration: props.configuration, | ||
}); | ||
if (props.inputArtifact) { | ||
this.addInputArtifact(props.inputArtifact); | ||
} | ||
super(parent, name, Object.assign({ category: action_1.ActionCategory.Deploy }, props)); | ||
this.addInputArtifact(props.inputArtifact); | ||
} | ||
} | ||
exports.DeployAction = DeployAction; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVwbG95LWFjdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRlcGxveS1hY3Rpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFDQSxxQ0FBdUg7QUFhdkgsTUFBc0IsWUFBYSxTQUFRLGVBQU07SUFDL0MsWUFBWSxNQUFxQixFQUFFLElBQVksRUFBRSxLQUF3QjtRQUN2RSxLQUFLLENBQUMsTUFBTSxFQUFFLElBQUksRUFBRTtZQUNsQixLQUFLLEVBQUUsS0FBSyxDQUFDLEtBQUs7WUFDbEIsUUFBUSxFQUFFLEtBQUssQ0FBQyxRQUFRO1lBQ3hCLFFBQVEsRUFBRSx1QkFBYyxDQUFDLE1BQU07WUFDL0IsUUFBUSxFQUFFLEtBQUssQ0FBQyxRQUFRO1lBQ3hCLGNBQWMsRUFBRSxLQUFLLENBQUMsY0FBYztZQUNwQyxhQUFhLEVBQUUsS0FBSyxDQUFDLGFBQWE7U0FDbkMsQ0F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gXCIuL2FjdGlvblwiO1xuaW1wb3J0IHsgQXJ0aWZhY3QgfSBmcm9tICcuL2FydGlmYWN0JztcblxuZXhwb3J0IGludGVyZmFjZSBEZXBsb3lBY3Rpb25Qcm9wcyBleHRlbmRzIENvbW1vbkFjdGlvblByb3BzLCBDb21tb25BY3Rpb25Db25zdHJ1Y3RQcm9wcyB7XG4gIHByb3ZpZGVyOiBzdHJpbmc7XG5cbiAgb3duZXI/OiBzdHJpbmc7XG5cbiAgYXJ0aWZhY3RCb3VuZHM6IEFjdGlvbkFydGlmYWN0Qm91bmRzO1xuXG4gIGlucHV0QXJ0aWZhY3Q/OiBBcnRpZmFjdDtcblxuICBjb25maWd1cmF0aW9uPzogYW55O1xufVxuXG5leHBvcnQgYWJzdHJhY3QgY2xhc3MgRGVwbG95QWN0aW9uIGV4dGVuZHMgQWN0aW9uIHtcbiAgY29uc3RydWN0b3IocGFyZW50OiBjZGsuQ29uc3RydWN0LCBuYW1lOiBzdHJpbmcsIHByb3BzOiBEZXBsb3lBY3Rpb25Qcm9wcykge1xuICAgIHN1cGVyKHBhcmVudCwgbmFtZSwge1xuICAgICAgY2F0ZWdvcnk6IEFjdGlvbkNhdGVnb3J5LkRlcGxveSxcbiAgICAgIC4uLnByb3BzLFxuICAgIH0pO1xuXG4gICAgdGhpcy5hZGRJbnB1dEFydGlmYWN0KHByb3BzLmlucHV0QXJ0aWZhY3QpO1xuICB9XG59XG4iXX0= |
@@ -23,4 +23,6 @@ import cdk = require("@aws-cdk/cdk"); | ||
* Output artifacts are used by CodePipeline as inputs into other actions. | ||
* | ||
* @default a name will be auto-generated | ||
*/ | ||
artifactName: string; | ||
outputArtifactName?: string; | ||
/** | ||
@@ -46,4 +48,4 @@ * The service provider that the action calls. | ||
export declare abstract class SourceAction extends Action { | ||
readonly artifact: Artifact; | ||
readonly outputArtifact: Artifact; | ||
constructor(parent: cdk.Construct, name: string, props: SourceActionProps); | ||
} |
@@ -12,16 +12,7 @@ "use strict"; | ||
constructor(parent, name, props) { | ||
super(parent, name, { | ||
stage: props.stage, | ||
runOrder: props.runOrder, | ||
category: action_1.ActionCategory.Source, | ||
owner: props.owner, | ||
provider: props.provider, | ||
version: props.version, | ||
artifactBounds: { minInputs: 0, maxInputs: 0, minOutputs: 1, maxOutputs: 1 }, | ||
configuration: props.configuration | ||
}); | ||
this.artifact = this.addOutputArtifact(props.artifactName); | ||
super(parent, name, Object.assign({ category: action_1.ActionCategory.Source, artifactBounds: { minInputs: 0, maxInputs: 0, minOutputs: 1, maxOutputs: 1 } }, props)); | ||
this.outputArtifact = this.addOutputArtifact(props.outputArtifactName); | ||
} | ||
} | ||
exports.SourceAction = SourceAction; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlLWFjdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInNvdXJjZS1hY3Rpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFDQSxxQ0FBaUc7QUEwQ2pHOzs7OztHQUtHO0FBQ0gsTUFBc0IsWUFBYSxTQUFRLGVBQU07SUFHL0MsWUFBWSxNQUFxQixFQUFFLElBQVksRUFBRSxLQUF3QjtRQUN2RSxLQUFLLENBQUMsTUFBTSxFQUFFLElBQUksRUFBRTtZQUNsQixLQUFLLEVBQUUsS0FBSyxDQUFDLEtBQUs7WUFDbEIsUUFBUSxFQUFFLEtBQUssQ0FBQyxRQUFRO1lBQ3hCLFFBQVEsRUFBRSx1QkFBYyxDQUFDLE1BQU07WUFDL0IsS0FBSyxFQUFFLEtBQUssQ0FBQyxLQUFLO1lBQ2xCLFFBQVEsRUFBRSxLQUFLLENBQUMsUUFBUTtZQUN4QixPQUFPLEVBQUUsS0FBSyxDQUFDLE9BQU87WUFDdEIsY0FBYyxFQUFFLEVBQUUsU0FBUyxFQUFFLENBQUMsRUFBRSxTQUFTLEVBQUUsQ0FBQyxFQUFFLFVBQVUsRUFBRSxDQU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9yZWZlcmVuY2UtcGlwZWxpbmUtc3RydWN0dXJlLmh0bWwjYWN0aW9uLXJlcXVpcmVtZW50c1xuICAgKi9cbiAgY29uZmlndXJhdGlvbj86IGFueTtcbn1cblxuLyoqXG4gKiBMb3ctbGV2ZWwgY2xhc3MgZm9yIHNvdXJjZSBhY3Rpb25zLlxuICogSXQgaXMgcmVjb21tZW5kZWQgdGhhdCBjb25jcmV0ZSB0eXBlcyBhcmUgdXNlZCBpbnN0ZWFkLFxuICogc3VjaCBhcyB7QGxpbmsgczMuUGlwZWxpbmVTb3VyY2VBY3Rpb259IG9yXG4gKiB7QGxpbmsgY29kZWNvbW1pdC5QaXBlbGluZVNvdXJjZUFjdGlvbn0uXG4gKi9cbmV4cG9ydCBhYnN0cmFjdCBjbGFzcyBTb3VyY2VBY3Rpb24gZXh0ZW5kcyBBY3Rpb24ge1xuICBwdWJsaWMgcmVhZG9ubHkgb3V0cHV0QXJ0aWZhY3Q6IEFydGlmYWN0O1xuXG4gIGNvbnN0cnVjdG9yKHBhcmVudDogY2RrLkNvbnN0cnVjdCwgbmFtZTogc3RyaW5nLCBwcm9wczogU291cmNlQWN0aW9uUHJvcHMpIHtcbiAgICBzdXBlcihwYXJlbnQsIG5hbWUsIHtcbiAgICAgIGNhdGVnb3J5OiBBY3Rpb25DYXRlZ29yeS5Tb3VyY2UsXG4gICAgICBhcnRpZmFjdEJvdW5kczogeyBtaW5JbnB1dHM6IDAsIG1heElucHV0czogMCwgbWluT3V0cHV0czogMSwgbWF4T3V0cHV0czogMSB9LFxuICAgICAgLi4ucHJvcHMsXG4gICAgfSk7XG5cbiAgICB0aGlzLm91dHB1dEFydGlmYWN0ID0gdGhpcy5hZGRPdXRwdXRBcnRpZmFjdChwcm9wcy5vdXRwdXRBcnRpZmFjdE5hbWUpO1xuICB9XG59XG4iXX0= |
{ | ||
"name": "@aws-cdk/aws-codepipeline-api", | ||
"version": "0.11.0", | ||
"version": "0.12.0", | ||
"description": "Actions API for AWS Code Pipeline", | ||
@@ -55,13 +55,13 @@ "main": "lib/index.js", | ||
"devDependencies": { | ||
"@aws-cdk/assert": "^0.11.0", | ||
"cdk-build-tools": "^0.11.0", | ||
"cdk-integ-tools": "^0.11.0", | ||
"pkglint": "^0.11.0" | ||
"@aws-cdk/assert": "^0.12.0", | ||
"cdk-build-tools": "^0.12.0", | ||
"cdk-integ-tools": "^0.12.0", | ||
"pkglint": "^0.12.0" | ||
}, | ||
"dependencies": { | ||
"@aws-cdk/aws-events": "^0.11.0", | ||
"@aws-cdk/aws-iam": "^0.11.0", | ||
"@aws-cdk/cdk": "^0.11.0" | ||
"@aws-cdk/aws-events": "^0.12.0", | ||
"@aws-cdk/aws-iam": "^0.12.0", | ||
"@aws-cdk/cdk": "^0.12.0" | ||
}, | ||
"homepage": "https://github.com/awslabs/aws-cdk" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
112139
+ Added@aws-cdk/aws-events@0.12.0(transitive)
+ Added@aws-cdk/aws-iam@0.12.0(transitive)
+ Added@aws-cdk/cdk@0.12.0(transitive)
+ Added@aws-cdk/cx-api@0.12.0(transitive)
- Removed@aws-cdk/aws-events@0.11.0(transitive)
- Removed@aws-cdk/aws-iam@0.11.0(transitive)
- Removed@aws-cdk/cdk@0.11.0(transitive)
- Removed@aws-cdk/cx-api@0.11.0(transitive)
Updated@aws-cdk/aws-events@^0.12.0
Updated@aws-cdk/aws-iam@^0.12.0
Updated@aws-cdk/cdk@^0.12.0