All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.cloudtrail.model.ResourcePolicyNotValidException Maven / Gradle / Ivy

Go to download

The AWS Java SDK for AWS CloudTrail module holds the client classes that are used for communicating with AWS CloudTrail Service

The newest version!
/*
 * Copyright 2019-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
 * the License. A copy of the License is located at
 * 
 * http://aws.amazon.com/apache2.0
 * 
 * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
 * and limitations under the License.
 */
package com.amazonaws.services.cloudtrail.model;

import javax.annotation.Generated;

/**
 * 

* 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. *

    *
  • *
*/ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class ResourcePolicyNotValidException extends com.amazonaws.services.cloudtrail.model.AWSCloudTrailException { private static final long serialVersionUID = 1L; /** * Constructs a new ResourcePolicyNotValidException with the specified error message. * * @param message * Describes the error encountered. */ public ResourcePolicyNotValidException(String message) { super(message); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy