Interface ICfnImageProps
Properties for defining a CfnImage
.
Namespace: Amazon.CDK.AWS.ImageBuilder
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnImageProps
Syntax (vb)
Public Interface ICfnImageProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-image.html
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.ImageBuilder;
var cfnImageProps = new CfnImageProps {
ContainerRecipeArn = "containerRecipeArn",
DistributionConfigurationArn = "distributionConfigurationArn",
EnhancedImageMetadataEnabled = false,
ExecutionRole = "executionRole",
ImageRecipeArn = "imageRecipeArn",
ImageScanningConfiguration = new ImageScanningConfigurationProperty {
EcrConfiguration = new EcrConfigurationProperty {
ContainerTags = new [] { "containerTags" },
RepositoryName = "repositoryName"
},
ImageScanningEnabled = false
},
ImageTestsConfiguration = new ImageTestsConfigurationProperty {
ImageTestsEnabled = false,
TimeoutMinutes = 123
},
InfrastructureConfigurationArn = "infrastructureConfigurationArn",
Tags = new Dictionary<string, string> {
{ "tagsKey", "tags" }
},
Workflows = new [] { new WorkflowConfigurationProperty {
OnFailure = "onFailure",
ParallelGroup = "parallelGroup",
Parameters = new [] { new WorkflowParameterProperty {
Name = "name",
Value = new [] { "value" }
} },
WorkflowArn = "workflowArn"
} }
};
Synopsis
Properties
Container |
The Amazon Resource Name (ARN) of the container recipe that defines how images are configured and tested. |
Distribution |
The Amazon Resource Name (ARN) of the distribution configuration that defines and configures the outputs of your pipeline. |
Enhanced |
Collects additional information about the image being created, including the operating system (OS) version and package list. |
Execution |
The name or Amazon Resource Name (ARN) for the IAM role you create that grants Image Builder access to perform workflow actions. |
Image |
The Amazon Resource Name (ARN) of the image recipe that defines how images are configured, tested, and assessed. |
Image |
Contains settings for vulnerability scans. |
Image |
The image tests configuration of the image. |
Infrastructure |
The Amazon Resource Name (ARN) of the infrastructure configuration that defines the environment in which your image will be built and tested. |
Tags | The tags of the image. |
Workflows | Contains an array of workflow configuration objects. |
Properties
ContainerRecipeArn
The Amazon Resource Name (ARN) of the container recipe that defines how images are configured and tested.
virtual string ContainerRecipeArn { get; }
Property Value
System.
Remarks
DistributionConfigurationArn
The Amazon Resource Name (ARN) of the distribution configuration that defines and configures the outputs of your pipeline.
virtual string DistributionConfigurationArn { get; }
Property Value
System.
Remarks
EnhancedImageMetadataEnabled
Collects additional information about the image being created, including the operating system (OS) version and package list.
virtual object EnhancedImageMetadataEnabled { get; }
Property Value
System.
Remarks
This information is used to enhance the overall experience of using EC2 Image Builder. Enabled by default.
ExecutionRole
The name or Amazon Resource Name (ARN) for the IAM role you create that grants Image Builder access to perform workflow actions.
virtual string ExecutionRole { get; }
Property Value
System.
Remarks
ImageRecipeArn
The Amazon Resource Name (ARN) of the image recipe that defines how images are configured, tested, and assessed.
virtual string ImageRecipeArn { get; }
Property Value
System.
Remarks
ImageScanningConfiguration
Contains settings for vulnerability scans.
virtual object ImageScanningConfiguration { get; }
Property Value
System.
Remarks
ImageTestsConfiguration
The image tests configuration of the image.
virtual object ImageTestsConfiguration { get; }
Property Value
System.
Remarks
InfrastructureConfigurationArn
The Amazon Resource Name (ARN) of the infrastructure configuration that defines the environment in which your image will be built and tested.
virtual string InfrastructureConfigurationArn { get; }
Property Value
System.
Remarks
Tags
The tags of the image.
virtual IDictionary<string, string> Tags { get; }
Property Value
System.
Remarks
Workflows
Contains an array of workflow configuration objects.
virtual object Workflows { get; }
Property Value
System.