{ "fingerprint": "YMxR4Mog+dSOt/PfyREanGCbBxjiNWy1elqyao8Act8=", "author": { "name": "Amazon Web Services", "organization": true, "roles": [ "author" ], "url": "https://aws.amazon.com" }, "dependencies": { "@aws-cdk/aws-cloudwatch": { "dependencies": { "@aws-cdk/aws-iam": { "dependencies": { "@aws-cdk/cdk": { "dependencies": { "@aws-cdk/cx-api": { "targets": { "java": { "maven": { "artifactId": "cdk-cx-api", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk.cxapi" }, "js": { "npm": "@aws-cdk/cx-api" } }, "version": "0.8.2" } }, "targets": { "java": { "maven": { "artifactId": "cdk", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk" }, "js": { "npm": "@aws-cdk/cdk" } }, "version": "0.8.2" } }, "targets": { "java": { "maven": { "artifactId": "iam", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk.services.iam" }, "js": { "npm": "@aws-cdk/aws-iam" } }, "version": "0.8.2" }, "@aws-cdk/cdk": { "dependencies": { "@aws-cdk/cx-api": { "targets": { "java": { "maven": { "artifactId": "cdk-cx-api", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk.cxapi" }, "js": { "npm": "@aws-cdk/cx-api" } }, "version": "0.8.2" } }, "targets": { "java": { "maven": { "artifactId": "cdk", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk" }, "js": { "npm": "@aws-cdk/cdk" } }, "version": "0.8.2" } }, "targets": { "java": { "maven": { "artifactId": "cloudwatch", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk.services.cloudwatch" }, "js": { "npm": "@aws-cdk/aws-cloudwatch" } }, "version": "0.8.2" }, "@aws-cdk/aws-codecommit": { "dependencies": { "@aws-cdk/aws-codepipeline-api": { "dependencies": { "@aws-cdk/aws-events": { "dependencies": { "@aws-cdk/aws-iam": { "dependencies": { "@aws-cdk/cdk": { "dependencies": { "@aws-cdk/cx-api": { "targets": { "java": { "maven": { "artifactId": "cdk-cx-api", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk.cxapi" }, "js": { "npm": "@aws-cdk/cx-api" } }, "version": "0.8.2" } }, "targets": { "java": { "maven": { "artifactId": "cdk", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk" }, "js": { "npm": "@aws-cdk/cdk" } }, "version": "0.8.2" } }, "targets": { "java": { "maven": { "artifactId": "iam", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk.services.iam" }, "js": { "npm": "@aws-cdk/aws-iam" } }, "version": "0.8.2" }, "@aws-cdk/cdk": { "dependencies": { "@aws-cdk/cx-api": { "targets": { "java": { "maven": { "artifactId": "cdk-cx-api", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk.cxapi" }, "js": { "npm": "@aws-cdk/cx-api" } }, "version": "0.8.2" } }, "targets": { "java": { "maven": { "artifactId": "cdk", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk" }, "js": { "npm": "@aws-cdk/cdk" } }, "version": "0.8.2" } }, "targets": { "java": { "maven": { "artifactId": "events", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk.services.events" }, "js": { "npm": "@aws-cdk/aws-events" } }, "version": "0.8.2" }, "@aws-cdk/aws-iam": { "dependencies": { "@aws-cdk/cdk": { "dependencies": { "@aws-cdk/cx-api": { "targets": { "java": { "maven": { "artifactId": "cdk-cx-api", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk.cxapi" }, "js": { "npm": "@aws-cdk/cx-api" } }, "version": "0.8.2" } }, "targets": { "java": { "maven": { "artifactId": "cdk", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk" }, "js": { "npm": "@aws-cdk/cdk" } }, "version": "0.8.2" } }, "targets": { "java": { "maven": { "artifactId": "iam", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk.services.iam" }, "js": { "npm": "@aws-cdk/aws-iam" } }, "version": "0.8.2" }, "@aws-cdk/cdk": { "dependencies": { "@aws-cdk/cx-api": { "targets": { "java": { "maven": { "artifactId": "cdk-cx-api", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk.cxapi" }, "js": { "npm": "@aws-cdk/cx-api" } }, "version": "0.8.2" } }, "targets": { "java": { "maven": { "artifactId": "cdk", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk" }, "js": { "npm": "@aws-cdk/cdk" } }, "version": "0.8.2" } }, "targets": { "java": { "maven": { "artifactId": "codepipeline-api", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk.services.codepipeline.api" }, "js": { "npm": "@aws-cdk/aws-codepipeline-api" } }, "version": "0.8.2" }, "@aws-cdk/aws-events": { "dependencies": { "@aws-cdk/aws-iam": { "dependencies": { "@aws-cdk/cdk": { "dependencies": { "@aws-cdk/cx-api": { "targets": { "java": { "maven": { "artifactId": "cdk-cx-api", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk.cxapi" }, "js": { "npm": "@aws-cdk/cx-api" } }, "version": "0.8.2" } }, "targets": { "java": { "maven": { "artifactId": "cdk", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk" }, "js": { "npm": "@aws-cdk/cdk" } }, "version": "0.8.2" } }, "targets": { "java": { "maven": { "artifactId": "iam", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk.services.iam" }, "js": { "npm": "@aws-cdk/aws-iam" } }, "version": "0.8.2" }, "@aws-cdk/cdk": { "dependencies": { "@aws-cdk/cx-api": { "targets": { "java": { "maven": { "artifactId": "cdk-cx-api", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk.cxapi" }, "js": { "npm": "@aws-cdk/cx-api" } }, "version": "0.8.2" } }, "targets": { "java": { "maven": { "artifactId": "cdk", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk" }, "js": { "npm": "@aws-cdk/cdk" } }, "version": "0.8.2" } }, "targets": { "java": { "maven": { "artifactId": "events", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk.services.events" }, "js": { "npm": "@aws-cdk/aws-events" } }, "version": "0.8.2" }, "@aws-cdk/aws-iam": { "dependencies": { "@aws-cdk/cdk": { "dependencies": { "@aws-cdk/cx-api": { "targets": { "java": { "maven": { "artifactId": "cdk-cx-api", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk.cxapi" }, "js": { "npm": "@aws-cdk/cx-api" } }, "version": "0.8.2" } }, "targets": { "java": { "maven": { "artifactId": "cdk", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk" }, "js": { "npm": "@aws-cdk/cdk" } }, "version": "0.8.2" } }, "targets": { "java": { "maven": { "artifactId": "iam", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk.services.iam" }, "js": { "npm": "@aws-cdk/aws-iam" } }, "version": "0.8.2" }, "@aws-cdk/cdk": { "dependencies": { "@aws-cdk/cx-api": { "targets": { "java": { "maven": { "artifactId": "cdk-cx-api", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk.cxapi" }, "js": { "npm": "@aws-cdk/cx-api" } }, "version": "0.8.2" } }, "targets": { "java": { "maven": { "artifactId": "cdk", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk" }, "js": { "npm": "@aws-cdk/cdk" } }, "version": "0.8.2" } }, "targets": { "java": { "maven": { "artifactId": "codecommit", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk.services.codecommit" }, "js": { "npm": "@aws-cdk/aws-codecommit" } }, "version": "0.8.2" }, "@aws-cdk/aws-codepipeline-api": { "dependencies": { "@aws-cdk/aws-events": { "dependencies": { "@aws-cdk/aws-iam": { "dependencies": { "@aws-cdk/cdk": { "dependencies": { "@aws-cdk/cx-api": { "targets": { "java": { "maven": { "artifactId": "cdk-cx-api", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk.cxapi" }, "js": { "npm": "@aws-cdk/cx-api" } }, "version": "0.8.2" } }, "targets": { "java": { "maven": { "artifactId": "cdk", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk" }, "js": { "npm": "@aws-cdk/cdk" } }, "version": "0.8.2" } }, "targets": { "java": { "maven": { "artifactId": "iam", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk.services.iam" }, "js": { "npm": "@aws-cdk/aws-iam" } }, "version": "0.8.2" }, "@aws-cdk/cdk": { "dependencies": { "@aws-cdk/cx-api": { "targets": { "java": { "maven": { "artifactId": "cdk-cx-api", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk.cxapi" }, "js": { "npm": "@aws-cdk/cx-api" } }, "version": "0.8.2" } }, "targets": { "java": { "maven": { "artifactId": "cdk", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk" }, "js": { "npm": "@aws-cdk/cdk" } }, "version": "0.8.2" } }, "targets": { "java": { "maven": { "artifactId": "events", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk.services.events" }, "js": { "npm": "@aws-cdk/aws-events" } }, "version": "0.8.2" }, "@aws-cdk/aws-iam": { "dependencies": { "@aws-cdk/cdk": { "dependencies": { "@aws-cdk/cx-api": { "targets": { "java": { "maven": { "artifactId": "cdk-cx-api", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk.cxapi" }, "js": { "npm": "@aws-cdk/cx-api" } }, "version": "0.8.2" } }, "targets": { "java": { "maven": { "artifactId": "cdk", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk" }, "js": { "npm": "@aws-cdk/cdk" } }, "version": "0.8.2" } }, "targets": { "java": { "maven": { "artifactId": "iam", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk.services.iam" }, "js": { "npm": "@aws-cdk/aws-iam" } }, "version": "0.8.2" }, "@aws-cdk/cdk": { "dependencies": { "@aws-cdk/cx-api": { "targets": { "java": { "maven": { "artifactId": "cdk-cx-api", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk.cxapi" }, "js": { "npm": "@aws-cdk/cx-api" } }, "version": "0.8.2" } }, "targets": { "java": { "maven": { "artifactId": "cdk", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk" }, "js": { "npm": "@aws-cdk/cdk" } }, "version": "0.8.2" } }, "targets": { "java": { "maven": { "artifactId": "codepipeline-api", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk.services.codepipeline.api" }, "js": { "npm": "@aws-cdk/aws-codepipeline-api" } }, "version": "0.8.2" }, "@aws-cdk/aws-events": { "dependencies": { "@aws-cdk/aws-iam": { "dependencies": { "@aws-cdk/cdk": { "dependencies": { "@aws-cdk/cx-api": { "targets": { "java": { "maven": { "artifactId": "cdk-cx-api", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk.cxapi" }, "js": { "npm": "@aws-cdk/cx-api" } }, "version": "0.8.2" } }, "targets": { "java": { "maven": { "artifactId": "cdk", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk" }, "js": { "npm": "@aws-cdk/cdk" } }, "version": "0.8.2" } }, "targets": { "java": { "maven": { "artifactId": "iam", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk.services.iam" }, "js": { "npm": "@aws-cdk/aws-iam" } }, "version": "0.8.2" }, "@aws-cdk/cdk": { "dependencies": { "@aws-cdk/cx-api": { "targets": { "java": { "maven": { "artifactId": "cdk-cx-api", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk.cxapi" }, "js": { "npm": "@aws-cdk/cx-api" } }, "version": "0.8.2" } }, "targets": { "java": { "maven": { "artifactId": "cdk", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk" }, "js": { "npm": "@aws-cdk/cdk" } }, "version": "0.8.2" } }, "targets": { "java": { "maven": { "artifactId": "events", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk.services.events" }, "js": { "npm": "@aws-cdk/aws-events" } }, "version": "0.8.2" }, "@aws-cdk/aws-iam": { "dependencies": { "@aws-cdk/cdk": { "dependencies": { "@aws-cdk/cx-api": { "targets": { "java": { "maven": { "artifactId": "cdk-cx-api", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk.cxapi" }, "js": { "npm": "@aws-cdk/cx-api" } }, "version": "0.8.2" } }, "targets": { "java": { "maven": { "artifactId": "cdk", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk" }, "js": { "npm": "@aws-cdk/cdk" } }, "version": "0.8.2" } }, "targets": { "java": { "maven": { "artifactId": "iam", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk.services.iam" }, "js": { "npm": "@aws-cdk/aws-iam" } }, "version": "0.8.2" }, "@aws-cdk/aws-kms": { "dependencies": { "@aws-cdk/aws-iam": { "dependencies": { "@aws-cdk/cdk": { "dependencies": { "@aws-cdk/cx-api": { "targets": { "java": { "maven": { "artifactId": "cdk-cx-api", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk.cxapi" }, "js": { "npm": "@aws-cdk/cx-api" } }, "version": "0.8.2" } }, "targets": { "java": { "maven": { "artifactId": "cdk", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk" }, "js": { "npm": "@aws-cdk/cdk" } }, "version": "0.8.2" } }, "targets": { "java": { "maven": { "artifactId": "iam", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk.services.iam" }, "js": { "npm": "@aws-cdk/aws-iam" } }, "version": "0.8.2" }, "@aws-cdk/cdk": { "dependencies": { "@aws-cdk/cx-api": { "targets": { "java": { "maven": { "artifactId": "cdk-cx-api", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk.cxapi" }, "js": { "npm": "@aws-cdk/cx-api" } }, "version": "0.8.2" } }, "targets": { "java": { "maven": { "artifactId": "cdk", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk" }, "js": { "npm": "@aws-cdk/cdk" } }, "version": "0.8.2" } }, "targets": { "java": { "maven": { "artifactId": "kms", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk.services.kms" }, "js": { "npm": "@aws-cdk/aws-kms" } }, "version": "0.8.2" }, "@aws-cdk/aws-s3": { "dependencies": { "@aws-cdk/aws-iam": { "dependencies": { "@aws-cdk/cdk": { "dependencies": { "@aws-cdk/cx-api": { "targets": { "java": { "maven": { "artifactId": "cdk-cx-api", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk.cxapi" }, "js": { "npm": "@aws-cdk/cx-api" } }, "version": "0.8.2" } }, "targets": { "java": { "maven": { "artifactId": "cdk", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk" }, "js": { "npm": "@aws-cdk/cdk" } }, "version": "0.8.2" } }, "targets": { "java": { "maven": { "artifactId": "iam", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk.services.iam" }, "js": { "npm": "@aws-cdk/aws-iam" } }, "version": "0.8.2" }, "@aws-cdk/aws-kms": { "dependencies": { "@aws-cdk/aws-iam": { "dependencies": { "@aws-cdk/cdk": { "dependencies": { "@aws-cdk/cx-api": { "targets": { "java": { "maven": { "artifactId": "cdk-cx-api", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk.cxapi" }, "js": { "npm": "@aws-cdk/cx-api" } }, "version": "0.8.2" } }, "targets": { "java": { "maven": { "artifactId": "cdk", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk" }, "js": { "npm": "@aws-cdk/cdk" } }, "version": "0.8.2" } }, "targets": { "java": { "maven": { "artifactId": "iam", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk.services.iam" }, "js": { "npm": "@aws-cdk/aws-iam" } }, "version": "0.8.2" }, "@aws-cdk/cdk": { "dependencies": { "@aws-cdk/cx-api": { "targets": { "java": { "maven": { "artifactId": "cdk-cx-api", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk.cxapi" }, "js": { "npm": "@aws-cdk/cx-api" } }, "version": "0.8.2" } }, "targets": { "java": { "maven": { "artifactId": "cdk", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk" }, "js": { "npm": "@aws-cdk/cdk" } }, "version": "0.8.2" } }, "targets": { "java": { "maven": { "artifactId": "kms", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk.services.kms" }, "js": { "npm": "@aws-cdk/aws-kms" } }, "version": "0.8.2" }, "@aws-cdk/aws-s3-notifications": { "dependencies": { "@aws-cdk/cdk": { "dependencies": { "@aws-cdk/cx-api": { "targets": { "java": { "maven": { "artifactId": "cdk-cx-api", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk.cxapi" }, "js": { "npm": "@aws-cdk/cx-api" } }, "version": "0.8.2" } }, "targets": { "java": { "maven": { "artifactId": "cdk", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk" }, "js": { "npm": "@aws-cdk/cdk" } }, "version": "0.8.2" } }, "targets": { "java": { "maven": { "artifactId": "s3-notifications", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk.services.s3.notifications" }, "js": { "npm": "@aws-cdk/aws-s3-notifications" } }, "version": "0.8.2" }, "@aws-cdk/cdk": { "dependencies": { "@aws-cdk/cx-api": { "targets": { "java": { "maven": { "artifactId": "cdk-cx-api", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk.cxapi" }, "js": { "npm": "@aws-cdk/cx-api" } }, "version": "0.8.2" } }, "targets": { "java": { "maven": { "artifactId": "cdk", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk" }, "js": { "npm": "@aws-cdk/cdk" } }, "version": "0.8.2" } }, "targets": { "java": { "maven": { "artifactId": "s3", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk.services.s3" }, "js": { "npm": "@aws-cdk/aws-s3" } }, "version": "0.8.2" }, "@aws-cdk/cdk": { "dependencies": { "@aws-cdk/cx-api": { "targets": { "java": { "maven": { "artifactId": "cdk-cx-api", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk.cxapi" }, "js": { "npm": "@aws-cdk/cx-api" } }, "version": "0.8.2" } }, "targets": { "java": { "maven": { "artifactId": "cdk", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk" }, "js": { "npm": "@aws-cdk/cdk" } }, "version": "0.8.2" } }, "description": "CDK Constructs for AWS CodeBuild", "homepage": "https://github.com/awslabs/aws-cdk", "license": "Apache-2.0", "name": "@aws-cdk/aws-codebuild", "readme": { "markdown": "## AWS CodeBuild Construct Library\n\nDefine a project. This will also create an IAM Role and IAM Policy for CodeBuild to use.\n\n### Using CodeBuild with other AWS services\n\n#### CodeCommit\n\nCreate a CodeBuild project with CodeCommit as the source:\n\n```ts\nimport codebuild = require('@aws-cdk/aws-codebuild');\nimport codecommit = require('@aws-cdk/aws-codecommit');\n\nconst repo = new codecommit.Repository(this, 'MyRepo', { repositoryName: 'foo' });\nnew codebuild.Project(this, 'MyFirstCodeCommitProject', {\n source: new codebuild.CodeCommitSource(repo)\n});\n```\n\n#### S3\n\nCreate a CodeBuild project with an S3 bucket as the source:\n\n```ts\nimport codebuild = require('@aws-cdk/aws-codebuild');\nimport s3 = require('@aws-cdk/aws-s3');\n\nconst bucket = new s3.Bucket(this, 'MyBucket');\nnew codebuild.Project(this, 'MyProject', {\n source: new codebuild.S3BucketSource(bucket, 'path/to/source.zip')\n});\n```\n\n#### CodePipeline\n\nExample of a Project used in CodePipeline,\nalongside CodeCommit:\n\n```ts\nimport codebuild = require('@aws-cdk/aws-codebuild');\nimport codecommit = require('@aws-cdk/aws-codecommit');\nimport codepipeline = require('@aws-cdk/aws-codepipeline');\n\nconst repository = new codecommit.Repository(this, 'MyRepository', {\n repositoryName: 'MyRepository',\n});\n\nconst project = new codebuild.PipelineProject(this, 'MyProject');\n\nconst pipeline = new codepipeline.Pipeline(this, 'MyPipeline');\n\nconst sourceStage = new codepipeline.Stage(pipeline, 'Source');\nconst sourceAction = new codecommit.PipelineSource(this, 'CodeCommit', {\n stage: sourceStage,\n artifactName: 'SourceOutput',\n repository,\n});\n\nconst buildStage = new codepipeline.Stage(pipeline, 'Build');\nnew codebuild.PipelineBuildAction(this, 'CodeBuild', {\n stage: buildStage,\n inputArtifact: sourceAction.artifact,\n project,\n});\n```\n\nThe `PipelineProject` utility class is a simple sugar around the `Project` class,\nit's equivalent to:\n\n```ts\nconst project = new codebuild.Project(this, 'MyProject', {\n source: new codebuild.CodePipelineSource(),\n artifacts: new codebuild.CodePipelineBuildArtifacts(),\n // rest of the properties from PipelineProject are passed unchanged...\n}\n```\n\n### Using Project as an event target\n\nThe `Project` construct implements the `IEventRuleTarget` interface. This means that it can be\nused as a target for event rules:\n\n```ts\n// start build when a commit is pushed\ncodeCommitRepository.onCommit('OnCommit', project);\n```\n\n### Using Project as an event source\n\nTo define CloudWatch event rules for build projects, use one of the `onXxx` methods:\n\n```ts\nconst rule = project.onStateChange('BuildStateChange');\nrule.addTarget(lambdaFunction);\n```\n" }, "repository": { "type": "git", "url": "https://github.com/awslabs/aws-cdk.git" }, "schema": "jsii/1.0", "targets": { "java": { "maven": { "artifactId": "codebuild", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk.services.codebuild" }, "js": { "npm": "@aws-cdk/aws-codebuild" } }, "types": { "@aws-cdk/aws-codebuild.BitBucketSource": { "assembly": "@aws-cdk/aws-codebuild", "base": { "fqn": "@aws-cdk/aws-codebuild.BuildSource" }, "docs": { "comment": "BitBucket Source definition for a CodeBuild project" }, "fqn": "@aws-cdk/aws-codebuild.BitBucketSource", "initializer": { "initializer": true, "parameters": [ { "name": "httpsCloneUrl", "type": { "primitive": "string" } } ] }, "kind": "class", "methods": [ { "name": "toSourceJSON", "returns": { "fqn": "@aws-cdk/aws-codebuild.cloudformation.ProjectResource.SourceProperty" } } ], "name": "BitBucketSource", "namespace": "@aws-cdk/aws-codebuild" }, "@aws-cdk/aws-codebuild.BuildArtifacts": { "abstract": true, "assembly": "@aws-cdk/aws-codebuild", "fqn": "@aws-cdk/aws-codebuild.BuildArtifacts", "initializer": { "initializer": true }, "kind": "class", "methods": [ { "abstract": true, "name": "toArtifactsJSON", "returns": { "fqn": "@aws-cdk/aws-codebuild.cloudformation.ProjectResource.ArtifactsProperty" } }, { "name": "bind", "parameters": [ { "name": "_project", "type": { "fqn": "@aws-cdk/aws-codebuild.Project" } } ] } ], "name": "BuildArtifacts", "namespace": "@aws-cdk/aws-codebuild" }, "@aws-cdk/aws-codebuild.BuildEnvironment": { "assembly": "@aws-cdk/aws-codebuild", "datatype": true, "fqn": "@aws-cdk/aws-codebuild.BuildEnvironment", "kind": "interface", "name": "BuildEnvironment", "namespace": "@aws-cdk/aws-codebuild", "properties": [ { "docs": { "comment": "The image used for the builds.", "default": "LinuxBuildImage.UBUNTU_14_04_BASE" }, "name": "buildImage", "type": { "fqn": "@aws-cdk/aws-codebuild.IBuildImage", "optional": true } }, { "docs": { "comment": "The type of compute to use for this build.\nSee the {@link ComputeType} enum for the possible values.", "default": "taken from {@link #buildImage#defaultComputeType}" }, "name": "computeType", "type": { "fqn": "@aws-cdk/aws-codebuild.ComputeType", "optional": true } }, { "docs": { "comment": "Indicates how the project builds Docker images. Specify true to enable\nrunning the Docker daemon inside a Docker container. This value must be\nset to true only if this build project will be used to build Docker\nimages, and the specified build environment image is not one provided by\nAWS CodeBuild with Docker support. Otherwise, all associated builds that\nattempt to interact with the Docker daemon will fail.", "default": "false" }, "name": "priviledged", "type": { "optional": true, "primitive": "boolean" } }, { "docs": { "comment": "The environment variables that your builds can use." }, "name": "environmentVariables", "type": { "collection": { "elementtype": { "fqn": "@aws-cdk/aws-codebuild.BuildEnvironmentVariable" }, "kind": "map" }, "optional": true } } ] }, "@aws-cdk/aws-codebuild.BuildEnvironmentVariable": { "assembly": "@aws-cdk/aws-codebuild", "datatype": true, "fqn": "@aws-cdk/aws-codebuild.BuildEnvironmentVariable", "kind": "interface", "name": "BuildEnvironmentVariable", "namespace": "@aws-cdk/aws-codebuild", "properties": [ { "docs": { "comment": "The type of environment variable.", "default": "PlainText" }, "name": "type", "type": { "fqn": "@aws-cdk/aws-codebuild.BuildEnvironmentVariableType", "optional": true } }, { "docs": { "comment": "The value of the environment variable (or the name of the parameter in\nthe SSM parameter store.)" }, "name": "value", "type": { "primitive": "any" } } ] }, "@aws-cdk/aws-codebuild.BuildEnvironmentVariableType": { "assembly": "@aws-cdk/aws-codebuild", "fqn": "@aws-cdk/aws-codebuild.BuildEnvironmentVariableType", "kind": "enum", "members": [ { "name": "PlainText" }, { "name": "ParameterStore" } ], "name": "BuildEnvironmentVariableType", "namespace": "@aws-cdk/aws-codebuild" }, "@aws-cdk/aws-codebuild.BuildSource": { "abstract": true, "assembly": "@aws-cdk/aws-codebuild", "docs": { "comment": "Source Provider definition for a CodeBuild project\nTODO: Abstract class should be an interface" }, "fqn": "@aws-cdk/aws-codebuild.BuildSource", "initializer": { "initializer": true }, "kind": "class", "methods": [ { "docs": { "comment": "Called by the project when the source is added so that the source can perform\nbinding operations on the source. For example, it can grant permissions to the\ncode build project to read from the S3 bucket." }, "name": "bind", "parameters": [ { "name": "_project", "type": { "fqn": "@aws-cdk/aws-codebuild.Project" } } ] }, { "abstract": true, "name": "toSourceJSON", "returns": { "fqn": "@aws-cdk/aws-codebuild.cloudformation.ProjectResource.SourceProperty" } } ], "name": "BuildSource", "namespace": "@aws-cdk/aws-codebuild" }, "@aws-cdk/aws-codebuild.CodeCommitSource": { "assembly": "@aws-cdk/aws-codebuild", "base": { "fqn": "@aws-cdk/aws-codebuild.BuildSource" }, "docs": { "comment": "CodeCommit Source definition for a CodeBuild project" }, "fqn": "@aws-cdk/aws-codebuild.CodeCommitSource", "initializer": { "initializer": true, "parameters": [ { "name": "repo", "type": { "fqn": "@aws-cdk/aws-codecommit.Repository" } } ] }, "kind": "class", "methods": [ { "docs": { "comment": "Called by the project when the source is added so that the source can perform\nbinding operations on the source. For example, it can grant permissions to the\ncode build project to read from the S3 bucket." }, "name": "bind", "parameters": [ { "name": "project", "type": { "fqn": "@aws-cdk/aws-codebuild.Project" } } ] }, { "name": "toSourceJSON", "returns": { "fqn": "@aws-cdk/aws-codebuild.cloudformation.ProjectResource.SourceProperty" } } ], "name": "CodeCommitSource", "namespace": "@aws-cdk/aws-codebuild" }, "@aws-cdk/aws-codebuild.CodePipelineBuildArtifacts": { "assembly": "@aws-cdk/aws-codebuild", "base": { "fqn": "@aws-cdk/aws-codebuild.BuildArtifacts" }, "fqn": "@aws-cdk/aws-codebuild.CodePipelineBuildArtifacts", "initializer": { "initializer": true }, "kind": "class", "methods": [ { "name": "toArtifactsJSON", "returns": { "fqn": "@aws-cdk/aws-codebuild.cloudformation.ProjectResource.ArtifactsProperty" } } ], "name": "CodePipelineBuildArtifacts", "namespace": "@aws-cdk/aws-codebuild" }, "@aws-cdk/aws-codebuild.CodePipelineSource": { "assembly": "@aws-cdk/aws-codebuild", "base": { "fqn": "@aws-cdk/aws-codebuild.BuildSource" }, "docs": { "comment": "CodePipeline Source definition for a CodeBuild project" }, "fqn": "@aws-cdk/aws-codebuild.CodePipelineSource", "initializer": { "initializer": true }, "kind": "class", "methods": [ { "name": "toSourceJSON", "returns": { "fqn": "@aws-cdk/aws-codebuild.cloudformation.ProjectResource.SourceProperty" } }, { "docs": { "comment": "Called by the project when the source is added so that the source can perform\nbinding operations on the source. For example, it can grant permissions to the\ncode build project to read from the S3 bucket." }, "name": "bind", "parameters": [ { "name": "_project", "type": { "fqn": "@aws-cdk/aws-codebuild.Project" } } ] } ], "name": "CodePipelineSource", "namespace": "@aws-cdk/aws-codebuild" }, "@aws-cdk/aws-codebuild.CommonProjectProps": { "assembly": "@aws-cdk/aws-codebuild", "datatype": true, "fqn": "@aws-cdk/aws-codebuild.CommonProjectProps", "kind": "interface", "name": "CommonProjectProps", "namespace": "@aws-cdk/aws-codebuild", "properties": [ { "docs": { "comment": "A description of the project. Use the description to identify the purpose\nof the project." }, "name": "description", "type": { "optional": true, "primitive": "string" } }, { "docs": { "comment": "Filename or contents of buildspec in JSON format.", "see": "https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#build-spec-ref-example" }, "name": "buildSpec", "type": { "optional": true, "primitive": "any" } }, { "docs": { "comment": "Service Role to assume while running the build.\nIf not specified, a role will be created." }, "name": "role", "type": { "fqn": "@aws-cdk/aws-iam.Role", "optional": true } }, { "docs": { "comment": "Encryption key to use to read and write artifacts\nIf not specified, a role will be created." }, "name": "encryptionKey", "type": { "fqn": "@aws-cdk/aws-kms.EncryptionKeyRef", "optional": true } }, { "docs": { "comment": "Bucket to store cached source artifacts\nIf not specified, source artifacts will not be cached." }, "name": "cacheBucket", "type": { "fqn": "@aws-cdk/aws-s3.BucketRef", "optional": true } }, { "docs": { "comment": "Subdirectory to store cached artifacts" }, "name": "cacheDir", "type": { "optional": true, "primitive": "string" } }, { "docs": { "comment": "Build environment to use for the build." }, "name": "environment", "type": { "fqn": "@aws-cdk/aws-codebuild.BuildEnvironment", "optional": true } }, { "docs": { "comment": "Indicates whether AWS CodeBuild generates a publicly accessible URL for\nyour project's build badge. For more information, see Build Badges Sample\nin the AWS CodeBuild User Guide." }, "name": "badge", "type": { "optional": true, "primitive": "boolean" } }, { "docs": { "comment": "The number of minutes after which AWS CodeBuild stops the build if it's\nnot complete. For valid values, see the timeoutInMinutes field in the AWS\nCodeBuild User Guide." }, "name": "timeout", "type": { "optional": true, "primitive": "number" } }, { "docs": { "comment": "Additional environment variables to add to the build environment." }, "name": "environmentVariables", "type": { "collection": { "elementtype": { "fqn": "@aws-cdk/aws-codebuild.BuildEnvironmentVariable" }, "kind": "map" }, "optional": true } }, { "docs": { "comment": "The physical, human-readable name of the CodeBuild Project." }, "name": "projectName", "type": { "optional": true, "primitive": "string" } } ] }, "@aws-cdk/aws-codebuild.ComputeType": { "assembly": "@aws-cdk/aws-codebuild", "docs": { "comment": "Build machine compute type." }, "fqn": "@aws-cdk/aws-codebuild.ComputeType", "kind": "enum", "members": [ { "name": "Small" }, { "name": "Medium" }, { "name": "Large" } ], "name": "ComputeType", "namespace": "@aws-cdk/aws-codebuild" }, "@aws-cdk/aws-codebuild.GitHubEnterpriseSource": { "assembly": "@aws-cdk/aws-codebuild", "base": { "fqn": "@aws-cdk/aws-codebuild.BuildSource" }, "docs": { "comment": "GitHub Enterprice Source definition for a CodeBuild project" }, "fqn": "@aws-cdk/aws-codebuild.GitHubEnterpriseSource", "initializer": { "initializer": true, "parameters": [ { "name": "cloneUrl", "type": { "primitive": "string" } } ] }, "kind": "class", "methods": [ { "name": "toSourceJSON", "returns": { "fqn": "@aws-cdk/aws-codebuild.cloudformation.ProjectResource.SourceProperty" } } ], "name": "GitHubEnterpriseSource", "namespace": "@aws-cdk/aws-codebuild" }, "@aws-cdk/aws-codebuild.GitHubSource": { "assembly": "@aws-cdk/aws-codebuild", "base": { "fqn": "@aws-cdk/aws-codebuild.BuildSource" }, "docs": { "comment": "GitHub Source definition for a CodeBuild project" }, "fqn": "@aws-cdk/aws-codebuild.GitHubSource", "initializer": { "initializer": true, "parameters": [ { "name": "httpscloneUrl", "type": { "primitive": "string" } }, { "name": "oauthToken", "type": { "primitive": "any" } } ] }, "kind": "class", "methods": [ { "name": "toSourceJSON", "returns": { "fqn": "@aws-cdk/aws-codebuild.cloudformation.ProjectResource.SourceProperty" } } ], "name": "GitHubSource", "namespace": "@aws-cdk/aws-codebuild" }, "@aws-cdk/aws-codebuild.IBuildImage": { "assembly": "@aws-cdk/aws-codebuild", "docs": { "comment": "Represents a Docker image used for the CodeBuild Project builds.\nUse the concrete subclasses, either:\n{@link LinuxBuildImage} or {@link WindowsBuildImage}." }, "fqn": "@aws-cdk/aws-codebuild.IBuildImage", "kind": "interface", "methods": [ { "docs": { "comment": "Allows the image a chance to validate whether the passed configuration is correct." }, "name": "validate", "parameters": [ { "docs": { "comment": "the current build environment" }, "name": "buildEnvironment", "type": { "fqn": "@aws-cdk/aws-codebuild.BuildEnvironment" } } ], "returns": { "collection": { "elementtype": { "primitive": "string" }, "kind": "array" } } } ], "name": "IBuildImage", "namespace": "@aws-cdk/aws-codebuild", "properties": [ { "docs": { "comment": "The type of build environment." }, "immutable": true, "name": "type", "type": { "primitive": "string" } }, { "docs": { "comment": "The Docker image identifier that the build environment uses.", "see": "https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-available.html" }, "immutable": true, "name": "imageId", "type": { "primitive": "string" } }, { "docs": { "comment": "The default {@link ComputeType} to use with this image,\nif one was not specified in {@link BuildEnvironment#computeType} explicitly." }, "immutable": true, "name": "defaultComputeType", "type": { "fqn": "@aws-cdk/aws-codebuild.ComputeType" } } ] }, "@aws-cdk/aws-codebuild.LinuxBuildImage": { "assembly": "@aws-cdk/aws-codebuild", "docs": { "comment": "A CodeBuild image running Linux.\nThis class has a bunch of public constants that represent the most popular images.\nIf you need to use with an image that isn't in the named constants,\nyou can always instantiate it directly.", "see": "https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-available.html" }, "fqn": "@aws-cdk/aws-codebuild.LinuxBuildImage", "initializer": { "initializer": true, "parameters": [ { "name": "imageId", "type": { "primitive": "string" } } ] }, "interfaces": [ { "fqn": "@aws-cdk/aws-codebuild.IBuildImage" } ], "kind": "class", "methods": [ { "docs": { "comment": "Allows the image a chance to validate whether the passed configuration is correct." }, "name": "validate", "parameters": [ { "name": "_", "type": { "fqn": "@aws-cdk/aws-codebuild.BuildEnvironment" } } ], "returns": { "collection": { "elementtype": { "primitive": "string" }, "kind": "array" } } } ], "name": "LinuxBuildImage", "namespace": "@aws-cdk/aws-codebuild", "properties": [ { "const": true, "immutable": true, "name": "UBUNTU_14_04_BASE", "static": true, "type": { "fqn": "@aws-cdk/aws-codebuild.LinuxBuildImage" } }, { "const": true, "immutable": true, "name": "UBUNTU_14_04_ANDROID_JAVA8_24_4_1", "static": true, "type": { "fqn": "@aws-cdk/aws-codebuild.LinuxBuildImage" } }, { "const": true, "immutable": true, "name": "UBUNTU_14_04_ANDROID_JAVA8_26_1_1", "static": true, "type": { "fqn": "@aws-cdk/aws-codebuild.LinuxBuildImage" } }, { "const": true, "immutable": true, "name": "UBUNTU_14_04_DOCKER_17_09_0", "static": true, "type": { "fqn": "@aws-cdk/aws-codebuild.LinuxBuildImage" } }, { "const": true, "immutable": true, "name": "UBUNTU_14_04_GOLANG_1_10", "static": true, "type": { "fqn": "@aws-cdk/aws-codebuild.LinuxBuildImage" } }, { "const": true, "immutable": true, "name": "UBUNTU_14_04_OPEN_JDK_8", "static": true, "type": { "fqn": "@aws-cdk/aws-codebuild.LinuxBuildImage" } }, { "const": true, "immutable": true, "name": "UBUNTU_14_04_OPEN_JDK_9", "static": true, "type": { "fqn": "@aws-cdk/aws-codebuild.LinuxBuildImage" } }, { "const": true, "immutable": true, "name": "UBUNTU_14_04_NODEJS_10_1_0", "static": true, "type": { "fqn": "@aws-cdk/aws-codebuild.LinuxBuildImage" } }, { "const": true, "immutable": true, "name": "UBUNTU_14_04_NODEJS_8_11_0", "static": true, "type": { "fqn": "@aws-cdk/aws-codebuild.LinuxBuildImage" } }, { "const": true, "immutable": true, "name": "UBUNTU_14_04_NODEJS_6_3_1", "static": true, "type": { "fqn": "@aws-cdk/aws-codebuild.LinuxBuildImage" } }, { "const": true, "immutable": true, "name": "UBUNTU_14_04_PHP_5_6", "static": true, "type": { "fqn": "@aws-cdk/aws-codebuild.LinuxBuildImage" } }, { "const": true, "immutable": true, "name": "UBUNTU_14_04_PHP_7_0", "static": true, "type": { "fqn": "@aws-cdk/aws-codebuild.LinuxBuildImage" } }, { "const": true, "immutable": true, "name": "UBUNTU_14_04_PYTHON_3_6_5", "static": true, "type": { "fqn": "@aws-cdk/aws-codebuild.LinuxBuildImage" } }, { "const": true, "immutable": true, "name": "UBUNTU_14_04_PYTHON_3_5_2", "static": true, "type": { "fqn": "@aws-cdk/aws-codebuild.LinuxBuildImage" } }, { "const": true, "immutable": true, "name": "UBUNTU_14_04_PYTHON_3_4_5", "static": true, "type": { "fqn": "@aws-cdk/aws-codebuild.LinuxBuildImage" } }, { "const": true, "immutable": true, "name": "UBUNTU_14_04_PYTHON_3_3_6", "static": true, "type": { "fqn": "@aws-cdk/aws-codebuild.LinuxBuildImage" } }, { "const": true, "immutable": true, "name": "UBUNTU_14_04_PYTHON_2_7_12", "static": true, "type": { "fqn": "@aws-cdk/aws-codebuild.LinuxBuildImage" } }, { "const": true, "immutable": true, "name": "UBUNTU_14_04_RUBY_2_5_1", "static": true, "type": { "fqn": "@aws-cdk/aws-codebuild.LinuxBuildImage" } }, { "const": true, "immutable": true, "name": "UBUNTU_14_04_RUBY_2_3_1", "static": true, "type": { "fqn": "@aws-cdk/aws-codebuild.LinuxBuildImage" } }, { "const": true, "immutable": true, "name": "UBUNTU_14_04_RUBY_2_2_5", "static": true, "type": { "fqn": "@aws-cdk/aws-codebuild.LinuxBuildImage" } }, { "const": true, "immutable": true, "name": "UBUNTU_14_04_DOTNET_CORE_1_1", "static": true, "type": { "fqn": "@aws-cdk/aws-codebuild.LinuxBuildImage" } }, { "const": true, "immutable": true, "name": "UBUNTU_14_04_DOTNET_CORE_2_0", "static": true, "type": { "fqn": "@aws-cdk/aws-codebuild.LinuxBuildImage" } }, { "const": true, "immutable": true, "name": "UBUNTU_14_04_DOTNET_CORE_2_1", "static": true, "type": { "fqn": "@aws-cdk/aws-codebuild.LinuxBuildImage" } }, { "docs": { "comment": "The type of build environment." }, "immutable": true, "name": "type", "type": { "primitive": "string" } }, { "docs": { "comment": "The default {@link ComputeType} to use with this image,\nif one was not specified in {@link BuildEnvironment#computeType} explicitly." }, "immutable": true, "name": "defaultComputeType", "type": { "fqn": "@aws-cdk/aws-codebuild.ComputeType" } }, { "immutable": true, "name": "imageId", "type": { "primitive": "string" } } ] }, "@aws-cdk/aws-codebuild.NoBuildArtifacts": { "assembly": "@aws-cdk/aws-codebuild", "base": { "fqn": "@aws-cdk/aws-codebuild.BuildArtifacts" }, "fqn": "@aws-cdk/aws-codebuild.NoBuildArtifacts", "initializer": { "initializer": true }, "kind": "class", "methods": [ { "name": "toArtifactsJSON", "returns": { "fqn": "@aws-cdk/aws-codebuild.cloudformation.ProjectResource.ArtifactsProperty" } } ], "name": "NoBuildArtifacts", "namespace": "@aws-cdk/aws-codebuild" }, "@aws-cdk/aws-codebuild.PipelineBuildAction": { "assembly": "@aws-cdk/aws-codebuild", "base": { "fqn": "@aws-cdk/aws-codepipeline-api.BuildAction" }, "docs": { "comment": "CodePipeline build Action that uses AWS CodeBuild." }, "fqn": "@aws-cdk/aws-codebuild.PipelineBuildAction", "initializer": { "initializer": true, "parameters": [ { "name": "parent", "type": { "fqn": "@aws-cdk/cdk.Construct" } }, { "name": "name", "type": { "primitive": "string" } }, { "name": "props", "type": { "fqn": "@aws-cdk/aws-codebuild.PipelineBuildActionProps" } } ] }, "kind": "class", "name": "PipelineBuildAction", "namespace": "@aws-cdk/aws-codebuild" }, "@aws-cdk/aws-codebuild.PipelineBuildActionProps": { "assembly": "@aws-cdk/aws-codebuild", "datatype": true, "docs": { "comment": "Construction properties of the {@link PipelineBuildAction CodeBuild build CodePipeline Action}." }, "fqn": "@aws-cdk/aws-codebuild.PipelineBuildActionProps", "interfaces": [ { "fqn": "@aws-cdk/aws-codepipeline-api.CommonActionProps" } ], "kind": "interface", "name": "PipelineBuildActionProps", "namespace": "@aws-cdk/aws-codebuild", "properties": [ { "docs": { "comment": "The source to use as input for this build" }, "name": "inputArtifact", "type": { "fqn": "@aws-cdk/aws-codepipeline-api.Artifact" } }, { "docs": { "comment": "The name of the build's output artifact" }, "name": "artifactName", "type": { "optional": true, "primitive": "string" } }, { "docs": { "comment": "The build project" }, "name": "project", "type": { "fqn": "@aws-cdk/aws-codebuild.ProjectRef" } } ] }, "@aws-cdk/aws-codebuild.PipelineProject": { "assembly": "@aws-cdk/aws-codebuild", "base": { "fqn": "@aws-cdk/aws-codebuild.Project" }, "docs": { "comment": "A convenience class for CodeBuild Projects that are used in CodePipeline." }, "fqn": "@aws-cdk/aws-codebuild.PipelineProject", "initializer": { "initializer": true, "parameters": [ { "name": "parent", "type": { "fqn": "@aws-cdk/cdk.Construct" } }, { "name": "id", "type": { "primitive": "string" } }, { "name": "props", "type": { "fqn": "@aws-cdk/aws-codebuild.PipelineProjectProps", "optional": true } } ] }, "kind": "class", "name": "PipelineProject", "namespace": "@aws-cdk/aws-codebuild" }, "@aws-cdk/aws-codebuild.PipelineProjectProps": { "assembly": "@aws-cdk/aws-codebuild", "fqn": "@aws-cdk/aws-codebuild.PipelineProjectProps", "interfaces": [ { "fqn": "@aws-cdk/aws-codebuild.CommonProjectProps" } ], "kind": "interface", "name": "PipelineProjectProps", "namespace": "@aws-cdk/aws-codebuild" }, "@aws-cdk/aws-codebuild.Project": { "assembly": "@aws-cdk/aws-codebuild", "base": { "fqn": "@aws-cdk/aws-codebuild.ProjectRef" }, "docs": { "comment": "A representation of a CodeBuild Project." }, "fqn": "@aws-cdk/aws-codebuild.Project", "initializer": { "initializer": true, "parameters": [ { "name": "parent", "type": { "fqn": "@aws-cdk/cdk.Construct" } }, { "name": "name", "type": { "primitive": "string" } }, { "name": "props", "type": { "fqn": "@aws-cdk/aws-codebuild.ProjectProps" } } ] }, "kind": "class", "methods": [ { "docs": { "comment": "Add a permission only if there's a policy attached." }, "name": "addToRolePolicy", "parameters": [ { "docs": { "comment": "The permissions statement to add" }, "name": "statement", "type": { "fqn": "@aws-cdk/cdk.PolicyStatement" } } ] } ], "name": "Project", "namespace": "@aws-cdk/aws-codebuild", "properties": [ { "docs": { "comment": "The IAM role for this project." }, "immutable": true, "name": "role", "type": { "fqn": "@aws-cdk/aws-iam.Role", "optional": true } }, { "docs": { "comment": "The ARN of the project." }, "immutable": true, "name": "projectArn", "type": { "fqn": "@aws-cdk/aws-codebuild.ProjectArn" } }, { "docs": { "comment": "The name of the project." }, "immutable": true, "name": "projectName", "type": { "fqn": "@aws-cdk/aws-codebuild.ProjectName" } } ] }, "@aws-cdk/aws-codebuild.ProjectArn": { "assembly": "@aws-cdk/aws-codebuild", "base": { "fqn": "@aws-cdk/cdk.Arn" }, "fqn": "@aws-cdk/aws-codebuild.ProjectArn", "initializer": { "docs": { "comment": "Creates a token that resolves to `value`.\n\nIf value is a function, the function is evaluated upon resolution and\nthe value it returns will be used as the token's value.\n\ndisplayName is used to represent the Token when it's embedded into a string; it\nwill look something like this:\n\n \"embedded in a larger string is ${Token[DISPLAY_NAME.123]}\"\n\nThis value is used as a hint to humans what the meaning of the Token is,\nand does not have any effect on the evaluation.\n\nMust contain only alphanumeric and simple separator characters (_.:-)." }, "initializer": true, "parameters": [ { "docs": { "comment": "What this token will evaluate to, literal or function." }, "name": "valueOrFunction", "type": { "optional": true, "primitive": "any" } }, { "docs": { "comment": "A human-readable display hint for this Token" }, "name": "displayName", "type": { "optional": true, "primitive": "string" } } ] }, "kind": "class", "name": "ProjectArn", "namespace": "@aws-cdk/aws-codebuild" }, "@aws-cdk/aws-codebuild.ProjectName": { "assembly": "@aws-cdk/aws-codebuild", "base": { "fqn": "@aws-cdk/cdk.Token" }, "fqn": "@aws-cdk/aws-codebuild.ProjectName", "initializer": { "docs": { "comment": "Creates a token that resolves to `value`.\n\nIf value is a function, the function is evaluated upon resolution and\nthe value it returns will be used as the token's value.\n\ndisplayName is used to represent the Token when it's embedded into a string; it\nwill look something like this:\n\n \"embedded in a larger string is ${Token[DISPLAY_NAME.123]}\"\n\nThis value is used as a hint to humans what the meaning of the Token is,\nand does not have any effect on the evaluation.\n\nMust contain only alphanumeric and simple separator characters (_.:-)." }, "initializer": true, "parameters": [ { "docs": { "comment": "What this token will evaluate to, literal or function." }, "name": "valueOrFunction", "type": { "optional": true, "primitive": "any" } }, { "docs": { "comment": "A human-readable display hint for this Token" }, "name": "displayName", "type": { "optional": true, "primitive": "string" } } ] }, "kind": "class", "name": "ProjectName", "namespace": "@aws-cdk/aws-codebuild" }, "@aws-cdk/aws-codebuild.ProjectProps": { "assembly": "@aws-cdk/aws-codebuild", "datatype": true, "fqn": "@aws-cdk/aws-codebuild.ProjectProps", "interfaces": [ { "fqn": "@aws-cdk/aws-codebuild.CommonProjectProps" } ], "kind": "interface", "name": "ProjectProps", "namespace": "@aws-cdk/aws-codebuild", "properties": [ { "docs": { "comment": "The source of the build." }, "name": "source", "type": { "fqn": "@aws-cdk/aws-codebuild.BuildSource" } }, { "docs": { "comment": "Defines where build artifacts will be stored.\nCould be: PipelineBuildArtifacts, NoBuildArtifacts and S3BucketBuildArtifacts.", "default": "NoBuildArtifacts" }, "name": "artifacts", "type": { "fqn": "@aws-cdk/aws-codebuild.BuildArtifacts", "optional": true } } ] }, "@aws-cdk/aws-codebuild.ProjectRef": { "abstract": true, "assembly": "@aws-cdk/aws-codebuild", "base": { "fqn": "@aws-cdk/cdk.Construct" }, "docs": { "comment": "Represents a reference to a CodeBuild Project.\n\nIf you're managing the Project alongside the rest of your CDK resources,\nuse the {@link Project} class.\n\nIf you want to reference an already existing Project\n(or one defined in a different CDK Stack),\nuse the {@link import} method." }, "fqn": "@aws-cdk/aws-codebuild.ProjectRef", "initializer": { "docs": { "comment": "Creates a new construct node." }, "initializer": true, "parameters": [ { "docs": { "comment": "The parent construct" }, "name": "parent", "type": { "fqn": "@aws-cdk/cdk.Construct" } }, { "name": "id", "type": { "primitive": "string" } } ] }, "interfaces": [ { "fqn": "@aws-cdk/aws-events.IEventRuleTarget" } ], "kind": "class", "methods": [ { "docs": { "comment": "Import a Project defined either outside the CDK,\nor in a different CDK Stack\n(and exported using the {@link export} method).", "note": "if you're importing a CodeBuild Project for use\nin a CodePipeline, make sure the existing Project\nhas permissions to access the S3 Bucket of that Pipeline -\notherwise, builds in that Pipeline will always fail.", "return": "a reference to the existing Project" }, "name": "import", "parameters": [ { "docs": { "comment": "the parent Construct for this Construct" }, "name": "parent", "type": { "fqn": "@aws-cdk/cdk.Construct" } }, { "docs": { "comment": "the logical name of this Construct" }, "name": "name", "type": { "primitive": "string" } }, { "docs": { "comment": "the properties of the referenced Project" }, "name": "props", "type": { "fqn": "@aws-cdk/aws-codebuild.ProjectRefProps" } } ], "returns": { "fqn": "@aws-cdk/aws-codebuild.ProjectRef" }, "static": true }, { "docs": { "comment": "Export this Project. Allows referencing this Project in a different CDK Stack." }, "name": "export", "returns": { "fqn": "@aws-cdk/aws-codebuild.ProjectRefProps" } }, { "docs": { "comment": "Defines a CloudWatch event rule triggered when the build project state\nchanges. You can filter specific build status events using an event\npattern filter on the `build-status` detail field:\n\n const rule = project.onStateChange('OnBuildStarted', target);\n rule.addEventPattern({\n detail: {\n 'build-status': [\n \"IN_PROGRESS\",\n \"SUCCEEDED\",\n \"FAILED\",\n \"STOPPED\"\n ]\n }\n });\n\nYou can also use the methods `onBuildFailed` and `onBuildSucceeded` to define rules for\nthese specific state changes.", "see": "https://docs.aws.amazon.com/codebuild/latest/userguide/sample-build-notifications.html" }, "name": "onStateChange", "parameters": [ { "name": "name", "type": { "primitive": "string" } }, { "name": "target", "type": { "fqn": "@aws-cdk/aws-events.IEventRuleTarget", "optional": true } }, { "name": "options", "type": { "fqn": "@aws-cdk/aws-events.EventRuleProps", "optional": true } } ], "returns": { "fqn": "@aws-cdk/aws-events.EventRule" } }, { "docs": { "comment": "Defines a CloudWatch event rule that triggers upon phase change of this\nbuild project.", "see": "https://docs.aws.amazon.com/codebuild/latest/userguide/sample-build-notifications.html" }, "name": "onPhaseChange", "parameters": [ { "name": "name", "type": { "primitive": "string" } }, { "name": "target", "type": { "fqn": "@aws-cdk/aws-events.IEventRuleTarget", "optional": true } }, { "name": "options", "type": { "fqn": "@aws-cdk/aws-events.EventRuleProps", "optional": true } } ], "returns": { "fqn": "@aws-cdk/aws-events.EventRule" } }, { "docs": { "comment": "Defines an event rule which triggers when a build starts." }, "name": "onBuildStarted", "parameters": [ { "name": "name", "type": { "primitive": "string" } }, { "name": "target", "type": { "fqn": "@aws-cdk/aws-events.IEventRuleTarget", "optional": true } }, { "name": "options", "type": { "fqn": "@aws-cdk/aws-events.EventRuleProps", "optional": true } } ], "returns": { "fqn": "@aws-cdk/aws-events.EventRule" } }, { "docs": { "comment": "Defines an event rule which triggers when a build fails." }, "name": "onBuildFailed", "parameters": [ { "name": "name", "type": { "primitive": "string" } }, { "name": "target", "type": { "fqn": "@aws-cdk/aws-events.IEventRuleTarget", "optional": true } }, { "name": "options", "type": { "fqn": "@aws-cdk/aws-events.EventRuleProps", "optional": true } } ], "returns": { "fqn": "@aws-cdk/aws-events.EventRule" } }, { "docs": { "comment": "Defines an event rule which triggers when a build completes successfully." }, "name": "onBuildSucceeded", "parameters": [ { "name": "name", "type": { "primitive": "string" } }, { "name": "target", "type": { "fqn": "@aws-cdk/aws-events.IEventRuleTarget", "optional": true } }, { "name": "options", "type": { "fqn": "@aws-cdk/aws-events.EventRuleProps", "optional": true } } ], "returns": { "fqn": "@aws-cdk/aws-events.EventRule" } }, { "docs": { "return": "a CloudWatch metric associated with this build project." }, "name": "metric", "parameters": [ { "docs": { "comment": "The name of the metric" }, "name": "metricName", "type": { "primitive": "string" } }, { "docs": { "comment": "Customization properties" }, "name": "props", "type": { "fqn": "@aws-cdk/aws-cloudwatch.MetricCustomization" } } ], "returns": { "fqn": "@aws-cdk/aws-cloudwatch.Metric" } }, { "docs": { "comment": "Measures the number of builds triggered.\n\nUnits: Count\n\nValid CloudWatch statistics: Sum", "default": "sum over 5 minutes" }, "name": "metricBuilds", "parameters": [ { "name": "props", "type": { "fqn": "@aws-cdk/aws-cloudwatch.MetricCustomization", "optional": true } } ], "returns": { "fqn": "@aws-cdk/aws-cloudwatch.Metric" } }, { "docs": { "comment": "Measures the duration of all builds over time.\n\nUnits: Seconds\n\nValid CloudWatch statistics: Average (recommended), Maximum, Minimum", "default": "average over 5 minutes" }, "name": "metricDuration", "parameters": [ { "name": "props", "type": { "fqn": "@aws-cdk/aws-cloudwatch.MetricCustomization", "optional": true } } ], "returns": { "fqn": "@aws-cdk/aws-cloudwatch.Metric" } }, { "docs": { "comment": "Measures the number of successful builds.\n\nUnits: Count\n\nValid CloudWatch statistics: Sum", "default": "sum over 5 minutes" }, "name": "metricSucceededBuilds", "parameters": [ { "name": "props", "type": { "fqn": "@aws-cdk/aws-cloudwatch.MetricCustomization", "optional": true } } ], "returns": { "fqn": "@aws-cdk/aws-cloudwatch.Metric" } }, { "docs": { "comment": "Measures the number of builds that failed because of client error or\nbecause of a timeout.\n\nUnits: Count\n\nValid CloudWatch statistics: Sum", "default": "sum over 5 minutes" }, "name": "metricFailedBuilds", "parameters": [ { "name": "props", "type": { "fqn": "@aws-cdk/aws-cloudwatch.MetricCustomization", "optional": true } } ], "returns": { "fqn": "@aws-cdk/aws-cloudwatch.Metric" } }, { "docs": { "comment": "Allows using build projects as event rule targets." }, "name": "asEventRuleTarget", "parameters": [ { "name": "_ruleArn", "type": { "fqn": "@aws-cdk/aws-events.RuleArn" } }, { "name": "_ruleId", "type": { "primitive": "string" } } ], "returns": { "fqn": "@aws-cdk/aws-events.EventRuleTargetProps" } } ], "name": "ProjectRef", "namespace": "@aws-cdk/aws-codebuild", "properties": [ { "abstract": true, "docs": { "comment": "The ARN of this Project. " }, "immutable": true, "name": "projectArn", "type": { "fqn": "@aws-cdk/aws-codebuild.ProjectArn" } }, { "abstract": true, "docs": { "comment": "The human-visible name of this Project. " }, "immutable": true, "name": "projectName", "type": { "fqn": "@aws-cdk/aws-codebuild.ProjectName" } }, { "abstract": true, "docs": { "comment": "The IAM service Role of this Project. Undefined for imported Projects. " }, "immutable": true, "name": "role", "type": { "fqn": "@aws-cdk/aws-iam.Role", "optional": true } } ] }, "@aws-cdk/aws-codebuild.ProjectRefProps": { "assembly": "@aws-cdk/aws-codebuild", "datatype": true, "docs": { "comment": "Properties of a reference to a CodeBuild Project.", "see": "ProjectRef.export" }, "fqn": "@aws-cdk/aws-codebuild.ProjectRefProps", "kind": "interface", "name": "ProjectRefProps", "namespace": "@aws-cdk/aws-codebuild", "properties": [ { "docs": { "comment": "The human-readable name of the CodeBuild Project we're referencing.\nThe Project must be in the same account and region as the root Stack." }, "name": "projectName", "type": { "fqn": "@aws-cdk/aws-codebuild.ProjectName" } } ] }, "@aws-cdk/aws-codebuild.S3BucketBuildArtifacts": { "assembly": "@aws-cdk/aws-codebuild", "base": { "fqn": "@aws-cdk/aws-codebuild.BuildArtifacts" }, "fqn": "@aws-cdk/aws-codebuild.S3BucketBuildArtifacts", "initializer": { "initializer": true, "parameters": [ { "name": "props", "type": { "fqn": "@aws-cdk/aws-codebuild.S3BucketBuildArtifactsProps" } } ] }, "kind": "class", "methods": [ { "name": "bind", "parameters": [ { "name": "project", "type": { "fqn": "@aws-cdk/aws-codebuild.Project" } } ] }, { "name": "toArtifactsJSON", "returns": { "fqn": "@aws-cdk/aws-codebuild.cloudformation.ProjectResource.ArtifactsProperty" } } ], "name": "S3BucketBuildArtifacts", "namespace": "@aws-cdk/aws-codebuild" }, "@aws-cdk/aws-codebuild.S3BucketBuildArtifactsProps": { "assembly": "@aws-cdk/aws-codebuild", "datatype": true, "fqn": "@aws-cdk/aws-codebuild.S3BucketBuildArtifactsProps", "kind": "interface", "name": "S3BucketBuildArtifactsProps", "namespace": "@aws-cdk/aws-codebuild", "properties": [ { "docs": { "comment": "The name of the output bucket." }, "name": "bucket", "type": { "fqn": "@aws-cdk/aws-s3.BucketRef" } }, { "docs": { "comment": "The path inside of the bucket for the build output .zip file or folder.\nIf a value is not specified, then build output will be stored at the root of the\nbucket (or under the directory if `includeBuildId` is set to true)." }, "name": "path", "type": { "optional": true, "primitive": "string" } }, { "docs": { "comment": "The name of the build output ZIP file or folder inside the bucket.\n\nThe full S3 object key will be \"/build-ID/\" or\n\"/\" depending on whether `includeBuildId` is set to true." }, "name": "name", "type": { "primitive": "string" } }, { "docs": { "comment": "Indicates if the build ID should be included in the path. If this is set to true,\nthen the build artifact will be stored in \"//\".", "default": "true" }, "name": "includeBuildID", "type": { "optional": true, "primitive": "boolean" } }, { "docs": { "comment": "If this is true, all build output will be packaged into a single .zip file.\nOtherwise, all files will be uploaded to /", "default": "true - files will be archived" }, "name": "packageZip", "type": { "optional": true, "primitive": "boolean" } } ] }, "@aws-cdk/aws-codebuild.S3BucketSource": { "assembly": "@aws-cdk/aws-codebuild", "base": { "fqn": "@aws-cdk/aws-codebuild.BuildSource" }, "docs": { "comment": "S3 bucket definition for a CodeBuild project." }, "fqn": "@aws-cdk/aws-codebuild.S3BucketSource", "initializer": { "initializer": true, "parameters": [ { "name": "bucket", "type": { "fqn": "@aws-cdk/aws-s3.BucketRef" } }, { "name": "path", "type": { "primitive": "string" } } ] }, "kind": "class", "methods": [ { "name": "toSourceJSON", "returns": { "fqn": "@aws-cdk/aws-codebuild.cloudformation.ProjectResource.SourceProperty" } }, { "docs": { "comment": "Called by the project when the source is added so that the source can perform\nbinding operations on the source. For example, it can grant permissions to the\ncode build project to read from the S3 bucket." }, "name": "bind", "parameters": [ { "name": "project", "type": { "fqn": "@aws-cdk/aws-codebuild.Project" } } ] } ], "name": "S3BucketSource", "namespace": "@aws-cdk/aws-codebuild" }, "@aws-cdk/aws-codebuild.SourceType": { "assembly": "@aws-cdk/aws-codebuild", "docs": { "comment": "Source types for CodeBuild Project" }, "fqn": "@aws-cdk/aws-codebuild.SourceType", "kind": "enum", "members": [ { "name": "CodeCommit" }, { "name": "CodePipeline" }, { "name": "GitHub" }, { "name": "GitHubEnterPrise" }, { "name": "BitBucket" }, { "name": "S3" } ], "name": "SourceType", "namespace": "@aws-cdk/aws-codebuild" }, "@aws-cdk/aws-codebuild.WindowsBuildImage": { "assembly": "@aws-cdk/aws-codebuild", "docs": { "comment": "A CodeBuild image running Windows.\nThis class has a bunch of public constants that represent the most popular images.\nIf you need to use with an image that isn't in the named constants,\nyou can always instantiate it directly.", "see": "https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-available.html" }, "fqn": "@aws-cdk/aws-codebuild.WindowsBuildImage", "initializer": { "initializer": true, "parameters": [ { "name": "imageId", "type": { "primitive": "string" } } ] }, "interfaces": [ { "fqn": "@aws-cdk/aws-codebuild.IBuildImage" } ], "kind": "class", "methods": [ { "docs": { "comment": "Allows the image a chance to validate whether the passed configuration is correct." }, "name": "validate", "parameters": [ { "name": "buildEnvironment", "type": { "fqn": "@aws-cdk/aws-codebuild.BuildEnvironment" } } ], "returns": { "collection": { "elementtype": { "primitive": "string" }, "kind": "array" } } } ], "name": "WindowsBuildImage", "namespace": "@aws-cdk/aws-codebuild", "properties": [ { "const": true, "immutable": true, "name": "WIN_SERVER_CORE_2016_BASE", "static": true, "type": { "fqn": "@aws-cdk/aws-codebuild.WindowsBuildImage" } }, { "docs": { "comment": "The type of build environment." }, "immutable": true, "name": "type", "type": { "primitive": "string" } }, { "docs": { "comment": "The default {@link ComputeType} to use with this image,\nif one was not specified in {@link BuildEnvironment#computeType} explicitly." }, "immutable": true, "name": "defaultComputeType", "type": { "fqn": "@aws-cdk/aws-codebuild.ComputeType" } }, { "immutable": true, "name": "imageId", "type": { "primitive": "string" } } ] }, "@aws-cdk/aws-codebuild.cloudformation.ProjectResource": { "assembly": "@aws-cdk/aws-codebuild", "base": { "fqn": "@aws-cdk/cdk.Resource" }, "docs": { "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html" }, "fqn": "@aws-cdk/aws-codebuild.cloudformation.ProjectResource", "initializer": { "docs": { "comment": "Creates a new ``AWS::CodeBuild::Project``." }, "initializer": true, "parameters": [ { "docs": { "comment": "the ``cdk.Construct`` this ``ProjectResource`` is a part of" }, "name": "parent", "type": { "fqn": "@aws-cdk/cdk.Construct" } }, { "docs": { "comment": "the name of the resource in the ``cdk.Construct`` tree" }, "name": "name", "type": { "primitive": "string" } }, { "docs": { "comment": "the properties of this ``ProjectResource``" }, "name": "properties", "type": { "fqn": "@aws-cdk/aws-codebuild.cloudformation.ProjectResourceProps" } } ] }, "kind": "class", "methods": [ { "name": "renderProperties", "protected": true, "returns": { "collection": { "elementtype": { "primitive": "any" }, "kind": "map" } } } ], "name": "ProjectResource", "namespace": "@aws-cdk/aws-codebuild.cloudformation", "properties": [ { "const": true, "docs": { "comment": "The CloudFormation resource type name for this resource class." }, "immutable": true, "name": "resourceTypeName", "static": true, "type": { "primitive": "string" } }, { "docs": { "cloudformation_attribute": "Arn" }, "immutable": true, "name": "projectArn", "type": { "fqn": "@aws-cdk/aws-codebuild.ProjectArn" } } ], "subtypes": [ "@aws-cdk/aws-codebuild.cloudformation.ProjectResource.ArtifactsProperty", "@aws-cdk/aws-codebuild.cloudformation.ProjectResource.EnvironmentProperty", "@aws-cdk/aws-codebuild.cloudformation.ProjectResource.EnvironmentVariableProperty", "@aws-cdk/aws-codebuild.cloudformation.ProjectResource.ProjectCacheProperty", "@aws-cdk/aws-codebuild.cloudformation.ProjectResource.ProjectTriggersProperty", "@aws-cdk/aws-codebuild.cloudformation.ProjectResource.SourceProperty", "@aws-cdk/aws-codebuild.cloudformation.ProjectResource.SourceAuthProperty", "@aws-cdk/aws-codebuild.cloudformation.ProjectResource.VpcConfigProperty" ] }, "@aws-cdk/aws-codebuild.cloudformation.ProjectResource.ArtifactsProperty": { "assembly": "@aws-cdk/aws-codebuild", "datatype": true, "docs": { "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-artifacts.html" }, "fqn": "@aws-cdk/aws-codebuild.cloudformation.ProjectResource.ArtifactsProperty", "kind": "interface", "name": "ArtifactsProperty", "namespace": "@aws-cdk/aws-codebuild.cloudformation.ProjectResource", "parenttype": "@aws-cdk/aws-codebuild.cloudformation.ProjectResource", "properties": [ { "docs": { "comment": "``ProjectResource.ArtifactsProperty.Location``", "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-artifacts.html#cfn-codebuild-project-artifacts-location" }, "name": "location", "type": { "optional": true, "union": { "types": [ { "primitive": "string" }, { "fqn": "@aws-cdk/cdk.Token" } ] } } }, { "docs": { "comment": "``ProjectResource.ArtifactsProperty.Name``", "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-artifacts.html#cfn-codebuild-project-artifacts-name" }, "name": "name", "type": { "optional": true, "union": { "types": [ { "primitive": "string" }, { "fqn": "@aws-cdk/cdk.Token" } ] } } }, { "docs": { "comment": "``ProjectResource.ArtifactsProperty.NamespaceType``", "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-artifacts.html#cfn-codebuild-project-artifacts-namespacetype" }, "name": "namespaceType", "type": { "optional": true, "union": { "types": [ { "primitive": "string" }, { "fqn": "@aws-cdk/cdk.Token" } ] } } }, { "docs": { "comment": "``ProjectResource.ArtifactsProperty.Packaging``", "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-artifacts.html#cfn-codebuild-project-artifacts-packaging" }, "name": "packaging", "type": { "optional": true, "union": { "types": [ { "primitive": "string" }, { "fqn": "@aws-cdk/cdk.Token" } ] } } }, { "docs": { "comment": "``ProjectResource.ArtifactsProperty.Path``", "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-artifacts.html#cfn-codebuild-project-artifacts-path" }, "name": "path", "type": { "optional": true, "union": { "types": [ { "primitive": "string" }, { "fqn": "@aws-cdk/cdk.Token" } ] } } }, { "docs": { "comment": "``ProjectResource.ArtifactsProperty.Type``", "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-artifacts.html#cfn-codebuild-project-artifacts-type" }, "name": "type", "type": { "union": { "types": [ { "primitive": "string" }, { "fqn": "@aws-cdk/cdk.Token" } ] } } } ] }, "@aws-cdk/aws-codebuild.cloudformation.ProjectResource.EnvironmentProperty": { "assembly": "@aws-cdk/aws-codebuild", "datatype": true, "docs": { "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-environment.html" }, "fqn": "@aws-cdk/aws-codebuild.cloudformation.ProjectResource.EnvironmentProperty", "kind": "interface", "name": "EnvironmentProperty", "namespace": "@aws-cdk/aws-codebuild.cloudformation.ProjectResource", "parenttype": "@aws-cdk/aws-codebuild.cloudformation.ProjectResource", "properties": [ { "docs": { "comment": "``ProjectResource.EnvironmentProperty.ComputeType``", "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-environment.html#cfn-codebuild-project-environment-computetype" }, "name": "computeType", "type": { "union": { "types": [ { "primitive": "string" }, { "fqn": "@aws-cdk/cdk.Token" } ] } } }, { "docs": { "comment": "``ProjectResource.EnvironmentProperty.EnvironmentVariables``", "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-environment.html#cfn-codebuild-project-environment-environmentvariables" }, "name": "environmentVariables", "type": { "optional": true, "union": { "types": [ { "fqn": "@aws-cdk/cdk.Token" }, { "collection": { "elementtype": { "union": { "types": [ { "fqn": "@aws-cdk/cdk.Token" }, { "fqn": "@aws-cdk/aws-codebuild.cloudformation.ProjectResource.EnvironmentVariableProperty" } ] } }, "kind": "array" } } ] } } }, { "docs": { "comment": "``ProjectResource.EnvironmentProperty.Image``", "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-environment.html#cfn-codebuild-project-environment-image" }, "name": "image", "type": { "union": { "types": [ { "primitive": "string" }, { "fqn": "@aws-cdk/cdk.Token" } ] } } }, { "docs": { "comment": "``ProjectResource.EnvironmentProperty.PrivilegedMode``", "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-environment.html#cfn-codebuild-project-environment-privilegedmode" }, "name": "privilegedMode", "type": { "optional": true, "union": { "types": [ { "primitive": "boolean" }, { "fqn": "@aws-cdk/cdk.Token" } ] } } }, { "docs": { "comment": "``ProjectResource.EnvironmentProperty.Type``", "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-environment.html#cfn-codebuild-project-environment-type" }, "name": "type", "type": { "union": { "types": [ { "primitive": "string" }, { "fqn": "@aws-cdk/cdk.Token" } ] } } } ] }, "@aws-cdk/aws-codebuild.cloudformation.ProjectResource.EnvironmentVariableProperty": { "assembly": "@aws-cdk/aws-codebuild", "datatype": true, "docs": { "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-environmentvariable.html" }, "fqn": "@aws-cdk/aws-codebuild.cloudformation.ProjectResource.EnvironmentVariableProperty", "kind": "interface", "name": "EnvironmentVariableProperty", "namespace": "@aws-cdk/aws-codebuild.cloudformation.ProjectResource", "parenttype": "@aws-cdk/aws-codebuild.cloudformation.ProjectResource", "properties": [ { "docs": { "comment": "``ProjectResource.EnvironmentVariableProperty.Name``", "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-environmentvariable.html#cfn-codebuild-project-environmentvariable-name" }, "name": "name", "type": { "union": { "types": [ { "primitive": "string" }, { "fqn": "@aws-cdk/cdk.Token" } ] } } }, { "docs": { "comment": "``ProjectResource.EnvironmentVariableProperty.Type``", "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-environmentvariable.html#cfn-codebuild-project-environmentvariable-type" }, "name": "type", "type": { "optional": true, "union": { "types": [ { "primitive": "string" }, { "fqn": "@aws-cdk/cdk.Token" } ] } } }, { "docs": { "comment": "``ProjectResource.EnvironmentVariableProperty.Value``", "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-environmentvariable.html#cfn-codebuild-project-environmentvariable-value" }, "name": "value", "type": { "union": { "types": [ { "primitive": "string" }, { "fqn": "@aws-cdk/cdk.Token" } ] } } } ] }, "@aws-cdk/aws-codebuild.cloudformation.ProjectResource.ProjectCacheProperty": { "assembly": "@aws-cdk/aws-codebuild", "datatype": true, "docs": { "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projectcache.html" }, "fqn": "@aws-cdk/aws-codebuild.cloudformation.ProjectResource.ProjectCacheProperty", "kind": "interface", "name": "ProjectCacheProperty", "namespace": "@aws-cdk/aws-codebuild.cloudformation.ProjectResource", "parenttype": "@aws-cdk/aws-codebuild.cloudformation.ProjectResource", "properties": [ { "docs": { "comment": "``ProjectResource.ProjectCacheProperty.Location``", "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projectcache.html#cfn-codebuild-project-projectcache-location" }, "name": "location", "type": { "optional": true, "union": { "types": [ { "primitive": "string" }, { "fqn": "@aws-cdk/cdk.Token" } ] } } }, { "docs": { "comment": "``ProjectResource.ProjectCacheProperty.Type``", "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projectcache.html#cfn-codebuild-project-projectcache-type" }, "name": "type", "type": { "union": { "types": [ { "primitive": "string" }, { "fqn": "@aws-cdk/cdk.Token" } ] } } } ] }, "@aws-cdk/aws-codebuild.cloudformation.ProjectResource.ProjectTriggersProperty": { "assembly": "@aws-cdk/aws-codebuild", "datatype": true, "docs": { "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projecttriggers.html" }, "fqn": "@aws-cdk/aws-codebuild.cloudformation.ProjectResource.ProjectTriggersProperty", "kind": "interface", "name": "ProjectTriggersProperty", "namespace": "@aws-cdk/aws-codebuild.cloudformation.ProjectResource", "parenttype": "@aws-cdk/aws-codebuild.cloudformation.ProjectResource", "properties": [ { "docs": { "comment": "``ProjectResource.ProjectTriggersProperty.Webhook``", "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projecttriggers.html#cfn-codebuild-project-projecttriggers-webhook" }, "name": "webhook", "type": { "optional": true, "union": { "types": [ { "primitive": "boolean" }, { "fqn": "@aws-cdk/cdk.Token" } ] } } } ] }, "@aws-cdk/aws-codebuild.cloudformation.ProjectResource.SourceAuthProperty": { "assembly": "@aws-cdk/aws-codebuild", "datatype": true, "docs": { "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-sourceauth.html" }, "fqn": "@aws-cdk/aws-codebuild.cloudformation.ProjectResource.SourceAuthProperty", "kind": "interface", "name": "SourceAuthProperty", "namespace": "@aws-cdk/aws-codebuild.cloudformation.ProjectResource", "parenttype": "@aws-cdk/aws-codebuild.cloudformation.ProjectResource", "properties": [ { "docs": { "comment": "``ProjectResource.SourceAuthProperty.Resource``", "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-sourceauth.html#cfn-codebuild-project-sourceauth-resource" }, "name": "resource", "type": { "optional": true, "union": { "types": [ { "primitive": "string" }, { "fqn": "@aws-cdk/cdk.Token" } ] } } }, { "docs": { "comment": "``ProjectResource.SourceAuthProperty.Type``", "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-sourceauth.html#cfn-codebuild-project-sourceauth-type" }, "name": "type", "type": { "union": { "types": [ { "primitive": "string" }, { "fqn": "@aws-cdk/cdk.Token" } ] } } } ] }, "@aws-cdk/aws-codebuild.cloudformation.ProjectResource.SourceProperty": { "assembly": "@aws-cdk/aws-codebuild", "datatype": true, "docs": { "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-source.html" }, "fqn": "@aws-cdk/aws-codebuild.cloudformation.ProjectResource.SourceProperty", "kind": "interface", "name": "SourceProperty", "namespace": "@aws-cdk/aws-codebuild.cloudformation.ProjectResource", "parenttype": "@aws-cdk/aws-codebuild.cloudformation.ProjectResource", "properties": [ { "docs": { "comment": "``ProjectResource.SourceProperty.Auth``", "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-source.html#cfn-codebuild-project-source-auth" }, "name": "auth", "type": { "optional": true, "union": { "types": [ { "fqn": "@aws-cdk/cdk.Token" }, { "fqn": "@aws-cdk/aws-codebuild.cloudformation.ProjectResource.SourceAuthProperty" } ] } } }, { "docs": { "comment": "``ProjectResource.SourceProperty.BuildSpec``", "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-source.html#cfn-codebuild-project-source-buildspec" }, "name": "buildSpec", "type": { "optional": true, "union": { "types": [ { "primitive": "string" }, { "fqn": "@aws-cdk/cdk.Token" } ] } } }, { "docs": { "comment": "``ProjectResource.SourceProperty.GitCloneDepth``", "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-source.html#cfn-codebuild-project-source-gitclonedepth" }, "name": "gitCloneDepth", "type": { "optional": true, "union": { "types": [ { "primitive": "number" }, { "fqn": "@aws-cdk/cdk.Token" } ] } } }, { "docs": { "comment": "``ProjectResource.SourceProperty.InsecureSsl``", "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-source.html#cfn-codebuild-project-source-insecuressl" }, "name": "insecureSsl", "type": { "optional": true, "union": { "types": [ { "primitive": "boolean" }, { "fqn": "@aws-cdk/cdk.Token" } ] } } }, { "docs": { "comment": "``ProjectResource.SourceProperty.Location``", "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-source.html#cfn-codebuild-project-source-location" }, "name": "location", "type": { "optional": true, "union": { "types": [ { "primitive": "string" }, { "fqn": "@aws-cdk/cdk.Token" } ] } } }, { "docs": { "comment": "``ProjectResource.SourceProperty.Type``", "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-source.html#cfn-codebuild-project-source-type" }, "name": "type", "type": { "union": { "types": [ { "primitive": "string" }, { "fqn": "@aws-cdk/cdk.Token" } ] } } } ] }, "@aws-cdk/aws-codebuild.cloudformation.ProjectResource.VpcConfigProperty": { "assembly": "@aws-cdk/aws-codebuild", "datatype": true, "docs": { "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-vpcconfig.html" }, "fqn": "@aws-cdk/aws-codebuild.cloudformation.ProjectResource.VpcConfigProperty", "kind": "interface", "name": "VpcConfigProperty", "namespace": "@aws-cdk/aws-codebuild.cloudformation.ProjectResource", "parenttype": "@aws-cdk/aws-codebuild.cloudformation.ProjectResource", "properties": [ { "docs": { "comment": "``ProjectResource.VpcConfigProperty.SecurityGroupIds``", "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-vpcconfig.html#cfn-codebuild-project-vpcconfig-securitygroupids" }, "name": "securityGroupIds", "type": { "union": { "types": [ { "fqn": "@aws-cdk/cdk.Token" }, { "collection": { "elementtype": { "union": { "types": [ { "primitive": "string" }, { "fqn": "@aws-cdk/cdk.Token" } ] } }, "kind": "array" } } ] } } }, { "docs": { "comment": "``ProjectResource.VpcConfigProperty.Subnets``", "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-vpcconfig.html#cfn-codebuild-project-vpcconfig-subnets" }, "name": "subnets", "type": { "union": { "types": [ { "fqn": "@aws-cdk/cdk.Token" }, { "collection": { "elementtype": { "union": { "types": [ { "primitive": "string" }, { "fqn": "@aws-cdk/cdk.Token" } ] } }, "kind": "array" } } ] } } }, { "docs": { "comment": "``ProjectResource.VpcConfigProperty.VpcId``", "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-vpcconfig.html#cfn-codebuild-project-vpcconfig-vpcid" }, "name": "vpcId", "type": { "union": { "types": [ { "primitive": "string" }, { "fqn": "@aws-cdk/cdk.Token" } ] } } } ] }, "@aws-cdk/aws-codebuild.cloudformation.ProjectResourceProps": { "assembly": "@aws-cdk/aws-codebuild", "datatype": true, "docs": { "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html" }, "fqn": "@aws-cdk/aws-codebuild.cloudformation.ProjectResourceProps", "kind": "interface", "name": "ProjectResourceProps", "namespace": "@aws-cdk/aws-codebuild.cloudformation", "properties": [ { "docs": { "comment": "``AWS::CodeBuild::Project.Artifacts``", "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-artifacts" }, "name": "artifacts", "type": { "union": { "types": [ { "fqn": "@aws-cdk/cdk.Token" }, { "fqn": "@aws-cdk/aws-codebuild.cloudformation.ProjectResource.ArtifactsProperty" } ] } } }, { "docs": { "comment": "``AWS::CodeBuild::Project.Environment``", "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-environment" }, "name": "environment", "type": { "union": { "types": [ { "fqn": "@aws-cdk/cdk.Token" }, { "fqn": "@aws-cdk/aws-codebuild.cloudformation.ProjectResource.EnvironmentProperty" } ] } } }, { "docs": { "comment": "``AWS::CodeBuild::Project.ServiceRole``", "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-servicerole" }, "name": "serviceRole", "type": { "union": { "types": [ { "primitive": "string" }, { "fqn": "@aws-cdk/cdk.Token" } ] } } }, { "docs": { "comment": "``AWS::CodeBuild::Project.Source``", "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-source" }, "name": "source", "type": { "union": { "types": [ { "fqn": "@aws-cdk/cdk.Token" }, { "fqn": "@aws-cdk/aws-codebuild.cloudformation.ProjectResource.SourceProperty" } ] } } }, { "docs": { "comment": "``AWS::CodeBuild::Project.BadgeEnabled``", "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-badgeenabled" }, "name": "badgeEnabled", "type": { "optional": true, "union": { "types": [ { "primitive": "boolean" }, { "fqn": "@aws-cdk/cdk.Token" } ] } } }, { "docs": { "comment": "``AWS::CodeBuild::Project.Cache``", "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-cache" }, "name": "cache", "type": { "optional": true, "union": { "types": [ { "fqn": "@aws-cdk/cdk.Token" }, { "fqn": "@aws-cdk/aws-codebuild.cloudformation.ProjectResource.ProjectCacheProperty" } ] } } }, { "docs": { "comment": "``AWS::CodeBuild::Project.Description``", "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-description" }, "name": "description", "type": { "optional": true, "union": { "types": [ { "primitive": "string" }, { "fqn": "@aws-cdk/cdk.Token" } ] } } }, { "docs": { "comment": "``AWS::CodeBuild::Project.EncryptionKey``", "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-encryptionkey" }, "name": "encryptionKey", "type": { "optional": true, "union": { "types": [ { "primitive": "string" }, { "fqn": "@aws-cdk/cdk.Token" } ] } } }, { "docs": { "comment": "``AWS::CodeBuild::Project.Name``", "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-name" }, "name": "projectName", "type": { "optional": true, "union": { "types": [ { "primitive": "string" }, { "fqn": "@aws-cdk/cdk.Token" } ] } } }, { "docs": { "comment": "``AWS::CodeBuild::Project.Tags``", "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-tags" }, "name": "tags", "type": { "optional": true, "union": { "types": [ { "fqn": "@aws-cdk/cdk.Token" }, { "collection": { "elementtype": { "union": { "types": [ { "fqn": "@aws-cdk/cdk.Token" }, { "fqn": "@aws-cdk/cdk.Tag" } ] } }, "kind": "array" } } ] } } }, { "docs": { "comment": "``AWS::CodeBuild::Project.TimeoutInMinutes``", "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-timeoutinminutes" }, "name": "timeoutInMinutes", "type": { "optional": true, "union": { "types": [ { "primitive": "number" }, { "fqn": "@aws-cdk/cdk.Token" } ] } } }, { "docs": { "comment": "``AWS::CodeBuild::Project.Triggers``", "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-triggers" }, "name": "triggers", "type": { "optional": true, "union": { "types": [ { "fqn": "@aws-cdk/cdk.Token" }, { "fqn": "@aws-cdk/aws-codebuild.cloudformation.ProjectResource.ProjectTriggersProperty" } ] } } }, { "docs": { "comment": "``AWS::CodeBuild::Project.VpcConfig``", "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-vpcconfig" }, "name": "vpcConfig", "type": { "optional": true, "union": { "types": [ { "fqn": "@aws-cdk/cdk.Token" }, { "fqn": "@aws-cdk/aws-codebuild.cloudformation.ProjectResource.VpcConfigProperty" } ] } } } ] } }, "version": "0.8.2" }