Account Policy Args
data class AccountPolicyArgs(val policyDocument: Output<String>? = null, val policyName: Output<String>? = null, val policyType: Output<AccountPolicyPolicyType>? = null, val scope: Output<AccountPolicyScope>? = null, val selectionCriteria: Output<String>? = null) : ConvertibleToJava<AccountPolicyArgs>
The AWS::Logs::AccountPolicy resource specifies a CloudWatch Logs AccountPolicy.
Example Usage
Example
No Java example available.
Example
No Java example available.
Constructors
Link copied to clipboard
constructor(policyDocument: Output<String>? = null, policyName: Output<String>? = null, policyType: Output<AccountPolicyPolicyType>? = null, scope: Output<AccountPolicyScope>? = null, selectionCriteria: Output<String>? = null)
Properties
Link copied to clipboard
The body of the policy document you want to use for this topic. You can only add one policy per PolicyType. The policy must be in JSON string format. Length Constraints: Maximum length of 30720
Link copied to clipboard
The name of the account policy
Link copied to clipboard
Type of the policy.
Link copied to clipboard
Scope for policy application
Link copied to clipboard
Log group selection criteria to apply policy only to a subset of log groups. SelectionCriteria string can be up to 25KB and cloudwatchlogs determines the length of selectionCriteria by using its UTF-8 bytes