@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:02.829Z") @Stability(value=Experimental) public class AssetSource 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.assets.*;
DockerImageAsset dockerImageAsset;
AssetSource assetSource = AssetSource.Builder.create()
.asset(dockerImageAsset)
// the properties below are optional
.imageConfiguration(ImageConfiguration.builder()
.environment(Map.of(
"environmentKey", "environment"))
.port(123)
.startCommand("startCommand")
.build())
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
AssetSource.Builder
(experimental) A fluent builder for
AssetSource. |
| Modifier | Constructor and Description |
|---|---|
|
AssetSource(AssetProps props) |
protected |
AssetSource(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
AssetSource(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 AssetSource(software.amazon.jsii.JsiiObjectRef objRef)
protected AssetSource(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public AssetSource(@NotNull
AssetProps props)
props - This parameter is required.@Stability(value=Experimental) @NotNull public SourceConfig bind(@NotNull software.constructs.Construct _scope)
Copyright © 2022. All rights reserved.