@aws-cdk/aws-codecommit
Advanced tools
Comparing version 0.30.0 to 0.31.0
@@ -5,3 +5,3 @@ "use strict"; | ||
// See: docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-resource-specification.html | ||
// @cfn2ts:meta@ {"generated":"2019-05-02T09:58:03.878Z","fingerprint":"ofUYOFgY13Tulvwdyf4P+j1aG9vhdvSCKJWjWAk1HyU="} | ||
// @cfn2ts:meta@ {"generated":"2019-05-06T20:40:40.923Z","fingerprint":"+XDJS3Gl/SDJ0WIM4qMxZK3H62lEWBOAmpL/dIfOLfo="} | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -122,2 +122,2 @@ // tslint:disable:max-line-length | This is generated code - line lengths are difficult to control | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29kZWNvbW1pdC5nZW5lcmF0ZWQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJjb2RlY29tbWl0LmdlbmVyYXRlZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsK0VBQStFO0FBQy9FLCtEQUErRDtBQUMvRCw4RkFBOEY7QUFDOUYsc0hBQXNIOztBQUV0SCxrR0FBa0c7QUFFbEcsb0NBQXFDO0FBd0JyQzs7Ozs7O0dBTUc7QUFDSCxTQUFTLDJCQUEyQixDQUFDLFVBQWU7SUFDaEQsSUFBSSxDQUFDLEdBQUcsQ0FBQyxVQUFVLENBQUMsVUFBVSxDQUFDLEVBQUU7UUFBRSxPQUFPLEdBQUcsQ0FBQyxrQkFBa0IsQ0FBQztLQUFFO0lBQ25FLE1BQU0sTUFBTSxHQUFHLElBQUksR0FBRyxDQUFDLGlCQUFpQixFQUFFLENBQUM7SUFDM0MsTUFBTSxDQUFDLE9BQU8sQ0FBQyxHQUFHLENBQUMsaUJBQWlCLENBQUMsdUJBQXVCLEVBQUUsR0FBRyxDQUFDLGNBQWMsQ0FBQyxDQUFDLFVBQ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QHJldHVybnMgdGhlIEFXUyBDbG91ZEZvcm1hdGlvbiBwcm9wZXJ0aWVzIG9mIGFuIGBBV1M6OkNvZGVDb21taXQ6OlJlcG9zaXRvcnkuUmVwb3NpdG9yeVRyaWdnZXJgIHJlc291cmNlLlxuICovXG4vLyBAdHMtaWdub3JlIFRTNjEzM1xuZnVuY3Rpb24gY2ZuUmVwb3NpdG9yeVJlcG9zaXRvcnlUcmlnZ2VyUHJvcGVydHlUb0Nsb3VkRm9ybWF0aW9uKHByb3BlcnRpZXM6IGFueSk6IGFueSB7XG4gICAgaWYgKCFjZGsuY2FuSW5zcGVjdChwcm9wZXJ0aWVzKSkgeyByZXR1cm4gcHJvcGVydGllczsgfVxuICAgIENmblJlcG9zaXRvcnlfUmVwb3NpdG9yeVRyaWdnZXJQcm9wZXJ0eVZhbGlkYXRvcihwcm9wZXJ0aWVzKS5hc3NlcnRTdWNjZXNzKCk7XG4gICAgcmV0dXJuIHtcbiAgICAgIEJyYW5jaGVzOiBjZGsubGlzdE1hcHBlcihjZGsuc3RyaW5nVG9DbG91ZEZvcm1hdGlvbikocHJvcGVydGllcy5icmFuY2hlcyksXG4gICAgICBDdXN0b21EYXRhOiBjZGsuc3RyaW5nVG9DbG91ZEZvcm1hdGlvbihwcm9wZXJ0aWVzLmN1c3RvbURhdGEpLFxuICAgICAgRGVzdGluYXRpb25Bcm46IGNkay5zdHJpbmdUb0Nsb3VkRm9ybWF0aW9uKHByb3BlcnRpZXMuZGVzdGluYXRpb25Bcm4pLFxuICAgICAgRXZlbnRzOiBjZGsubGlzdE1hcHBlcihjZGsuc3RyaW5nVG9DbG91ZEZvcm1hdGlvbikocHJvcGVydGllcy5ldmVudHMpLFxuICAgICAgTmFtZTogY2RrLnN0cmluZ1RvQ2xvdWRGb3JtYXRpb24ocHJvcGVydGllcy5uYW1lKSxcbiAgICB9O1xufVxuIl19 |
import events = require('@aws-cdk/aws-events'); | ||
import { Construct, IResource, Resource } from '@aws-cdk/cdk'; | ||
export interface IRepository extends IResource { | ||
/** The ARN of this Repository. */ | ||
/** | ||
* The ARN of this Repository. | ||
* @attribute | ||
*/ | ||
readonly repositoryArn: string; | ||
/** The human-visible name of this Repository. */ | ||
/** | ||
* The human-visible name of this Repository. | ||
* @attribute | ||
*/ | ||
readonly repositoryName: string; | ||
/** The HTTP clone URL */ | ||
/** | ||
* The HTTP clone URL | ||
* @attribute | ||
*/ | ||
readonly repositoryCloneUrlHttp: string; | ||
/** The SSH clone URL */ | ||
/** | ||
* The SSH clone URL | ||
* @attribute | ||
*/ | ||
readonly repositoryCloneUrlSsh: string; | ||
@@ -60,3 +72,3 @@ /** | ||
*/ | ||
export(): RepositoryImportProps; | ||
export(): RepositoryAttributes; | ||
} | ||
@@ -66,3 +78,3 @@ /** | ||
*/ | ||
export interface RepositoryImportProps { | ||
export interface RepositoryAttributes { | ||
/** | ||
@@ -92,3 +104,3 @@ * The name of an existing CodeCommit Repository that we are referencing. | ||
abstract readonly repositoryCloneUrlSsh: string; | ||
abstract export(): RepositoryImportProps; | ||
abstract export(): RepositoryAttributes; | ||
/** | ||
@@ -154,11 +166,6 @@ * Defines a CloudWatch event rule which triggers for repository events. Use | ||
/** | ||
* Import a Repository defined either outside the CDK, or in a different Stack | ||
* (exported with the {@link export} method). | ||
* | ||
* @param scope the parent Construct for the Repository | ||
* @param id the name of the Repository Construct | ||
* @param props the properties used to identify the existing Repository | ||
* @returns a reference to the existing Repository | ||
* Imports a codecommit repository. | ||
* @param repositoryArn (e.g. `arn:aws:codecommit:us-east-1:123456789012:MyDemoRepo`) | ||
*/ | ||
static import(scope: Construct, id: string, props: RepositoryImportProps): IRepository; | ||
static fromRepositoryArn(scope: Construct, id: string, repositoryArn: string): IRepository; | ||
private readonly repository; | ||
@@ -176,3 +183,3 @@ private readonly triggers; | ||
*/ | ||
export(): RepositoryImportProps; | ||
export(): RepositoryAttributes; | ||
/** | ||
@@ -179,0 +186,0 @@ * Create a trigger to notify another service to run actions on repository events. |
@@ -104,25 +104,2 @@ "use strict"; | ||
} | ||
class ImportedRepository extends RepositoryBase { | ||
constructor(scope, id, props) { | ||
super(scope, id); | ||
this.props = props; | ||
this.repositoryArn = this.node.stack.formatArn({ | ||
service: 'codecommit', | ||
resource: props.repositoryName, | ||
}); | ||
this.repositoryName = props.repositoryName; | ||
} | ||
export() { | ||
return this.props; | ||
} | ||
get repositoryCloneUrlHttp() { | ||
return this.repositoryCloneUrl('https'); | ||
} | ||
get repositoryCloneUrlSsh() { | ||
return this.repositoryCloneUrl('ssh'); | ||
} | ||
repositoryCloneUrl(protocol) { | ||
return `${protocol}://git-codecommit.${this.node.stack.region}.${this.node.stack.urlSuffix}/v1/repos/${this.repositoryName}`; | ||
} | ||
} | ||
/** | ||
@@ -142,12 +119,25 @@ * Provides a CodeCommit Repository | ||
/** | ||
* Import a Repository defined either outside the CDK, or in a different Stack | ||
* (exported with the {@link export} method). | ||
* | ||
* @param scope the parent Construct for the Repository | ||
* @param id the name of the Repository Construct | ||
* @param props the properties used to identify the existing Repository | ||
* @returns a reference to the existing Repository | ||
* Imports a codecommit repository. | ||
* @param repositoryArn (e.g. `arn:aws:codecommit:us-east-1:123456789012:MyDemoRepo`) | ||
*/ | ||
static import(scope, id, props) { | ||
return new ImportedRepository(scope, id, props); | ||
static fromRepositoryArn(scope, id, repositoryArn) { | ||
const stack = scope.node.stack; | ||
const repositoryName = stack.parseArn(repositoryArn).resource; | ||
const makeCloneUrl = (protocol) => `${protocol}://git-codecommit.${stack.region}.${stack.urlSuffix}/v1/repos/${repositoryName}`; | ||
class Import extends RepositoryBase { | ||
constructor() { | ||
super(...arguments); | ||
this.repositoryArn = repositoryArn; | ||
this.repositoryName = repositoryName; | ||
this.repositoryCloneUrlHttp = makeCloneUrl('https'); | ||
this.repositoryCloneUrlSsh = makeCloneUrl('ssh'); | ||
} | ||
export() { | ||
return { | ||
repositoryArn: this.repositoryArn, | ||
repositoryName: this.repositoryName | ||
}; | ||
} | ||
} | ||
return new Import(scope, id); | ||
} | ||
@@ -216,2 +206,2 @@ get repositoryArn() { | ||
})(RepositoryEventTrigger = exports.RepositoryEventTrigger || (exports.RepositoryEventTrigger = {})); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVwb3NpdG9yeS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInJlcG9zaXRvcnkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSw4Q0FBK0M7QUFDL0Msc0NBQXlFO0FBQ3pFLGlFQUF1RDtBQXNGdkQ7Ozs7Ozs7O0dBUUc7QUFDSCxNQUFlLGNBQWUsU0FBUSxjQUFRO0lBZTVDOzs7T0FHRztJQUNJLE9BQU8sQ0FBQyxJQUFZLEVBQUUsTUFBZ0MsRUFBRSxPQUErQjtRQUM1RixNQUFNLElBQUksR0FBRyxJQUFJLE1BQU0sQ0FBQyxTQUFTLENBQUMsSUFBSSxFQUFFLElBQUksRUFBRSxPQUFPLENBQUMsQ0FBQztRQUN2RCxJQUFJLENBQUMsZUFBZSxDQUFDO1lBQ25CLE1BQU0sRUFBRSxDQUFFLGdCQUFnQixDQUFFO1lBQzVCLFNBQVMsRUFBRSxDQUFFLElBQUksQ0FBQyxhQUFhLENBQUU7U0FDbEMsQ0FBQyxDQUFDO1FBQ0gsSUFBSSxDQUFDLFNBQVMsQ0FBQyxNQUFNLENBQUMsQ0FBQztRQUN2QixPQUFPLElBQUksQ0FBQztJQUNkLENBQUM7SUFFRDs7O09BR0c7SUFDSSxhQUFhLENBQUMsSUFBWSxFQUFFLE1BQWdDLEVBQUUsT0FBK0I7UUFDbEcsTUFBTSxJQUFJLEdBQUcsSUFBSSxDQUFDLE9BQU8sQ0FBQyxJQUFJLEVBQUUsTUFBTSxFQUFFLE9BQU8sQ0FBQyxDQUFDO1FBQ2pELElBQUksQ0FBQyxlQUFlLENBQUM7WUFDbkIsVUFBVSxFQUFFLENBQUUsb0NBQW9DLENBQUU7U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n1cbiJdfQ== |
{ | ||
"name": "@aws-cdk/aws-codecommit", | ||
"version": "0.30.0", | ||
"version": "0.31.0", | ||
"description": "CDK Constructs for AWS CodeCommit", | ||
@@ -23,3 +23,2 @@ "main": "lib/index.js", | ||
}, | ||
"sphinx": {}, | ||
"python": { | ||
@@ -68,20 +67,20 @@ "distName": "aws-cdk.aws-codecommit", | ||
"devDependencies": { | ||
"@aws-cdk/assert": "^0.30.0", | ||
"@aws-cdk/aws-sns": "^0.30.0", | ||
"@aws-cdk/assert": "^0.31.0", | ||
"@aws-cdk/aws-sns": "^0.31.0", | ||
"aws-sdk": "^2.438.0", | ||
"cdk-build-tools": "^0.30.0", | ||
"cdk-integ-tools": "^0.30.0", | ||
"cfn2ts": "^0.30.0", | ||
"pkglint": "^0.30.0" | ||
"cdk-build-tools": "^0.31.0", | ||
"cdk-integ-tools": "^0.31.0", | ||
"cfn2ts": "^0.31.0", | ||
"pkglint": "^0.31.0" | ||
}, | ||
"dependencies": { | ||
"@aws-cdk/aws-events": "^0.30.0", | ||
"@aws-cdk/aws-iam": "^0.30.0", | ||
"@aws-cdk/cdk": "^0.30.0" | ||
"@aws-cdk/aws-events": "^0.31.0", | ||
"@aws-cdk/aws-iam": "^0.31.0", | ||
"@aws-cdk/cdk": "^0.31.0" | ||
}, | ||
"homepage": "https://github.com/awslabs/aws-cdk", | ||
"peerDependencies": { | ||
"@aws-cdk/aws-events": "^0.30.0", | ||
"@aws-cdk/aws-iam": "^0.30.0", | ||
"@aws-cdk/cdk": "^0.30.0" | ||
"@aws-cdk/aws-events": "^0.31.0", | ||
"@aws-cdk/aws-iam": "^0.31.0", | ||
"@aws-cdk/cdk": "^0.31.0" | ||
}, | ||
@@ -88,0 +87,0 @@ "engines": { |
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
149317
833
+ Added@aws-cdk/aws-events@0.31.0(transitive)
+ Added@aws-cdk/aws-iam@0.31.0(transitive)
+ Added@aws-cdk/cdk@0.31.0(transitive)
+ Added@aws-cdk/cx-api@0.31.0(transitive)
+ Added@aws-cdk/region-info@0.31.0(transitive)
- Removed@aws-cdk/aws-events@0.30.0(transitive)
- Removed@aws-cdk/aws-iam@0.30.0(transitive)
- Removed@aws-cdk/cdk@0.30.0(transitive)
- Removed@aws-cdk/cx-api@0.30.0(transitive)
- Removed@aws-cdk/region-info@0.30.0(transitive)
Updated@aws-cdk/aws-events@^0.31.0
Updated@aws-cdk/aws-iam@^0.31.0
Updated@aws-cdk/cdk@^0.31.0