Class: Aws::SecurityHub::Types::Policy

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

Overview

Note:

Policy is a union - when making an API calls you must set exactly one of the members.

Note:

Policy is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of Policy corresponding to the set member.

An object that defines how Security Hub is configured. It includes whether Security Hub is enabled or disabled, a list of enabled security standards, a list of enabled or disabled security controls, and a list of custom parameter values for specified controls. If you provide a list of security controls that are enabled in the configuration policy, Security Hub disables all other controls (including newly released controls). If you provide a list of security controls that are disabled in the configuration policy, Security Hub enables all other controls (including newly released controls).

Direct Known Subclasses

SecurityHub, Unknown

Defined Under Namespace

Classes: SecurityHub, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#security_hubTypes::SecurityHubPolicy

The Amazon Web Service that the configuration policy applies to.



26469
26470
26471
26472
26473
26474
26475
26476
26477
26478
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 26469

class Policy < Struct.new(
  :security_hub,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class SecurityHub < Policy; end
  class Unknown < Policy; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



26469
26470
26471
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 26469

def unknown
  @unknown
end