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 configuration. The configuration can be a configuration policy or self-managed behavior.
Direct Known Subclasses
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.
30549 30550 30551 30552 30553 30554 30555 30556 30557 30558 30559 30560 30561 30562 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 30549 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.
30549 30550 30551 30552 30553 30554 30555 30556 30557 30558 30559 30560 30561 30562 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 30549 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.
30549 30550 30551 30552 30553 30554 30555 30556 30557 30558 30559 30560 30561 30562 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 30549 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
30549 30550 30551 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 30549 def unknown @unknown end |