@Stability(value=Stable) public static final class CfnImageRecipe.Builder extends Object implements software.amazon.jsii.Builder<CfnImageRecipe>
CfnImageRecipe.| Modifier and Type | Method and Description |
|---|---|
CfnImageRecipe.Builder |
additionalInstanceConfiguration(CfnImageRecipe.AdditionalInstanceConfigurationProperty additionalInstanceConfiguration)
Before you create a new AMI, Image Builder launches temporary Amazon EC2 instances to build and test your image configuration.
|
CfnImageRecipe.Builder |
additionalInstanceConfiguration(IResolvable additionalInstanceConfiguration)
Before you create a new AMI, Image Builder launches temporary Amazon EC2 instances to build and test your image configuration.
|
CfnImageRecipe.Builder |
blockDeviceMappings(IResolvable blockDeviceMappings)
The block device mappings to apply when creating images from this recipe.
|
CfnImageRecipe.Builder |
blockDeviceMappings(List<? extends Object> blockDeviceMappings)
The block device mappings to apply when creating images from this recipe.
|
CfnImageRecipe |
build() |
CfnImageRecipe.Builder |
components(IResolvable components)
The components of the image recipe.
|
CfnImageRecipe.Builder |
components(List<? extends Object> components)
The components of the image recipe.
|
static CfnImageRecipe.Builder |
create(software.constructs.Construct scope,
String id) |
CfnImageRecipe.Builder |
description(String description)
The description of the image recipe.
|
CfnImageRecipe.Builder |
name(String name)
The name of the image recipe.
|
CfnImageRecipe.Builder |
parentImage(String parentImage)
The parent image of the image recipe.
|
CfnImageRecipe.Builder |
tags(Map<String,String> tags)
The tags of the image recipe.
|
CfnImageRecipe.Builder |
version(String version)
The semantic version of the image recipe.
|
CfnImageRecipe.Builder |
workingDirectory(String workingDirectory)
The working directory to be used during build and test workflows.
|
@Stability(value=Stable) public static CfnImageRecipe.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnImageRecipe.AdditionalInstanceConfigurationProperty.Builder.@Stability(value=Stable) public CfnImageRecipe.Builder components(IResolvable components)
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.
components - The components of the image recipe. This parameter is required.this@Stability(value=Stable) public CfnImageRecipe.Builder components(List<? extends Object> components)
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.
components - The components of the image recipe. This parameter is required.this@Stability(value=Stable) public CfnImageRecipe.Builder name(String name)
name - The name of the image recipe. This parameter is required.this@Stability(value=Stable) public CfnImageRecipe.Builder parentImage(String parentImage)
The string must be either an Image ARN or an AMI ID.
parentImage - The parent image of the image recipe. This parameter is required.this@Stability(value=Stable) public CfnImageRecipe.Builder version(String version)
version - The semantic version of the image recipe. This parameter is required.this@Stability(value=Stable) public CfnImageRecipe.Builder additionalInstanceConfiguration(CfnImageRecipe.AdditionalInstanceConfigurationProperty additionalInstanceConfiguration)
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.
additionalInstanceConfiguration - Before you create a new AMI, Image Builder launches temporary Amazon EC2 instances to build and test your image configuration. This parameter is required.this@Stability(value=Stable) public CfnImageRecipe.Builder additionalInstanceConfiguration(IResolvable additionalInstanceConfiguration)
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.
additionalInstanceConfiguration - Before you create a new AMI, Image Builder launches temporary Amazon EC2 instances to build and test your image configuration. This parameter is required.this@Stability(value=Stable) public CfnImageRecipe.Builder blockDeviceMappings(IResolvable blockDeviceMappings)
blockDeviceMappings - The block device mappings to apply when creating images from this recipe. This parameter is required.this@Stability(value=Stable) public CfnImageRecipe.Builder blockDeviceMappings(List<? extends Object> blockDeviceMappings)
blockDeviceMappings - The block device mappings to apply when creating images from this recipe. This parameter is required.this@Stability(value=Stable) public CfnImageRecipe.Builder description(String description)
description - The description of the image recipe. This parameter is required.this@Stability(value=Stable) public CfnImageRecipe.Builder tags(Map<String,String> tags)
tags - The tags of the image recipe. This parameter is required.this@Stability(value=Stable) public CfnImageRecipe.Builder workingDirectory(String workingDirectory)
workingDirectory - The working directory to be used during build and test workflows. This parameter is required.this@Stability(value=Stable) public CfnImageRecipe build()
build in interface software.amazon.jsii.Builder<CfnImageRecipe>Copyright © 2022. All rights reserved.