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.
policyA JSON-formatted resource policy. For more information, see Sharing a Projec and Sharing a Report Group.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.resourceArnThe ARN of the Project or ReportGroup resource you want to associate with a resource policy.const -
ResourcePolicyArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
policy
→ Input<
String> -
A JSON-formatted resource policy. For more information, see Sharing a Projec and Sharing a Report Group.
final
-
region
→ Input<
String?> ? -
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
-
resourceArn
→ Input<
String> -
The ARN of the Project or ReportGroup resource you want to associate with a resource policy.
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