ResourcePolicyNotValidException
This exception is thrown when the resouce-based policy has syntax errors, or contains a principal that is not valid.
The following are requirements for the resource policy:
Contains only one action: cloudtrail-data:PutAuditEvents
Contains at least one statement. The policy can have a maximum of 20 statements.
Each statement contains at least one principal. A statement can have a maximum of 50 principals.
Types
Properties
Functions
Link copied to clipboard
inline fun copy(block: ResourcePolicyNotValidException.Builder.() -> Unit = {}): ResourcePolicyNotValidException