PolicyAttachmentState class
Input properties used for looking up and filtering PolicyAttachment resources.
Constructors
-
PolicyAttachmentState({Input<
String?> ? policyId, Input<bool?> ? skipDestroy, Input<String?> ? targetId}) -
Creates a new PolicyAttachmentState.
policyIdThe unique identifier (ID) of the policy that you want to attach to the target.skipDestroyIf set totrue, destroy will not detach the policy and instead just remove the resource from state. This can be useful in situations where the attachment must be preserved to meet the AWS minimum requirement of 1 attached policy.targetIdThe unique identifier (ID) of the root, organizational unit, or account number that you want to attach the policy to.const -
PolicyAttachmentState.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
policyId
→ Input<
String?> ? -
The unique identifier (ID) of the policy that you want to attach to the target.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
skipDestroy
→ Input<
bool?> ? -
If set to
true, destroy will not detach the policy and instead just remove the resource from state. This can be useful in situations where the attachment must be preserved to meet the AWS minimum requirement of 1 attached policy.final -
targetId
→ Input<
String?> ? -
The unique identifier (ID) of the root, organizational unit, or account number that you want to attach the policy to.
final
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