Package software.amazon.awscdk
Class DockerBuildSecret
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.DockerBuildSecret
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:23:55.782Z")
@Stability(Stable)
public class DockerBuildSecret
extends software.amazon.jsii.JsiiObject
Methods to build Docker CLI arguments for builds using secrets.
Docker BuildKit must be enabled to use build secrets.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.*; DockerBuildSecret dockerBuildSecret = new DockerBuildSecret();
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Constructor Summary
ModifierConstructorDescriptionprotected
DockerBuildSecret
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
DockerBuildSecret
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
DockerBuildSecret
protected DockerBuildSecret(software.amazon.jsii.JsiiObjectRef objRef) -
DockerBuildSecret
protected DockerBuildSecret(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
DockerBuildSecret
@Stability(Stable) public DockerBuildSecret()
-
-
Method Details
-
fromSrc
A Docker build secret from a file source.- Parameters:
src
- The path to the source file, relative to the build directory. This parameter is required.- Returns:
- The latter half required for
--secret
-