drt_log_buckets
Creates, updates, deletes, gets or lists a drt_log_buckets resource.
Overview
| Name | drt_log_buckets |
| Type | Resource |
| Id | aws.shield.drt_log_buckets |
Fields
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
associate_drt_log_bucket | update | region, LogBucket | Authorizes the Shield Response Team (SRT) to access the specified Amazon S3 bucket containing log data such as Application Load Balancer access logs, CloudFront logs, or logs from third party sources. You can associate up to 10 Amazon S3 buckets with your subscription. To use the services of the SRT and make an AssociateDRTLogBucket request, you must be subscribed to the Business Support plan or the Enterprise Support plan. | |
disassociate_drt_log_bucket | exec | region, LogBucket | Removes the Shield Response Team's (SRT) access to the specified Amazon S3 bucket containing the logs that you shared previously. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
UPDATE examples
- associate_drt_log_bucket
Authorizes the Shield Response Team (SRT) to access the specified Amazon S3 bucket containing log data such as Application Load Balancer access logs, CloudFront logs, or logs from third party sources. You can associate up to 10 Amazon S3 buckets with your subscription. To use the services of the SRT and make an AssociateDRTLogBucket request, you must be subscribed to the Business Support plan or the Enterprise Support plan.
UPDATE aws.shield.drt_log_buckets
SET
LogBucket = '{{ LogBucket }}'
WHERE
region = '{{ region }}' --required
AND LogBucket = '{{ LogBucket }}' --required;
Lifecycle Methods
- disassociate_drt_log_bucket
Removes the Shield Response Team's (SRT) access to the specified Amazon S3 bucket containing the logs that you shared previously.
EXEC aws.shield.drt_log_buckets.disassociate_drt_log_bucket
@region='{{ region }}' --required
@@json=
'{
"LogBucket": "{{ LogBucket }}"
}'
;