Class EcrPublicSource
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.apprunner.alpha.Source
software.amazon.awscdk.services.apprunner.alpha.EcrPublicSource
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:49.545Z")
@Stability(Experimental)
public class EcrPublicSource
extends Source
(experimental) Represents the service source from ECR Public.
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.alpha.*;
Secret secret;
EcrPublicSource ecrPublicSource = EcrPublicSource.Builder.create()
.imageIdentifier("imageIdentifier")
// the properties below are optional
.imageConfiguration(ImageConfiguration.builder()
.environment(Map.of(
"environmentKey", "environment"))
.environmentSecrets(Map.of(
"environmentSecretsKey", secret))
.environmentVariables(Map.of(
"environmentVariablesKey", "environmentVariables"))
.port(123)
.startCommand("startCommand")
.build())
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class(experimental) A fluent builder forEcrPublicSource.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode -
Constructor Summary
ConstructorsModifierConstructorDescriptionEcrPublicSource(EcrPublicProps props) protectedEcrPublicSource(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedEcrPublicSource(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionbind(software.constructs.Construct _scope) (experimental) Called when the Job is initialized to allow this object to bind.Methods inherited from class software.amazon.awscdk.services.apprunner.alpha.Source
fromAsset, fromEcr, fromEcrPublic, fromGitHubMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
EcrPublicSource
protected EcrPublicSource(software.amazon.jsii.JsiiObjectRef objRef) -
EcrPublicSource
protected EcrPublicSource(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
EcrPublicSource
- Parameters:
props- This parameter is required.
-
-
Method Details
-
bind
@Stability(Experimental) @NotNull public SourceConfig bind(@NotNull software.constructs.Construct _scope) (experimental) Called when the Job is initialized to allow this object to bind.
-