Interface IComponent
- All Superinterfaces:
software.constructs.IConstruct,software.constructs.IDependable,IEnvironmentAware,IResource,software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
IComponent.Jsii$Default
- All Known Implementing Classes:
Component,IComponent.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-20T23:37:34.459Z")
@Stability(Experimental)
public interface IComponent
extends software.amazon.jsii.JsiiSerializable, IResource
(experimental) An EC2 Image Builder Component.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceInternal default implementation forIComponent.static final classA proxy class which represents a concrete javascript instance of this type. -
Method Summary
Modifier and TypeMethodDescription(experimental) The ARN of the component.(experimental) The name of the component.(experimental) The version of the component.grant(IGrantable grantee, String... actions) (experimental) Grant custom actions to the given grantee for the component.grantRead(IGrantable grantee) (experimental) Grant read permissions to the given grantee for the component.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
-
getComponentArn
(experimental) The ARN of the component. -
getComponentName
(experimental) The name of the component. -
getComponentVersion
(experimental) The version of the component. -
grant
@Stability(Experimental) @NotNull Grant grant(@NotNull IGrantable grantee, @NotNull String... actions) (experimental) Grant custom actions to the given grantee for the component.- Parameters:
grantee- The principal. This parameter is required.actions- The list of actions. This parameter is required.
-
grantRead
(experimental) Grant read permissions to the given grantee for the component.- Parameters:
grantee- The principal. This parameter is required.
-