ResourcePolicyState class

Input properties used for looking up and filtering ResourcePolicy resources.

Constructors

ResourcePolicyState({Input<String?>? policy, Input<String?>? region, Input<String?>? resourceArn})
Creates a new ResourcePolicyState. policy The policy to create or update. For example, the following policy grants a user authorization to restore a snapshot. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. resourceArn ARN of the account to create or update a resource policy for.
const
ResourcePolicyState.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
policy → Input<String?>?
The policy to create or update. For example, the following policy grants a user authorization to restore a snapshot.
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 account to create or update a resource policy for.
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