Cloud executable protocol
Project description
Cloud Executable API
---This module is part of the AWS Cloud Development Kit project.
V2 Feature Flags
@aws-cdk/aws-s3:createDefaultLoggingPolicy
Enable this feature flag to create an S3 bucket policy by default in cases where an AWS service would automatically create the Policy if one does not exist.
For example, in order to send VPC flow logs to an S3 bucket, there is a specific Bucket Policy that needs to be attached to the bucket. If you create the bucket without a policy and then add the bucket as the flow log destination, the service will automatically create the bucket policy with the necessary permissions. If you were to then try and add your own bucket policy CloudFormation will throw and error indicating that a bucket policy already exists.
In cases where we know what the required policy is we can go ahead and create the policy so we can remain in control of it.
cdk.json
{
"context": {
"@aws-cdk/aws-s3:createDefaultLoggingPolicy": true
}
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for aws_cdk.cx_api-2.31.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c923ddaa3ca3b4671ff2c43a27409b98e8b93f0aa8c83e9fbd0438837f9d974d |
|
MD5 | aea54fbe909c0a0a3a522dcda95f4aec |
|
BLAKE2b-256 | f868ed6f8940d7744a898457969e4258ef0d12692405ac5036aae875aa350aa7 |