Interface IResourceWithPolicy

All Superinterfaces:
software.constructs.IConstruct, software.constructs.IDependable, IResource, software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
IFileSystem, IFileSystem.Jsii$Default, ILogGroup, ILogGroup.Jsii$Default, IResourceWithPolicy.Jsii$Default
All Known Implementing Classes:
FileSystem, IFileSystem.Jsii$Proxy, ILogGroup.Jsii$Proxy, IResourceWithPolicy.Jsii$Proxy, LogGroup, Table, TableBase, TableBaseV2, TableV2

@Generated(value="jsii-pacmak/1.106.0 (build e852934)", date="2025-02-12T12:32:03.938Z") @Stability(Stable) public interface IResourceWithPolicy extends software.amazon.jsii.JsiiSerializable, IResource
A resource with a resource policy that can be added to.
  • Method Details

    • addToResourcePolicy

      @Stability(Stable) @NotNull AddToResourcePolicyResult addToResourcePolicy(@NotNull PolicyStatement statement)
      Add a statement to the resource's resource policy.

      Parameters:
      statement - This parameter is required.