Interface IAssetProps
(experimental) Properties of the image repository for Source.fromAsset()
.
Namespace: Amazon.CDK.AWS.AppRunner.Alpha
Assembly: Amazon.CDK.AWS.AppRunner.Alpha.dll
Syntax (csharp)
public interface IAssetProps
Syntax (vb)
Public Interface IAssetProps
Remarks
Stability: Experimental
ExampleMetadata: infused
Examples
using Amazon.CDK.AWS.Ecr.Assets;
var imageAsset = new DockerImageAsset(this, "ImageAssets", new DockerImageAssetProps {
Directory = Join(__dirname, "docker.assets")
});
new Service(this, "Service", new ServiceProps {
Source = Source.FromAsset(new AssetProps {
ImageConfiguration = new ImageConfiguration { Port = 8000 },
Asset = imageAsset
}),
AutoDeploymentsEnabled = true
});
Synopsis
Properties
Asset | (experimental) Represents the docker image asset. |
ImageConfiguration | (experimental) The image configuration for the image built from the asset. |
Properties
Asset
(experimental) Represents the docker image asset.
DockerImageAsset Asset { get; }
Property Value
Remarks
Stability: Experimental
ImageConfiguration
(experimental) The image configuration for the image built from the asset.
virtual IImageConfiguration ImageConfiguration { get; }
Property Value
Remarks
Default: - no image configuration will be passed. The default port
will be 8080.
Stability: Experimental