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"` }