Class: Aws::WorkSpaces::Types::WorkspaceEnforcedPolicyAssociation

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/types.rb

Overview

Describes the WorkSpace-enforced policy associated with a WorkSpace, and whether the WorkSpace has applied it.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#error_code ⇒ String

The reason that the policy wasn't applied. This field is returned only when SyncStatus is FAILED because of this policy. If SyncStatus is FAILED and this field isn't returned, the failure has another cause.

Returns:

  • (String)


8443
8444
8445
8446
8447
8448
8449
8450
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/types.rb', line 8443

class WorkspaceEnforcedPolicyAssociation < Struct.new(
  :policy_id,
  :sync_status,
  :error_code,
  :error_message)
  SENSITIVE = []
  include Aws::Structure
end

#error_message ⇒ String

A description of why the policy wasn't applied to the WorkSpace. This field is usually returned when ErrorCode is returned.

Returns:

  • (String)


8443
8444
8445
8446
8447
8448
8449
8450
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/types.rb', line 8443

class WorkspaceEnforcedPolicyAssociation < Struct.new(
  :policy_id,
  :sync_status,
  :error_code,
  :error_message)
  SENSITIVE = []
  include Aws::Structure
end

#policy_id ⇒ String

The identifier of the policy.

Returns:

  • (String)


8443
8444
8445
8446
8447
8448
8449
8450
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/types.rb', line 8443

class WorkspaceEnforcedPolicyAssociation < Struct.new(
  :policy_id,
  :sync_status,
  :error_code,
  :error_message)
  SENSITIVE = []
  include Aws::Structure
end

#sync_status ⇒ String

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.

Returns:

  • (String)


8443
8444
8445
8446
8447
8448
8449
8450
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/types.rb', line 8443

class WorkspaceEnforcedPolicyAssociation < Struct.new(
  :policy_id,
  :sync_status,
  :error_code,
  :error_message)
  SENSITIVE = []
  include Aws::Structure
end