GetAccessPointPolicyStatus
Source:
src/AWS/S3Control/GetAccessPointPolicyStatus.ts
Runtime binding for s3:GetAccessPointPolicyStatus.
Indicates whether the bound AccessPoint’s policy currently allows
public access — e.g. a compliance auditor Lambda that alerts on publicly
exposed access points. An access point without a policy fails with the
typed NoSuchAccessPointPolicy tag. Provide the implementation with
Effect.provide(AWS.S3Control.GetAccessPointPolicyStatusHttp).
Observing an Access Point
Section titled “Observing an Access Point”// init — bind the operation to the access pointconst getPolicyStatus = yield* AWS.S3Control.GetAccessPointPolicyStatus(accessPoint);
// runtimeconst status = yield* getPolicyStatus();// status.PolicyStatus?.IsPublic === false