All Downloads are FREE. Search and download functionalities are using the official Maven repository.

software.amazon.awscdk.pipelines.DockerCredentialUsage Maven / Gradle / Ivy

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, }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy