SecurityHub / Client / enable_security_hub_v2

enable_security_hub_v2

SecurityHub.Client.enable_security_hub_v2(**kwargs)

Enables the service in account for the current Amazon Web Services Region or specified Amazon Web Services Region. This API is in private preview and subject to change.

See also: AWS API Documentation

Request Syntax

response = client.enable_security_hub_v2(
    Tags={
        'string': 'string'
    }
)
Parameters:

Tags (dict) –

The tags to add to the hub V2 resource when you enable Security Hub.

  • (string) –

    • (string) –

Return type:

dict

Returns:

Response Syntax

{
    'HubV2Arn': 'string'
}

Response Structure

  • (dict) –

    • HubV2Arn (string) –

      The ARN of the V2 resource that was created.

Exceptions