Class InsufficientCloudWatchLogsResourcePolicyException
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<InsufficientCloudWatchLogsResourcePolicyException.Builder,
InsufficientCloudWatchLogsResourcePolicyException>
Amazon Route 53 doesn't have the permissions required to create log streams and send query logs to log streams. Possible causes include the following:
-
There is no resource policy that specifies the log group ARN in the value for
Resource
. -
The resource policy that includes the log group ARN in the value for
Resource
doesn't have the necessary permissions. -
The resource policy hasn't finished propagating yet.
-
The Key management service (KMS) key you specified doesn’t exist or it can’t be used with the log group associated with query log. Update or provide a resource policy to grant permissions for the KMS key.
-
The Key management service (KMS) key you specified is marked as disabled for the log group associated with query log. Update or provide a resource policy to grant permissions for the KMS key.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static Class
<? extends InsufficientCloudWatchLogsResourcePolicyException.Builder> Create aAwsServiceException.Builder
initialized with the properties of thisAwsServiceException
.Methods inherited from class software.amazon.awssdk.awscore.exception.AwsServiceException
awsErrorDetails, getMessage, isClockSkewException, isThrottlingException
Methods inherited from class software.amazon.awssdk.core.exception.SdkServiceException
extendedRequestId, requestId, statusCode
Methods inherited from class software.amazon.awssdk.core.exception.SdkException
create, retryable
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
toBuilder
Description copied from class:AwsServiceException
Create aAwsServiceException.Builder
initialized with the properties of thisAwsServiceException
.- Specified by:
toBuilder
in interfaceToCopyableBuilder<InsufficientCloudWatchLogsResourcePolicyException.Builder,
InsufficientCloudWatchLogsResourcePolicyException> - Overrides:
toBuilder
in classRoute53Exception
- Returns:
- A new builder initialized with this config's properties.
-
builder
-
serializableBuilderClass
public static Class<? extends InsufficientCloudWatchLogsResourcePolicyException.Builder> serializableBuilderClass() -
sdkFields
- Specified by:
sdkFields
in interfaceSdkPojo
- Overrides:
sdkFields
in classSdkServiceException
- Returns:
- List of
SdkField
in this POJO. May be empty list but should never be null.
-