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.
30618 30619 30620 30621 30622 30623 30624 30625 30626 30627 30628 30629 30630 30631 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 30618 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.
30618 30619 30620 30621 30622 30623 30624 30625 30626 30627 30628 30629 30630 30631 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 30618 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.
30618 30619 30620 30621 30622 30623 30624 30625 30626 30627 30628 30629 30630 30631 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 30618 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
30618 30619 30620 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 30618 def unknown @unknown end |