AWS Fundamentals Logo
AWS Fundamentals
L2 Construct

BitBucketSourceCredentials

The source credentials used when contacting the BitBucket API. **Note**: CodeBuild only allows a single credential for BitBucket to be saved in a given AWS account in a given region - any attempt to add more than one will result in an error.

Import

import { BitBucketSourceCredentials } from 'aws-cdk-lib/aws-codebuild';

Or use the module namespace:

import * as codebuild from 'aws-cdk-lib/aws-codebuild';
// codebuild.BitBucketSourceCredentials

Properties

Configuration passed to the constructor as BitBucketSourceCredentialsProps.

passwordRequired
SecretValue

Your BitBucket application password.

usernameRequired
SecretValue

Your BitBucket username.

Get the AWS CodeBuild Cheat Sheet

Everything you need to know about AWS CodeBuild on one page. HD quality, print-friendly.

Download Free Infographic