Interface IResourceWithPolicy
A resource with a resource policy that can be added to.
Namespace: Amazon.CDK.AWS.IAM
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IResourceWithPolicy : IResource
Syntax (vb)
Public Interface IResourceWithPolicy
Inherits IResource, IConstruct, IDependable
Synopsis
Methods
AddToResourcePolicy(PolicyStatement) | Add a statement to the resource's resource policy. |
Methods
AddToResourcePolicy(PolicyStatement)
Add a statement to the resource's resource policy.
IAddToResourcePolicyResult AddToResourcePolicy(PolicyStatement statement)
Parameters
- statement PolicyStatement
Returns