Class: Aws::WorkSpaces::Types::AgentEnforcedPolicy

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

Overview

Describes an agent-enforced policy.

Constant Summary collapse

SENSITIVE =
[:policy_body]

Instance Attribute Summary collapse

Instance Attribute Details

#created_at ⇒ Time

The time when the agent-enforced policy was created.

Returns:

  • (Time)


242
243
244
245
246
247
248
249
250
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/types.rb', line 242

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

#id ⇒ String

The identifier of the agent-enforced policy.

Returns:

  • (String)


242
243
244
245
246
247
248
249
250
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/types.rb', line 242

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

#name ⇒ String

The name of the agent-enforced policy.

Returns:

  • (String)


242
243
244
245
246
247
248
249
250
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/types.rb', line 242

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

#owner ⇒ String

The owner of the agent-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)


242
243
244
245
246
247
248
249
250
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/types.rb', line 242

class AgentEnforcedPolicy < 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)


242
243
244
245
246
247
248
249
250
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/types.rb', line 242

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