Design High-Performing Architectures
An S3 ingestion bucket must reject uploads sent without HTTPS. Which bucket policy condition should an explicit Deny statement use?
Show the answer
Correct answerB. aws:SecureTransport equals false
AWhy not this: This condition identifies a VPC endpoint, not whether the request uses HTTPS.
BWhy this is right: This condition identifies requests that do not use secure transport so the policy can deny them.
CWhy not this: This condition identifies a source IP range, not whether the connection uses HTTPS.
DWhy not this: This condition identifies the principal's organization, not the transport security.
Denying requests when aws:SecureTransport is false enforces HTTPS for uploads. Restricting a source VPC endpoint controls the network origin, not whether a request uses HTTPS.