Interface IResourceWithPolicy
- All Superinterfaces:
IConstruct,software.constructs.IConstruct,IDependable,IResource,software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
ILogGroup,ILogGroup.Jsii$Default,IResourceWithPolicy.Jsii$Default
- All Known Implementing Classes:
ILogGroup.Jsii$Proxy,IResourceWithPolicy.Jsii$Proxy,LogGroup
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:29:57.319Z")
@Stability(Stable)
public interface IResourceWithPolicy
extends software.amazon.jsii.JsiiSerializable, IResource
A resource with a resource policy that can be added to.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceInternal default implementation forIResourceWithPolicy.static final classA proxy class which represents a concrete javascript instance of this type. -
Method Summary
Modifier and TypeMethodDescriptionaddToResourcePolicy(PolicyStatement statement) Add a statement to the resource's resource policy.Methods inherited from interface software.amazon.awscdk.core.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.core.IResource
applyRemovalPolicy, getEnv, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
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.
-