software.amazon.awscdk.pipelines.DockerCredentialUsage Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cdk-pipelines Show documentation
Show all versions of cdk-pipelines Show documentation
Continuous Delivery of CDK applications
The newest version!
package software.amazon.awscdk.pipelines;
/**
* Defines which stages of a pipeline require the specified credentials.
*
* Example:
*
*
* ISecret dockerHubSecret = Secret.fromSecretCompleteArn(this, "DHSecret", "arn:aws:...");
* // Only the image asset publishing actions will be granted read access to the secret.
* DockerCredential creds = DockerCredential.dockerHub(dockerHubSecret, ExternalDockerCredentialOptions.builder().usages(List.of(DockerCredentialUsage.ASSET_PUBLISHING)).build());
*
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.84.0 (build 5404dcf)", date = "2023-06-19T16:30:49.822Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@software.amazon.jsii.Jsii(module = software.amazon.awscdk.pipelines.$Module.class, fqn = "@aws-cdk/pipelines.DockerCredentialUsage")
public enum DockerCredentialUsage {
/**
* Synth/Build.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
SYNTH,
/**
* Self-update.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
SELF_UPDATE,
/**
* Asset publishing.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
ASSET_PUBLISHING,
}