Interface ILifecyclePolicy
- All Superinterfaces:
software.constructs.IConstruct,software.constructs.IDependable,IEnvironmentAware,IResource,software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
ILifecyclePolicy.Jsii$Default
- All Known Implementing Classes:
ILifecyclePolicy.Jsii$Proxy,LifecyclePolicy
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T22:26:50.053Z")
@Stability(Experimental)
public interface ILifecyclePolicy
extends software.amazon.jsii.JsiiSerializable, IResource
(experimental) An EC2 Image Builder Lifecycle Policy.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceInternal default implementation forILifecyclePolicy.static final classA proxy class which represents a concrete javascript instance of this type. -
Method Summary
Modifier and TypeMethodDescription(experimental) The ARN of the lifecycle policy.(experimental) The name of the lifecycle policy.grant(IGrantable grantee, String... actions) (experimental) Grant custom actions to the given grantee for the lifecycle policy.grantRead(IGrantable grantee) (experimental) Grant read permissions to the given grantee for the lifecycle policy.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
-
getLifecyclePolicyArn
(experimental) The ARN of the lifecycle policy. -
getLifecyclePolicyName
(experimental) The name of the lifecycle policy. -
grant
@Stability(Experimental) @NotNull Grant grant(@NotNull IGrantable grantee, @NotNull String... actions) (experimental) Grant custom actions to the given grantee for the lifecycle policy.- Parameters:
grantee-- The principal.
actions-- The list of actions.
-
grantRead
(experimental) Grant read permissions to the given grantee for the lifecycle policy.- Parameters:
grantee-- The principal.
-