@Stability(value=Stable) public static final class CfnImageRecipeProps.Builder extends Object implements software.amazon.jsii.Builder<CfnImageRecipeProps>
CfnImageRecipeProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnImageRecipeProps.Builder components(IResolvable components)
CfnImageRecipeProps.getComponents()components - The components of the image recipe. This parameter is required.
Components are orchestration documents that define a sequence of steps for downloading, installing, configuring, and testing software packages. They also define validation and security hardening steps. A component is defined using a YAML document format.this@Stability(value=Stable) public CfnImageRecipeProps.Builder components(List<? extends Object> components)
CfnImageRecipeProps.getComponents()components - The components of the image recipe. This parameter is required.
Components are orchestration documents that define a sequence of steps for downloading, installing, configuring, and testing software packages. They also define validation and security hardening steps. A component is defined using a YAML document format.this@Stability(value=Stable) public CfnImageRecipeProps.Builder name(String name)
CfnImageRecipeProps.getName()name - The name of the image recipe. This parameter is required.this@Stability(value=Stable) public CfnImageRecipeProps.Builder parentImage(String parentImage)
CfnImageRecipeProps.getParentImage()parentImage - The parent image of the image recipe. This parameter is required.
The string must be either an Image ARN or an AMI ID.this@Stability(value=Stable) public CfnImageRecipeProps.Builder version(String version)
CfnImageRecipeProps.getVersion()version - The semantic version of the image recipe. This parameter is required.this@Stability(value=Stable) public CfnImageRecipeProps.Builder additionalInstanceConfiguration(CfnImageRecipe.AdditionalInstanceConfigurationProperty additionalInstanceConfiguration)
CfnImageRecipeProps.getAdditionalInstanceConfiguration()additionalInstanceConfiguration - Before you create a new AMI, Image Builder launches temporary Amazon EC2 instances to build and test your image configuration.
Instance configuration adds a layer of control over those instances. You can define settings and add scripts to run when an instance is launched from your AMI.this@Stability(value=Stable) public CfnImageRecipeProps.Builder additionalInstanceConfiguration(IResolvable additionalInstanceConfiguration)
CfnImageRecipeProps.getAdditionalInstanceConfiguration()additionalInstanceConfiguration - Before you create a new AMI, Image Builder launches temporary Amazon EC2 instances to build and test your image configuration.
Instance configuration adds a layer of control over those instances. You can define settings and add scripts to run when an instance is launched from your AMI.this@Stability(value=Stable) public CfnImageRecipeProps.Builder blockDeviceMappings(IResolvable blockDeviceMappings)
CfnImageRecipeProps.getBlockDeviceMappings()blockDeviceMappings - The block device mappings to apply when creating images from this recipe.this@Stability(value=Stable) public CfnImageRecipeProps.Builder blockDeviceMappings(List<? extends Object> blockDeviceMappings)
CfnImageRecipeProps.getBlockDeviceMappings()blockDeviceMappings - The block device mappings to apply when creating images from this recipe.this@Stability(value=Stable) public CfnImageRecipeProps.Builder description(String description)
CfnImageRecipeProps.getDescription()description - The description of the image recipe.this@Stability(value=Stable) public CfnImageRecipeProps.Builder tags(Map<String,String> tags)
CfnImageRecipeProps.getTags()tags - The tags of the image recipe.this@Stability(value=Stable) public CfnImageRecipeProps.Builder workingDirectory(String workingDirectory)
CfnImageRecipeProps.getWorkingDirectory()workingDirectory - The working directory to be used during build and test workflows.this@Stability(value=Stable) public CfnImageRecipeProps build()
build in interface software.amazon.jsii.Builder<CfnImageRecipeProps>CfnImageRecipePropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.