GetAccountPolicyResult

data class GetAccountPolicyResult(val accountId: String? = null, val policyDocument: String? = null, val scope: AccountPolicyScope? = null, val selectionCriteria: String? = null)

Constructors

Link copied to clipboard
constructor(accountId: String? = null, policyDocument: String? = null, scope: AccountPolicyScope? = null, selectionCriteria: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val accountId: String? = null

User account id

Link copied to clipboard
val policyDocument: 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

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