-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnService_CodeRepositoryProperty.go
71 lines (68 loc) · 3.17 KB
/
CfnService_CodeRepositoryProperty.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
package awsapprunner
// Describes a source code 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"
//
// codeRepositoryProperty := &CodeRepositoryProperty{
// RepositoryUrl: jsii.String("repositoryUrl"),
// SourceCodeVersion: &SourceCodeVersionProperty{
// Type: jsii.String("type"),
// Value: jsii.String("value"),
// },
//
// // the properties below are optional
// CodeConfiguration: &CodeConfigurationProperty{
// ConfigurationSource: jsii.String("configurationSource"),
//
// // the properties below are optional
// CodeConfigurationValues: &CodeConfigurationValuesProperty{
// Runtime: jsii.String("runtime"),
//
// // the properties below are optional
// BuildCommand: jsii.String("buildCommand"),
// Port: jsii.String("port"),
// RuntimeEnvironmentSecrets: []interface{}{
// &KeyValuePairProperty{
// Name: jsii.String("name"),
// Value: jsii.String("value"),
// },
// },
// RuntimeEnvironmentVariables: []interface{}{
// &KeyValuePairProperty{
// Name: jsii.String("name"),
// Value: jsii.String("value"),
// },
// },
// StartCommand: jsii.String("startCommand"),
// },
// },
// SourceDirectory: jsii.String("sourceDirectory"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-coderepository.html
//
type CfnService_CodeRepositoryProperty struct {
// The location of the repository that contains the source code.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-coderepository.html#cfn-apprunner-service-coderepository-repositoryurl
//
RepositoryUrl *string `field:"required" json:"repositoryUrl" yaml:"repositoryUrl"`
// The version that should be used within the source code repository.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-coderepository.html#cfn-apprunner-service-coderepository-sourcecodeversion
//
SourceCodeVersion interface{} `field:"required" json:"sourceCodeVersion" yaml:"sourceCodeVersion"`
// Configuration for building and running the service from a source code repository.
//
// > `CodeConfiguration` is required only for `CreateService` request.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-coderepository.html#cfn-apprunner-service-coderepository-codeconfiguration
//
CodeConfiguration interface{} `field:"optional" json:"codeConfiguration" yaml:"codeConfiguration"`
// The path of the directory that stores source code and configuration files.
//
// The build and start commands also execute from here. The path is absolute from root and, if not specified, defaults to the repository root.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-coderepository.html#cfn-apprunner-service-coderepository-sourcedirectory
//
SourceDirectory *string `field:"optional" json:"sourceDirectory" yaml:"sourceDirectory"`
}