Class EcrImageCode
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.lambda.Code
software.amazon.awscdk.services.lambda.EcrImageCode
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.106.0 (build e852934)",
date="2025-02-26T00:07:40.424Z")
@Stability(Stable)
public class EcrImageCode
extends Code
Represents a Docker image in ECR that can be bound as Lambda Code.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.ecr.*; import software.amazon.awscdk.services.lambda.*; Repository repository; EcrImageCode ecrImageCode = EcrImageCode.Builder.create(repository) .cmd(List.of("cmd")) .entrypoint(List.of("entrypoint")) .tag("tag") .tagOrDigest("tagOrDigest") .workingDirectory("workingDirectory") .build();
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Constructor Summary
ConstructorsModifierConstructorDescriptionEcrImageCode
(IRepository repository) EcrImageCode
(IRepository repository, EcrImageCodeProps props) protected
EcrImageCode
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
EcrImageCode
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionbind
(software.constructs.Construct _scope) Called when the lambda or layer is initialized to allow this object to bind to the stack, add resources and have fun.Determines whether this Code is inline code or not.Methods inherited from class software.amazon.awscdk.services.lambda.Code
bindToResource, bindToResource, fromAsset, fromAsset, fromAssetImage, fromAssetImage, fromBucket, fromBucket, fromBucketV2, fromBucketV2, fromCfnParameters, fromCfnParameters, fromCustomCommand, fromCustomCommand, fromDockerBuild, fromDockerBuild, fromEcrImage, fromEcrImage, fromInline
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
-
EcrImageCode
protected EcrImageCode(software.amazon.jsii.JsiiObjectRef objRef) -
EcrImageCode
protected EcrImageCode(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
EcrImageCode
@Stability(Stable) public EcrImageCode(@NotNull IRepository repository, @Nullable EcrImageCodeProps props) - Parameters:
repository
- This parameter is required.props
-
-
EcrImageCode
- Parameters:
repository
- This parameter is required.
-
-
Method Details