ResourcePolicyArgs class
The set of arguments for ResourcePolicy. The set of arguments for ResourcePolicy.
Constructors
-
ResourcePolicyArgs({required Input<
String> policy, Input<String?> ? region, required Input<String> resourceArn}) -
Creates a new ResourcePolicyArgs.
policyThe content of the resource policy being updated.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.resourceArnARN of the account to create or update a resource policy for.const -
ResourcePolicyArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
policy
→ Input<
String> -
The content of the resource policy being updated.
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