Files
agent-claw/cdk/node_modules/aws-cdk-lib/aws-codebuild/lib/source-credentials.d.ts
2026-05-06 18:55:16 -05:00

74 lines
2.6 KiB
TypeScript

import type { Construct } from 'constructs';
import type { SecretValue } from '../../core';
import { Resource } from '../../core';
/**
* Creation properties for `GitHubSourceCredentials`.
*/
export interface GitHubSourceCredentialsProps {
/**
* The personal access token to use when contacting the GitHub API.
*/
readonly accessToken: SecretValue;
}
/**
* The source credentials used when contacting the GitHub API.
*
* **Note**: CodeBuild only allows a single credential for GitHub
* 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
*/
export declare class GitHubSourceCredentials extends Resource {
/** Uniquely identifies this class. */
static readonly PROPERTY_INJECTION_ID: string;
constructor(scope: Construct, id: string, props: GitHubSourceCredentialsProps);
}
/**
* Creation properties for `GitHubEnterpriseSourceCredentials`.
*/
export interface GitHubEnterpriseSourceCredentialsProps {
/**
* The personal access token to use when contacting the
* instance of the GitHub Enterprise API.
*/
readonly accessToken: SecretValue;
}
/**
* The source credentials used when contacting the GitHub Enterprise API.
*
* **Note**: CodeBuild only allows a single credential for GitHub Enterprise
* 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
*/
export declare class GitHubEnterpriseSourceCredentials extends Resource {
/** Uniquely identifies this class. */
static readonly PROPERTY_INJECTION_ID: string;
constructor(scope: Construct, id: string, props: GitHubEnterpriseSourceCredentialsProps);
}
/**
* Construction properties of `BitBucketSourceCredentials`.
*/
export interface BitBucketSourceCredentialsProps {
/** Your BitBucket username. */
readonly username: SecretValue;
/** Your BitBucket application password. */
readonly password: SecretValue;
}
/**
* 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.
*
* @resource AWS::CodeBuild::SourceCredential
*/
export declare class BitBucketSourceCredentials extends Resource {
/** Uniquely identifies this class. */
static readonly PROPERTY_INJECTION_ID: string;
constructor(scope: Construct, id: string, props: BitBucketSourceCredentialsProps);
}