@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:40.436Z") @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(software.constructs.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.
|
bindToResource, bindToResource, fromAsset, fromAsset, fromAssetImage, fromAssetImage, fromBucket, fromBucket, fromCfnParameters, fromCfnParameters, fromDockerBuild, fromDockerBuild, fromEcrImage, fromEcrImage, fromInlinejsiiAsyncCall, 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 software.constructs.Construct _)
@Stability(value=Stable) @NotNull public Boolean getIsInline()
Copyright © 2022. All rights reserved.