@Generated(value="jsii-pacmak/1.70.0 (build 03c2f6f)", date="2022-11-01T13:16:42.573Z") @Stability(value=Experimental) public class EcrSource extends Source
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.apprunner.*;
import software.amazon.awscdk.services.ecr.*;
Repository repository;
EcrSource ecrSource = EcrSource.Builder.create()
.repository(repository)
// the properties below are optional
.imageConfiguration(ImageConfiguration.builder()
.environment(Map.of(
"environmentKey", "environment"))
.port(123)
.startCommand("startCommand")
.build())
.tag("tag")
.tagOrDigest("tagOrDigest")
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
EcrSource.Builder
(experimental) A fluent builder for
EcrSource. |
| Modifier | Constructor and Description |
|---|---|
|
EcrSource(EcrProps props) |
protected |
EcrSource(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
EcrSource(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
SourceConfig |
bind(software.constructs.Construct _scope)
(experimental) Called when the Job is initialized to allow this object to bind.
|
fromAsset, fromEcr, fromEcrPublic, fromGitHubjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected EcrSource(software.amazon.jsii.JsiiObjectRef objRef)
protected EcrSource(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public EcrSource(@NotNull
EcrProps props)
props - This parameter is required.@Stability(value=Experimental) @NotNull public SourceConfig bind(@NotNull software.constructs.Construct _scope)
Copyright © 2022. All rights reserved.