Skip to main content

drt_log_buckets

Creates, updates, deletes, gets or lists a drt_log_buckets resource.

Overview

Namedrt_log_buckets
TypeResource
Idaws.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:

NameAccessible byRequired ParamsOptional ParamsDescription
associate_drt_log_bucketupdateregion, LogBucketAuthorizes 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_bucketexecregion, LogBucketRemoves 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.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

UPDATE examples

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

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 }}"
}'
;