Skip to main content

Cloud executable protocol

Project description

Cloud Executable API

---

cdk-constructs: Stable


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.

https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AWS-logs-and-resource-policy.html#AWS-logs-infrastructure-S3

cdk.json

{
  "context": {
    "@aws-cdk/aws-s3:createDefaultLoggingPolicy": true
  }
}
  • @aws-cdk/aws-sns-subscriptions:restrictSqsDescryption

Enable this feature flag to restrict the decryption of a SQS queue, which is subscribed to a SNS topic, to only the topic which it is subscribed to and not the whole SNS service of an account.

Previously the decryption was only restricted to the SNS service principal. To make the SQS subscription more secure, it is a good practice to restrict the decryption further and only allow the connected SNS topic to decryption the subscribed queue.

cdk.json

{
  "context": {
    "@aws-cdk/aws-sns-subscriptions:restrictSqsDescryption": 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

aws-cdk.cx-api-2.37.1.tar.gz (176.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aws_cdk.cx_api-2.37.1-py3-none-any.whl (175.3 kB view details)

Uploaded Python 3

File details

Details for the file aws-cdk.cx-api-2.37.1.tar.gz.

File metadata

  • Download URL: aws-cdk.cx-api-2.37.1.tar.gz
  • Upload date:
  • Size: 176.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.12

File hashes

Hashes for aws-cdk.cx-api-2.37.1.tar.gz
Algorithm Hash digest
SHA256 cd85f72f6586844ae192c97a89b676c2bf64608b6e037b93214659f411aa101b
MD5 9b33f39fbaa4aa5f48611844982c1de8
BLAKE2b-256 9ee3441ee7e53515aa2d55af6970deec698cad0789e0fae147e4e45c14e570d7

See more details on using hashes here.

File details

Details for the file aws_cdk.cx_api-2.37.1-py3-none-any.whl.

File metadata

File hashes

Hashes for aws_cdk.cx_api-2.37.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3d3111c80aa04e4c35cf2887e62273ac103cfa746bdede66221e40da176daf3b
MD5 716751c68ce4a136c1a94dbadb84165b
BLAKE2b-256 d83fd9ce7c165a7314fff6974937ff9e5354a9cf24ba849c8dbb815fcb128caf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page