@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-05-10T17:05:56.509Z") @Stability(value=Stable) public class EcrImageCode extends 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();
| Modifier and Type | Class and Description |
|---|---|
static class |
EcrImageCode.Builder
A fluent builder for
EcrImageCode. |
| Modifier | Constructor and Description |
|---|---|
|
EcrImageCode(IRepository repository) |
|
EcrImageCode(IRepository repository,
EcrImageCodeProps props) |
protected |
EcrImageCode(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
EcrImageCode(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
CodeConfig |
bind(Construct _)
Called when the lambda or layer is initialized to allow this object to bind to the stack, add resources and have fun.
|
Boolean |
getIsInline()
Determines whether this Code is inline code or not.
|
asset, bindToResource, bindToResource, bucket, bucket, cfnParameters, cfnParameters, fromAsset, fromAsset, fromAssetImage, fromAssetImage, fromBucket, fromBucket, fromCfnParameters, fromCfnParameters, fromDockerBuild, fromDockerBuild, fromEcrImage, fromEcrImage, fromInline, inlinejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected EcrImageCode(software.amazon.jsii.JsiiObjectRef objRef)
protected EcrImageCode(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public EcrImageCode(@NotNull
IRepository repository,
@Nullable
EcrImageCodeProps props)
repository - This parameter is required.props - @Stability(value=Stable)
public EcrImageCode(@NotNull
IRepository repository)
repository - This parameter is required.@Stability(value=Stable) @NotNull public CodeConfig bind(@NotNull Construct _)
@Stability(value=Stable) @NotNull public Boolean getIsInline()
getIsInline in class CodeCopyright © 2023. All rights reserved.