AgentEnforcedPolicyAssociation
Describes the agent-enforced policy associated with a WorkSpace, and whether the agent has applied it.
Contents
- PolicyId
-
The identifier of the policy.
Type: String
Length Constraints: Minimum length of 13. Maximum length of 64.
Pattern:
^wsae-[0-9a-z]{8,59}$Required: Yes
- ErrorCode
-
The reason that the policy wasn't applied. This field is returned only when
SyncStatusisFAILEDbecause of this policy. IfSyncStatusisFAILEDand this field isn't returned, the failure has another cause.Type: String
Valid Values:
POLICY_APPLY_FAILEDRequired: No
- ErrorMessage
-
A description of why the policy wasn't applied to the agent. This field is usually returned when
ErrorCodeis returned.Type: String
Length Constraints: Minimum length of 1. Maximum length of 1024.
Required: No
- SyncStatus
-
Whether the policy is applied:
-
PENDING_UPDATE– The WorkSpace hasn't confirmed the policy yet. -
IN_SYNC– The policy is applied. -
FAILED– The policy isn't applied.
This field isn't returned if the service can't determine the status. Don't treat a missing value as
IN_SYNC.Type: String
Valid Values:
PENDING_UPDATE | IN_SYNC | FAILEDRequired: No
-
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: