Class: Aws::SecurityHub::Types::Target
- Inherits:
-
Struct
- Object
- Struct
- Aws::SecurityHub::Types::Target
- Defined in:
- gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb
Overview
Target is a union - when making an API calls you must set exactly one of the members.
Target is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of Target corresponding to the set member.
The target account, organizational unit, or the root that is associated with an Security Hub CSPM configuration. The configuration can be a configuration policy or self-managed behavior.
Defined Under Namespace
Classes: AccountId, OrganizationalUnitId, RootId, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#account_id ⇒ String
The Amazon Web Services account ID of the target account.
-
#organizational_unit_id ⇒ String
The organizational unit ID of the target organizational unit.
-
#root_id ⇒ String
The ID of the organization root.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#account_id ⇒ String
The Amazon Web Services account ID of the target account.
35490 35491 35492 35493 35494 35495 35496 35497 35498 35499 35500 35501 35502 35503 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 35490 class Target < Struct.new( :account_id, :organizational_unit_id, :root_id, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class AccountId < Target; end class OrganizationalUnitId < Target; end class RootId < Target; end class Unknown < Target; end end |
#organizational_unit_id ⇒ String
The organizational unit ID of the target organizational unit.
35490 35491 35492 35493 35494 35495 35496 35497 35498 35499 35500 35501 35502 35503 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 35490 class Target < Struct.new( :account_id, :organizational_unit_id, :root_id, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class AccountId < Target; end class OrganizationalUnitId < Target; end class RootId < Target; end class Unknown < Target; end end |
#root_id ⇒ String
The ID of the organization root.
35490 35491 35492 35493 35494 35495 35496 35497 35498 35499 35500 35501 35502 35503 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 35490 class Target < Struct.new( :account_id, :organizational_unit_id, :root_id, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class AccountId < Target; end class OrganizationalUnitId < Target; end class RootId < Target; end class Unknown < Target; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
35490 35491 35492 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 35490 def unknown @unknown end |