BlockedEncryptionType Class
Encryption types that can be blocked on an S3 bucket.
Example
ts
const bucket = new s3.Bucket(this, 'MySsecBlockedBucket', {
blockedEncryptionTypes: [s3.BlockedEncryptionType.SSE_C],
});
Properties
The name for this blocked encryption type used in the API.
NONEBlockedEncryptionTypenoneBlockedEncryptionTypeNONEBlockedEncryptionTypeNONEBlockedEncryptionTypeNONEBlockedEncryptionTyperequiredstatic#Special value - all encryption types are allowed.
SSE_CBlockedEncryptionTypesse_cBlockedEncryptionTypeSSE_CBlockedEncryptionTypeSSE_CBlockedEncryptionTypeSSE_CBlockedEncryptionTyperequiredstatic#Server-Side Encryption with customer-provided keys (SSE-C) is blocked.
Methods
custom(name: string): BlockedEncryptionType // chainable@staticmethod def custom(name: str) -> BlockedEncryptionTypepublic static BlockedEncryptionType custom(String name)public static BlockedEncryptionType Custom(string name)func Custom(Name *string) BlockedEncryptionTypestatic#Use this constructor only if S3 releases a new BlockedEncryptionType that is unknown to CDK.
Otherwise, use this class's static constants.