aws.fms.get_protection_status
Example SQL Queries
SELECT * FROMaws.fms.get_protection_statusWHERE"policy_id" = 'VALUE';Description
If you created a Shield Advanced policy, returns policy-level attack summary information in the event of a potential DDoS attack. Other policy types are currently unsupported.
Table Definition
| Column Name | Column Data Type |
|---|---|
| policy_id Required Input Column The ID of the policy for which you want to get the attack information. | VARCHAR |
| end_time Input Column The end of the time period to query for the attacks. This is a timestamp type. The request syntax listing indicates a number type because the default used by Firewall Manager is Unix time in seconds. However, any valid timestamp format is allowed. | TIMESTAMP_S |
| max_results Input Column Specifies the number of objects that you want Firewall Manager to return for this request. If you have more objects than the number that you specify for MaxResults, the response includes a NextToken value that you can use to get another batch of objects. | BIGINT |
| member_account_id Input Column The Amazon Web Services account that is in scope of the policy that you want to get the details for. | VARCHAR |
| next_token Input Column If you have more objects than the number that you specified for MaxResults in the request, the response includes a NextToken value. To list more objects, submit another GetProtectionStatus request, and specify the NextToken value from the response in the NextToken value in the next request. Amazon Web Services SDKs provide auto-pagination that identify NextToken in a response and make subsequent request calls automatically on your behalf. However, this feature is not supported by GetProtectionStatus. You must submit subsequent requests with NextToken using your own processes. | VARCHAR |
| start_time Input Column The start of the time period to query for the attacks. This is a timestamp type. The request syntax listing indicates a number type because the default used by Firewall Manager is Unix time in seconds. However, any valid timestamp format is allowed. | TIMESTAMP_S |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| _aws_region Input Column The AWS region to use. | VARCHAR |
| admin_account_id The ID of the Firewall Manager administrator account for this policy. | VARCHAR |
| data Details about the attack, including the following:
The details are in JSON format. | VARCHAR |
| service_type The service type that is protected by the policy. Currently, this is always SHIELD_ADVANCED. | VARCHAR |