AccountPolicyArgs

data class AccountPolicyArgs(val policyDocument: Output<String>? = null, val policyName: Output<String>? = null, val policyType: Output<AccountPolicyPolicyType>? = null, val scope: Output<AccountPolicyScope>? = 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
fun AccountPolicyArgs(policyDocument: Output<String>? = null, policyName: Output<String>? = null, policyType: Output<AccountPolicyPolicyType>? = null, scope: Output<AccountPolicyScope>? = null)

Functions

Link copied to clipboard
open override fun toJava(): AccountPolicyArgs

Properties

Link copied to clipboard
val policyDocument: Output<String>? = null

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
val policyName: Output<String>? = null

The name of the account policy

Link copied to clipboard
val policyType: Output<AccountPolicyPolicyType>? = null

Type of the policy.

Link copied to clipboard
val scope: Output<AccountPolicyScope>? = null

Scope for policy application