-
Notifications
You must be signed in to change notification settings - Fork 17
/
awsapprunner_CfnService_ImageConfigurationProperty.go
36 lines (33 loc) · 1.44 KB
/
awsapprunner_CfnService_ImageConfigurationProperty.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
package awsapprunner
// Describes the configuration that AWS App Runner uses to run an App Runner service using an image pulled from a source image repository.
//
// Example:
// // The code below shows an example of how to instantiate this type.
// // The values are placeholders you should change.
// import "github.com/aws/aws-cdk-go/awscdk"
//
// imageConfigurationProperty := &imageConfigurationProperty{
// port: jsii.String("port"),
// runtimeEnvironmentVariables: []interface{}{
// &keyValuePairProperty{
// name: jsii.String("name"),
// value: jsii.String("value"),
// },
// },
// startCommand: jsii.String("startCommand"),
// }
//
type CfnService_ImageConfigurationProperty struct {
// The port that your application listens to in the container.
//
// Default: `8080`.
Port *string `field:"optional" json:"port" yaml:"port"`
// Environment variables that are available to your running App Runner service.
//
// An array of key-value pairs. Keys with a prefix of `AWSAPPRUNNER` are reserved for system use and aren't valid.
RuntimeEnvironmentVariables interface{} `field:"optional" json:"runtimeEnvironmentVariables" yaml:"runtimeEnvironmentVariables"`
// An optional command that App Runner runs to start the application in the source image.
//
// If specified, this command overrides the Docker image’s default start command.
StartCommand *string `field:"optional" json:"startCommand" yaml:"startCommand"`
}