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.125.0 (build fdbe357)", date="2026-01-19T12:04:05.898Z") @Stability(Experimental) public interface ILifecyclePolicy extends software.amazon.jsii.JsiiSerializable, IResource
(experimental) An EC2 Image Builder Lifecycle Policy.
  • Method Details

    • getLifecyclePolicyArn

      @Stability(Experimental) @NotNull String getLifecyclePolicyArn()
      (experimental) The ARN of the lifecycle policy.
    • getLifecyclePolicyName

      @Stability(Experimental) @NotNull String 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.
      This parameter is required.
      actions -
      • The list of actions.
      This parameter is required.
    • grantRead

      @Stability(Experimental) @NotNull Grant grantRead(@NotNull IGrantable grantee)
      (experimental) Grant read permissions to the given grantee for the lifecycle policy.

      Parameters:
      grantee -
      • The principal.
      This parameter is required.