Class ImageProps.Jsii$Proxy
- All Implemented Interfaces:
ImageProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
ImageProps
ImageProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.imagebuilder.alpha.ImageProps
ImageProps.Builder, ImageProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(ImageProps.Builder builder) Constructor that initializes the object based on literal property values passed by theImageProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal IRole(experimental) The execution role to use for deleting the image as well as the underlying resources, such as the AMIs, snapshots, and containers.(experimental) The distribution configuration used for distributing the image.final Boolean(experimental) If enabled, collects additional information about the image being created, including the operating system (OS) version and package list for the AMI.final IRole(experimental) The execution role used to perform workflow actions to build the image.final IRepository(experimental) The container repository that Amazon Inspector scans to identify findings for your container images.(experimental) The tags for Image Builder to apply to the output container image that Amazon Inspector scans.final Boolean(experimental) Indicates whether Image Builder keeps a snapshot of the vulnerability scans that Amazon Inspector runs against the build instance when you create a new image.final Boolean(experimental) Whether to run tests after building an image.(experimental) The infrastructure configuration used for building the image.final ILogGroup(experimental) The log group to use for the image.final IRecipeBase(experimental) The recipe that defines the base image, components, and customizations used to build the image.getTags()(experimental) The tags to apply to the image.final List<WorkflowConfiguration> (experimental) The list of workflow configurations used to build the image.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theImageProps.Builder.
-
-
Method Details
-
getRecipe
Description copied from interface:ImageProps(experimental) The recipe that defines the base image, components, and customizations used to build the image.This can either be an image recipe, or a container recipe.
- Specified by:
getRecipein interfaceImageProps
-
getDeletionExecutionRole
Description copied from interface:ImageProps(experimental) The execution role to use for deleting the image as well as the underlying resources, such as the AMIs, snapshots, and containers.This role should contain resource lifecycle permissions required to delete the underlying AMIs/containers.
Default: - no execution role. Only the Image Builder image will be deleted.
- Specified by:
getDeletionExecutionRolein interfaceImageProps
-
getDistributionConfiguration
Description copied from interface:ImageProps(experimental) The distribution configuration used for distributing the image.Default: None
- Specified by:
getDistributionConfigurationin interfaceImageProps
-
getEnhancedImageMetadataEnabled
Description copied from interface:ImageProps(experimental) If enabled, collects additional information about the image being created, including the operating system (OS) version and package list for the AMI.Default: true
- Specified by:
getEnhancedImageMetadataEnabledin interfaceImageProps
-
getExecutionRole
Description copied from interface:ImageProps(experimental) The execution role used to perform workflow actions to build the image.By default, the Image Builder Service Linked Role (SLR) will be created automatically and used as the execution role. However, when providing a custom set of image workflows for the image, an execution role will be generated with the minimal permissions needed to execute the workflows.
Default: - Image Builder will use the SLR if possible. Otherwise, an execution role will be generated
- Specified by:
getExecutionRolein interfaceImageProps
-
getImageScanningEcrRepository
Description copied from interface:ImageProps(experimental) The container repository that Amazon Inspector scans to identify findings for your container images.If a repository is not provided, Image Builder creates a repository named
image-builder-image-scanning-repositoryfor vulnerability scanning.Default: - if scanning is enabled, a repository will be created by Image Builder if one is not provided
- Specified by:
getImageScanningEcrRepositoryin interfaceImageProps
-
getImageScanningEcrTags
Description copied from interface:ImageProps(experimental) The tags for Image Builder to apply to the output container image that Amazon Inspector scans.Default: None
- Specified by:
getImageScanningEcrTagsin interfaceImageProps
-
getImageScanningEnabled
Description copied from interface:ImageProps(experimental) Indicates whether Image Builder keeps a snapshot of the vulnerability scans that Amazon Inspector runs against the build instance when you create a new image.Default: false
- Specified by:
getImageScanningEnabledin interfaceImageProps
-
getImageTestsEnabled
Description copied from interface:ImageProps(experimental) Whether to run tests after building an image.Default: true
- Specified by:
getImageTestsEnabledin interfaceImageProps
-
getInfrastructureConfiguration
Description copied from interface:ImageProps(experimental) The infrastructure configuration used for building the image.A default infrastructure configuration will be used if one is not provided.
The default configuration will create an instance profile and role with minimal permissions needed to build the image, attached to the EC2 instance.
IMDSv2 will be required by default on the instances used to build and test the image.
Default: - an infrastructure configuration will be created with the default settings
- Specified by:
getInfrastructureConfigurationin interfaceImageProps
-
getLogGroup
Description copied from interface:ImageProps(experimental) The log group to use for the image.By default, a log group will be created with the format
/aws/imagebuilder/<image-name>Default: - a log group will be created
- Specified by:
getLogGroupin interfaceImageProps
-
getTags
Description copied from interface:ImageProps(experimental) The tags to apply to the image.Default: None
- Specified by:
getTagsin interfaceImageProps
-
getWorkflows
Description copied from interface:ImageProps(experimental) The list of workflow configurations used to build the image.Default: - Image Builder will use a default set of workflows for the build to build, test, and distribute the image
- Specified by:
getWorkflowsin interfaceImageProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-