Show / Hide Table of Contents

Class AssetProps

(experimental) Properties of the image repository for Source.fromAsset().

Inheritance
System.Object
AssetProps
Implements
IAssetProps
Namespace: Amazon.CDK.AWS.AppRunner
Assembly: Amazon.CDK.AWS.AppRunner.dll
Syntax (csharp)
public class AssetProps : Object, IAssetProps
Syntax (vb)
Public Class AssetProps
    Inherits Object
    Implements 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
    })
});

Synopsis

Constructors

AssetProps()

Properties

Asset

(experimental) Represents the docker image asset.

ImageConfiguration

(experimental) The image configuration for the image built from the asset.

Constructors

AssetProps()

public AssetProps()

Properties

Asset

(experimental) Represents the docker image asset.

public DockerImageAsset Asset { get; set; }
Property Value

DockerImageAsset

Remarks

Stability: Experimental

ImageConfiguration

(experimental) The image configuration for the image built from the asset.

public IImageConfiguration ImageConfiguration { get; set; }
Property Value

IImageConfiguration

Remarks

Default: - no image configuration will be passed. The default port will be 8080.

Stability: Experimental

See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-imageconfiguration.html#cfn-apprunner-service-imageconfiguration-port

Implements

IAssetProps
Back to top Generated by DocFX