Interface IPolicy

All Superinterfaces:
software.constructs.IConstruct, software.constructs.IDependable, IEnvironmentAware, IPolicyRef, IResource, software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
IPolicy.Jsii$Default
All Known Implementing Classes:
IPolicy.Jsii$Proxy, Policy

@Generated(value="jsii-pacmak/1.126.0 (build 206d44b)", date="2026-02-09T14:39:12.231Z") @Stability(Stable) public interface IPolicy extends software.amazon.jsii.JsiiSerializable, IResource, IPolicyRef
Represents an IAM Policy.

See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Internal default implementation for IPolicy.
    static final class 
    A proxy class which represents a concrete javascript instance of this type.
  • Method Summary

    Modifier and Type
    Method
    Description
    The name of this policy.

    Methods inherited from interface software.constructs.IConstruct

    getNode

    Methods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware

    getEnv

    Methods inherited from interface software.amazon.awscdk.interfaces.iam.IPolicyRef

    getPolicyRef

    Methods inherited from interface software.amazon.awscdk.IResource

    applyRemovalPolicy, getStack

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Method Details

    • getPolicyName

      @Stability(Stable) @NotNull String getPolicyName()
      The name of this policy.