Show / Hide Table of Contents

Class BitBucketSourceCredentials

The source credentials used when contacting the BitBucket API.

Inheritance
object
Resource
BitBucketSourceCredentials
Implements
IResource
IConstruct
IDependable
IEnvironmentAware
Inherited Members
Resource.IsOwnedResource(IConstruct)
Resource.IsResource(IConstruct)
Resource.ApplyRemovalPolicy(RemovalPolicy)
Resource.GeneratePhysicalName()
Resource.GetResourceArnAttribute(string, IArnComponents)
Resource.GetResourceNameAttribute(string)
Resource.Env
Resource.PhysicalName
Resource.Stack
Namespace: Amazon.CDK.AWS.CodeBuild
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class BitBucketSourceCredentials : Resource, IResource, IConstruct, IDependable, IEnvironmentAware
Syntax (vb)
Public Class BitBucketSourceCredentials Inherits Resource Implements IResource, IConstruct, IDependable, IEnvironmentAware
Remarks

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.

Resource: AWS::CodeBuild::SourceCredential

ExampleMetadata: infused

Examples
new BitBucketSourceCredentials(this, "CodeBuildBitBucketCreds", new BitBucketSourceCredentialsProps {
                 Username = SecretValue.SecretsManager("my-bitbucket-creds", new SecretsManagerSecretOptions { JsonField = "username" }),
                 Password = SecretValue.SecretsManager("my-bitbucket-creds", new SecretsManagerSecretOptions { JsonField = "password" })
             });

Synopsis

Constructors

BitBucketSourceCredentials(Construct, string, IBitBucketSourceCredentialsProps)

The source credentials used when contacting the BitBucket API.

Properties

PROPERTY_INJECTION_ID

Uniquely identifies this class.

Constructors

BitBucketSourceCredentials(Construct, string, IBitBucketSourceCredentialsProps)

The source credentials used when contacting the BitBucket API.

public BitBucketSourceCredentials(Construct scope, string id, IBitBucketSourceCredentialsProps props)
Parameters
scope Construct
id string
props IBitBucketSourceCredentialsProps
Remarks

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.

Resource: AWS::CodeBuild::SourceCredential

ExampleMetadata: infused

Examples
new BitBucketSourceCredentials(this, "CodeBuildBitBucketCreds", new BitBucketSourceCredentialsProps {
                 Username = SecretValue.SecretsManager("my-bitbucket-creds", new SecretsManagerSecretOptions { JsonField = "username" }),
                 Password = SecretValue.SecretsManager("my-bitbucket-creds", new SecretsManagerSecretOptions { JsonField = "password" })
             });

Properties

PROPERTY_INJECTION_ID

Uniquely identifies this class.

public static string PROPERTY_INJECTION_ID { get; }
Property Value

string

Remarks

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.

Resource: AWS::CodeBuild::SourceCredential

ExampleMetadata: infused

Implements

IResource
Constructs.IConstruct
Constructs.IDependable
IEnvironmentAware
Back to top Generated by DocFX