Class CfnService.ImageConfigurationProperty
Describes the configuration that AWS App Runner uses to run an App Runner service using an image pulled from a source image repository.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.AppRunner
Assembly: Amazon.CDK.AWS.AppRunner.dll
Syntax (csharp)
public class ImageConfigurationProperty : Object, CfnService.IImageConfigurationProperty
Syntax (vb)
Public Class ImageConfigurationProperty
Inherits Object
Implements CfnService.IImageConfigurationProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppRunner;
var imageConfigurationProperty = new ImageConfigurationProperty {
Port = "port",
RuntimeEnvironmentSecrets = new [] { new KeyValuePairProperty {
Name = "name",
Value = "value"
} },
RuntimeEnvironmentVariables = new [] { new KeyValuePairProperty {
Name = "name",
Value = "value"
} },
StartCommand = "startCommand"
};
Synopsis
Constructors
ImageConfigurationProperty() |
Properties
Port | The port that your application listens to in the container. |
RuntimeEnvironmentSecrets |
|
RuntimeEnvironmentVariables | Environment variables that are available to your running App Runner service. |
StartCommand | An optional command that App Runner runs to start the application in the source image. |
Constructors
ImageConfigurationProperty()
public ImageConfigurationProperty()
Properties
Port
The port that your application listens to in the container.
public string Port { get; set; }
Property Value
System.String
Remarks
RuntimeEnvironmentSecrets
CfnService.ImageConfigurationProperty.RuntimeEnvironmentSecrets
.
public object RuntimeEnvironmentSecrets { get; set; }
Property Value
System.Object
Remarks
RuntimeEnvironmentVariables
Environment variables that are available to your running App Runner service.
public object RuntimeEnvironmentVariables { get; set; }
Property Value
System.Object
Remarks
StartCommand
An optional command that App Runner runs to start the application in the source image.
public string StartCommand { get; set; }
Property Value
System.String
Remarks
If specified, this command overrides the Docker image’s default start command.