LogResourcePolicyState class
Input properties used for looking up and filtering LogResourcePolicy resources.
Constructors
-
LogResourcePolicyState({Input? policyDocument, Input<
String?> ? policyName, Input<String?> ? policyScope, Input<String?> ? region, Input<String?> ? resourceArn, Input<String?> ? revisionId}) -
Creates a new LogResourcePolicyState.
policyDocumentDetails 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.policyNameName of the resource policy. Exactly one ofpolicyNameorresourceArnmust be specified and this argument is required for account-scoped policies. Note that the number of resource policies withoutresourceArnis limited to 10 per region.policyScopeScope of the resource policy (ACCOUNTorRESOURCE).regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.resourceArnARN of the CloudWatch Logs resource to which the resource policy is attached. Exactly one ofpolicyNameorresourceArnmust be specified and this argument is required for resource-scoped policies. Only one policy can be attached per log group resource ARN.revisionIdRevision ID of the resource policy. Only populated for resource-scoped policies.const -
LogResourcePolicyState.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- policyDocument → Input?
-
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.
final
-
policyName
→ Input<
String?> ? -
Name of the resource policy. Exactly one of
policyNameorresourceArnmust be specified and this argument is required for account-scoped policies. Note that the number of resource policies withoutresourceArnis limited to 10 per region.final -
policyScope
→ Input<
String?> ? -
Scope of the resource policy (
ACCOUNTorRESOURCE).final -
region
→ Input<
String?> ? -
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
-
resourceArn
→ Input<
String?> ? -
ARN of the CloudWatch Logs resource to which the resource policy is attached. Exactly one of
policyNameorresourceArnmust be specified and this argument is required for resource-scoped policies. Only one policy can be attached per log group resource ARN.final -
revisionId
→ Input<
String?> ? -
Revision ID of the resource policy. Only populated for resource-scoped policies.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited