BlockedEncryptionType
- class aws_cdk.aws_s3.BlockedEncryptionType(*args: Any, **kwargs)
Bases:
objectEncryption types that can be blocked on an S3 bucket.
- ExampleMetadata:
infused
Example:
bucket = s3.Bucket(self, "MySsecBlockedBucket", blocked_encryption_types=[s3.BlockedEncryptionType.SSE_C] )
Attributes
- NONE = <aws_cdk.aws_s3.BlockedEncryptionType object>
- SSE_C = <aws_cdk.aws_s3.BlockedEncryptionType object>
- name
The name for this blocked encryption type used in the API.
Static Methods
- classmethod custom(name)
Use this constructor only if S3 releases a new BlockedEncryptionType that is unknown to CDK.
Otherwise, use this class’s static constants.
- Parameters:
name (
str)- Return type: