Class: Aws::WorkSpaces::Types::WorkspaceEnforcedPolicy

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

Overview

Describes a WorkSpace-enforced policy.

Constant Summary collapse

SENSITIVE =
[:policy_body]

Instance Attribute Summary collapse

Instance Attribute Details

#created_at ⇒ Time

The time when the WorkSpace-enforced policy was created.

Returns:

  • (Time)


8399
8400
8401
8402
8403
8404
8405
8406
8407
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/types.rb', line 8399

class WorkspaceEnforcedPolicy < Struct.new(
  :id,
  :name,
  :policy_body,
  :created_at,
  :owner)
  SENSITIVE = [:policy_body]
  include Aws::Structure
end

#id ⇒ String

The identifier of the WorkSpace-enforced policy.

Returns:

  • (String)


8399
8400
8401
8402
8403
8404
8405
8406
8407
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/types.rb', line 8399

class WorkspaceEnforcedPolicy < Struct.new(
  :id,
  :name,
  :policy_body,
  :created_at,
  :owner)
  SENSITIVE = [:policy_body]
  include Aws::Structure
end

#name ⇒ String

The name of the WorkSpace-enforced policy.

Returns:

  • (String)


8399
8400
8401
8402
8403
8404
8405
8406
8407
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/types.rb', line 8399

class WorkspaceEnforcedPolicy < Struct.new(
  :id,
  :name,
  :policy_body,
  :created_at,
  :owner)
  SENSITIVE = [:policy_body]
  include Aws::Structure
end

#owner ⇒ String

The owner of the WorkSpace-enforced policy:

  • SELF – Your account owns the policy.

  • AMAZON – Amazon owns the policy. You can use it, but you can't change or delete it.

Returns:

  • (String)


8399
8400
8401
8402
8403
8404
8405
8406
8407
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/types.rb', line 8399

class WorkspaceEnforcedPolicy < Struct.new(
  :id,
  :name,
  :policy_body,
  :created_at,
  :owner)
  SENSITIVE = [:policy_body]
  include Aws::Structure
end

#policy_body ⇒ String

Specifies the policy document, in JSON format, that defines the enforced policy. It can be up to 65,536 characters long.

Returns:

  • (String)


8399
8400
8401
8402
8403
8404
8405
8406
8407
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/types.rb', line 8399

class WorkspaceEnforcedPolicy < Struct.new(
  :id,
  :name,
  :policy_body,
  :created_at,
  :owner)
  SENSITIVE = [:policy_body]
  include Aws::Structure
end