aws-solutions-constructs.aws-s3-sns 2.85.2__py3-none-any.whl → 2.85.4__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- aws_solutions_constructs/aws_s3_sns/__init__.py +1 -119
- aws_solutions_constructs/aws_s3_sns/_jsii/__init__.py +2 -2
- aws_solutions_constructs/aws_s3_sns/_jsii/aws-s3-sns@2.85.4.jsii.tgz +0 -0
- aws_solutions_constructs_aws_s3_sns-2.85.4.dist-info/METADATA +28 -0
- aws_solutions_constructs_aws_s3_sns-2.85.4.dist-info/RECORD +9 -0
- aws_solutions_constructs/aws_s3_sns/_jsii/aws-s3-sns@2.85.2.jsii.tgz +0 -0
- aws_solutions_constructs_aws_s3_sns-2.85.2.dist-info/METADATA +0 -146
- aws_solutions_constructs_aws_s3_sns-2.85.2.dist-info/RECORD +0 -9
- {aws_solutions_constructs_aws_s3_sns-2.85.2.dist-info → aws_solutions_constructs_aws_s3_sns-2.85.4.dist-info}/LICENSE +0 -0
- {aws_solutions_constructs_aws_s3_sns-2.85.2.dist-info → aws_solutions_constructs_aws_s3_sns-2.85.4.dist-info}/WHEEL +0 -0
- {aws_solutions_constructs_aws_s3_sns-2.85.2.dist-info → aws_solutions_constructs_aws_s3_sns-2.85.4.dist-info}/top_level.txt +0 -0
@@ -1,123 +1,5 @@
|
|
1
1
|
r'''
|
2
|
-
|
3
|
-
|
4
|
-
<!--BEGIN STABILITY BANNER-->---
|
5
|
-
|
6
|
-
|
7
|
-

|
8
|
-
|
9
|
-
> All classes are under active development and subject to non-backward compatible changes or removal in any
|
10
|
-
> future version. These are not subject to the [Semantic Versioning](https://semver.org/) model.
|
11
|
-
> This means that while you may use them, you may need to update your source code when upgrading to a newer version of this package.
|
12
|
-
|
13
|
-
---
|
14
|
-
<!--END STABILITY BANNER-->
|
15
|
-
|
16
|
-
| **Reference Documentation**:| <span style="font-weight: normal">https://docs.aws.amazon.com/solutions/latest/constructs/</span>|
|
17
|
-
|:-------------|:-------------|
|
18
|
-
|
19
|
-
<div style="height:8px"></div>
|
20
|
-
|
21
|
-
| **Language** | **Package** |
|
22
|
-
|:-------------|-----------------|
|
23
|
-
| Python|`aws_solutions_constructs.aws_s3_sns`|
|
24
|
-
| Typescript|`@aws-solutions-constructs/aws-s3-sns`|
|
25
|
-
| Java|`software.amazon.awsconstructs.services.s3sns`|
|
26
|
-
|
27
|
-
## Overview
|
28
|
-
|
29
|
-
This AWS Solutions Construct implements an Amazon S3 Bucket that is configured to send S3 event messages to an Amazon SNS topic.
|
30
|
-
|
31
|
-
Here is a minimal deployable pattern definition:
|
32
|
-
|
33
|
-
Typescript
|
34
|
-
|
35
|
-
```python
|
36
|
-
import { Construct } from 'constructs';
|
37
|
-
import { Stack, StackProps } from 'aws-cdk-lib';
|
38
|
-
import { S3ToSns } from "@aws-solutions-constructs/aws-s3-sns";
|
39
|
-
|
40
|
-
new S3ToSns(this, 'S3ToSNSPattern', {});
|
41
|
-
```
|
42
|
-
|
43
|
-
Python
|
44
|
-
|
45
|
-
```python
|
46
|
-
from aws_solutions_constructs.aws_s3_sns import S3ToSns
|
47
|
-
from aws_cdk import Stack
|
48
|
-
from constructs import Construct
|
49
|
-
|
50
|
-
S3ToSns(self, 'S3ToSNSPattern')
|
51
|
-
```
|
52
|
-
|
53
|
-
Java
|
54
|
-
|
55
|
-
```java
|
56
|
-
import software.constructs.Construct;
|
57
|
-
|
58
|
-
import software.amazon.awscdk.Stack;
|
59
|
-
import software.amazon.awscdk.StackProps;
|
60
|
-
import software.amazon.awsconstructs.services.s3sns.*;
|
61
|
-
|
62
|
-
new S3ToSns(this, "S3ToSNSPattern", new S3ToSnsProps.Builder()
|
63
|
-
.build());
|
64
|
-
```
|
65
|
-
|
66
|
-
## Pattern Construct Props
|
67
|
-
|
68
|
-
| **Name** | **Type** | **Description** |
|
69
|
-
|:-------------|:----------------|-----------------|
|
70
|
-
|existingBucketObj?|[`s3.Bucket`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_s3.Bucket.html)|Existing instance of S3 Bucket object. If this is provided, then also providing bucketProps is an error. |
|
71
|
-
|bucketProps?|[`s3.BucketProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_s3.BucketProps.html)|Optional user provided props to override the default props for the S3 Bucket.|
|
72
|
-
|s3EventTypes?|[`s3.EventType[]`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_s3.EventType.html)|The S3 event types that will trigger the notification. Defaults to s3.EventType.OBJECT_CREATED.|
|
73
|
-
|s3EventFilters?|[`s3.NotificationKeyFilter[]`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_s3.NotificationKeyFilter.html)|S3 object key filter rules to determine which objects trigger this event. If not specified no filter rules will be applied.|
|
74
|
-
|loggingBucketProps?|[`s3.BucketProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_s3.BucketProps.html)|Optional user provided props to override the default props for the S3 Logging Bucket.|
|
75
|
-
|logS3AccessLogs?|`boolean`|Whether to turn on Access Logging for the S3 bucket. Creates an S3 bucket with associated storage costs for the logs. Enabling Access Logging is a best practice. default - true|
|
76
|
-
|existingTopicObj?|[`sns.Topic`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_sns.Topic.html)|An optional, existing SNS topic to be used instead of the default topic. Providing both this and `topicProps` will cause an error. If the SNS Topic is encrypted with a Customer-Managed KMS Key, the key must be specified in the `existingTopicEncryptionKey` property.|
|
77
|
-
|existingTopicEncryptionKey?|[`kms.Key`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_kms.Key.html)|If an existing topic is provided in the `existingTopicObj` property, and that topic is encrypted with a Customer-Managed KMS key, this property also needs to be set with same key.|
|
78
|
-
|topicProps?|[`sns.TopicProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_sns.TopicProps.html)|Optional user provided props to override the default props for the SNS topic.|
|
79
|
-
|enableEncryptionWithCustomerManagedKey?|`boolean`|If no key is provided, this flag determines whether the topic is encrypted with a new CMK or an AWS managed key. This flag is ignored if any of the following are defined: topicProps.encryptionMasterKey, encryptionKey or encryptionKeyProps.|
|
80
|
-
|encryptionKey?|[`kms.Key`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_kms.Key.html)|An optional, imported encryption key to encrypt the SNS Topic with.|
|
81
|
-
|encryptionKeyProps?|[`kms.KeyProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_kms.Key.html#construct-props)|Optional user provided properties to override the default properties for the KMS encryption key used to encrypt the SNS Topic with.|
|
82
|
-
|
83
|
-
## Pattern Properties
|
84
|
-
|
85
|
-
| **Name** | **Type** | **Description** |
|
86
|
-
|:-------------|:----------------|-----------------|
|
87
|
-
|snsTopic|[`sns.Topic`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_sns.Topic.html)|Returns an instance of the SNS Topic created by the pattern.|
|
88
|
-
|encryptionKey?|[`kms.Key`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_kms.Key.html)|Returns an instance of the kms.Key associated with the SNS Topic|
|
89
|
-
|s3Bucket?|[`s3.Bucket`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_s3.Bucket.html)|Returns an instance of the s3.Bucket created by the construct|
|
90
|
-
|s3LoggingBucket?|[`s3.Bucket`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_s3.Bucket.html)|Returns an instance of s3.Bucket created by the construct as the logging bucket for the primary bucket.|
|
91
|
-
|s3BucketInterface|[`s3.IBucket`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_s3.IBucket.html)|Returns an instance of s3.IBucket created by the construct.|
|
92
|
-
|
93
|
-
## Default settings
|
94
|
-
|
95
|
-
Out of the box implementation of the Construct without any override will set the following defaults:
|
96
|
-
|
97
|
-
### Amazon S3 Bucket
|
98
|
-
|
99
|
-
* Configure Access logging for the S3 Bucket
|
100
|
-
* Enable server-side encryption for S3 Bucket using an AWS managed KMS Key
|
101
|
-
* Enforce encryption of data in transit
|
102
|
-
* Turn on the versioning for the S3 Bucket
|
103
|
-
* Don't allow public access for the S3 Bucket
|
104
|
-
* Retain the S3 Bucket when deleting the CloudFormation stack
|
105
|
-
* Applies Lifecycle rule to move noncurrent object versions to Glacier storage after 90 days
|
106
|
-
|
107
|
-
### Amazon SNS Topic
|
108
|
-
|
109
|
-
* Configure least privilege SNS Topic access policy to allow the S3 Bucket to publish messages to it
|
110
|
-
* Enable server-side encryption for the SNS Topic using an AWS managed KMS Key
|
111
|
-
* Enforce encryption of data in transit
|
112
|
-
|
113
|
-
## Architecture
|
114
|
-
|
115
|
-

|
116
|
-
|
117
|
-
---
|
118
|
-
|
119
|
-
|
120
|
-
© Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
2
|
+
Documentation for this pattern can be found [here](https://github.com/awslabs/aws-solutions-constructs/blob/main/source/patterns/%40aws-solutions-constructs/aws-s3-sns/README.adoc)
|
121
3
|
'''
|
122
4
|
from pkgutil import extend_path
|
123
5
|
__path__ = extend_path(__path__, __name__)
|
Binary file
|
@@ -0,0 +1,28 @@
|
|
1
|
+
Metadata-Version: 2.1
|
2
|
+
Name: aws-solutions-constructs.aws-s3-sns
|
3
|
+
Version: 2.85.4
|
4
|
+
Summary: CDK constructs for defining an interaction between an Amazon S3 bucket and an Amazon SNS Topic.
|
5
|
+
Home-page: https://github.com/awslabs/aws-solutions-constructs.git
|
6
|
+
Author: Amazon Web Services
|
7
|
+
License: Apache-2.0
|
8
|
+
Project-URL: Source, https://github.com/awslabs/aws-solutions-constructs.git
|
9
|
+
Classifier: Intended Audience :: Developers
|
10
|
+
Classifier: Operating System :: OS Independent
|
11
|
+
Classifier: Programming Language :: JavaScript
|
12
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
13
|
+
Classifier: Programming Language :: Python :: 3.9
|
14
|
+
Classifier: Programming Language :: Python :: 3.10
|
15
|
+
Classifier: Programming Language :: Python :: 3.11
|
16
|
+
Classifier: Typing :: Typed
|
17
|
+
Classifier: License :: OSI Approved
|
18
|
+
Requires-Python: ~=3.9
|
19
|
+
Description-Content-Type: text/markdown
|
20
|
+
License-File: LICENSE
|
21
|
+
Requires-Dist: aws-cdk-lib<3.0.0,>=2.193.0
|
22
|
+
Requires-Dist: aws-solutions-constructs.core==2.85.4
|
23
|
+
Requires-Dist: constructs<11.0.0,>=10.0.0
|
24
|
+
Requires-Dist: jsii<2.0.0,>=1.111.0
|
25
|
+
Requires-Dist: publication>=0.0.3
|
26
|
+
Requires-Dist: typeguard<4.3.0,>=2.13.3
|
27
|
+
|
28
|
+
Documentation for this pattern can be found [here](https://github.com/awslabs/aws-solutions-constructs/blob/main/source/patterns/%40aws-solutions-constructs/aws-s3-sns/README.adoc)
|
@@ -0,0 +1,9 @@
|
|
1
|
+
aws_solutions_constructs/aws_s3_sns/__init__.py,sha256=eIgVG2MfN-sVB0YVHd0S2FWgb8wYK7nxCkL21S_E7Oc,25536
|
2
|
+
aws_solutions_constructs/aws_s3_sns/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
3
|
+
aws_solutions_constructs/aws_s3_sns/_jsii/__init__.py,sha256=Yt_FiEKzBmzk5VGMoFPrZ1HgmxQrPnsp2WJ6rqVXkqA,1515
|
4
|
+
aws_solutions_constructs/aws_s3_sns/_jsii/aws-s3-sns@2.85.4.jsii.tgz,sha256=HPl99n9VXHzlzJgaV_WnV8dDchG6KiaZOQt3OCc35ww,75325
|
5
|
+
aws_solutions_constructs_aws_s3_sns-2.85.4.dist-info/LICENSE,sha256=wnT4A3LZDAEpNzcPDh8VCH0i4wjvmLJ86l3A0tCINmw,10279
|
6
|
+
aws_solutions_constructs_aws_s3_sns-2.85.4.dist-info/METADATA,sha256=g2wZG4dBn4k18gXhGvXCjeS-8krFo8tLDjKDncxkkwM,1302
|
7
|
+
aws_solutions_constructs_aws_s3_sns-2.85.4.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
|
8
|
+
aws_solutions_constructs_aws_s3_sns-2.85.4.dist-info/top_level.txt,sha256=hi3us_KW7V1ocfOqVsNq1o3w552jCEgu_KsCckqYWsg,25
|
9
|
+
aws_solutions_constructs_aws_s3_sns-2.85.4.dist-info/RECORD,,
|
Binary file
|
@@ -1,146 +0,0 @@
|
|
1
|
-
Metadata-Version: 2.1
|
2
|
-
Name: aws-solutions-constructs.aws-s3-sns
|
3
|
-
Version: 2.85.2
|
4
|
-
Summary: CDK constructs for defining an interaction between an Amazon S3 bucket and an Amazon SNS Topic.
|
5
|
-
Home-page: https://github.com/awslabs/aws-solutions-constructs.git
|
6
|
-
Author: Amazon Web Services
|
7
|
-
License: Apache-2.0
|
8
|
-
Project-URL: Source, https://github.com/awslabs/aws-solutions-constructs.git
|
9
|
-
Classifier: Intended Audience :: Developers
|
10
|
-
Classifier: Operating System :: OS Independent
|
11
|
-
Classifier: Programming Language :: JavaScript
|
12
|
-
Classifier: Programming Language :: Python :: 3 :: Only
|
13
|
-
Classifier: Programming Language :: Python :: 3.9
|
14
|
-
Classifier: Programming Language :: Python :: 3.10
|
15
|
-
Classifier: Programming Language :: Python :: 3.11
|
16
|
-
Classifier: Typing :: Typed
|
17
|
-
Classifier: License :: OSI Approved
|
18
|
-
Requires-Python: ~=3.9
|
19
|
-
Description-Content-Type: text/markdown
|
20
|
-
License-File: LICENSE
|
21
|
-
Requires-Dist: aws-cdk-lib<3.0.0,>=2.193.0
|
22
|
-
Requires-Dist: aws-solutions-constructs.core==2.85.2
|
23
|
-
Requires-Dist: constructs<11.0.0,>=10.0.0
|
24
|
-
Requires-Dist: jsii<2.0.0,>=1.111.0
|
25
|
-
Requires-Dist: publication>=0.0.3
|
26
|
-
Requires-Dist: typeguard<4.3.0,>=2.13.3
|
27
|
-
|
28
|
-
# aws-s3-sns module
|
29
|
-
|
30
|
-
<!--BEGIN STABILITY BANNER-->---
|
31
|
-
|
32
|
-
|
33
|
-

|
34
|
-
|
35
|
-
> All classes are under active development and subject to non-backward compatible changes or removal in any
|
36
|
-
> future version. These are not subject to the [Semantic Versioning](https://semver.org/) model.
|
37
|
-
> This means that while you may use them, you may need to update your source code when upgrading to a newer version of this package.
|
38
|
-
|
39
|
-
---
|
40
|
-
<!--END STABILITY BANNER-->
|
41
|
-
|
42
|
-
| **Reference Documentation**:| <span style="font-weight: normal">https://docs.aws.amazon.com/solutions/latest/constructs/</span>|
|
43
|
-
|:-------------|:-------------|
|
44
|
-
|
45
|
-
<div style="height:8px"></div>
|
46
|
-
|
47
|
-
| **Language** | **Package** |
|
48
|
-
|:-------------|-----------------|
|
49
|
-
| Python|`aws_solutions_constructs.aws_s3_sns`|
|
50
|
-
| Typescript|`@aws-solutions-constructs/aws-s3-sns`|
|
51
|
-
| Java|`software.amazon.awsconstructs.services.s3sns`|
|
52
|
-
|
53
|
-
## Overview
|
54
|
-
|
55
|
-
This AWS Solutions Construct implements an Amazon S3 Bucket that is configured to send S3 event messages to an Amazon SNS topic.
|
56
|
-
|
57
|
-
Here is a minimal deployable pattern definition:
|
58
|
-
|
59
|
-
Typescript
|
60
|
-
|
61
|
-
```python
|
62
|
-
import { Construct } from 'constructs';
|
63
|
-
import { Stack, StackProps } from 'aws-cdk-lib';
|
64
|
-
import { S3ToSns } from "@aws-solutions-constructs/aws-s3-sns";
|
65
|
-
|
66
|
-
new S3ToSns(this, 'S3ToSNSPattern', {});
|
67
|
-
```
|
68
|
-
|
69
|
-
Python
|
70
|
-
|
71
|
-
```python
|
72
|
-
from aws_solutions_constructs.aws_s3_sns import S3ToSns
|
73
|
-
from aws_cdk import Stack
|
74
|
-
from constructs import Construct
|
75
|
-
|
76
|
-
S3ToSns(self, 'S3ToSNSPattern')
|
77
|
-
```
|
78
|
-
|
79
|
-
Java
|
80
|
-
|
81
|
-
```java
|
82
|
-
import software.constructs.Construct;
|
83
|
-
|
84
|
-
import software.amazon.awscdk.Stack;
|
85
|
-
import software.amazon.awscdk.StackProps;
|
86
|
-
import software.amazon.awsconstructs.services.s3sns.*;
|
87
|
-
|
88
|
-
new S3ToSns(this, "S3ToSNSPattern", new S3ToSnsProps.Builder()
|
89
|
-
.build());
|
90
|
-
```
|
91
|
-
|
92
|
-
## Pattern Construct Props
|
93
|
-
|
94
|
-
| **Name** | **Type** | **Description** |
|
95
|
-
|:-------------|:----------------|-----------------|
|
96
|
-
|existingBucketObj?|[`s3.Bucket`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_s3.Bucket.html)|Existing instance of S3 Bucket object. If this is provided, then also providing bucketProps is an error. |
|
97
|
-
|bucketProps?|[`s3.BucketProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_s3.BucketProps.html)|Optional user provided props to override the default props for the S3 Bucket.|
|
98
|
-
|s3EventTypes?|[`s3.EventType[]`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_s3.EventType.html)|The S3 event types that will trigger the notification. Defaults to s3.EventType.OBJECT_CREATED.|
|
99
|
-
|s3EventFilters?|[`s3.NotificationKeyFilter[]`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_s3.NotificationKeyFilter.html)|S3 object key filter rules to determine which objects trigger this event. If not specified no filter rules will be applied.|
|
100
|
-
|loggingBucketProps?|[`s3.BucketProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_s3.BucketProps.html)|Optional user provided props to override the default props for the S3 Logging Bucket.|
|
101
|
-
|logS3AccessLogs?|`boolean`|Whether to turn on Access Logging for the S3 bucket. Creates an S3 bucket with associated storage costs for the logs. Enabling Access Logging is a best practice. default - true|
|
102
|
-
|existingTopicObj?|[`sns.Topic`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_sns.Topic.html)|An optional, existing SNS topic to be used instead of the default topic. Providing both this and `topicProps` will cause an error. If the SNS Topic is encrypted with a Customer-Managed KMS Key, the key must be specified in the `existingTopicEncryptionKey` property.|
|
103
|
-
|existingTopicEncryptionKey?|[`kms.Key`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_kms.Key.html)|If an existing topic is provided in the `existingTopicObj` property, and that topic is encrypted with a Customer-Managed KMS key, this property also needs to be set with same key.|
|
104
|
-
|topicProps?|[`sns.TopicProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_sns.TopicProps.html)|Optional user provided props to override the default props for the SNS topic.|
|
105
|
-
|enableEncryptionWithCustomerManagedKey?|`boolean`|If no key is provided, this flag determines whether the topic is encrypted with a new CMK or an AWS managed key. This flag is ignored if any of the following are defined: topicProps.encryptionMasterKey, encryptionKey or encryptionKeyProps.|
|
106
|
-
|encryptionKey?|[`kms.Key`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_kms.Key.html)|An optional, imported encryption key to encrypt the SNS Topic with.|
|
107
|
-
|encryptionKeyProps?|[`kms.KeyProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_kms.Key.html#construct-props)|Optional user provided properties to override the default properties for the KMS encryption key used to encrypt the SNS Topic with.|
|
108
|
-
|
109
|
-
## Pattern Properties
|
110
|
-
|
111
|
-
| **Name** | **Type** | **Description** |
|
112
|
-
|:-------------|:----------------|-----------------|
|
113
|
-
|snsTopic|[`sns.Topic`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_sns.Topic.html)|Returns an instance of the SNS Topic created by the pattern.|
|
114
|
-
|encryptionKey?|[`kms.Key`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_kms.Key.html)|Returns an instance of the kms.Key associated with the SNS Topic|
|
115
|
-
|s3Bucket?|[`s3.Bucket`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_s3.Bucket.html)|Returns an instance of the s3.Bucket created by the construct|
|
116
|
-
|s3LoggingBucket?|[`s3.Bucket`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_s3.Bucket.html)|Returns an instance of s3.Bucket created by the construct as the logging bucket for the primary bucket.|
|
117
|
-
|s3BucketInterface|[`s3.IBucket`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_s3.IBucket.html)|Returns an instance of s3.IBucket created by the construct.|
|
118
|
-
|
119
|
-
## Default settings
|
120
|
-
|
121
|
-
Out of the box implementation of the Construct without any override will set the following defaults:
|
122
|
-
|
123
|
-
### Amazon S3 Bucket
|
124
|
-
|
125
|
-
* Configure Access logging for the S3 Bucket
|
126
|
-
* Enable server-side encryption for S3 Bucket using an AWS managed KMS Key
|
127
|
-
* Enforce encryption of data in transit
|
128
|
-
* Turn on the versioning for the S3 Bucket
|
129
|
-
* Don't allow public access for the S3 Bucket
|
130
|
-
* Retain the S3 Bucket when deleting the CloudFormation stack
|
131
|
-
* Applies Lifecycle rule to move noncurrent object versions to Glacier storage after 90 days
|
132
|
-
|
133
|
-
### Amazon SNS Topic
|
134
|
-
|
135
|
-
* Configure least privilege SNS Topic access policy to allow the S3 Bucket to publish messages to it
|
136
|
-
* Enable server-side encryption for the SNS Topic using an AWS managed KMS Key
|
137
|
-
* Enforce encryption of data in transit
|
138
|
-
|
139
|
-
## Architecture
|
140
|
-
|
141
|
-

|
142
|
-
|
143
|
-
---
|
144
|
-
|
145
|
-
|
146
|
-
© Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
@@ -1,9 +0,0 @@
|
|
1
|
-
aws_solutions_constructs/aws_s3_sns/__init__.py,sha256=RJdrXIWmdmGnwHEoYA-bH-p9r4JLLAz_X3hj8o7UQIY,32377
|
2
|
-
aws_solutions_constructs/aws_s3_sns/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
3
|
-
aws_solutions_constructs/aws_s3_sns/_jsii/__init__.py,sha256=l1yKlJyxio5jsogFWfMEFUr05uWbKhl0-4QRy_uG-s0,1515
|
4
|
-
aws_solutions_constructs/aws_s3_sns/_jsii/aws-s3-sns@2.85.2.jsii.tgz,sha256=O4ELZRx0CjGB7bGqeBJNMqa7Lh27lIIEasHX5wXQo4w,76649
|
5
|
-
aws_solutions_constructs_aws_s3_sns-2.85.2.dist-info/LICENSE,sha256=wnT4A3LZDAEpNzcPDh8VCH0i4wjvmLJ86l3A0tCINmw,10279
|
6
|
-
aws_solutions_constructs_aws_s3_sns-2.85.2.dist-info/METADATA,sha256=JqHCVHb41JYwOP3ik190zmXMUcEwyNUyoLeqyByn-OI,8143
|
7
|
-
aws_solutions_constructs_aws_s3_sns-2.85.2.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
|
8
|
-
aws_solutions_constructs_aws_s3_sns-2.85.2.dist-info/top_level.txt,sha256=hi3us_KW7V1ocfOqVsNq1o3w552jCEgu_KsCckqYWsg,25
|
9
|
-
aws_solutions_constructs_aws_s3_sns-2.85.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|