IndexPolicy - Amazon CloudWatch Logs

IndexPolicy

This structure contains information about one field index policy in this account.

Contents

lastUpdateTime

The date and time that this index policy was most recently updated.

Type: Long

Valid Range: Minimum value of 0.

Required: No

logGroupIdentifier

The ARN of the log group that this index policy applies to.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 2048.

Pattern: [\w#+=/:,.@-]*

Required: No

policyDocument

The policy document for this index policy, in JSON format.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 5120.

Required: No

policyName

The name of this policy. Responses about log group-level field index policies don't have this field, because those policies don't have names.

Type: String

Required: No

source

This field indicates whether this is an account-level index policy or an index policy that applies only to a single log group.

Type: String

Valid Values: ACCOUNT | LOG_GROUP

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: