Skip to content

DescribeDRTAccess

Source: src/AWS/Shield/DescribeDRTAccess.ts

Runtime binding for shield:DescribeDRTAccess.

Returns the IAM role and S3 log buckets the Shield Response Team (SRT) is currently authorized to use while assisting with attack mitigation — useful for security-posture audit handlers. Requires an active Shield Advanced subscription; without one the call fails with the typed ResourceNotFoundException. Provide the implementation with Effect.provide(AWS.Shield.DescribeDRTAccessHttp).

// init — account-level binding, no resource argument
const describeDRTAccess = yield* AWS.Shield.DescribeDRTAccess();
// runtime
const { RoleArn, LogBucketList } = yield* describeDRTAccess();