Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aws-cdk/aws-codepipeline-api

Package Overview
Dependencies
Maintainers
5
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-cdk/aws-codepipeline-api - npm Package Compare versions

Comparing version 0.24.1 to 0.25.0

85

lib/action.d.ts

@@ -28,30 +28,2 @@ 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 view of an AWS CodePipeline as required and used by Actions.

@@ -90,7 +62,7 @@ * It extends {@link events.IEventRuleTarget},

*/
export interface IStage extends cdk.IConstruct {
export interface IStage {
/**
* The physical, human-readable name of this Pipeline Stage.
*/
readonly name: string;
readonly stageName: string;
/**

@@ -100,7 +72,4 @@ * The Pipeline this Stage belongs to.

readonly pipeline: IPipeline;
/**
* 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;
addAction(action: Action): void;
onStateChange(name: string, target?: events.IEventRuleTarget, options?: events.EventRuleProps): events.EventRule;
}

@@ -112,2 +81,7 @@ /**

/**
* The physical, human-readable name of the Action.
* Not that Action names must be unique within a single Stage.
*/
actionName: string;
/**
* The runOrder property for this Action.

@@ -122,14 +96,5 @@ * RunOrder determines the relative order in which multiple Actions in the same Stage execute.

/**
* Common properties shared by all Action Constructs.
*/
export interface CommonActionConstructProps {
/**
* The Pipeline Stage to add this Action to.
*/
stage: IStage;
}
/**
* Construction properties of the low-level {@link Action Action class}.
*/
export interface ActionProps extends CommonActionProps, CommonActionConstructProps {
export interface ActionProps extends CommonActionProps {
category: ActionCategory;

@@ -161,3 +126,3 @@ provider: string;

*/
export declare abstract class Action extends cdk.Construct {
export declare abstract class Action {
/**

@@ -207,7 +172,9 @@ * The category of the action.

readonly version: string;
readonly actionName: string;
private readonly _actionInputArtifacts;
private readonly _actionOutputArtifacts;
private readonly artifactBounds;
private readonly stage;
constructor(scope: cdk.Construct, id: string, props: ActionProps);
private _stage?;
private _scope?;
constructor(props: ActionProps);
onStateChange(name: string, target?: events.IEventRuleTarget, options?: events.EventRuleProps): events.EventRule;

@@ -217,4 +184,22 @@ readonly _inputArtifacts: Artifact[];

protected validate(): string[];
protected addOutputArtifact(name?: string): Artifact;
protected addInputArtifact(artifact?: Artifact): Action;
protected addOutputArtifact(name: string): Artifact;
protected addInputArtifact(artifact: Artifact): Action;
/**
* Retrieves the Construct scope of this Action.
* Only available after the Action has been added to a Stage,
* and that Stage to a Pipeline.
*/
protected readonly scope: cdk.Construct;
/**
* The method called when an Action is attached to a Pipeline.
* This method is guaranteed to be called only once for each Action instance.
*
* @param stage the stage this action has been added to
* (includes a reference to the pipeline as well)
* @param scope the scope construct for this action,
* can be used by the action implementation to create any resources it needs to work correctly
*/
protected abstract bind(stage: IStage, scope: cdk.Construct): void;
private _attachActionToPipeline;
private readonly stage;
}
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const events = require("@aws-cdk/aws-events");
const cdk = require("@aws-cdk/cdk");
const artifact_1 = require("./artifact");

@@ -30,8 +29,7 @@ const validation = require("./validation");

*/
class Action extends cdk.Construct {
constructor(scope, id, props) {
super(scope, id);
class Action {
constructor(props) {
this._actionInputArtifacts = new Array();
this._actionOutputArtifacts = new Array();
validation.validateName('Action', id);
validation.validateName('Action', props.actionName);
this.owner = props.owner || 'AWS';

@@ -45,8 +43,7 @@ this.version = props.version || '1';

this.runOrder = props.runOrder === undefined ? 1 : props.runOrder;
this.stage = props.stage;
this.actionName = props.actionName;
this.role = props.role;
this.stage._internal._attachAction(this);
}
onStateChange(name, target, options) {
const rule = new events.EventRule(this, name, options);
const rule = new events.EventRule(this.scope, name, options);
rule.addTarget(target);

@@ -58,4 +55,4 @@ rule.addEventPattern({

detail: {
stage: [this.stage.name],
action: [this.node.id],
stage: [this.stage.stageName],
action: [this.actionName],
},

@@ -75,11 +72,42 @@ });

}
addOutputArtifact(name = this.stage._internal._generateOutputArtifactName(this)) {
const artifact = new artifact_1.Artifact(this, name);
addOutputArtifact(name) {
const artifact = new artifact_1.Artifact(name);
this._actionOutputArtifacts.push(artifact);
return artifact;
}
addInputArtifact(artifact = this.stage._internal._findInputArtifact(this)) {
addInputArtifact(artifact) {
this._actionInputArtifacts.push(artifact);
return this;
}
/**
* Retrieves the Construct scope of this Action.
* Only available after the Action has been added to a Stage,
* and that Stage to a Pipeline.
*/
get scope() {
if (this._scope) {
return this._scope;
}
else {
throw new Error('Action must be added to a stage that is part of a pipeline first');
}
}
// ignore unused private method (it's actually used in Stage)
// @ts-ignore
_attachActionToPipeline(stage, scope) {
if (this._stage) {
throw new Error(`Action '${this.actionName}' has been added to a pipeline twice`);
}
this._stage = stage;
this._scope = scope;
this.bind(stage, scope);
}
get stage() {
if (this._stage) {
return this._stage;
}
else {
throw new Error('Action must be added to a stage that is part of a pipeline before using onStateChange');
}
}
}

@@ -113,2 +141,2 @@ exports.Action = Action;

// }
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWN0aW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiYWN0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsOENBQStDO0FBRS9DLG9DQUFxQztBQUNyQyx5Q0FBc0M7QUFDdEMsMkNBQTRDO0FBRTVDLElBQVksY0FPWDtBQVBELFd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B9KTtcbi8vICAgfVxuLy8gfVxuXG4vLyBleHBvcnQgY2xhc3MgT3BzV29ya3NEZXBsb3kgZXh0ZW5kcyBEZXBsb3lBY3Rpb24ge1xuLy8gICBjb25zdHJ1Y3RvcihzY29wZTogU3RhZ2UsIGlkOiBzdHJpbmcsIGFwcDogc3RyaW5nLCBzdGFjazogc3RyaW5nLCBsYXllcj86IHN0cmluZykge1xuLy8gICAgIHN1cGVyKHNjb3BlLCBpZCwgJ09wc1dvcmtzJywgeyBtaW5JbnB1dHM6IDEsIG1heElucHV0czogMSwgbWluT3V0cHV0czogMCwgbWF4T3V0cHV0czogMCB9LCB7XG4vLyAgICAgICBTdGFjazogc3RhY2ssXG4vLyAgICAgICBBcHA6IGFwcCxcbi8vICAgICAgIExheWVyOiBsYXllcixcbi8vICAgICB9KTtcbi8vICAgfVxuLy8gfVxuXG4vLyBleHBvcnQgY2xhc3MgRUNTRGVwbG95IGV4dGVuZHMgRGVwbG95QWN0aW9uIHtcbi8vICAgY29uc3RydWN0b3Ioc2NvcGU6IFN0YWdlLCBpZDogc3RyaW5nLCBjbHVzdGVyTmFtZTogc3RyaW5nLCBzZXJ2aWNlTmFtZTogc3RyaW5nLCBmaWxlTmFtZT86IHN0cmluZykge1xuLy8gICAgIHN1cGVyKHNjb3BlLCBpZCwgJ0VDUycsIHsgbWluSW5wdXRzOiAxLCBtYXhJbnB1dHM6IDEsIG1pbk91dHB1dHM6IDAsIG1heE91dHB1dHM6IDAgfSwge1xuLy8gICAgICAgQ2x1c3Rlck5hbWU6IGNsdXN0ZXJOYW1lLFxuLy8gICAgICAgU2VydmljZU5hbWU6IHNlcnZpY2VOYW1lLFxuLy8gICAgICAgRmlsZU5hbWU6IGZpbGVOYW1lLFxuLy8gICAgIH0pO1xuLy8gICB9XG4vLyB9XG4iXX0=

@@ -1,9 +0,7 @@

import { Construct } from "@aws-cdk/cdk";
import { Action } from "./action";
/**
* An output artifact of an action. Artifacts can be used as input by some actions.
*/
export declare class Artifact extends Construct {
readonly name: string;
constructor(scope: Action, name: string);
export declare class Artifact {
readonly artifactName: string;
constructor(artifactName: string);
/**

@@ -10,0 +8,0 @@ * Returns an ArtifactPath for a file within this artifact.

@@ -7,6 +7,5 @@ "use strict";

*/
class Artifact extends cdk_1.Construct {
constructor(scope, name) {
super(scope, name);
this.name = name;
class Artifact {
constructor(artifactName) {
this.artifactName = artifactName;
}

@@ -50,3 +49,3 @@ /**

toString() {
return this.node.id;
return this.artifactName;
}

@@ -67,3 +66,3 @@ }

get location() {
return `${this.artifact.name}::${this.fileName}`;
return `${this.artifact.artifactName}::${this.fileName}`;
}

@@ -73,7 +72,7 @@ }

function artifactAttribute(artifact, attributeName) {
return new cdk_1.Token(() => ({ 'Fn::GetArtifactAtt': [artifact.name, attributeName] })).toString();
return new cdk_1.Token(() => ({ 'Fn::GetArtifactAtt': [artifact.artifactName, attributeName] })).toString();
}
function artifactGetParam(artifact, jsonFile, keyName) {
return new cdk_1.Token(() => ({ 'Fn::GetParam': [artifact.name, jsonFile, keyName] })).toString();
return new cdk_1.Token(() => ({ 'Fn::GetParam': [artifact.artifactName, jsonFile, keyName] })).toString();
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXJ0aWZhY3QuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJhcnRpZmFjdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLHNDQUFnRDtBQUdoRDs7R0FFRztBQUNILE1BQWEsUUFBUyxTQUFRLGVBQVM7SUFDckMsWUFBWSxLQUFhLEVBQVcsSUFBWTtRQUM5QyxLQUFLLENBQUMsS0FBSyxFQUFFLElBQUksQ0FBQyxDQUFDO1FBRGUsU0FBSSxHQUFKLElBQUksQ0FBUTtJQUVoRCxDQUFDO0lBRUQ7Ozs7T0FJRztJQUNJLE1BQU0sQ0FBQyxRQUFnQjtRQUM1QixPQUFPLElBQUksWUFBWSxDQUFDLElBQUksRUF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3QuYXJ0aWZhY3ROYW1lLCBqc29uRmlsZSwga2V5TmFtZV0gfSkpLnRvU3RyaW5nKCk7XG59XG4iXX0=

@@ -1,3 +0,2 @@

import cdk = require("@aws-cdk/cdk");
import { Action, ActionArtifactBounds, CommonActionConstructProps, CommonActionProps } from "./action";
import { Action, ActionArtifactBounds, CommonActionProps } from "./action";
import { Artifact } from "./artifact";

@@ -7,7 +6,7 @@ /**

*/
export interface BuildActionProps extends CommonActionProps, CommonActionConstructProps {
export interface BuildActionProps extends CommonActionProps {
/**
* The source to use as input for this build.
*/
inputArtifact?: Artifact;
inputArtifact: Artifact;
/**

@@ -36,3 +35,3 @@ * The service provider that the action calls. For example, a valid provider for Source actions is CodeBuild.

*/
outputArtifactName?: string;
outputArtifactName: string;
/**

@@ -53,3 +52,3 @@ * The action's configuration. These are key-value pairs that specify input values for an action.

readonly outputArtifact: Artifact;
constructor(scope: cdk.Construct, id: string, props: BuildActionProps);
constructor(props: BuildActionProps);
}

@@ -10,4 +10,4 @@ "use strict";

class BuildAction extends action_1.Action {
constructor(scope, id, props) {
super(scope, id, Object.assign({ category: action_1.ActionCategory.Build }, props));
constructor(props) {
super(Object.assign({}, props, { category: action_1.ActionCategory.Build }));
this.addInputArtifact(props.inputArtifact);

@@ -18,2 +18,2 @@ this.outputArtifact = this.addOutputArtifact(props.outputArtifactName);

exports.BuildAction = BuildAction;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnVpbGQtYWN0aW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiYnVpbGQtYWN0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQ0EscUNBQXVIO0FBa0R2SDs7OztHQUlHO0FBQ0gsTUFBc0IsV0FBWSxTQUFRLGVBQU07SUFHOUMsWUFBWSxLQUFvQixFQUFFLEVBQVUsRUFBRSxLQUF1QjtRQUNuRSxLQUFLLENBQUMsS0FBSyxFQU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O1xufVxuXG4vKipcbiAqIExvdyBsZXZlbCBjbGFzcyBmb3IgYnVpbGQgYWN0aW9ucy5cbiAqIEl0IGlzIHJlY29tbWVuZGVkIHRoYXQgY29uY3JldGUgdHlwZXMgYXJlIHVzZWQgaW5zdGVhZCxcbiAqIHN1Y2ggYXMge0BsaW5rIGNvZGVidWlsZC5QaXBlbGluZUJ1aWxkQWN0aW9ufS5cbiAqL1xuZXhwb3J0IGFic3RyYWN0IGNsYXNzIEJ1aWxkQWN0aW9uIGV4dGVuZHMgQWN0aW9uIHtcbiAgcHVibGljIHJlYWRvbmx5IG91dHB1dEFydGlmYWN0OiBBcnRpZmFjdDtcblxuICBjb25zdHJ1Y3Rvcihwcm9wczogQnVpbGRBY3Rpb25Qcm9wcykge1xuICAgIHN1cGVyKHtcbiAgICAgIC4uLnByb3BzLFxuICAgICAgY2F0ZWdvcnk6IEFjdGlvbkNhdGVnb3J5LkJ1aWxkLFxuICAgIH0pO1xuXG4gICAgdGhpcy5hZGRJbnB1dEFydGlmYWN0KHByb3BzLmlucHV0QXJ0aWZhY3QpO1xuICAgIHRoaXMub3V0cHV0QXJ0aWZhY3QgPSB0aGlzLmFkZE91dHB1dEFydGlmYWN0KHByb3BzLm91dHB1dEFydGlmYWN0TmFtZSk7XG4gIH1cbn1cbiJdfQ==

@@ -1,13 +0,12 @@

import cdk = require('@aws-cdk/cdk');
import { Action, ActionArtifactBounds, CommonActionConstructProps, CommonActionProps } from "./action";
import { Action, ActionArtifactBounds, CommonActionProps } from "./action";
import { Artifact } from './artifact';
export interface DeployActionProps extends CommonActionProps, CommonActionConstructProps {
export interface DeployActionProps extends CommonActionProps {
provider: string;
owner?: string;
artifactBounds: ActionArtifactBounds;
inputArtifact?: Artifact;
inputArtifact: Artifact;
configuration?: any;
}
export declare abstract class DeployAction extends Action {
constructor(scope: cdk.Construct, id: string, props: DeployActionProps);
constructor(props: DeployActionProps);
}

@@ -5,4 +5,4 @@ "use strict";

class DeployAction extends action_1.Action {
constructor(scope, id, props) {
super(scope, id, Object.assign({ category: action_1.ActionCategory.Deploy }, props));
constructor(props) {
super(Object.assign({}, props, { category: action_1.ActionCategory.Deploy }));
this.addInputArtifact(props.inputArtifact);

@@ -12,2 +12,2 @@ }

exports.DeployAction = DeployAction;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVwbG95LWFjdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRlcGxveS1hY3Rpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFDQSxxQ0FBdUg7QUFldkgsTUFBc0IsWUFBYSxTQUFRLGVBQU07SUFDL0MsWUFBWSxLQUFvQixFQUFFLEVBQVUsRUFBRSxLQUF3QjtRQUNwRSxLQUFLLENBQUMsS0FBSyxFQUFFLEVBQUUsa0JBQ2IsUUFBUSxFQUFFLHVCQUFjLENBQUMsTUFBTSxJQUM1QixLQUFLLEVBQ1IsQ0FBQztRQUVILElBQUksQ0FBQyxnQkFBZ0IsQ0FBQyxLQUFLLENBQUMsYUFBYSxDQUFDLENBQUM7SUFDN0MsQ0FBQztDQUNGO0FBVEQsb0NBU0MiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgY2RrID0gcmVxdWlyZSgnQGF3cy1jZGsvY2RrJyk7XG5pbXBvcnQgeyBBY3Rpb24sIEFjdGlvbkFydGlmYWN0Qm91bmRzLCBBY3Rpb25DYXRlZ29yeSwgQ29tbW9uQWN0aW9uQ29uc3RydWN0UHJvcHMsIENvbW1vbkFjdGlvblByb3BzIH0gZnJvbSBcIi4vYWN0aW9uXCI7XG5pbXBvcnQgeyBBcnRpZmFjdCB9IGZyb20gJy4vYXJ0aWZhY3QnO1xuXG5leHBvcnQgaW50ZXJmYWNlIERlcGxveUFjdGlvblByb3BzIGV4dGVuZHMgQ29tbW9uQWN0aW9uUHJvcHMsIENvbW1vbkFjdGlvbkNvbnN0cnVjdFByb3BzIH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rpb25BcnRpZmFjdEJvdW5kcywgQWN0aW9uQ2F0ZWdvcnksIENvbW1vbkFjdGlvblByb3BzIH0gZnJvbSBcIi4vYWN0aW9uXCI7XG5pbXBvcnQgeyBBcnRpZmFjdCB9IGZyb20gJy4vYXJ0aWZhY3QnO1xuXG5leHBvcnQgaW50ZXJmYWNlIERlcGxveUFjdGlvblByb3BzIGV4dGVuZHMgQ29tbW9uQWN0aW9uUHJvcHMge1xuICBwcm92aWRlcjogc3RyaW5nO1xuXG4gIG93bmVyPzogc3RyaW5nO1xuXG4gIGFydGlmYWN0Qm91bmRzOiBBY3Rpb25BcnRpZmFjdEJvdW5kcztcblxuICBpbnB1dEFydGlmYWN0OiBBcnRpZmFjdDtcblxuICBjb25maWd1cmF0aW9uPzogYW55O1xufVxuXG5leHBvcnQgYWJzdHJhY3QgY2xhc3MgRGVwbG95QWN0aW9uIGV4dGVuZHMgQWN0aW9uIHtcbiAgY29uc3RydWN0b3IocHJvcHM6IERlcGxveUFjdGlvblByb3BzKSB7XG4gICAgc3VwZXIoe1xuICAgICAgLi4ucHJvcHMsXG4gICAgICBjYXRlZ29yeTogQWN0aW9uQ2F0ZWdvcnkuRGVwbG95LFxuICAgIH0pO1xuXG4gICAgdGhpcy5hZGRJbnB1dEFydGlmYWN0KHByb3BzLmlucHV0QXJ0aWZhY3QpO1xuICB9XG59XG4iXX0=

@@ -1,3 +0,2 @@

import cdk = require("@aws-cdk/cdk");
import { Action, CommonActionConstructProps, CommonActionProps } from "./action";
import { Action, CommonActionProps } from "./action";
import { Artifact } from "./artifact";

@@ -7,3 +6,3 @@ /**

*/
export interface SourceActionProps extends CommonActionProps, CommonActionConstructProps {
export interface SourceActionProps extends CommonActionProps {
/**

@@ -24,6 +23,4 @@ * The source action owner (could be "AWS", "ThirdParty" or "Custom").

* Output artifacts are used by CodePipeline as inputs into other actions.
*
* @default a name will be auto-generated
*/
outputArtifactName?: string;
outputArtifactName: string;
/**

@@ -50,3 +47,3 @@ * The service provider that the action calls.

readonly outputArtifact: Artifact;
constructor(scope: cdk.Construct, id: string, props: SourceActionProps);
constructor(props: SourceActionProps);
}

@@ -11,4 +11,4 @@ "use strict";

class SourceAction extends action_1.Action {
constructor(scope, id, props) {
super(scope, id, Object.assign({ category: action_1.ActionCategory.Source, artifactBounds: { minInputs: 0, maxInputs: 0, minOutputs: 1, maxOutputs: 1 } }, props));
constructor(props) {
super(Object.assign({}, props, { category: action_1.ActionCategory.Source, artifactBounds: { minInputs: 0, maxInputs: 0, minOutputs: 1, maxOutputs: 1 } }));
this.outputArtifact = this.addOutputArtifact(props.outputArtifactName);

@@ -18,2 +18,2 @@ }

exports.SourceAction = SourceAction;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlLWFjdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInNvdXJjZS1hY3Rpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFDQSxxQ0FBaUc7QUE0Q2pHOzs7OztHQUtHO0FBQ0gsTUFBc0IsWUFBYSxTQUFRLGVBQU07SUFHL0MsWUFBWSxLQUFvQixFQUFFLEVBQVUsRUFBRSxLQUF3QjtRQUNwRSxLQUFLLENBQUMsS0FBSyxFQUFFLEVBQUUsa0JBQ2IsUUFBUSxFQUFFLHVCQUFjLENBQUMsTUFBTSxFQUMvQixjQUFjLEVBQUUsRUFBRSxTQUFTLEVBQUUsQ0FBQyxFQUFFLFNBQVMsRUFBRSxDQUFDLEVBQUUsVUFBVSxFQUFFLENBQUMsRUFBRSxVQUFVLEVBQUUsQ0FBQyxFQUFFLElBQ3pFLEtBQUssRUFDUixDQUFDO1FBRUgsSUFBSSxDQUFDLGNBQWMsR0FBRyxJQUFJLENBQUMsaUJBQWlCLENBQUMsS0FBSyxDQUFDLGtCQUFrQixDQUFDLENBQUM7SUFDekUsQ0FBQztDQUNGO0FBWkQsb0NBWUMiLCJzb3VyY2VzQ29udG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3VyY2UsXG4gICAgICBhcnRpZmFjdEJvdW5kczogeyBtaW5JbnB1dHM6IDAsIG1heElucHV0czogMCwgbWluT3V0cHV0czogMSwgbWF4T3V0cHV0czogMSB9LFxuICAgIH0pO1xuXG4gICAgdGhpcy5vdXRwdXRBcnRpZmFjdCA9IHRoaXMuYWRkT3V0cHV0QXJ0aWZhY3QocHJvcHMub3V0cHV0QXJ0aWZhY3ROYW1lKTtcbiAgfVxufVxuIl19

@@ -1,3 +0,2 @@

import cdk = require("@aws-cdk/cdk");
import { Action, ActionArtifactBounds, CommonActionConstructProps, CommonActionProps } from "./action";
import { Action, ActionArtifactBounds, CommonActionProps } from "./action";
import { Artifact } from "./artifact";

@@ -7,9 +6,7 @@ /**

*/
export interface TestActionProps extends CommonActionProps, CommonActionConstructProps {
export interface TestActionProps extends CommonActionProps {
/**
* The source to use as input for this test.
*
* @default CodePipeline will use the output of the last Action from a previous Stage as input
*/
inputArtifact?: Artifact;
inputArtifact: Artifact;
/**

@@ -66,3 +63,3 @@ * The optional name of the output artifact.

readonly outputArtifact?: Artifact;
constructor(scope: cdk.Construct, id: string, props: TestActionProps);
constructor(props: TestActionProps);
}

@@ -15,4 +15,4 @@ "use strict";

class TestAction extends action_1.Action {
constructor(scope, id, props) {
super(scope, id, Object.assign({ category: action_1.ActionCategory.Test }, props));
constructor(props) {
super(Object.assign({}, props, { category: action_1.ActionCategory.Test }));
this.addInputArtifact(props.inputArtifact);

@@ -25,2 +25,2 @@ if (props.outputArtifactName) {

exports.TestAction = TestAction;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVzdC1hY3Rpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJ0ZXN0LWFjdGlvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUNBLHFDQUF1SDtBQTJEdkg7Ozs7Ozs7OztHQVNHO0FBQ0gsTUFBc0IsVUFBVyxTQUFRLGVBQU07S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==
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const cdk = require("@aws-cdk/cdk");
const action_1 = require("./action");

@@ -41,2 +42,6 @@ /**

function validateName(thing, name) {
// name could be a Token - in that case, skip validation altogether
if (cdk.unresolved(name)) {
return;
}
if (name !== undefined && !VALID_IDENTIFIER_REGEX.test(name)) {

@@ -47,2 +52,2 @@ throw new Error(`${thing} name must match regular expression: ${VALID_IDENTIFIER_REGEX.toString()}, got '${name}'`);

exports.validateName = validateName;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFsaWRhdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInZhbGlkYXRpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSxxQ0FBMEM7QUFHMUM7O0dBRUc7QUFDSCxTQUFnQixzQkFBc0IsQ0FBRSxJQUFZLEVBQUUsU0FBcUIsRUFDbkMsR0FBVyxFQUFFLEdBQVcsRUFDeEIsUUFBZ0IsRUFBRSxRQUFnQjtJQUN4RSxNQUFNLEdBQUcsR0FBYSxFQUFFLENBQUM7SUFFekIsSUFBSSxTQUFTLENBQUMsTUFBTSxHQUFHLEdBQUcsRUFBRTtRQUMxQixHQUFHLENBQUMsSUFBSSxDQUFDLEdBQUcsUUFBUSxJQUFJLFFBQVEsdUJBQXVCLEdBQUcsSUFBSSxJQUFJLFlBQVksQ0FBQyxDQUFDO0tBQ2pGO0lBRUQsSUFBSSxTQUFTLENBQUMsTUFBTSxHQUFHLEdBQUcsRUFBRTtRQUMxQixHQUFHLENBQUMsSUFBSSxDQUFDLEdBQUcsUUFBUSxJQUFJLFFBQVEsMEJBQTBCLEdBQUcsSUFBSSxJQUFJLFlBQVksQ0FBQyxDQUFDO0tBQ3BGO0lBRUQsT0FBTyxHQUFHLENBQUM7QUFDYixDQUFDO0FBZEQsd0RBY0M7QUFFRDs7O0dBR0c7QUFDSCxTQUFnQixvQkFBb0Is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kIHRvIHZhbGlkYXRlIHRoZSBuYW1lIG9mIGFsbCBjb21wb25lbnRzIG9mIGEgcGlwZWxpbmUuXG4gKi9cbmV4cG9ydCBmdW5jdGlvbiB2YWxpZGF0ZU5hbWUodGhpbmc6IHN0cmluZywgbmFtZTogc3RyaW5nIHwgdW5kZWZpbmVkKSB7XG4gIC8vIG5hbWUgY291bGQgYmUgYSBUb2tlbiAtIGluIHRoYXQgY2FzZSwgc2tpcCB2YWxpZGF0aW9uIGFsdG9nZXRoZXJcbiAgaWYgKGNkay51bnJlc29sdmVkKG5hbWUpKSB7XG4gICAgcmV0dXJuO1xuICB9XG5cbiAgaWYgKG5hbWUgIT09IHVuZGVmaW5lZCAmJiAhVkFMSURfSURFTlRJRklFUl9SRUdFWC50ZXN0KG5hbWUpKSB7XG4gICAgdGhyb3cgbmV3IEVycm9yKGAke3RoaW5nfSBuYW1lIG11c3QgbWF0Y2ggcmVndWxhciBleHByZXNzaW9uOiAke1ZBTElEX0lERU5USUZJRVJfUkVHRVgudG9TdHJpbmcoKX0sIGdvdCAnJHtuYW1lfSdgKTtcbiAgfVxufVxuIl19
{
"name": "@aws-cdk/aws-codepipeline-api",
"version": "0.24.1",
"version": "0.25.0",
"description": "Actions API for AWS Code Pipeline",

@@ -56,17 +56,17 @@ "main": "lib/index.js",

"devDependencies": {
"@aws-cdk/assert": "^0.24.1",
"cdk-build-tools": "^0.24.1",
"cdk-integ-tools": "^0.24.1",
"pkglint": "^0.24.1"
"@aws-cdk/assert": "^0.25.0",
"cdk-build-tools": "^0.25.0",
"cdk-integ-tools": "^0.25.0",
"pkglint": "^0.25.0"
},
"dependencies": {
"@aws-cdk/aws-events": "^0.24.1",
"@aws-cdk/aws-iam": "^0.24.1",
"@aws-cdk/cdk": "^0.24.1"
"@aws-cdk/aws-events": "^0.25.0",
"@aws-cdk/aws-iam": "^0.25.0",
"@aws-cdk/cdk": "^0.25.0"
},
"homepage": "https://github.com/awslabs/aws-cdk",
"peerDependencies": {
"@aws-cdk/aws-events": "^0.24.1",
"@aws-cdk/aws-iam": "^0.24.1",
"@aws-cdk/cdk": "^0.24.1"
"@aws-cdk/aws-events": "^0.25.0",
"@aws-cdk/aws-iam": "^0.25.0",
"@aws-cdk/cdk": "^0.25.0"
},

@@ -82,2 +82,2 @@ "engines": {

}
}
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc