{ "fingerprint": "wYj5zjQ9A0YAums/4PMF7MJ8OYjWh/7PShcEXUuOqdU=", "author": { "name": "Amazon Web Services", "organization": true, "roles": [ "author" ], "url": "https://aws.amazon.com" }, "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" } }, "description": "CDK Constructs for AWS CodeCommit", "homepage": "https://github.com/awslabs/aws-cdk", "license": "Apache-2.0", "name": "@aws-cdk/aws-codecommit", "readme": { "markdown": "## AWS CodeCommit Construct Library\n\nTo add a CodeCommit Repository to your stack:\n\n```ts\nimport codecommit = require('@aws-cdk/aws-codecommit');\n\nconst repository = new codecommit.Repository(this, 'Repository' ,{\n repositoryName: 'MyRepositoryName'\n});\n```\n\nTo add an SNS trigger to your repository:\n\n```ts\nimport codecommit = require('@aws-cdk/aws-codecommit');\n\nconst repository = new codecommit.Repository(this, 'Repository', {\n repositoryName: 'MyRepositoryName'\n});\n\n// trigger is established for all repository actions on all branches by default.\nrepository.notify('arn:aws:sns:*:123456789012:my_topic');\n```\n\n### CodePipeline\n\nTo use a CodeCommit Repository in a CodePipeline:\n\n```ts\nimport codecommit = require('@aws-cdk/aws-codecommit');\nimport codepipeline = require('@aws-cdk/aws-codepipeline');\n\n// see above for the details...\nconst repository = new codecommit.Repository( // ...\n);\n\nconst pipeline = new codepipeline.Pipeline(this, 'MyPipeline', {\n pipelineName: 'MyPipeline',\n});\nconst sourceStage = new codepipeline.Stage(pipeline, 'Source');\nconst sourceAction = new codecommit.PipelineSource(this, 'CodeCommit', {\n stage: sourceStage,\n artifactName: 'SourceOutput', //name can be arbitrary\n repository,\n});\n// use sourceAction.artifact as the inputArtifact to later Actions...\n```\n\n### Events\n\nCodeCommit repositories emit CloudWatch events for certain activity.\nUse the `repo.onXxx` methods to define rules that trigger on these events\nand invoke targets as a result:\n\n```ts\n// starts a CodeBuild project when a commit is pushed to the \"master\" branch of the repo\nrepo.onCommit('CommitToMaster', project, 'master');\n\n// publishes a message to an SNS topic when a comment is made on a pull request\nconst rule = repo.onCommentOnPullRequest('CommentOnPullRequest');\nrule.addTarget(myTopic);\n```\n" }, "repository": { "type": "git", "url": "https://github.com/awslabs/aws-cdk.git" }, "schema": "jsii/1.0", "targets": { "java": { "maven": { "artifactId": "codecommit", "groupId": "software.amazon.awscdk" }, "package": "software.amazon.awscdk.services.codecommit" }, "js": { "npm": "@aws-cdk/aws-codecommit" } }, "types": { "@aws-cdk/aws-codecommit.PipelineSource": { "assembly": "@aws-cdk/aws-codecommit", "base": { "fqn": "@aws-cdk/aws-codepipeline-api.SourceAction" }, "docs": { "comment": "CodePipeline Source that is provided by an AWS CodeCommit repository." }, "fqn": "@aws-cdk/aws-codecommit.PipelineSource", "initializer": { "initializer": true, "parameters": [ { "name": "parent", "type": { "fqn": "@aws-cdk/cdk.Construct" } }, { "name": "name", "type": { "primitive": "string" } }, { "name": "props", "type": { "fqn": "@aws-cdk/aws-codecommit.PipelineSourceProps" } } ] }, "kind": "class", "name": "PipelineSource", "namespace": "@aws-cdk/aws-codecommit" }, "@aws-cdk/aws-codecommit.PipelineSourceProps": { "assembly": "@aws-cdk/aws-codecommit", "datatype": true, "docs": { "comment": "Construction properties of the {@link PipelineSource CodeCommit source CodePipeline Action}." }, "fqn": "@aws-cdk/aws-codecommit.PipelineSourceProps", "interfaces": [ { "fqn": "@aws-cdk/aws-codepipeline-api.CommonActionProps" } ], "kind": "interface", "name": "PipelineSourceProps", "namespace": "@aws-cdk/aws-codecommit", "properties": [ { "docs": { "comment": "The name of the source's output artifact.\nOutput artifacts are used by CodePipeline as inputs into other actions." }, "name": "artifactName", "type": { "primitive": "string" } }, { "docs": { "comment": "The CodeCommit repository." }, "name": "repository", "type": { "fqn": "@aws-cdk/aws-codecommit.RepositoryRef" } }, { "docs": { "default": "'master'" }, "name": "branch", "type": { "optional": true, "primitive": "string" } }, { "docs": { "comment": "Whether or not AWS CodePipeline should poll for source changes.", "default": "true" }, "name": "pollForSourceChanges", "type": { "optional": true, "primitive": "boolean" } } ] }, "@aws-cdk/aws-codecommit.Repository": { "assembly": "@aws-cdk/aws-codecommit", "base": { "fqn": "@aws-cdk/aws-codecommit.RepositoryRef" }, "docs": { "comment": "Provides a CodeCommit Repository" }, "fqn": "@aws-cdk/aws-codecommit.Repository", "initializer": { "initializer": true, "parameters": [ { "name": "parent", "type": { "fqn": "@aws-cdk/cdk.Construct" } }, { "name": "name", "type": { "primitive": "string" } }, { "name": "props", "type": { "fqn": "@aws-cdk/aws-codecommit.RepositoryProps" } } ] }, "kind": "class", "methods": [ { "docs": { "comment": "Create a trigger to notify another service to run actions on repository events." }, "name": "notify", "parameters": [ { "docs": { "comment": "Arn of the resource that repository events will notify" }, "name": "arn", "type": { "primitive": "string" } }, { "docs": { "comment": "Trigger options to run actions" }, "name": "options", "type": { "fqn": "@aws-cdk/aws-codecommit.RepositoryTriggerOptions", "optional": true } } ], "returns": { "fqn": "@aws-cdk/aws-codecommit.Repository" } } ], "name": "Repository", "namespace": "@aws-cdk/aws-codecommit", "properties": [ { "docs": { "comment": "The ARN of this Repository. " }, "immutable": true, "name": "repositoryArn", "type": { "fqn": "@aws-cdk/aws-codecommit.RepositoryArn" } }, { "immutable": true, "name": "repositoryCloneUrlHttp", "type": { "fqn": "@aws-cdk/aws-codecommit.RepositoryCloneUrlHttp" } }, { "immutable": true, "name": "repositoryCloneUrlSsh", "type": { "fqn": "@aws-cdk/aws-codecommit.RepositoryCloneUrlSsh" } }, { "docs": { "comment": "The human-visible name of this Repository. " }, "immutable": true, "name": "repositoryName", "type": { "fqn": "@aws-cdk/aws-codecommit.RepositoryName" } } ] }, "@aws-cdk/aws-codecommit.RepositoryArn": { "assembly": "@aws-cdk/aws-codecommit", "base": { "fqn": "@aws-cdk/cdk.Arn" }, "fqn": "@aws-cdk/aws-codecommit.RepositoryArn", "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": "RepositoryArn", "namespace": "@aws-cdk/aws-codecommit" }, "@aws-cdk/aws-codecommit.RepositoryCloneUrlHttp": { "assembly": "@aws-cdk/aws-codecommit", "base": { "fqn": "@aws-cdk/cdk.Token" }, "fqn": "@aws-cdk/aws-codecommit.RepositoryCloneUrlHttp", "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": "RepositoryCloneUrlHttp", "namespace": "@aws-cdk/aws-codecommit" }, "@aws-cdk/aws-codecommit.RepositoryCloneUrlSsh": { "assembly": "@aws-cdk/aws-codecommit", "base": { "fqn": "@aws-cdk/cdk.Token" }, "fqn": "@aws-cdk/aws-codecommit.RepositoryCloneUrlSsh", "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": "RepositoryCloneUrlSsh", "namespace": "@aws-cdk/aws-codecommit" }, "@aws-cdk/aws-codecommit.RepositoryEventTrigger": { "assembly": "@aws-cdk/aws-codecommit", "docs": { "comment": "Repository events that will cause the trigger to run actions in another service." }, "fqn": "@aws-cdk/aws-codecommit.RepositoryEventTrigger", "kind": "enum", "members": [ { "name": "All" }, { "name": "UpdateRef" }, { "name": "CreateRef" }, { "name": "DeleteRef" } ], "name": "RepositoryEventTrigger", "namespace": "@aws-cdk/aws-codecommit" }, "@aws-cdk/aws-codecommit.RepositoryName": { "assembly": "@aws-cdk/aws-codecommit", "base": { "fqn": "@aws-cdk/cdk.Token" }, "fqn": "@aws-cdk/aws-codecommit.RepositoryName", "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": "RepositoryName", "namespace": "@aws-cdk/aws-codecommit" }, "@aws-cdk/aws-codecommit.RepositoryProps": { "assembly": "@aws-cdk/aws-codecommit", "datatype": true, "fqn": "@aws-cdk/aws-codecommit.RepositoryProps", "kind": "interface", "name": "RepositoryProps", "namespace": "@aws-cdk/aws-codecommit", "properties": [ { "docs": { "comment": "Name of the repository. This property is required for all repositories." }, "name": "repositoryName", "type": { "primitive": "string" } }, { "docs": { "comment": "A description of the repository. Use the description to identify the\npurpose of the repository." }, "name": "description", "type": { "optional": true, "primitive": "string" } } ] }, "@aws-cdk/aws-codecommit.RepositoryRef": { "abstract": true, "assembly": "@aws-cdk/aws-codecommit", "base": { "fqn": "@aws-cdk/cdk.Construct" }, "docs": { "comment": "Represents a reference to a CodeCommit Repository.\n\nIf you want to create a new Repository managed alongside your CDK code,\nuse the {@link Repository} class.\n\nIf you want to reference an already existing Repository,\nuse the {@link RepositoryRef.import} method." }, "fqn": "@aws-cdk/aws-codecommit.RepositoryRef", "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" } } ] }, "kind": "class", "methods": [ { "docs": { "comment": "Import a Repository defined either outside the CDK, or in a different Stack\n(exported with the {@link export} method).", "return": "a reference to the existing Repository" }, "name": "import", "parameters": [ { "docs": { "comment": "the parent Construct for the Repository" }, "name": "parent", "type": { "fqn": "@aws-cdk/cdk.Construct" } }, { "docs": { "comment": "the name of the Repository Construct" }, "name": "name", "type": { "primitive": "string" } }, { "docs": { "comment": "the properties used to identify the existing Repository" }, "name": "props", "type": { "fqn": "@aws-cdk/aws-codecommit.RepositoryRefProps" } } ], "returns": { "fqn": "@aws-cdk/aws-codecommit.RepositoryRef" }, "static": true }, { "docs": { "comment": "Exports this Repository. Allows the same Repository to be used in 2 different Stacks.", "see": "import" }, "name": "export", "returns": { "fqn": "@aws-cdk/aws-codecommit.RepositoryRefProps" } }, { "docs": { "comment": "Defines a CloudWatch event rule which triggers for repository events. Use\n`rule.addEventPattern(pattern)` to specify a filter." }, "name": "onEvent", "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 which triggers when a \"CodeCommit\nRepository State Change\" event occurs." }, "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 which triggers when a reference is\ncreated (i.e. a new brach/tag is created) to the repository." }, "name": "onReferenceCreated", "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 which triggers when a reference is\nupdated (i.e. a commit is pushed to an existig branch) from the repository." }, "name": "onReferenceUpdated", "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 which triggers when a reference is\ndelete (i.e. a branch/tag is deleted) from the repository." }, "name": "onReferenceDeleted", "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 which triggers when a pull request state is changed." }, "name": "onPullRequestStateChange", "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 which triggers when a comment is made on a pull request." }, "name": "onCommentOnPullRequest", "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 which triggers when a comment is made on a commit." }, "name": "onCommentOnCommit", "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 which triggers when a commit is pushed to a branch." }, "name": "onCommit", "parameters": [ { "name": "name", "type": { "primitive": "string" } }, { "docs": { "comment": "The target of the event" }, "name": "target", "type": { "fqn": "@aws-cdk/aws-events.IEventRuleTarget", "optional": true } }, { "docs": { "comment": "The branch to monitor. Defaults to all branches." }, "name": "branch", "type": { "optional": true, "primitive": "string" } } ], "returns": { "fqn": "@aws-cdk/aws-events.EventRule" } } ], "name": "RepositoryRef", "namespace": "@aws-cdk/aws-codecommit", "properties": [ { "abstract": true, "docs": { "comment": "The ARN of this Repository. " }, "immutable": true, "name": "repositoryArn", "type": { "fqn": "@aws-cdk/aws-codecommit.RepositoryArn" } }, { "abstract": true, "docs": { "comment": "The human-visible name of this Repository. " }, "immutable": true, "name": "repositoryName", "type": { "fqn": "@aws-cdk/aws-codecommit.RepositoryName" } } ] }, "@aws-cdk/aws-codecommit.RepositoryRefProps": { "assembly": "@aws-cdk/aws-codecommit", "datatype": true, "docs": { "comment": "Properties for the {@link RepositoryRef.import} method." }, "fqn": "@aws-cdk/aws-codecommit.RepositoryRefProps", "kind": "interface", "name": "RepositoryRefProps", "namespace": "@aws-cdk/aws-codecommit", "properties": [ { "docs": { "comment": "The name of an existing CodeCommit Repository that we are referencing.\nMust be in the same account and region as the root Stack." }, "name": "repositoryName", "type": { "fqn": "@aws-cdk/aws-codecommit.RepositoryName" } } ] }, "@aws-cdk/aws-codecommit.RepositoryTriggerOptions": { "assembly": "@aws-cdk/aws-codecommit", "datatype": true, "docs": { "comment": "Creates for a repository trigger to an SNS topic or Lambda function." }, "fqn": "@aws-cdk/aws-codecommit.RepositoryTriggerOptions", "kind": "interface", "name": "RepositoryTriggerOptions", "namespace": "@aws-cdk/aws-codecommit", "properties": [ { "docs": { "comment": "A name for the trigger.Triggers on a repository must have unique names" }, "name": "name", "type": { "optional": true, "primitive": "string" } }, { "docs": { "comment": "The repository events for which AWS CodeCommit sends information to the\ntarget, which you specified in the DestinationArn property.If you don't\nspecify events, the trigger runs for all repository events." }, "name": "events", "type": { "collection": { "elementtype": { "fqn": "@aws-cdk/aws-codecommit.RepositoryEventTrigger" }, "kind": "array" }, "optional": true } }, { "docs": { "comment": "The names of the branches in the AWS CodeCommit repository that contain\nevents that you want to include in the trigger. If you don't specify at\nleast one branch, the trigger applies to all branches." }, "name": "branches", "type": { "collection": { "elementtype": { "primitive": "string" }, "kind": "array" }, "optional": true } }, { "docs": { "comment": "When an event is triggered, additional information that AWS CodeCommit\nincludes when it sends information to the target." }, "name": "customData", "type": { "optional": true, "primitive": "string" } } ] }, "@aws-cdk/aws-codecommit.cloudformation.RepositoryResource": { "assembly": "@aws-cdk/aws-codecommit", "base": { "fqn": "@aws-cdk/cdk.Resource" }, "docs": { "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codecommit-repository.html" }, "fqn": "@aws-cdk/aws-codecommit.cloudformation.RepositoryResource", "initializer": { "docs": { "comment": "Creates a new ``AWS::CodeCommit::Repository``." }, "initializer": true, "parameters": [ { "docs": { "comment": "the ``cdk.Construct`` this ``RepositoryResource`` 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 ``RepositoryResource``" }, "name": "properties", "type": { "fqn": "@aws-cdk/aws-codecommit.cloudformation.RepositoryResourceProps" } } ] }, "kind": "class", "methods": [ { "name": "renderProperties", "protected": true, "returns": { "collection": { "elementtype": { "primitive": "any" }, "kind": "map" } } } ], "name": "RepositoryResource", "namespace": "@aws-cdk/aws-codecommit.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": "repositoryArn", "type": { "fqn": "@aws-cdk/aws-codecommit.RepositoryArn" } }, { "docs": { "cloudformation_attribute": "CloneUrlHttp" }, "immutable": true, "name": "repositoryCloneUrlHttp", "type": { "fqn": "@aws-cdk/aws-codecommit.RepositoryCloneUrlHttp" } }, { "docs": { "cloudformation_attribute": "CloneUrlSsh" }, "immutable": true, "name": "repositoryCloneUrlSsh", "type": { "fqn": "@aws-cdk/aws-codecommit.RepositoryCloneUrlSsh" } }, { "docs": { "cloudformation_attribute": "Name" }, "immutable": true, "name": "repositoryName", "type": { "fqn": "@aws-cdk/aws-codecommit.RepositoryName" } } ], "subtypes": [ "@aws-cdk/aws-codecommit.cloudformation.RepositoryResource.RepositoryTriggerProperty" ] }, "@aws-cdk/aws-codecommit.cloudformation.RepositoryResource.RepositoryTriggerProperty": { "assembly": "@aws-cdk/aws-codecommit", "datatype": true, "docs": { "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codecommit-repository-repositorytrigger.html" }, "fqn": "@aws-cdk/aws-codecommit.cloudformation.RepositoryResource.RepositoryTriggerProperty", "kind": "interface", "name": "RepositoryTriggerProperty", "namespace": "@aws-cdk/aws-codecommit.cloudformation.RepositoryResource", "parenttype": "@aws-cdk/aws-codecommit.cloudformation.RepositoryResource", "properties": [ { "docs": { "comment": "``RepositoryResource.RepositoryTriggerProperty.Branches``", "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codecommit-repository-repositorytrigger.html#cfn-codecommit-repository-repositorytrigger-branches" }, "name": "branches", "type": { "optional": true, "union": { "types": [ { "fqn": "@aws-cdk/cdk.Token" }, { "collection": { "elementtype": { "union": { "types": [ { "primitive": "string" }, { "fqn": "@aws-cdk/cdk.Token" } ] } }, "kind": "array" } } ] } } }, { "docs": { "comment": "``RepositoryResource.RepositoryTriggerProperty.CustomData``", "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codecommit-repository-repositorytrigger.html#cfn-codecommit-repository-repositorytrigger-customdata" }, "name": "customData", "type": { "optional": true, "union": { "types": [ { "primitive": "string" }, { "fqn": "@aws-cdk/cdk.Token" } ] } } }, { "docs": { "comment": "``RepositoryResource.RepositoryTriggerProperty.DestinationArn``", "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codecommit-repository-repositorytrigger.html#cfn-codecommit-repository-repositorytrigger-destinationarn" }, "name": "destinationArn", "type": { "optional": true, "union": { "types": [ { "primitive": "string" }, { "fqn": "@aws-cdk/cdk.Token" } ] } } }, { "docs": { "comment": "``RepositoryResource.RepositoryTriggerProperty.Events``", "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codecommit-repository-repositorytrigger.html#cfn-codecommit-repository-repositorytrigger-events" }, "name": "events", "type": { "optional": true, "union": { "types": [ { "fqn": "@aws-cdk/cdk.Token" }, { "collection": { "elementtype": { "union": { "types": [ { "primitive": "string" }, { "fqn": "@aws-cdk/cdk.Token" } ] } }, "kind": "array" } } ] } } }, { "docs": { "comment": "``RepositoryResource.RepositoryTriggerProperty.Name``", "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codecommit-repository-repositorytrigger.html#cfn-codecommit-repository-repositorytrigger-name" }, "name": "name", "type": { "optional": true, "union": { "types": [ { "primitive": "string" }, { "fqn": "@aws-cdk/cdk.Token" } ] } } } ] }, "@aws-cdk/aws-codecommit.cloudformation.RepositoryResourceProps": { "assembly": "@aws-cdk/aws-codecommit", "datatype": true, "docs": { "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codecommit-repository.html" }, "fqn": "@aws-cdk/aws-codecommit.cloudformation.RepositoryResourceProps", "kind": "interface", "name": "RepositoryResourceProps", "namespace": "@aws-cdk/aws-codecommit.cloudformation", "properties": [ { "docs": { "comment": "``AWS::CodeCommit::Repository.RepositoryName``", "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codecommit-repository.html#cfn-codecommit-repository-repositoryname" }, "name": "repositoryName", "type": { "union": { "types": [ { "primitive": "string" }, { "fqn": "@aws-cdk/cdk.Token" } ] } } }, { "docs": { "comment": "``AWS::CodeCommit::Repository.RepositoryDescription``", "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codecommit-repository.html#cfn-codecommit-repository-repositorydescription" }, "name": "repositoryDescription", "type": { "optional": true, "union": { "types": [ { "primitive": "string" }, { "fqn": "@aws-cdk/cdk.Token" } ] } } }, { "docs": { "comment": "``AWS::CodeCommit::Repository.Triggers``", "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codecommit-repository.html#cfn-codecommit-repository-triggers" }, "name": "triggers", "type": { "optional": true, "union": { "types": [ { "fqn": "@aws-cdk/cdk.Token" }, { "collection": { "elementtype": { "union": { "types": [ { "fqn": "@aws-cdk/cdk.Token" }, { "fqn": "@aws-cdk/aws-codecommit.cloudformation.RepositoryResource.RepositoryTriggerProperty" } ] } }, "kind": "array" } } ] } } } ] } }, "version": "0.8.2" }