Interface IImage
- All Superinterfaces:
software.constructs.IConstruct,software.constructs.IDependable,IEnvironmentAware,IResource,software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
IImage.Jsii$Default
- All Known Implementing Classes:
IImage.Jsii$Proxy,Image
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T22:26:50.029Z")
@Stability(Experimental)
public interface IImage
extends software.amazon.jsii.JsiiSerializable, IResource
(experimental) An EC2 Image Builder Image.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceInternal default implementation forIImage.static final classA proxy class which represents a concrete javascript instance of this type. -
Method Summary
Modifier and TypeMethodDescription(experimental) The ARN of the image.(experimental) The name of the image.(experimental) The version of the image.grant(IGrantable grantee, String... actions) (experimental) Grant custom actions to the given grantee for the image.(experimental) Grants the default permissions for building an image to the provided execution role.grantRead(IGrantable grantee) (experimental) Grant read permissions to the given grantee for the image.(experimental) Converts the image to a BaseImage, to use as the parent image in an image recipe.(experimental) Converts the image to a ContainerBaseImage, to use as the parent image in a container recipe.Methods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getImageArn
(experimental) The ARN of the image. -
getImageName
(experimental) The name of the image. -
getImageVersion
(experimental) The version of the image. -
grant
@Stability(Experimental) @NotNull Grant grant(@NotNull IGrantable grantee, @NotNull String... actions) (experimental) Grant custom actions to the given grantee for the image.- Parameters:
grantee- The principal. This parameter is required.actions- The list of actions. This parameter is required.
-
grantDefaultExecutionRolePermissions
@Stability(Experimental) @NotNull List<Grant> grantDefaultExecutionRolePermissions(@NotNull IGrantable grantee) (experimental) Grants the default permissions for building an image to the provided execution role.- Parameters:
grantee- The execution role used for the image build. This parameter is required.
-
grantRead
(experimental) Grant read permissions to the given grantee for the image.- Parameters:
grantee- The principal. This parameter is required.
-
toBaseImage
(experimental) Converts the image to a BaseImage, to use as the parent image in an image recipe. -
toContainerBaseImage
(experimental) Converts the image to a ContainerBaseImage, to use as the parent image in a container recipe.
-