ResourcePolicyState class
Input properties used for looking up and filtering ResourcePolicy resources.
Constructors
-
ResourcePolicyState({Input<
bool?> ? bypassPolicyLockoutCheck, Input<String?> ? lastUpdatedTime, Input<String?> ? policyDocument, Input<String?> ? policyName, Input<String?> ? policyRevisionId, Input<String?> ? region}) -
Creates a new ResourcePolicyState.
bypassPolicyLockoutCheckFlag to indicate whether to bypass the resource policy lockout safety check. Setting this value to true increases the risk that the policy becomes unmanageable. Do not set this value to true indiscriminately. Use this parameter only when you include a policy in the request and you intend to prevent the principal that is making the request from making a subsequent PutResourcePolicy request. The default value isfalse.lastUpdatedTimeWhen the policy was last updated, in Unix time seconds.policyDocumentJSON string of the resource policy or resource policy document, which can be up to 5kb in size.policyNameName of the resource policy. Must be unique within a specific Amazon Web Services account.policyRevisionIdSpecifies a specific policy revision, to ensure an atomic create operation. By default the resource policy is created if it does not exist, or updated with an incremented revision id. The revision id is unique to each policy in the account. If the policy revision id does not match the latest revision id, the operation will fail with an InvalidPolicyRevisionIdException exception. You can also provide a PolicyRevisionId of 0. In this case, the operation will fail with an InvalidPolicyRevisionIdException exception if a resource policy with the same name already exists.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.const -
ResourcePolicyState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
bypassPolicyLockoutCheck
→ Input<
bool?> ? -
Flag to indicate whether to bypass the resource policy lockout safety check. Setting this value to true increases the risk that the policy becomes unmanageable. Do not set this value to true indiscriminately. Use this parameter only when you include a policy in the request and you intend to prevent the principal that is making the request from making a subsequent PutResourcePolicy request. The default value is
false.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
lastUpdatedTime
→ Input<
String?> ? -
When the policy was last updated, in Unix time seconds.
final
-
policyDocument
→ Input<
String?> ? -
JSON string of the resource policy or resource policy document, which can be up to 5kb in size.
final
-
policyName
→ Input<
String?> ? -
Name of the resource policy. Must be unique within a specific Amazon Web Services account.
final
-
policyRevisionId
→ Input<
String?> ? -
Specifies a specific policy revision, to ensure an atomic create operation. By default the resource policy is created if it does not exist, or updated with an incremented revision id. The revision id is unique to each policy in the account. If the policy revision id does not match the latest revision id, the operation will fail with an InvalidPolicyRevisionIdException exception. You can also provide a PolicyRevisionId of 0. In this case, the operation will fail with an InvalidPolicyRevisionIdException exception if a resource policy with the same name already exists.
final
-
region
→ Input<
String?> ? -
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
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