aws-cdk-lib.pipelines.DockerCredentialUsage

enum DockerCredentialUsage

LanguageType name
.NETAmazon.CDK.Pipelines.DockerCredentialUsage
Gogithub.com/aws/aws-cdk-go/awscdk/v2/pipelines#DockerCredentialUsage
Javasoftware.amazon.awscdk.pipelines.DockerCredentialUsage
Pythonaws_cdk.pipelines.DockerCredentialUsage
TypeScript (source)aws-cdk-lib » pipelines » DockerCredentialUsage

Defines which stages of a pipeline require the specified credentials.

Example

const dockerHubSecret = secretsmanager.Secret.fromSecretCompleteArn(this, 'DHSecret', 'arn:aws:...');
// Only the image asset publishing actions will be granted read access to the secret.
const creds = pipelines.DockerCredential.dockerHub(dockerHubSecret, { usages: [pipelines.DockerCredentialUsage.ASSET_PUBLISHING] });

Members

NameDescription
SYNTHSynth/Build.
SELF_UPDATESelf-update.
ASSET_PUBLISHINGAsset publishing.

SYNTH

Synth/Build.


SELF_UPDATE

Self-update.


ASSET_PUBLISHING

Asset publishing.