-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnImagePipelineProps.go
102 lines (99 loc) · 6.03 KB
/
CfnImagePipelineProps.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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
package awsimagebuilder
// Properties for defining a `CfnImagePipeline`.
//
// 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"
//
// cfnImagePipelineProps := &CfnImagePipelineProps{
// InfrastructureConfigurationArn: jsii.String("infrastructureConfigurationArn"),
// Name: jsii.String("name"),
//
// // the properties below are optional
// ContainerRecipeArn: jsii.String("containerRecipeArn"),
// Description: jsii.String("description"),
// DistributionConfigurationArn: jsii.String("distributionConfigurationArn"),
// EnhancedImageMetadataEnabled: jsii.Boolean(false),
// ImageRecipeArn: jsii.String("imageRecipeArn"),
// ImageScanningConfiguration: &ImageScanningConfigurationProperty{
// EcrConfiguration: &EcrConfigurationProperty{
// ContainerTags: []*string{
// jsii.String("containerTags"),
// },
// RepositoryName: jsii.String("repositoryName"),
// },
// ImageScanningEnabled: jsii.Boolean(false),
// },
// ImageTestsConfiguration: &ImageTestsConfigurationProperty{
// ImageTestsEnabled: jsii.Boolean(false),
// TimeoutMinutes: jsii.Number(123),
// },
// Schedule: &ScheduleProperty{
// PipelineExecutionStartCondition: jsii.String("pipelineExecutionStartCondition"),
// ScheduleExpression: jsii.String("scheduleExpression"),
// },
// Status: jsii.String("status"),
// Tags: map[string]*string{
// "tagsKey": jsii.String("tags"),
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-imagepipeline.html
//
type CfnImagePipelineProps struct {
// The Amazon Resource Name (ARN) of the infrastructure configuration associated with this image pipeline.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-imagepipeline.html#cfn-imagebuilder-imagepipeline-infrastructureconfigurationarn
//
InfrastructureConfigurationArn *string `field:"required" json:"infrastructureConfigurationArn" yaml:"infrastructureConfigurationArn"`
// The name of the image pipeline.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-imagepipeline.html#cfn-imagebuilder-imagepipeline-name
//
Name *string `field:"required" json:"name" yaml:"name"`
// The Amazon Resource Name (ARN) of the container recipe that is used for this pipeline.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-imagepipeline.html#cfn-imagebuilder-imagepipeline-containerrecipearn
//
ContainerRecipeArn *string `field:"optional" json:"containerRecipeArn" yaml:"containerRecipeArn"`
// The description of this image pipeline.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-imagepipeline.html#cfn-imagebuilder-imagepipeline-description
//
Description *string `field:"optional" json:"description" yaml:"description"`
// The Amazon Resource Name (ARN) of the distribution configuration associated with this image pipeline.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-imagepipeline.html#cfn-imagebuilder-imagepipeline-distributionconfigurationarn
//
DistributionConfigurationArn *string `field:"optional" json:"distributionConfigurationArn" yaml:"distributionConfigurationArn"`
// Collects additional information about the image being created, including the operating system (OS) version and package list.
//
// This information is used to enhance the overall experience of using EC2 Image Builder. Enabled by default.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-imagepipeline.html#cfn-imagebuilder-imagepipeline-enhancedimagemetadataenabled
//
EnhancedImageMetadataEnabled interface{} `field:"optional" json:"enhancedImageMetadataEnabled" yaml:"enhancedImageMetadataEnabled"`
// The Amazon Resource Name (ARN) of the image recipe associated with this image pipeline.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-imagepipeline.html#cfn-imagebuilder-imagepipeline-imagerecipearn
//
ImageRecipeArn *string `field:"optional" json:"imageRecipeArn" yaml:"imageRecipeArn"`
// Determines if tests should run after building the image.
//
// Image Builder defaults to enable tests to run following the image build, before image distribution.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-imagepipeline.html#cfn-imagebuilder-imagepipeline-imagescanningconfiguration
//
ImageScanningConfiguration interface{} `field:"optional" json:"imageScanningConfiguration" yaml:"imageScanningConfiguration"`
// The configuration of the image tests that run after image creation to ensure the quality of the image that was created.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-imagepipeline.html#cfn-imagebuilder-imagepipeline-imagetestsconfiguration
//
ImageTestsConfiguration interface{} `field:"optional" json:"imageTestsConfiguration" yaml:"imageTestsConfiguration"`
// The schedule of the image pipeline.
//
// A schedule configures how often and when a pipeline automatically creates a new image.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-imagepipeline.html#cfn-imagebuilder-imagepipeline-schedule
//
Schedule interface{} `field:"optional" json:"schedule" yaml:"schedule"`
// The status of the image pipeline.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-imagepipeline.html#cfn-imagebuilder-imagepipeline-status
//
Status *string `field:"optional" json:"status" yaml:"status"`
// The tags of this image pipeline.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-imagepipeline.html#cfn-imagebuilder-imagepipeline-tags
//
Tags *map[string]*string `field:"optional" json:"tags" yaml:"tags"`
}