LogResourcePolicyState constructor

const LogResourcePolicyState({
  1. Input? policyDocument,
  2. Input<String?>? policyName,
  3. Input<String?>? policyScope,
  4. Input<String?>? region,
  5. Input<String?>? resourceArn,
  6. Input<String?>? revisionId,
})

Creates a new LogResourcePolicyState. policyDocument Details of the resource policy, including the identity of the principal that is enabled to put logs to this account. This is formatted as a JSON string. Maximum length of 5120 characters. policyName Name of the resource policy. Exactly one of policyName or resourceArn must be specified and this argument is required for account-scoped policies. Note that the number of resource policies without resourceArn is limited to 10 per region. policyScope Scope of the resource policy (ACCOUNT or RESOURCE). region Region where this resource will be managed. Defaults to the Region set in the provider configuration. resourceArn ARN of the CloudWatch Logs resource to which the resource policy is attached. Exactly one of policyName or resourceArn must be specified and this argument is required for resource-scoped policies. Only one policy can be attached per log group resource ARN. revisionId Revision ID of the resource policy. Only populated for resource-scoped policies.

Implementation

const LogResourcePolicyState({
  this.policyDocument,
  this.policyName,
  this.policyScope,
  this.region,
  this.resourceArn,
  this.revisionId,
});