BitBucket project using {@link project-custom-resource#BitBucketProjectCustomResource BitBucketProjectCustomResource}.
import { BitBucketProject } from '@pgarbe/cdk-bitbucket-server'
new BitBucketProject(scope: Construct, id: string, props: BitBucketProjectProps)
Name | Type | Description |
---|---|---|
scope |
constructs.Construct |
No description. |
id |
string |
No description. |
props |
BitBucketProjectProps |
No description. |
- Type: constructs.Construct
- Type: string
- Type: BitBucketProjectProps
Name | Description |
---|---|
toString |
Returns a string representation of this construct. |
public toString(): string
Returns a string representation of this construct.
Name | Description |
---|---|
isConstruct |
Checks if x is a construct. |
import { BitBucketProject } from '@pgarbe/cdk-bitbucket-server'
BitBucketProject.isConstruct(x: any)
Checks if x
is a construct.
- Type: any
Any object.
Name | Type | Description |
---|---|---|
node |
constructs.Node |
The tree node. |
public readonly node: Node;
- Type: constructs.Node
The tree node.
- Implements: aws-cdk-lib.aws_iam.IGrantable
Custom Resource provider to create a BitBucket project.
import { BitBucketProjectCustomResource } from '@pgarbe/cdk-bitbucket-server'
new BitBucketProjectCustomResource(scope: Construct, id: string, props: BitBucketProjectCustomResourceProps)
Name | Type | Description |
---|---|---|
scope |
constructs.Construct |
No description. |
id |
string |
No description. |
props |
BitBucketProjectCustomResourceProps |
No description. |
- Type: constructs.Construct
- Type: string
Name | Description |
---|---|
toString |
Returns a string representation of this construct. |
public toString(): string
Returns a string representation of this construct.
Name | Description |
---|---|
isConstruct |
Checks if x is a construct. |
import { BitBucketProjectCustomResource } from '@pgarbe/cdk-bitbucket-server'
BitBucketProjectCustomResource.isConstruct(x: any)
Checks if x
is a construct.
- Type: any
Any object.
Name | Type | Description |
---|---|---|
node |
constructs.Node |
The tree node. |
grantPrincipal |
aws-cdk-lib.aws_iam.IPrincipal |
The principal to grant permissions to. |
serviceToken |
string |
The service token to be used in custom resources. |
public readonly node: Node;
- Type: constructs.Node
The tree node.
public readonly grantPrincipal: IPrincipal;
- Type: aws-cdk-lib.aws_iam.IPrincipal
The principal to grant permissions to.
public readonly serviceToken: string;
- Type: string
The service token to be used in custom resources.
BitBucket repository using {@link repository-custom-resource#BitBucketRepoCustomResource BitBucketRepoCustomResource}.
import { BitBucketRepo } from '@pgarbe/cdk-bitbucket-server'
new BitBucketRepo(scope: Construct, id: string, props: BitBucketRepoProps)
Name | Type | Description |
---|---|---|
scope |
constructs.Construct |
No description. |
id |
string |
No description. |
props |
BitBucketRepoProps |
No description. |
- Type: constructs.Construct
- Type: string
- Type: BitBucketRepoProps
Name | Description |
---|---|
toString |
Returns a string representation of this construct. |
public toString(): string
Returns a string representation of this construct.
Name | Description |
---|---|
isConstruct |
Checks if x is a construct. |
import { BitBucketRepo } from '@pgarbe/cdk-bitbucket-server'
BitBucketRepo.isConstruct(x: any)
Checks if x
is a construct.
- Type: any
Any object.
Name | Type | Description |
---|---|---|
node |
constructs.Node |
The tree node. |
public readonly node: Node;
- Type: constructs.Node
The tree node.
- Implements: aws-cdk-lib.aws_iam.IGrantable
Custom Resource provider to create a BitBucket repository.
import { BitBucketRepoCustomResource } from '@pgarbe/cdk-bitbucket-server'
new BitBucketRepoCustomResource(scope: Construct, id: string, props: BitBucketRepoCustomResourceProps)
Name | Type | Description |
---|---|---|
scope |
constructs.Construct |
No description. |
id |
string |
No description. |
props |
BitBucketRepoCustomResourceProps |
No description. |
- Type: constructs.Construct
- Type: string
Name | Description |
---|---|
toString |
Returns a string representation of this construct. |
public toString(): string
Returns a string representation of this construct.
Name | Description |
---|---|
isConstruct |
Checks if x is a construct. |
import { BitBucketRepoCustomResource } from '@pgarbe/cdk-bitbucket-server'
BitBucketRepoCustomResource.isConstruct(x: any)
Checks if x
is a construct.
- Type: any
Any object.
Name | Type | Description |
---|---|---|
node |
constructs.Node |
The tree node. |
grantPrincipal |
aws-cdk-lib.aws_iam.IPrincipal |
The principal to grant permissions to. |
serviceToken |
string |
The service token to be used in custom resources. |
public readonly node: Node;
- Type: constructs.Node
The tree node.
public readonly grantPrincipal: IPrincipal;
- Type: aws-cdk-lib.aws_iam.IPrincipal
The principal to grant permissions to.
public readonly serviceToken: string;
- Type: string
The service token to be used in custom resources.
BitBucket Webhook using {@link webhook-custom-resource#BitBucketWebHookCustomResource BitBucketWebHookCustomResource}.
import { BitBucketWebHook } from '@pgarbe/cdk-bitbucket-server'
new BitBucketWebHook(scope: Construct, id: string, props: BitBucketWebHookProps)
Name | Type | Description |
---|---|---|
scope |
constructs.Construct |
No description. |
id |
string |
No description. |
props |
BitBucketWebHookProps |
No description. |
- Type: constructs.Construct
- Type: string
- Type: BitBucketWebHookProps
Name | Description |
---|---|
toString |
Returns a string representation of this construct. |
public toString(): string
Returns a string representation of this construct.
Name | Description |
---|---|
isConstruct |
Checks if x is a construct. |
import { BitBucketWebHook } from '@pgarbe/cdk-bitbucket-server'
BitBucketWebHook.isConstruct(x: any)
Checks if x
is a construct.
- Type: any
Any object.
Name | Type | Description |
---|---|---|
node |
constructs.Node |
The tree node. |
public readonly node: Node;
- Type: constructs.Node
The tree node.
- Implements: aws-cdk-lib.aws_iam.IGrantable
Custom Resource provider to create a BitBucket Webhook.
import { BitBucketWebHookCustomResource } from '@pgarbe/cdk-bitbucket-server'
new BitBucketWebHookCustomResource(scope: Construct, id: string, props: BitBucketWebHookCustomResourceProps)
Name | Type | Description |
---|---|---|
scope |
constructs.Construct |
No description. |
id |
string |
No description. |
props |
BitBucketWebHookCustomResourceProps |
No description. |
- Type: constructs.Construct
- Type: string
Name | Description |
---|---|
toString |
Returns a string representation of this construct. |
public toString(): string
Returns a string representation of this construct.
Name | Description |
---|---|
isConstruct |
Checks if x is a construct. |
import { BitBucketWebHookCustomResource } from '@pgarbe/cdk-bitbucket-server'
BitBucketWebHookCustomResource.isConstruct(x: any)
Checks if x
is a construct.
- Type: any
Any object.
Name | Type | Description |
---|---|---|
node |
constructs.Node |
The tree node. |
grantPrincipal |
aws-cdk-lib.aws_iam.IPrincipal |
The principal to grant permissions to. |
serviceToken |
string |
The service token to be used in custom resources. |
public readonly node: Node;
- Type: constructs.Node
The tree node.
public readonly grantPrincipal: IPrincipal;
- Type: aws-cdk-lib.aws_iam.IPrincipal
The principal to grant permissions to.
public readonly serviceToken: string;
- Type: string
The service token to be used in custom resources.
Props of BitBucketProjectCustomResource.
import { BitBucketProjectCustomResourceProps } from '@pgarbe/cdk-bitbucket-server'
const bitBucketProjectCustomResourceProps: BitBucketProjectCustomResourceProps = { ... }
Name | Type | Description |
---|---|---|
host |
string |
BitBucket server. |
passwordSsmPath |
string |
Path of SSM param that includes the BitBucket password. |
usernameSsmPath |
string |
Path of SSM param that includes the BitBucket username. |
public readonly host: string;
- Type: string
BitBucket server.
public readonly passwordSsmPath: string;
- Type: string
Path of SSM param that includes the BitBucket password.
public readonly usernameSsmPath: string;
- Type: string
Path of SSM param that includes the BitBucket username.
Props of BitBucketProject.
import { BitBucketProjectProps } from '@pgarbe/cdk-bitbucket-server'
const bitBucketProjectProps: BitBucketProjectProps = { ... }
Name | Type | Description |
---|---|---|
description |
string |
Description of the project. |
key |
string |
Key of the project. |
name |
string |
Name of the project. |
serviceToken |
string |
Token returned by {@link project-custom-resource#BitBucketProjectCustomResource BitBucketProjectCustomResource}. |
public readonly description: string;
- Type: string
Description of the project.
public readonly key: string;
- Type: string
Key of the project.
public readonly name: string;
- Type: string
Name of the project.
public readonly serviceToken: string;
- Type: string
Token returned by {@link project-custom-resource#BitBucketProjectCustomResource BitBucketProjectCustomResource}.
Props of BitBucketRepoCustomResource.
import { BitBucketRepoCustomResourceProps } from '@pgarbe/cdk-bitbucket-server'
const bitBucketRepoCustomResourceProps: BitBucketRepoCustomResourceProps = { ... }
Name | Type | Description |
---|---|---|
host |
string |
BitBucket server. |
passwordSsmPath |
string |
Path of SSM param that includes the BitBucket password. |
usernameSsmPath |
string |
Path of SSM param that includes the BitBucket username. |
public readonly host: string;
- Type: string
BitBucket server.
public readonly passwordSsmPath: string;
- Type: string
Path of SSM param that includes the BitBucket password.
public readonly usernameSsmPath: string;
- Type: string
Path of SSM param that includes the BitBucket username.
Props of BitBucketRepo.
import { BitBucketRepoProps } from '@pgarbe/cdk-bitbucket-server'
const bitBucketRepoProps: BitBucketRepoProps = { ... }
Name | Type | Description |
---|---|---|
projectName |
string |
Name of the project. |
repositorySlug |
string |
Slug of the repository. |
serviceToken |
string |
Token returned by {@link repository-custom-resource#BitBucketRepoCustomResource BitBucketRepoCustomResource}. |
public readonly projectName: string;
- Type: string
Name of the project.
public readonly repositorySlug: string;
- Type: string
Slug of the repository.
public readonly serviceToken: string;
- Type: string
Token returned by {@link repository-custom-resource#BitBucketRepoCustomResource BitBucketRepoCustomResource}.
Props of BitBucketWebHookCustomResource.
import { BitBucketWebHookCustomResourceProps } from '@pgarbe/cdk-bitbucket-server'
const bitBucketWebHookCustomResourceProps: BitBucketWebHookCustomResourceProps = { ... }
Name | Type | Description |
---|---|---|
host |
string |
BitBucket server. |
passwordSsmPath |
string |
Path of SSM param that includes the BitBucket password. |
usernameSsmPath |
string |
Path of SSM param that includes the BitBucket username. |
public readonly host: string;
- Type: string
BitBucket server.
public readonly passwordSsmPath: string;
- Type: string
Path of SSM param that includes the BitBucket password.
public readonly usernameSsmPath: string;
- Type: string
Path of SSM param that includes the BitBucket username.
Props of BitBucketWebHook.
import { BitBucketWebHookProps } from '@pgarbe/cdk-bitbucket-server'
const bitBucketWebHookProps: BitBucketWebHookProps = { ... }
Name | Type | Description |
---|---|---|
events |
string[] |
List of events that trigger the webhook. |
name |
string |
Name of the webhook. |
secret |
string |
Secret of the webhook. |
serviceToken |
string |
Token returned by {@link webhook-custom-resource#BitBucketWebHookCustomResource BitBucketWebHookCustomResource}. |
url |
string |
URL that is called by the webhook. |
public readonly events: string[];
- Type: string[]
List of events that trigger the webhook.
public readonly name: string;
- Type: string
Name of the webhook.
public readonly secret: string;
- Type: string
Secret of the webhook.
public readonly serviceToken: string;
- Type: string
Token returned by {@link webhook-custom-resource#BitBucketWebHookCustomResource BitBucketWebHookCustomResource}.
public readonly url: string;
- Type: string
URL that is called by the webhook.