@aws-cdk/aws-codepipeline-api
Advanced tools
Comparing version 0.21.0 to 0.22.0
@@ -60,3 +60,3 @@ import events = require('@aws-cdk/aws-events'); | ||
*/ | ||
export interface IPipeline extends events.IEventRuleTarget { | ||
export interface IPipeline extends cdk.IConstruct, events.IEventRuleTarget { | ||
/** | ||
@@ -71,6 +71,2 @@ * The name of the Pipeline. | ||
/** | ||
* The unique ID of the Pipeline Construct. | ||
*/ | ||
readonly uniqueId: string; | ||
/** | ||
* The service Role of the Pipeline. | ||
@@ -95,3 +91,3 @@ */ | ||
*/ | ||
export interface IStage { | ||
export interface IStage extends cdk.IConstruct { | ||
/** | ||
@@ -192,13 +188,13 @@ * The physical, human-readable name of this Pipeline Stage. | ||
readonly version: string; | ||
private readonly inputArtifacts; | ||
private readonly outputArtifacts; | ||
private readonly _actionInputArtifacts; | ||
private readonly _actionOutputArtifacts; | ||
private readonly artifactBounds; | ||
private readonly stage; | ||
constructor(parent: cdk.Construct, id: string, props: ActionProps); | ||
validate(): string[]; | ||
constructor(scope: cdk.Construct, id: string, props: ActionProps); | ||
onStateChange(name: string, target?: events.IEventRuleTarget, options?: events.EventRuleProps): events.EventRule; | ||
readonly _inputArtifacts: Artifact[]; | ||
readonly _outputArtifacts: Artifact[]; | ||
protected validate(): string[]; | ||
protected addOutputArtifact(name?: string): Artifact; | ||
protected addInputArtifact(artifact?: Artifact): Action; | ||
} |
@@ -31,6 +31,6 @@ "use strict"; | ||
class Action extends cdk.Construct { | ||
constructor(parent, id, props) { | ||
super(parent, id); | ||
this.inputArtifacts = new Array(); | ||
this.outputArtifacts = new Array(); | ||
constructor(scope, id, props) { | ||
super(scope, id); | ||
this._actionInputArtifacts = new Array(); | ||
this._actionOutputArtifacts = new Array(); | ||
validation.validateName('Action', id); | ||
@@ -48,8 +48,4 @@ this.owner = props.owner || 'AWS'; | ||
} | ||
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)); | ||
} | ||
onStateChange(name, target, options) { | ||
const rule = new events.EventRule(this.parent, name, options); | ||
const rule = new events.EventRule(this, name, options); | ||
rule.addTarget(target); | ||
@@ -62,3 +58,3 @@ rule.addEventPattern({ | ||
stage: [this.stage.name], | ||
action: [this.id], | ||
action: [this.node.id], | ||
}, | ||
@@ -69,14 +65,18 @@ }); | ||
get _inputArtifacts() { | ||
return this.inputArtifacts.slice(); | ||
return this._actionInputArtifacts.slice(); | ||
} | ||
get _outputArtifacts() { | ||
return this.outputArtifacts.slice(); | ||
return this._actionOutputArtifacts.slice(); | ||
} | ||
validate() { | ||
return validation.validateArtifactBounds('input', this._actionInputArtifacts, this.artifactBounds.minInputs, this.artifactBounds.maxInputs, this.category, this.provider) | ||
.concat(validation.validateArtifactBounds('output', this._actionOutputArtifacts, this.artifactBounds.minOutputs, this.artifactBounds.maxOutputs, this.category, this.provider)); | ||
} | ||
addOutputArtifact(name = this.stage._internal._generateOutputArtifactName(this)) { | ||
const artifact = new artifact_1.Artifact(this, name); | ||
this.outputArtifacts.push(artifact); | ||
this._actionOutputArtifacts.push(artifact); | ||
return artifact; | ||
} | ||
addInputArtifact(artifact = this.stage._internal._findInputArtifact(this)) { | ||
this.inputArtifacts.push(artifact); | ||
this._actionInputArtifacts.push(artifact); | ||
return this; | ||
@@ -87,4 +87,4 @@ } | ||
// export class ElasticBeanstalkDeploy extends DeployAction { | ||
// constructor(parent: Stage, name: string, applicationName: string, environmentName: string) { | ||
// super(parent, name, 'ElasticBeanstalk', { minInputs: 1, maxInputs: 1, minOutputs: 0, maxOutputs: 0 }, { | ||
// constructor(scope: Stage, id: string, applicationName: string, environmentName: string) { | ||
// super(scope, id, 'ElasticBeanstalk', { minInputs: 1, maxInputs: 1, minOutputs: 0, maxOutputs: 0 }, { | ||
// ApplicationName: applicationName, | ||
@@ -96,4 +96,4 @@ // EnvironmentName: environmentName | ||
// export class OpsWorksDeploy extends DeployAction { | ||
// constructor(parent: Stage, name: string, app: string, stack: string, layer?: string) { | ||
// super(parent, name, 'OpsWorks', { minInputs: 1, maxInputs: 1, minOutputs: 0, maxOutputs: 0 }, { | ||
// constructor(scope: Stage, id: string, app: string, stack: string, layer?: string) { | ||
// super(scope, id, 'OpsWorks', { minInputs: 1, maxInputs: 1, minOutputs: 0, maxOutputs: 0 }, { | ||
// Stack: stack, | ||
@@ -106,4 +106,4 @@ // App: app, | ||
// export class ECSDeploy extends DeployAction { | ||
// constructor(parent: Stage, name: string, clusterName: string, serviceName: string, fileName?: string) { | ||
// super(parent, name, 'ECS', { minInputs: 1, maxInputs: 1, minOutputs: 0, maxOutputs: 0 }, { | ||
// constructor(scope: Stage, id: string, clusterName: string, serviceName: string, fileName?: string) { | ||
// super(scope, id, 'ECS', { minInputs: 1, maxInputs: 1, minOutputs: 0, maxOutputs: 0 }, { | ||
// ClusterName: clusterName, | ||
@@ -115,51 +115,2 @@ // ServiceName: serviceName, | ||
// } | ||
/* | ||
TODO: A Jenkins build needs a corresponding custom action for each "Jenkins provider". | ||
This should be created automatically. | ||
Example custom action created to execute Jenkins: | ||
{ | ||
"id": { | ||
"category": "Test", | ||
"provider": "<provider name>", | ||
"owner": "Custom", | ||
"version": "1" | ||
}, | ||
"outputArtifactDetails": { | ||
"minimumCount": 0, | ||
"maximumCount": 5 | ||
}, | ||
"settings": { | ||
"executionUrlTemplate": "https://www.google.com/job/{Config:ProjectName}/{ExternalExecutionId}", | ||
"entityUrlTemplate": "https://www.google.com/job/{Config:ProjectName}" | ||
}, | ||
"actionConfigurationProperties": [ | ||
{ | ||
"queryable": true, | ||
"key": true, | ||
"name": "ProjectName", | ||
"required": true, | ||
"secret": false | ||
} | ||
], | ||
"inputArtifactDetails": { | ||
"minimumCount": 0, | ||
"maximumCount": 5 | ||
} | ||
} | ||
*/ | ||
// export class JenkinsBuild extends BuildAction { | ||
// constructor(parent: Stage, name: string, jenkinsProvider: string, project: string) { | ||
// super(parent, name, jenkinsProvider, DefaultBounds(), { | ||
// ProjectName: project | ||
// }); | ||
// } | ||
// } | ||
// export class JenkinsTest extends TestAction { | ||
// constructor(parent: Stage, name: string, jenkinsProvider: string, project: string) { | ||
// super(parent, name, jenkinsProvider, DefaultBounds(), { | ||
// ProjectName: project | ||
// }); | ||
// } | ||
// } | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWN0aW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiYWN0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsOENBQStDO0FBRS9DLG9DQUFxQztBQUNyQyx5Q0FBc0M7QUFDdEMsMkNBQTRDO0FBRTVDLElBQVksY0FPWDtBQVBELFdBQVksY0FBYztJQUN4QixtQ0FBaUIsQ0FBQTtJQUNqQixpQ0FBZSxDQUFBO0lBQ2YsK0JBQWEsQ0FBQTtJQUNiLHVDQUFxQixDQUFBO0lBQ3JCLG1DQUFpQixDQUFBO0lBQ2pCLG1DQUFpQixDQUFBO0FBQ25CLENBQUMsRUFQVyxjQUFjLEdBQWQsc0JBQWMsS0FBZCxzQkFBYyxRQU96QjtBQWdCRCxTQUFnQixhQUFhO0lBQzNCLE9BQU87UUFDTCxTQUFTLEVBQUUsQ0FBQztRQUNaLFNBQVMsRUFBRSxDQUFDO1FBQ1osVUFBVSxFQUFFLENBQUM7UUFDYixVQUFVLEVBQUUsQ0FBQztLQUNkLENBQUM7QUFDSixDQUFDO0FBUEQsc0NBT0M7QUEySUQ7Ozs7R0FJRztBQUNILE1BQXNCLE1BQU8sU0FBUSxHQUFHLENBQUMsU0FBUztJQWdEaEQsWUFBWSxNQUFxQixFQUFFLEVBQVUsRUFBRSxLQUFrQjtRQUMvRCxLQUFLLENBQUMsTUFBTSxFQUFFLEVBQUUsQ0FBQyxDQUFDO1FBTkgsbUJBQW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OiBzdHJpbmcsIGFwcDogc3RyaW5nLCBzdGFjazogc3RyaW5nLCBsYXllcj86IHN0cmluZykge1xuLy8gICAgIHN1cGVyKHNjb3BlLCBpZCwgJ09wc1dvcmtzJywgeyBtaW5JbnB1dHM6IDEsIG1heElucHV0czogMSwgbWluT3V0cHV0czogMCwgbWF4T3V0cHV0czogMCB9LCB7XG4vLyAgICAgICBTdGFjazogc3RhY2ssXG4vLyAgICAgICBBcHA6IGFwcCxcbi8vICAgICAgIExheWVyOiBsYXllcixcbi8vICAgICB9KTtcbi8vICAgfVxuLy8gfVxuXG4vLyBleHBvcnQgY2xhc3MgRUNTRGVwbG95IGV4dGVuZHMgRGVwbG95QWN0aW9uIHtcbi8vICAgY29uc3RydWN0b3Ioc2NvcGU6IFN0YWdlLCBpZDogc3RyaW5nLCBjbHVzdGVyTmFtZTogc3RyaW5nLCBzZXJ2aWNlTmFtZTogc3RyaW5nLCBmaWxlTmFtZT86IHN0cmluZykge1xuLy8gICAgIHN1cGVyKHNjb3BlLCBpZCwgJ0VDUycsIHsgbWluSW5wdXRzOiAxLCBtYXhJbnB1dHM6IDEsIG1pbk91dHB1dHM6IDAsIG1heE91dHB1dHM6IDAgfSwge1xuLy8gICAgICAgQ2x1c3Rlck5hbWU6IGNsdXN0ZXJOYW1lLFxuLy8gICAgICAgU2VydmljZU5hbWU6IHNlcnZpY2VOYW1lLFxuLy8gICAgICAgRmlsZU5hbWU6IGZpbGVOYW1lLFxuLy8gICAgIH0pO1xuLy8gICB9XG4vLyB9XG4iXX0= |
@@ -8,3 +8,3 @@ import { Construct } from "@aws-cdk/cdk"; | ||
readonly name: string; | ||
constructor(parent: Action, name: string); | ||
constructor(scope: Action, name: string); | ||
/** | ||
@@ -11,0 +11,0 @@ * Returns an ArtifactPath for a file within this artifact. |
@@ -8,4 +8,4 @@ "use strict"; | ||
class Artifact extends cdk_1.Construct { | ||
constructor(parent, name) { | ||
super(parent, name); | ||
constructor(scope, name) { | ||
super(scope, name); | ||
this.name = name; | ||
@@ -50,3 +50,3 @@ } | ||
toString() { | ||
return this.name; | ||
return this.node.id; | ||
} | ||
@@ -72,7 +72,7 @@ } | ||
function artifactAttribute(artifact, attributeName) { | ||
return new cdk_1.CloudFormationToken(() => ({ 'Fn::GetArtifactAtt': [artifact.name, attributeName] })).toString(); | ||
return new cdk_1.Token(() => ({ 'Fn::GetArtifactAtt': [artifact.name, attributeName] })).toString(); | ||
} | ||
function artifactGetParam(artifact, jsonFile, keyName) { | ||
return new cdk_1.CloudFormationToken(() => ({ 'Fn::GetParam': [artifact.name, jsonFile, keyName] })).toString(); | ||
return new cdk_1.Token(() => ({ 'Fn::GetParam': [artifact.name, jsonFile, keyName] })).toString(); | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXJ0aWZhY3QuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJhcnRpZmFjdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLHNDQUE4RDtBQUc5RDs7R0FFRztBQUNILE1BQWEsUUFBUyxTQUFRLGVBQVM7SUFDckMsWUFBWSxNQUFjLEVBQVcsSUFBWTtRQUMvQyxLQUFLLENBQUMsTUFBTSxFQUFFLElBQUksQ0FBQyxDQUFDO1FBRGUsU0FBSSxHQUFKLElBQUksQ0FBUTtJQUVqRCxDQUFDO0lBRUQ7Ozs7T0FJRztJQUNJLE1BQU0sQ0FBQyxRQUFnQjtRQUM1QixPQUFPLElBQUksWUFBWSxDQUFDLElBQUksRUFBRSxRQUFRLENBQUMsQ0FBQztJQUMxQyxDQUFDO0lBRUQ7O09BRUc7SUFDSCxJQUFXLFVBQVU7UUFDbkIsT0FBTyxpQkFBaUIsQ0FBQyxJQUFJLEVBQUUsWUFBWSxDQUFDLENBQUM7SUFDL0MsQ0FBQztJQUVEOzs7T0FHRztJQUNILElBQVcsU0FBUztRQUNsQixPQUFPLGlCQUFpQixDQUFDLElBQUksRUF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dC5uYW1lLCBqc29uRmlsZSwga2V5TmFtZV0gfSkpLnRvU3RyaW5nKCk7XG59XG4iXX0= |
@@ -21,3 +21,3 @@ import cdk = require("@aws-cdk/cdk"); | ||
/** | ||
* The source action owner (could be 'AWS', 'ThirdParty' or 'Custom'). | ||
* The build Action owner (could be 'AWS', 'ThirdParty' or 'Custom'). | ||
* | ||
@@ -28,2 +28,8 @@ * @default 'AWS' | ||
/** | ||
* The build Action version. | ||
* | ||
* @default '1' | ||
*/ | ||
version?: string; | ||
/** | ||
* The name of the build's output artifact. | ||
@@ -47,3 +53,3 @@ */ | ||
readonly outputArtifact: Artifact; | ||
constructor(parent: cdk.Construct, name: string, props: BuildActionProps); | ||
constructor(scope: cdk.Construct, id: string, props: BuildActionProps); | ||
} |
@@ -10,4 +10,4 @@ "use strict"; | ||
class BuildAction extends action_1.Action { | ||
constructor(parent, name, props) { | ||
super(parent, name, Object.assign({ category: action_1.ActionCategory.Build }, props)); | ||
constructor(scope, id, props) { | ||
super(scope, id, Object.assign({ category: action_1.ActionCategory.Build }, props)); | ||
this.addInputArtifact(props.inputArtifact); | ||
@@ -18,2 +18,2 @@ this.outputArtifact = this.addOutputArtifact(props.outputArtifactName); | ||
exports.BuildAction = BuildAction; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnVpbGQtYWN0aW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiYnVpbGQtYWN0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQ0EscUNBQXVIO0FBMkN2SDs7OztHQUlHO0FBQ0gsTUFBc0IsV0FBWSxTQUFRLGVBQU07SUFHOUMsWUFBWSxNQUFxQixFQUFFLElBQVksRUFBRSxLQUF1QjtRQUN0RSxLQUFLLENBQUMsTUFBTSxFQUFFLElBQUksa0JBQ2hCLFFBQVEsRUFBRSx1QkFBYyxDQUFDLEtBQUssSUFDM0IsS0FBSyxFQU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Rpb24/OiBhbnk7XG59XG5cbi8qKlxuICogTG93IGxldmVsIGNsYXNzIGZvciBidWlsZCBhY3Rpb25zLlxuICogSXQgaXMgcmVjb21tZW5kZWQgdGhhdCBjb25jcmV0ZSB0eXBlcyBhcmUgdXNlZCBpbnN0ZWFkLFxuICogc3VjaCBhcyB7QGxpbmsgY29kZWJ1aWxkLlBpcGVsaW5lQnVpbGRBY3Rpb259LlxuICovXG5leHBvcnQgYWJzdHJhY3QgY2xhc3MgQnVpbGRBY3Rpb24gZXh0ZW5kcyBBY3Rpb24ge1xuICBwdWJsaWMgcmVhZG9ubHkgb3V0cHV0QXJ0aWZhY3Q6IEFydGlmYWN0O1xuXG4gIGNvbnN0cnVjdG9yKHNjb3BlOiBjZGsuQ29uc3RydWN0LCBpZDogc3RyaW5nLCBwcm9wczogQnVpbGRBY3Rpb25Qcm9wcykge1xuICAgIHN1cGVyKHNjb3BlLCBpZCwge1xuICAgICAgY2F0ZWdvcnk6IEFjdGlvbkNhdGVnb3J5LkJ1aWxkLFxuICAgICAgLi4ucHJvcHMsXG4gICAgfSk7XG5cbiAgICB0aGlzLmFkZElucHV0QXJ0aWZhY3QocHJvcHMuaW5wdXRBcnRpZmFjdCk7XG4gICAgdGhpcy5vdXRwdXRBcnRpZmFjdCA9IHRoaXMuYWRkT3V0cHV0QXJ0aWZhY3QocHJvcHMub3V0cHV0QXJ0aWZhY3ROYW1lKTtcbiAgfVxufVxuIl19 |
@@ -12,3 +12,3 @@ import cdk = require('@aws-cdk/cdk'); | ||
export declare abstract class DeployAction extends Action { | ||
constructor(parent: cdk.Construct, name: string, props: DeployActionProps); | ||
constructor(scope: cdk.Construct, id: string, props: DeployActionProps); | ||
} |
@@ -5,4 +5,4 @@ "use strict"; | ||
class DeployAction extends action_1.Action { | ||
constructor(parent, name, props) { | ||
super(parent, name, Object.assign({ category: action_1.ActionCategory.Deploy }, props)); | ||
constructor(scope, id, props) { | ||
super(scope, id, Object.assign({ category: action_1.ActionCategory.Deploy }, props)); | ||
this.addInputArtifact(props.inputArtifact); | ||
@@ -12,2 +12,2 @@ } | ||
exports.DeployAction = DeployAction; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVwbG95LWFjdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRlcGxveS1hY3Rpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFDQSxxQ0FBdUg7QUFldkgsTUFBc0IsWUFBYSxTQUFRLGVBQU07SUFDL0MsWUFBWSxNQUFxQixFQUFFLElBQVksRUFBRSxLQUF3QjtRQUN2RSxLQUFLLENBQUMsTUFBTSxFQUFFLElBQUksa0JBQ2hCLFFBQVEsRUFBRSx1QkFBYyxDQUFDLE1BQU0sSUFDNUIsS0FBSyxFQUNSLENBQUM7UUFFSCxJQUFJLENBQUMsZ0JBQWdCLENBQUMsS0FBSyxDQUFDLGFBQWEsQ0FBQyxDQUFDO0lBQzdDLENBQUM7Q0FDRjtBQVRELG9DQVNDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IGNkayA9IHJlcXVpcmUoJ0Bhd3MtY2RrL2NkaycpO1xuaW1wb3J0IHsgQWN0aW9uLCBBY3Rpb25BcnRpZmFjdEJvdW5kcywgQWN0aW9uQ2F0ZWdvcnksIENvbW1vbkFjdGlvbkNvbnN0cnVjdFByb3BzLCBDb21tb25BY3Rpb25Qcm9wcyB9IGZyb20gXCIuL2FjdGlvblwiO1xuaW1wb3J0IHsgQXJ0aWZhY3QgfSBmcm9tICcuL2FydGlmYWN0JztcblxuZXhwb3J0IGludGVyZmFjZSBEZXBsb3lBY3Rpb25Qcm9wcyBleHRlbmRzIENvbW1vbkFjdGlvblByb3BzLCBDb21tb25BY3Rpb25Db25zdHJ1Y3RQcm9wcyB7XG4gIHByb3ZpZGVyOiBzdHJpbmc7XG5cbiAgb3duZXI/OiBzdHJpbmc7XG5cbiAgYXJ0aWZhY3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ZGsvY2RrJyk7XG5pbXBvcnQgeyBBY3Rpb24sIEFjdGlvbkFydGlmYWN0Qm91bmRzLCBBY3Rpb25DYXRlZ29yeSwgQ29tbW9uQWN0aW9uQ29uc3RydWN0UHJvcHMsIENvbW1vbkFjdGlvblByb3BzIH0gZnJvbSBcIi4vYWN0aW9uXCI7XG5pbXBvcnQgeyBBcnRpZmFjdCB9IGZyb20gJy4vYXJ0aWZhY3QnO1xuXG5leHBvcnQgaW50ZXJmYWNlIERlcGxveUFjdGlvblByb3BzIGV4dGVuZHMgQ29tbW9uQWN0aW9uUHJvcHMsIENvbW1vbkFjdGlvbkNvbnN0cnVjdFByb3BzIHtcbiAgcHJvdmlkZXI6IHN0cmluZztcblxuICBvd25lcj86IHN0cmluZztcblxuICBhcnRpZmFjdEJvdW5kczogQWN0aW9uQXJ0aWZhY3RCb3VuZHM7XG5cbiAgaW5wdXRBcnRpZmFjdD86IEFydGlmYWN0O1xuXG4gIGNvbmZpZ3VyYXRpb24/OiBhbnk7XG59XG5cbmV4cG9ydCBhYnN0cmFjdCBjbGFzcyBEZXBsb3lBY3Rpb24gZXh0ZW5kcyBBY3Rpb24ge1xuICBjb25zdHJ1Y3RvcihzY29wZTogY2RrLkNvbnN0cnVjdCwgaWQ6IHN0cmluZywgcHJvcHM6IERlcGxveUFjdGlvblByb3BzKSB7XG4gICAgc3VwZXIoc2NvcGUsIGlkLCB7XG4gICAgICBjYXRlZ29yeTogQWN0aW9uQ2F0ZWdvcnkuRGVwbG95LFxuICAgICAgLi4ucHJvcHMsXG4gICAgfSk7XG5cbiAgICB0aGlzLmFkZElucHV0QXJ0aWZhY3QocHJvcHMuaW5wdXRBcnRpZmFjdCk7XG4gIH1cbn1cbiJdfQ== |
@@ -15,3 +15,3 @@ import cdk = require("@aws-cdk/cdk"); | ||
/** | ||
* The source action verison. | ||
* The source Action version. | ||
* | ||
@@ -49,3 +49,3 @@ * @default "1" | ||
readonly outputArtifact: Artifact; | ||
constructor(parent: cdk.Construct, name: string, props: SourceActionProps); | ||
constructor(scope: cdk.Construct, id: string, props: SourceActionProps); | ||
} |
@@ -11,4 +11,4 @@ "use strict"; | ||
class SourceAction extends action_1.Action { | ||
constructor(parent, name, props) { | ||
super(parent, name, Object.assign({ category: action_1.ActionCategory.Source, artifactBounds: { minInputs: 0, maxInputs: 0, minOutputs: 1, maxOutputs: 1 } }, props)); | ||
constructor(scope, id, props) { | ||
super(scope, id, Object.assign({ category: action_1.ActionCategory.Source, artifactBounds: { minInputs: 0, maxInputs: 0, minOutputs: 1, maxOutputs: 1 } }, props)); | ||
this.outputArtifact = this.addOutputArtifact(props.outputArtifactName); | ||
@@ -18,2 +18,2 @@ } | ||
exports.SourceAction = SourceAction; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlLWFjdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInNvdXJjZS1hY3Rpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFDQSxxQ0FBaUc7QUE0Q2pHOzs7OztHQUtHO0FBQ0gsTUFBc0IsWUFBYSxTQUFRLGVBQU07SUFHL0MsWUFBWSxNQUFxQixFQUFFLElBQVksRUFBRSxLQUF3QjtRQUN2RSxLQUFLLENBQUMsTUFBTSxFQUFFLElBQUksa0JBQ2hCLFFBQVEsRUFBRSx1QkFBYyxDQUFDLE1BQU0sRUFDL0IsY0FBYyxFQUFFLEVBQUUsU0FBUyxFQUFFLENBQUMsRUFBRSxTQUFTLEVBQUUsQ0FBQyxFQUFFLFVBQVUsRUFBRSxDQUFDLEVBQUUsVUFBVSxFQUFFLENBQUMsRUFBRSxJQUN6RSxLQUFLLEVBQ1IsQ0FBQztRQUVILElBQUksQ0FBQyxjQUFjLEdBQUcsSUFBSSxDQUFDLGlCQUFpQixDQUFDLEtBQUssQ0FBQyxrQkFBa0IsQ0FBQyxDQUFDO0lBQ3pFLENBQUM7Q0FDRjtBQ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tbWl0LlBpcGVsaW5lU291cmNlQWN0aW9ufS5cbiAqL1xuZXhwb3J0IGFic3RyYWN0IGNsYXNzIFNvdXJjZUFjdGlvbiBleHRlbmRzIEFjdGlvbiB7XG4gIHB1YmxpYyByZWFkb25seSBvdXRwdXRBcnRpZmFjdDogQXJ0aWZhY3Q7XG5cbiAgY29uc3RydWN0b3Ioc2NvcGU6IGNkay5Db25zdHJ1Y3QsIGlkOiBzdHJpbmcsIHByb3BzOiBTb3VyY2VBY3Rpb25Qcm9wcykge1xuICAgIHN1cGVyKHNjb3BlLCBpZCwge1xuICAgICAgY2F0ZWdvcnk6IEFjdGlvbkNhdGVnb3J5LlNvdXJjZSxcbiAgICAgIGFydGlmYWN0Qm91bmRzOiB7IG1pbklucHV0czogMCwgbWF4SW5wdXRzOiAwLCBtaW5PdXRwdXRzOiAxLCBtYXhPdXRwdXRzOiAxIH0sXG4gICAgICAuLi5wcm9wcyxcbiAgICB9KTtcblxuICAgIHRoaXMub3V0cHV0QXJ0aWZhY3QgPSB0aGlzLmFkZE91dHB1dEFydGlmYWN0KHByb3BzLm91dHB1dEFydGlmYWN0TmFtZSk7XG4gIH1cbn1cbiJdfQ== |
@@ -34,3 +34,3 @@ import cdk = require("@aws-cdk/cdk"); | ||
/** | ||
* The source action owner (could be 'AWS', 'ThirdParty' or 'Custom'). | ||
* The test Action owner (could be 'AWS', 'ThirdParty' or 'Custom'). | ||
* | ||
@@ -41,2 +41,8 @@ * @default 'AWS' | ||
/** | ||
* The test Action version. | ||
* | ||
* @default '1' | ||
*/ | ||
version?: string; | ||
/** | ||
* The action's configuration. These are key-value pairs that specify input values for an action. | ||
@@ -61,3 +67,3 @@ * For more information, see the AWS CodePipeline User Guide. | ||
readonly outputArtifact?: Artifact; | ||
constructor(parent: cdk.Construct, name: string, props: TestActionProps); | ||
constructor(scope: cdk.Construct, id: string, props: TestActionProps); | ||
} |
@@ -15,4 +15,4 @@ "use strict"; | ||
class TestAction extends action_1.Action { | ||
constructor(parent, name, props) { | ||
super(parent, name, Object.assign({ category: action_1.ActionCategory.Test }, props)); | ||
constructor(scope, id, props) { | ||
super(scope, id, Object.assign({ category: action_1.ActionCategory.Test }, props)); | ||
this.addInputArtifact(props.inputArtifact); | ||
@@ -25,2 +25,2 @@ if (props.outputArtifactName) { | ||
exports.TestAction = TestAction; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVzdC1hY3Rpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJ0ZXN0LWFjdGlvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUNBLHFDQUF1SDtBQW9Edkg7Ozs7Ozs7OztHQVNHO0FBQ0gsTUFBc0IsVUFBVyxTQUFRLGVBQU07SUFHN0MsWUFBWSxNQUFxQixFQUFFLElBQVksRUFBRSxLQUFzQjtRQUNyRSxLQUFLLENBQUMsTUFBTSxFQUFFLElBQUksa0JBQ2hCLFFBQVEsRUFBRSx1QkFBYyxDQUFDLElBQUksSUFDMUIsS0FBSyxFQUNSLENBQUM7UUFFSCxJQUFJLENBQUMsZ0JBQWdCLENBQUMsS0FBSyxDQUFDLGFBQWEsQ0FBQyxDQUFDO1FBQzNDLElBQUksS0FBSyxDQUFDLGtCQUFrQixFQUFFO1lBQzVCLElBQUksQ0FBQyxjQUFjLEdBQUcsSUFBSSxDQUFDLGlCQUFpQixDQUFDLEtBQUssQ0FBQyxrQkFBa0IsQ0FBQyxDQUFDO1NBQ3hFO0lBQ0gsQ0FBQztDQUNGO0FBZEQsZ0NBY0MiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgY2RrID0gcmVxdWlyZShcIkBhd3MtY2RrL2Nka1wiKTtcbmltcG9ydCB7IEFjdGlvbiwgQWN0aW9uQXJ0aWZhY3RCb3VuZHMsIEFjdGlvbkNhdGVnb3J5LCBDb21tb25BY3Rpb25Db25zdHJ1Y3RQcm9wcywgQ29tbW9uQWN0aW9uU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GUgY29uY3JldGUgaW1wbGVtZW50YXRpb25zLFxuICogbGlrZSB7QGxpbmsgY29kZWJ1aWxkLlBpcGVsaW5lVGVzdEFjdGlvbn0uXG4gKi9cbmV4cG9ydCBhYnN0cmFjdCBjbGFzcyBUZXN0QWN0aW9uIGV4dGVuZHMgQWN0aW9uIHtcbiAgcHVibGljIHJlYWRvbmx5IG91dHB1dEFydGlmYWN0PzogQXJ0aWZhY3Q7XG5cbiAgY29uc3RydWN0b3Ioc2NvcGU6IGNkay5Db25zdHJ1Y3QsIGlkOiBzdHJpbmcsIHByb3BzOiBUZXN0QWN0aW9uUHJvcHMpIHtcbiAgICBzdXBlcihzY29wZSwgaWQsIHtcbiAgICAgIGNhdGVnb3J5OiBBY3Rpb25DYXRlZ29yeS5UZXN0LFxuICAgICAgLi4ucHJvcHMsXG4gICAgfSk7XG5cbiAgICB0aGlzLmFkZElucHV0QXJ0aWZhY3QocHJvcHMuaW5wdXRBcnRpZmFjdCk7XG4gICAgaWYgKHByb3BzLm91dHB1dEFydGlmYWN0TmFtZSkge1xuICAgICAgdGhpcy5vdXRwdXRBcnRpZmFjdCA9IHRoaXMuYWRkT3V0cHV0QXJ0aWZhY3QocHJvcHMub3V0cHV0QXJ0aWZhY3ROYW1lKTtcbiAgICB9XG4gIH1cbn1cbiJdfQ== |
{ | ||
"name": "@aws-cdk/aws-codepipeline-api", | ||
"version": "0.21.0", | ||
"version": "0.22.0", | ||
"description": "Actions API for AWS Code Pipeline", | ||
@@ -37,3 +37,4 @@ "main": "lib/index.js", | ||
"pkglint": "pkglint -f", | ||
"package": "cdk-package" | ||
"package": "cdk-package", | ||
"awslint": "cdk-awslint" | ||
}, | ||
@@ -56,21 +57,27 @@ "keywords": [ | ||
"devDependencies": { | ||
"@aws-cdk/assert": "^0.21.0", | ||
"cdk-build-tools": "^0.21.0", | ||
"cdk-integ-tools": "^0.21.0", | ||
"pkglint": "^0.21.0" | ||
"@aws-cdk/assert": "^0.22.0", | ||
"cdk-build-tools": "^0.22.0", | ||
"cdk-integ-tools": "^0.22.0", | ||
"pkglint": "^0.22.0" | ||
}, | ||
"dependencies": { | ||
"@aws-cdk/aws-events": "^0.21.0", | ||
"@aws-cdk/aws-iam": "^0.21.0", | ||
"@aws-cdk/cdk": "^0.21.0" | ||
"@aws-cdk/aws-events": "^0.22.0", | ||
"@aws-cdk/aws-iam": "^0.22.0", | ||
"@aws-cdk/cdk": "^0.22.0" | ||
}, | ||
"homepage": "https://github.com/awslabs/aws-cdk", | ||
"peerDependencies": { | ||
"@aws-cdk/aws-events": "^0.21.0", | ||
"@aws-cdk/aws-iam": "^0.21.0", | ||
"@aws-cdk/cdk": "^0.21.0" | ||
"@aws-cdk/aws-events": "^0.22.0", | ||
"@aws-cdk/aws-iam": "^0.22.0", | ||
"@aws-cdk/cdk": "^0.22.0" | ||
}, | ||
"engines": { | ||
"node": ">= 8.10.0" | ||
}, | ||
"awslint": { | ||
"exclude": [ | ||
"construct-ctor:@aws-cdk/aws-codepipeline-api.Artifact.<initializer>.params[0]", | ||
"construct-ctor:@aws-cdk/aws-codepipeline-api.Artifact.<initializer>.params[1]" | ||
] | ||
} | ||
} |
@@ -25,5 +25,26 @@ { | ||
"strictNullChecks": true, | ||
"target": "ES2018" | ||
"target": "ES2018", | ||
"composite": true | ||
}, | ||
"include": [ | ||
"**/*.ts" | ||
], | ||
"exclude": [ | ||
"node_modules" | ||
], | ||
"references": [ | ||
{ | ||
"path": "../aws-events" | ||
}, | ||
{ | ||
"path": "../aws-iam" | ||
}, | ||
{ | ||
"path": "../cdk" | ||
}, | ||
{ | ||
"path": "../assert" | ||
} | ||
], | ||
"_generated_by_jsii_": "Generated by jsii - safe to delete, and ideally should be in .gitignore" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
126639
798
+ Added@aws-cdk/aws-events@0.22.0(transitive)
+ Added@aws-cdk/aws-iam@0.22.0(transitive)
+ Added@aws-cdk/cdk@0.22.0(transitive)
+ Added@aws-cdk/cx-api@0.22.0(transitive)
- Removed@aws-cdk/aws-events@0.21.0(transitive)
- Removed@aws-cdk/aws-iam@0.21.0(transitive)
- Removed@aws-cdk/cdk@0.21.0(transitive)
- Removed@aws-cdk/cx-api@0.21.0(transitive)
Updated@aws-cdk/aws-events@^0.22.0
Updated@aws-cdk/aws-iam@^0.22.0
Updated@aws-cdk/cdk@^0.22.0