aws-cdk-lib 2.134.0__py3-none-any.whl → 2.135.0__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_cdk/__init__.py +5 -0
- aws_cdk/_jsii/__init__.py +4 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.134.0.jsii.tgz → aws-cdk-lib@2.135.0.jsii.tgz} +0 -0
- aws_cdk/alexa_ask/__init__.py +3 -0
- aws_cdk/assertions/__init__.py +3 -0
- aws_cdk/aws_accessanalyzer/__init__.py +3 -0
- aws_cdk/aws_acmpca/__init__.py +3 -0
- aws_cdk/aws_amazonmq/__init__.py +3 -0
- aws_cdk/aws_amplify/__init__.py +3 -0
- aws_cdk/aws_amplifyuibuilder/__init__.py +3 -0
- aws_cdk/aws_apigateway/__init__.py +3 -0
- aws_cdk/aws_apigatewayv2/__init__.py +3 -0
- aws_cdk/aws_apigatewayv2_authorizers/__init__.py +3 -0
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +3 -0
- aws_cdk/aws_appconfig/__init__.py +3 -0
- aws_cdk/aws_appflow/__init__.py +3 -0
- aws_cdk/aws_appintegrations/__init__.py +30 -21
- aws_cdk/aws_applicationautoscaling/__init__.py +4 -1
- aws_cdk/aws_applicationinsights/__init__.py +3 -0
- aws_cdk/aws_appmesh/__init__.py +4 -1
- aws_cdk/aws_apprunner/__init__.py +3 -0
- aws_cdk/aws_appstream/__init__.py +3 -0
- aws_cdk/aws_appsync/__init__.py +3 -0
- aws_cdk/aws_aps/__init__.py +805 -1
- aws_cdk/aws_arczonalshift/__init__.py +3 -0
- aws_cdk/aws_athena/__init__.py +3 -0
- aws_cdk/aws_auditmanager/__init__.py +3 -0
- aws_cdk/aws_autoscaling/__init__.py +3 -0
- aws_cdk/aws_autoscaling_common/__init__.py +3 -0
- aws_cdk/aws_autoscaling_hooktargets/__init__.py +3 -0
- aws_cdk/aws_autoscalingplans/__init__.py +3 -0
- aws_cdk/aws_b2bi/__init__.py +3 -0
- aws_cdk/aws_backup/__init__.py +3 -0
- aws_cdk/aws_backupgateway/__init__.py +3 -0
- aws_cdk/aws_batch/__init__.py +3 -0
- aws_cdk/aws_bedrock/__init__.py +3 -0
- aws_cdk/aws_billingconductor/__init__.py +3 -0
- aws_cdk/aws_budgets/__init__.py +3 -0
- aws_cdk/aws_cassandra/__init__.py +3 -0
- aws_cdk/aws_ce/__init__.py +3 -0
- aws_cdk/aws_certificatemanager/__init__.py +3 -0
- aws_cdk/aws_chatbot/__init__.py +3 -0
- aws_cdk/aws_cleanrooms/__init__.py +183 -6
- aws_cdk/aws_cloud9/__init__.py +3 -0
- aws_cdk/aws_cloudformation/__init__.py +3 -0
- aws_cdk/aws_cloudfront/__init__.py +3 -0
- aws_cdk/aws_cloudfront/experimental/__init__.py +3 -0
- aws_cdk/aws_cloudfront_origins/__init__.py +3 -0
- aws_cdk/aws_cloudtrail/__init__.py +3 -0
- aws_cdk/aws_cloudwatch/__init__.py +3 -0
- aws_cdk/aws_cloudwatch_actions/__init__.py +3 -0
- aws_cdk/aws_codeartifact/__init__.py +3 -0
- aws_cdk/aws_codebuild/__init__.py +17 -11
- aws_cdk/aws_codecommit/__init__.py +3 -0
- aws_cdk/aws_codedeploy/__init__.py +3 -0
- aws_cdk/aws_codeguruprofiler/__init__.py +3 -0
- aws_cdk/aws_codegurureviewer/__init__.py +3 -0
- aws_cdk/aws_codepipeline/__init__.py +3 -0
- aws_cdk/aws_codepipeline_actions/__init__.py +3 -0
- aws_cdk/aws_codestar/__init__.py +3 -0
- aws_cdk/aws_codestarconnections/__init__.py +91 -2
- aws_cdk/aws_codestarnotifications/__init__.py +3 -0
- aws_cdk/aws_cognito/__init__.py +3 -0
- aws_cdk/aws_comprehend/__init__.py +3 -0
- aws_cdk/aws_config/__init__.py +3 -0
- aws_cdk/aws_connect/__init__.py +21 -0
- aws_cdk/aws_connectcampaigns/__init__.py +3 -0
- aws_cdk/aws_controltower/__init__.py +3 -0
- aws_cdk/aws_cur/__init__.py +3 -0
- aws_cdk/aws_customerprofiles/__init__.py +3 -0
- aws_cdk/aws_databrew/__init__.py +3 -0
- aws_cdk/aws_datapipeline/__init__.py +3 -0
- aws_cdk/aws_datasync/__init__.py +3 -0
- aws_cdk/aws_datazone/__init__.py +3 -0
- aws_cdk/aws_dax/__init__.py +3 -0
- aws_cdk/aws_detective/__init__.py +3 -0
- aws_cdk/aws_devicefarm/__init__.py +3 -0
- aws_cdk/aws_devopsguru/__init__.py +3 -0
- aws_cdk/aws_directoryservice/__init__.py +3 -0
- aws_cdk/aws_dlm/__init__.py +3 -0
- aws_cdk/aws_dms/__init__.py +30 -9
- aws_cdk/aws_docdb/__init__.py +3 -0
- aws_cdk/aws_docdbelastic/__init__.py +20 -9
- aws_cdk/aws_dynamodb/__init__.py +3 -0
- aws_cdk/aws_ec2/__init__.py +2891 -265
- aws_cdk/aws_ecr/__init__.py +3 -0
- aws_cdk/aws_ecr_assets/__init__.py +3 -0
- aws_cdk/aws_ecs/__init__.py +6 -0
- aws_cdk/aws_ecs_patterns/__init__.py +3 -0
- aws_cdk/aws_efs/__init__.py +3 -0
- aws_cdk/aws_eks/__init__.py +42 -22
- aws_cdk/aws_elasticache/__init__.py +3 -0
- aws_cdk/aws_elasticbeanstalk/__init__.py +3 -0
- aws_cdk/aws_elasticloadbalancing/__init__.py +3 -0
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +72 -12
- aws_cdk/aws_elasticloadbalancingv2_actions/__init__.py +3 -0
- aws_cdk/aws_elasticloadbalancingv2_targets/__init__.py +3 -0
- aws_cdk/aws_elasticsearch/__init__.py +3 -0
- aws_cdk/aws_emr/__init__.py +3 -0
- aws_cdk/aws_emrcontainers/__init__.py +3 -0
- aws_cdk/aws_emrserverless/__init__.py +3 -0
- aws_cdk/aws_entityresolution/__init__.py +5 -2
- aws_cdk/aws_events/__init__.py +3 -0
- aws_cdk/aws_events_targets/__init__.py +3 -0
- aws_cdk/aws_eventschemas/__init__.py +3 -0
- aws_cdk/aws_evidently/__init__.py +3 -0
- aws_cdk/aws_finspace/__init__.py +3 -0
- aws_cdk/aws_fis/__init__.py +3 -0
- aws_cdk/aws_fms/__init__.py +3 -0
- aws_cdk/aws_forecast/__init__.py +3 -0
- aws_cdk/aws_frauddetector/__init__.py +3 -0
- aws_cdk/aws_fsx/__init__.py +3 -0
- aws_cdk/aws_gamelift/__init__.py +3 -0
- aws_cdk/aws_globalaccelerator/__init__.py +5 -2
- aws_cdk/aws_globalaccelerator_endpoints/__init__.py +3 -0
- aws_cdk/aws_glue/__init__.py +18 -8
- aws_cdk/aws_grafana/__init__.py +3 -0
- aws_cdk/aws_greengrass/__init__.py +3 -0
- aws_cdk/aws_greengrassv2/__init__.py +3 -0
- aws_cdk/aws_groundstation/__init__.py +3 -0
- aws_cdk/aws_guardduty/__init__.py +3 -0
- aws_cdk/aws_healthimaging/__init__.py +3 -0
- aws_cdk/aws_healthlake/__init__.py +3 -0
- aws_cdk/aws_iam/__init__.py +3 -0
- aws_cdk/aws_identitystore/__init__.py +3 -0
- aws_cdk/aws_imagebuilder/__init__.py +3 -0
- aws_cdk/aws_inspector/__init__.py +3 -0
- aws_cdk/aws_inspectorv2/__init__.py +3 -0
- aws_cdk/aws_internetmonitor/__init__.py +3 -0
- aws_cdk/aws_iot/__init__.py +3 -0
- aws_cdk/aws_iot1click/__init__.py +3 -0
- aws_cdk/aws_iotanalytics/__init__.py +3 -0
- aws_cdk/aws_iotcoredeviceadvisor/__init__.py +3 -0
- aws_cdk/aws_iotevents/__init__.py +3 -0
- aws_cdk/aws_iotfleethub/__init__.py +3 -0
- aws_cdk/aws_iotfleetwise/__init__.py +3 -0
- aws_cdk/aws_iotsitewise/__init__.py +37 -14
- aws_cdk/aws_iotthingsgraph/__init__.py +3 -0
- aws_cdk/aws_iottwinmaker/__init__.py +3 -0
- aws_cdk/aws_iotwireless/__init__.py +3 -0
- aws_cdk/aws_ivs/__init__.py +3 -0
- aws_cdk/aws_ivschat/__init__.py +3 -0
- aws_cdk/aws_kafkaconnect/__init__.py +30 -27
- aws_cdk/aws_kendra/__init__.py +22 -15
- aws_cdk/aws_kendraranking/__init__.py +3 -0
- aws_cdk/aws_kinesis/__init__.py +3 -0
- aws_cdk/aws_kinesisanalytics/__init__.py +3 -0
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +3 -0
- aws_cdk/aws_kinesisfirehose/__init__.py +11 -4
- aws_cdk/aws_kinesisvideo/__init__.py +3 -0
- aws_cdk/aws_kms/__init__.py +3 -0
- aws_cdk/aws_lakeformation/__init__.py +3 -0
- aws_cdk/aws_lambda/__init__.py +9 -0
- aws_cdk/aws_lambda_destinations/__init__.py +3 -0
- aws_cdk/aws_lambda_event_sources/__init__.py +45 -18
- aws_cdk/aws_lambda_nodejs/__init__.py +3 -0
- aws_cdk/aws_lex/__init__.py +3 -0
- aws_cdk/aws_licensemanager/__init__.py +3 -0
- aws_cdk/aws_lightsail/__init__.py +3 -0
- aws_cdk/aws_location/__init__.py +3 -0
- aws_cdk/aws_logs/__init__.py +3 -0
- aws_cdk/aws_logs_destinations/__init__.py +3 -0
- aws_cdk/aws_lookoutequipment/__init__.py +3 -0
- aws_cdk/aws_lookoutmetrics/__init__.py +3 -0
- aws_cdk/aws_lookoutvision/__init__.py +3 -0
- aws_cdk/aws_m2/__init__.py +3 -0
- aws_cdk/aws_macie/__init__.py +3 -0
- aws_cdk/aws_managedblockchain/__init__.py +5 -3
- aws_cdk/aws_mediaconnect/__init__.py +3 -0
- aws_cdk/aws_mediaconvert/__init__.py +3 -0
- aws_cdk/aws_medialive/__init__.py +3 -0
- aws_cdk/aws_mediapackage/__init__.py +3 -0
- aws_cdk/aws_mediapackagev2/__init__.py +3 -0
- aws_cdk/aws_mediastore/__init__.py +3 -0
- aws_cdk/aws_mediatailor/__init__.py +3 -0
- aws_cdk/aws_memorydb/__init__.py +3 -0
- aws_cdk/aws_msk/__init__.py +3 -0
- aws_cdk/aws_mwaa/__init__.py +3 -0
- aws_cdk/aws_neptune/__init__.py +3 -0
- aws_cdk/aws_neptunegraph/__init__.py +3 -0
- aws_cdk/aws_networkfirewall/__init__.py +3 -0
- aws_cdk/aws_networkmanager/__init__.py +3 -0
- aws_cdk/aws_nimblestudio/__init__.py +3 -0
- aws_cdk/aws_oam/__init__.py +6 -3
- aws_cdk/aws_omics/__init__.py +3 -0
- aws_cdk/aws_opensearchserverless/__init__.py +3 -0
- aws_cdk/aws_opensearchservice/__init__.py +8 -2
- aws_cdk/aws_opsworks/__init__.py +3 -0
- aws_cdk/aws_opsworkscm/__init__.py +3 -0
- aws_cdk/aws_organizations/__init__.py +3 -0
- aws_cdk/aws_osis/__init__.py +3 -0
- aws_cdk/aws_panorama/__init__.py +3 -0
- aws_cdk/aws_pcaconnectorad/__init__.py +3 -0
- aws_cdk/aws_personalize/__init__.py +3 -0
- aws_cdk/aws_pinpoint/__init__.py +3 -0
- aws_cdk/aws_pinpointemail/__init__.py +3 -0
- aws_cdk/aws_pipes/__init__.py +3 -0
- aws_cdk/aws_proton/__init__.py +3 -0
- aws_cdk/aws_qldb/__init__.py +3 -0
- aws_cdk/aws_quicksight/__init__.py +3 -0
- aws_cdk/aws_ram/__init__.py +3 -0
- aws_cdk/aws_rds/__init__.py +102 -13
- aws_cdk/aws_redshift/__init__.py +3 -0
- aws_cdk/aws_redshiftserverless/__init__.py +3 -0
- aws_cdk/aws_refactorspaces/__init__.py +3 -0
- aws_cdk/aws_rekognition/__init__.py +3 -0
- aws_cdk/aws_resiliencehub/__init__.py +3 -0
- aws_cdk/aws_resourceexplorer2/__init__.py +3 -0
- aws_cdk/aws_resourcegroups/__init__.py +3 -0
- aws_cdk/aws_robomaker/__init__.py +3 -0
- aws_cdk/aws_rolesanywhere/__init__.py +3 -0
- aws_cdk/aws_route53/__init__.py +52 -0
- aws_cdk/aws_route53_patterns/__init__.py +3 -0
- aws_cdk/aws_route53_targets/__init__.py +3 -0
- aws_cdk/aws_route53recoverycontrol/__init__.py +3 -0
- aws_cdk/aws_route53recoveryreadiness/__init__.py +3 -0
- aws_cdk/aws_route53resolver/__init__.py +3 -0
- aws_cdk/aws_rum/__init__.py +3 -0
- aws_cdk/aws_s3/__init__.py +3 -0
- aws_cdk/aws_s3_assets/__init__.py +3 -0
- aws_cdk/aws_s3_deployment/__init__.py +3 -0
- aws_cdk/aws_s3_notifications/__init__.py +3 -0
- aws_cdk/aws_s3express/__init__.py +3 -0
- aws_cdk/aws_s3objectlambda/__init__.py +3 -0
- aws_cdk/aws_s3outposts/__init__.py +3 -0
- aws_cdk/aws_sagemaker/__init__.py +3 -0
- aws_cdk/aws_sam/__init__.py +3 -0
- aws_cdk/aws_scheduler/__init__.py +3 -0
- aws_cdk/aws_sdb/__init__.py +3 -0
- aws_cdk/aws_secretsmanager/__init__.py +3 -0
- aws_cdk/aws_securityhub/__init__.py +59 -14
- aws_cdk/aws_securitylake/__init__.py +859 -0
- aws_cdk/aws_servicecatalog/__init__.py +3 -0
- aws_cdk/aws_servicecatalogappregistry/__init__.py +3 -0
- aws_cdk/aws_servicediscovery/__init__.py +3 -0
- aws_cdk/aws_ses/__init__.py +3 -0
- aws_cdk/aws_ses_actions/__init__.py +3 -0
- aws_cdk/aws_shield/__init__.py +3 -0
- aws_cdk/aws_signer/__init__.py +3 -0
- aws_cdk/aws_simspaceweaver/__init__.py +3 -0
- aws_cdk/aws_sns/__init__.py +48 -13
- aws_cdk/aws_sns_subscriptions/__init__.py +3 -0
- aws_cdk/aws_sqs/__init__.py +3 -0
- aws_cdk/aws_ssm/__init__.py +3 -0
- aws_cdk/aws_ssmcontacts/__init__.py +3 -0
- aws_cdk/aws_ssmincidents/__init__.py +3 -0
- aws_cdk/aws_sso/__init__.py +3 -0
- aws_cdk/aws_stepfunctions/__init__.py +3 -0
- aws_cdk/aws_stepfunctions_tasks/__init__.py +3 -0
- aws_cdk/aws_supportapp/__init__.py +3 -0
- aws_cdk/aws_synthetics/__init__.py +3 -0
- aws_cdk/aws_systemsmanagersap/__init__.py +3 -0
- aws_cdk/aws_timestream/__init__.py +3 -0
- aws_cdk/aws_transfer/__init__.py +3 -0
- aws_cdk/aws_verifiedpermissions/__init__.py +3 -0
- aws_cdk/aws_voiceid/__init__.py +3 -0
- aws_cdk/aws_vpclattice/__init__.py +3 -0
- aws_cdk/aws_waf/__init__.py +3 -0
- aws_cdk/aws_wafregional/__init__.py +3 -0
- aws_cdk/aws_wafv2/__init__.py +3 -0
- aws_cdk/aws_wisdom/__init__.py +3 -0
- aws_cdk/aws_workspaces/__init__.py +3 -0
- aws_cdk/aws_workspacesthinclient/__init__.py +3 -0
- aws_cdk/aws_workspacesweb/__init__.py +3 -0
- aws_cdk/aws_xray/__init__.py +3 -0
- aws_cdk/cloud_assembly_schema/__init__.py +3 -0
- aws_cdk/cloudformation_include/__init__.py +3 -0
- aws_cdk/custom_resources/__init__.py +7 -4
- aws_cdk/cx_api/__init__.py +3 -0
- aws_cdk/lambda_layer_awscli/__init__.py +3 -0
- aws_cdk/lambda_layer_kubectl/__init__.py +3 -0
- aws_cdk/lambda_layer_node_proxy_agent/__init__.py +3 -0
- aws_cdk/pipelines/__init__.py +3 -0
- aws_cdk/region_info/__init__.py +3 -0
- aws_cdk/triggers/__init__.py +3 -0
- {aws_cdk_lib-2.134.0.dist-info → aws_cdk_lib-2.135.0.dist-info}/METADATA +2 -2
- aws_cdk_lib-2.135.0.dist-info/RECORD +282 -0
- aws_cdk_lib-2.134.0.dist-info/RECORD +0 -281
- {aws_cdk_lib-2.134.0.dist-info → aws_cdk_lib-2.135.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.134.0.dist-info → aws_cdk_lib-2.135.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.134.0.dist-info → aws_cdk_lib-2.135.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.134.0.dist-info → aws_cdk_lib-2.135.0.dist-info}/top_level.txt +0 -0
|
@@ -30,6 +30,9 @@ For more information on the resources and properties available for this service,
|
|
|
30
30
|
|
|
31
31
|
<!--END CFNONLY DISCLAIMER-->
|
|
32
32
|
'''
|
|
33
|
+
from pkgutil import extend_path
|
|
34
|
+
__path__ = extend_path(__path__, __name__)
|
|
35
|
+
|
|
33
36
|
import abc
|
|
34
37
|
import builtins
|
|
35
38
|
import datetime
|
aws_cdk/aws_ses/__init__.py
CHANGED
|
@@ -241,6 +241,9 @@ Use the `VdmAttributes` construct to configure the Virtual Deliverability Manage
|
|
|
241
241
|
ses.VdmAttributes(self, "Vdm")
|
|
242
242
|
```
|
|
243
243
|
'''
|
|
244
|
+
from pkgutil import extend_path
|
|
245
|
+
__path__ = extend_path(__path__, __name__)
|
|
246
|
+
|
|
244
247
|
import abc
|
|
245
248
|
import builtins
|
|
246
249
|
import datetime
|
aws_cdk/aws_shield/__init__.py
CHANGED
|
@@ -35,6 +35,9 @@ For more information on the resources and properties available for this service,
|
|
|
35
35
|
|
|
36
36
|
<!--END CFNONLY DISCLAIMER-->
|
|
37
37
|
'''
|
|
38
|
+
from pkgutil import extend_path
|
|
39
|
+
__path__ = extend_path(__path__, __name__)
|
|
40
|
+
|
|
38
41
|
import abc
|
|
39
42
|
import builtins
|
|
40
43
|
import datetime
|
aws_cdk/aws_signer/__init__.py
CHANGED
|
@@ -40,6 +40,9 @@ signing_profile = signer.SigningProfile(self, "SigningProfile",
|
|
|
40
40
|
|
|
41
41
|
A signing profile is valid by default for 135 months. This can be modified by specifying the `signatureValidityPeriod` property.
|
|
42
42
|
'''
|
|
43
|
+
from pkgutil import extend_path
|
|
44
|
+
__path__ = extend_path(__path__, __name__)
|
|
45
|
+
|
|
43
46
|
import abc
|
|
44
47
|
import builtins
|
|
45
48
|
import datetime
|
|
@@ -25,6 +25,9 @@ For more information on the resources and properties available for this service,
|
|
|
25
25
|
|
|
26
26
|
<!--END CFNONLY DISCLAIMER-->
|
|
27
27
|
'''
|
|
28
|
+
from pkgutil import extend_path
|
|
29
|
+
__path__ = extend_path(__path__, __name__)
|
|
30
|
+
|
|
28
31
|
import abc
|
|
29
32
|
import builtins
|
|
30
33
|
import datetime
|
aws_cdk/aws_sns/__init__.py
CHANGED
|
@@ -19,6 +19,19 @@ topic = sns.Topic(self, "Topic",
|
|
|
19
19
|
)
|
|
20
20
|
```
|
|
21
21
|
|
|
22
|
+
Add an SNS Topic to your stack with a specified signature version, which corresponds
|
|
23
|
+
to the hashing algorithm used while creating the signature of the notifications,
|
|
24
|
+
subscription confirmations, or unsubscribe confirmation messages sent by Amazon SNS.
|
|
25
|
+
|
|
26
|
+
The default signature version is `1` (`SHA1`).
|
|
27
|
+
SNS also supports signature version `2` (`SHA256`).
|
|
28
|
+
|
|
29
|
+
```python
|
|
30
|
+
topic = sns.Topic(self, "Topic",
|
|
31
|
+
signature_version="2"
|
|
32
|
+
)
|
|
33
|
+
```
|
|
34
|
+
|
|
22
35
|
Note that FIFO topics require a topic name to be provided. The required `.fifo` suffix will be automatically generated and added to the topic name if it is not explicitly provided.
|
|
23
36
|
|
|
24
37
|
## Subscriptions
|
|
@@ -300,11 +313,9 @@ Message archiving provides the ability to archive a single copy of all messages
|
|
|
300
313
|
You can store published messages within your topic by enabling the message archive policy on the topic, which enables message archiving for all subscriptions linked to that topic.
|
|
301
314
|
Messages can be archived for a minimum of one day to a maximum of 365 days.
|
|
302
315
|
|
|
303
|
-
Example with
|
|
316
|
+
Example with an archive policy:
|
|
304
317
|
|
|
305
318
|
```python
|
|
306
|
-
# role: iam.Role
|
|
307
|
-
|
|
308
319
|
topic = sns.Topic(self, "MyTopic",
|
|
309
320
|
fifo=True,
|
|
310
321
|
message_retention_period_in_days=7
|
|
@@ -313,6 +324,9 @@ topic = sns.Topic(self, "MyTopic",
|
|
|
313
324
|
|
|
314
325
|
**Note**: The `messageRetentionPeriodInDays` property is only available for FIFO topics.
|
|
315
326
|
'''
|
|
327
|
+
from pkgutil import extend_path
|
|
328
|
+
__path__ = extend_path(__path__, __name__)
|
|
329
|
+
|
|
316
330
|
import abc
|
|
317
331
|
import builtins
|
|
318
332
|
import datetime
|
|
@@ -3190,13 +3204,12 @@ class LoggingConfig:
|
|
|
3190
3204
|
) -> None:
|
|
3191
3205
|
'''A logging configuration for delivery status of messages sent from SNS topic to subscribed endpoints.
|
|
3192
3206
|
|
|
3193
|
-
For more information, see https://docs.aws.amazon.com/sns/latest/dg/sns-topic-attributes.html.
|
|
3194
|
-
|
|
3195
3207
|
:param protocol: Indicates one of the supported protocols for the SNS topic.
|
|
3196
3208
|
:param failure_feedback_role: The IAM role to be used when logging failed message deliveries in Amazon CloudWatch. Default: None
|
|
3197
3209
|
:param success_feedback_role: The IAM role to be used when logging successful message deliveries in Amazon CloudWatch. Default: None
|
|
3198
3210
|
:param success_feedback_sample_rate: The percentage of successful message deliveries to be logged in Amazon CloudWatch. Valid values are integer between 0-100 Default: None
|
|
3199
3211
|
|
|
3212
|
+
:see: https://docs.aws.amazon.com/sns/latest/dg/sns-topic-attributes.html.
|
|
3200
3213
|
:exampleMetadata: infused
|
|
3201
3214
|
|
|
3202
3215
|
Example::
|
|
@@ -5077,6 +5090,7 @@ class TopicPolicyProps:
|
|
|
5077
5090
|
"logging_configs": "loggingConfigs",
|
|
5078
5091
|
"master_key": "masterKey",
|
|
5079
5092
|
"message_retention_period_in_days": "messageRetentionPeriodInDays",
|
|
5093
|
+
"signature_version": "signatureVersion",
|
|
5080
5094
|
"topic_name": "topicName",
|
|
5081
5095
|
},
|
|
5082
5096
|
)
|
|
@@ -5091,17 +5105,19 @@ class TopicProps:
|
|
|
5091
5105
|
logging_configs: typing.Optional[typing.Sequence[typing.Union[LoggingConfig, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5092
5106
|
master_key: typing.Optional[_IKey_5f11635f] = None,
|
|
5093
5107
|
message_retention_period_in_days: typing.Optional[jsii.Number] = None,
|
|
5108
|
+
signature_version: typing.Optional[builtins.str] = None,
|
|
5094
5109
|
topic_name: typing.Optional[builtins.str] = None,
|
|
5095
5110
|
) -> None:
|
|
5096
5111
|
'''Properties for a new SNS topic.
|
|
5097
5112
|
|
|
5098
5113
|
:param content_based_deduplication: Enables content-based deduplication for FIFO topics. Default: None
|
|
5099
5114
|
:param display_name: A developer-defined string that can be used to identify this SNS topic. Default: None
|
|
5100
|
-
:param enforce_ssl: Adds a statement to enforce encryption of data in transit when publishing to the topic.
|
|
5115
|
+
:param enforce_ssl: Adds a statement to enforce encryption of data in transit when publishing to the topic. Default: false
|
|
5101
5116
|
:param fifo: Set to true to create a FIFO topic. Default: None
|
|
5102
|
-
:param logging_configs: The list of delivery status logging configurations for the topic.
|
|
5117
|
+
:param logging_configs: The list of delivery status logging configurations for the topic. Default: None
|
|
5103
5118
|
:param master_key: A KMS Key, either managed by this CDK app, or imported. Default: None
|
|
5104
5119
|
:param message_retention_period_in_days: The number of days Amazon SNS retains messages. It can only be set for FIFO topics. Default: - do not archive messages
|
|
5120
|
+
:param signature_version: The signature version corresponds to the hashing algorithm used while creating the signature of the notifications, subscription confirmations, or unsubscribe confirmation messages sent by Amazon SNS. Default: 1
|
|
5105
5121
|
:param topic_name: A name for the topic. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the topic name. For more information, see Name Type. Default: Generated name
|
|
5106
5122
|
|
|
5107
5123
|
:exampleMetadata: infused
|
|
@@ -5123,6 +5139,7 @@ class TopicProps:
|
|
|
5123
5139
|
check_type(argname="argument logging_configs", value=logging_configs, expected_type=type_hints["logging_configs"])
|
|
5124
5140
|
check_type(argname="argument master_key", value=master_key, expected_type=type_hints["master_key"])
|
|
5125
5141
|
check_type(argname="argument message_retention_period_in_days", value=message_retention_period_in_days, expected_type=type_hints["message_retention_period_in_days"])
|
|
5142
|
+
check_type(argname="argument signature_version", value=signature_version, expected_type=type_hints["signature_version"])
|
|
5126
5143
|
check_type(argname="argument topic_name", value=topic_name, expected_type=type_hints["topic_name"])
|
|
5127
5144
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
5128
5145
|
if content_based_deduplication is not None:
|
|
@@ -5139,6 +5156,8 @@ class TopicProps:
|
|
|
5139
5156
|
self._values["master_key"] = master_key
|
|
5140
5157
|
if message_retention_period_in_days is not None:
|
|
5141
5158
|
self._values["message_retention_period_in_days"] = message_retention_period_in_days
|
|
5159
|
+
if signature_version is not None:
|
|
5160
|
+
self._values["signature_version"] = signature_version
|
|
5142
5161
|
if topic_name is not None:
|
|
5143
5162
|
self._values["topic_name"] = topic_name
|
|
5144
5163
|
|
|
@@ -5164,9 +5183,9 @@ class TopicProps:
|
|
|
5164
5183
|
def enforce_ssl(self) -> typing.Optional[builtins.bool]:
|
|
5165
5184
|
'''Adds a statement to enforce encryption of data in transit when publishing to the topic.
|
|
5166
5185
|
|
|
5167
|
-
For more information, see https://docs.aws.amazon.com/sns/latest/dg/sns-security-best-practices.html#enforce-encryption-data-in-transit.
|
|
5168
|
-
|
|
5169
5186
|
:default: false
|
|
5187
|
+
|
|
5188
|
+
:see: https://docs.aws.amazon.com/sns/latest/dg/sns-security-best-practices.html#enforce-encryption-data-in-transit.
|
|
5170
5189
|
'''
|
|
5171
5190
|
result = self._values.get("enforce_ssl")
|
|
5172
5191
|
return typing.cast(typing.Optional[builtins.bool], result)
|
|
@@ -5184,9 +5203,9 @@ class TopicProps:
|
|
|
5184
5203
|
def logging_configs(self) -> typing.Optional[typing.List[LoggingConfig]]:
|
|
5185
5204
|
'''The list of delivery status logging configurations for the topic.
|
|
5186
5205
|
|
|
5187
|
-
For more information, see https://docs.aws.amazon.com/sns/latest/dg/sns-topic-attributes.html.
|
|
5188
|
-
|
|
5189
5206
|
:default: None
|
|
5207
|
+
|
|
5208
|
+
:see: https://docs.aws.amazon.com/sns/latest/dg/sns-topic-attributes.html.
|
|
5190
5209
|
'''
|
|
5191
5210
|
result = self._values.get("logging_configs")
|
|
5192
5211
|
return typing.cast(typing.Optional[typing.List[LoggingConfig]], result)
|
|
@@ -5213,6 +5232,17 @@ class TopicProps:
|
|
|
5213
5232
|
result = self._values.get("message_retention_period_in_days")
|
|
5214
5233
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
5215
5234
|
|
|
5235
|
+
@builtins.property
|
|
5236
|
+
def signature_version(self) -> typing.Optional[builtins.str]:
|
|
5237
|
+
'''The signature version corresponds to the hashing algorithm used while creating the signature of the notifications, subscription confirmations, or unsubscribe confirmation messages sent by Amazon SNS.
|
|
5238
|
+
|
|
5239
|
+
:default: 1
|
|
5240
|
+
|
|
5241
|
+
:see: https://docs.aws.amazon.com/sns/latest/dg/sns-verify-signature-of-message.html.
|
|
5242
|
+
'''
|
|
5243
|
+
result = self._values.get("signature_version")
|
|
5244
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
5245
|
+
|
|
5216
5246
|
@builtins.property
|
|
5217
5247
|
def topic_name(self) -> typing.Optional[builtins.str]:
|
|
5218
5248
|
'''A name for the topic.
|
|
@@ -5574,6 +5604,7 @@ class Topic(TopicBase, metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_sns.T
|
|
|
5574
5604
|
logging_configs: typing.Optional[typing.Sequence[typing.Union[LoggingConfig, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5575
5605
|
master_key: typing.Optional[_IKey_5f11635f] = None,
|
|
5576
5606
|
message_retention_period_in_days: typing.Optional[jsii.Number] = None,
|
|
5607
|
+
signature_version: typing.Optional[builtins.str] = None,
|
|
5577
5608
|
topic_name: typing.Optional[builtins.str] = None,
|
|
5578
5609
|
) -> None:
|
|
5579
5610
|
'''
|
|
@@ -5581,11 +5612,12 @@ class Topic(TopicBase, metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_sns.T
|
|
|
5581
5612
|
:param id: -
|
|
5582
5613
|
:param content_based_deduplication: Enables content-based deduplication for FIFO topics. Default: None
|
|
5583
5614
|
:param display_name: A developer-defined string that can be used to identify this SNS topic. Default: None
|
|
5584
|
-
:param enforce_ssl: Adds a statement to enforce encryption of data in transit when publishing to the topic.
|
|
5615
|
+
:param enforce_ssl: Adds a statement to enforce encryption of data in transit when publishing to the topic. Default: false
|
|
5585
5616
|
:param fifo: Set to true to create a FIFO topic. Default: None
|
|
5586
|
-
:param logging_configs: The list of delivery status logging configurations for the topic.
|
|
5617
|
+
:param logging_configs: The list of delivery status logging configurations for the topic. Default: None
|
|
5587
5618
|
:param master_key: A KMS Key, either managed by this CDK app, or imported. Default: None
|
|
5588
5619
|
:param message_retention_period_in_days: The number of days Amazon SNS retains messages. It can only be set for FIFO topics. Default: - do not archive messages
|
|
5620
|
+
:param signature_version: The signature version corresponds to the hashing algorithm used while creating the signature of the notifications, subscription confirmations, or unsubscribe confirmation messages sent by Amazon SNS. Default: 1
|
|
5589
5621
|
:param topic_name: A name for the topic. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the topic name. For more information, see Name Type. Default: Generated name
|
|
5590
5622
|
'''
|
|
5591
5623
|
if __debug__:
|
|
@@ -5600,6 +5632,7 @@ class Topic(TopicBase, metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_sns.T
|
|
|
5600
5632
|
logging_configs=logging_configs,
|
|
5601
5633
|
master_key=master_key,
|
|
5602
5634
|
message_retention_period_in_days=message_retention_period_in_days,
|
|
5635
|
+
signature_version=signature_version,
|
|
5603
5636
|
topic_name=topic_name,
|
|
5604
5637
|
)
|
|
5605
5638
|
|
|
@@ -6303,6 +6336,7 @@ def _typecheckingstub__093960c1ab5457cc6797eb4a06c9e8fc74e41d4eaa9d0a17f00fa896d
|
|
|
6303
6336
|
logging_configs: typing.Optional[typing.Sequence[typing.Union[LoggingConfig, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6304
6337
|
master_key: typing.Optional[_IKey_5f11635f] = None,
|
|
6305
6338
|
message_retention_period_in_days: typing.Optional[jsii.Number] = None,
|
|
6339
|
+
signature_version: typing.Optional[builtins.str] = None,
|
|
6306
6340
|
topic_name: typing.Optional[builtins.str] = None,
|
|
6307
6341
|
) -> None:
|
|
6308
6342
|
"""Type checking stubs"""
|
|
@@ -6342,6 +6376,7 @@ def _typecheckingstub__5bf7b7a1001dc600e81a7f1c5015e367dc471dcd727360f62a7eaf6eb
|
|
|
6342
6376
|
logging_configs: typing.Optional[typing.Sequence[typing.Union[LoggingConfig, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6343
6377
|
master_key: typing.Optional[_IKey_5f11635f] = None,
|
|
6344
6378
|
message_retention_period_in_days: typing.Optional[jsii.Number] = None,
|
|
6379
|
+
signature_version: typing.Optional[builtins.str] = None,
|
|
6345
6380
|
topic_name: typing.Optional[builtins.str] = None,
|
|
6346
6381
|
) -> None:
|
|
6347
6382
|
"""Type checking stubs"""
|
|
@@ -120,6 +120,9 @@ sms_number = CfnParameter(self, "sms-param")
|
|
|
120
120
|
my_topic.add_subscription(subscriptions.SmsSubscription(sms_number.value_as_string))
|
|
121
121
|
```
|
|
122
122
|
'''
|
|
123
|
+
from pkgutil import extend_path
|
|
124
|
+
__path__ = extend_path(__path__, __name__)
|
|
125
|
+
|
|
123
126
|
import abc
|
|
124
127
|
import builtins
|
|
125
128
|
import datetime
|
aws_cdk/aws_sqs/__init__.py
CHANGED
aws_cdk/aws_ssm/__init__.py
CHANGED
|
@@ -137,6 +137,9 @@ When specifying an `allowedPattern`, the values provided as string literals
|
|
|
137
137
|
are validated against the pattern and an exception is raised if a value
|
|
138
138
|
provided does not comply.
|
|
139
139
|
'''
|
|
140
|
+
from pkgutil import extend_path
|
|
141
|
+
__path__ = extend_path(__path__, __name__)
|
|
142
|
+
|
|
140
143
|
import abc
|
|
141
144
|
import builtins
|
|
142
145
|
import datetime
|
|
@@ -25,6 +25,9 @@ For more information on the resources and properties available for this service,
|
|
|
25
25
|
|
|
26
26
|
<!--END CFNONLY DISCLAIMER-->
|
|
27
27
|
'''
|
|
28
|
+
from pkgutil import extend_path
|
|
29
|
+
__path__ = extend_path(__path__, __name__)
|
|
30
|
+
|
|
28
31
|
import abc
|
|
29
32
|
import builtins
|
|
30
33
|
import datetime
|
|
@@ -25,6 +25,9 @@ For more information on the resources and properties available for this service,
|
|
|
25
25
|
|
|
26
26
|
<!--END CFNONLY DISCLAIMER-->
|
|
27
27
|
'''
|
|
28
|
+
from pkgutil import extend_path
|
|
29
|
+
__path__ = extend_path(__path__, __name__)
|
|
30
|
+
|
|
28
31
|
import abc
|
|
29
32
|
import builtins
|
|
30
33
|
import datetime
|
aws_cdk/aws_sso/__init__.py
CHANGED
|
@@ -25,6 +25,9 @@ For more information on the resources and properties available for this service,
|
|
|
25
25
|
|
|
26
26
|
<!--END CFNONLY DISCLAIMER-->
|
|
27
27
|
'''
|
|
28
|
+
from pkgutil import extend_path
|
|
29
|
+
__path__ = extend_path(__path__, __name__)
|
|
30
|
+
|
|
28
31
|
import abc
|
|
29
32
|
import builtins
|
|
30
33
|
import datetime
|
|
@@ -1063,6 +1063,9 @@ sfn.StateMachine.from_state_machine_arn(self, "ViaArnImportedStateMachine", "arn
|
|
|
1063
1063
|
sfn.StateMachine.from_state_machine_name(self, "ViaResourceNameImportedStateMachine", "StateMachine2E01A3A5-N5TJppzoevKQ")
|
|
1064
1064
|
```
|
|
1065
1065
|
'''
|
|
1066
|
+
from pkgutil import extend_path
|
|
1067
|
+
__path__ = extend_path(__path__, __name__)
|
|
1068
|
+
|
|
1066
1069
|
import abc
|
|
1067
1070
|
import builtins
|
|
1068
1071
|
import datetime
|
|
@@ -25,6 +25,9 @@ For more information on the resources and properties available for this service,
|
|
|
25
25
|
|
|
26
26
|
<!--END CFNONLY DISCLAIMER-->
|
|
27
27
|
'''
|
|
28
|
+
from pkgutil import extend_path
|
|
29
|
+
__path__ = extend_path(__path__, __name__)
|
|
30
|
+
|
|
28
31
|
import abc
|
|
29
32
|
import builtins
|
|
30
33
|
import datetime
|
|
@@ -25,6 +25,9 @@ For more information on the resources and properties available for this service,
|
|
|
25
25
|
|
|
26
26
|
<!--END CFNONLY DISCLAIMER-->
|
|
27
27
|
'''
|
|
28
|
+
from pkgutil import extend_path
|
|
29
|
+
__path__ = extend_path(__path__, __name__)
|
|
30
|
+
|
|
28
31
|
import abc
|
|
29
32
|
import builtins
|
|
30
33
|
import datetime
|
|
@@ -25,6 +25,9 @@ For more information on the resources and properties available for this service,
|
|
|
25
25
|
|
|
26
26
|
<!--END CFNONLY DISCLAIMER-->
|
|
27
27
|
'''
|
|
28
|
+
from pkgutil import extend_path
|
|
29
|
+
__path__ = extend_path(__path__, __name__)
|
|
30
|
+
|
|
28
31
|
import abc
|
|
29
32
|
import builtins
|
|
30
33
|
import datetime
|
aws_cdk/aws_transfer/__init__.py
CHANGED
|
@@ -25,6 +25,9 @@ For more information on the resources and properties available for this service,
|
|
|
25
25
|
|
|
26
26
|
<!--END CFNONLY DISCLAIMER-->
|
|
27
27
|
'''
|
|
28
|
+
from pkgutil import extend_path
|
|
29
|
+
__path__ = extend_path(__path__, __name__)
|
|
30
|
+
|
|
28
31
|
import abc
|
|
29
32
|
import builtins
|
|
30
33
|
import datetime
|
|
@@ -35,6 +35,9 @@ For more information on the resources and properties available for this service,
|
|
|
35
35
|
|
|
36
36
|
<!--END CFNONLY DISCLAIMER-->
|
|
37
37
|
'''
|
|
38
|
+
from pkgutil import extend_path
|
|
39
|
+
__path__ = extend_path(__path__, __name__)
|
|
40
|
+
|
|
38
41
|
import abc
|
|
39
42
|
import builtins
|
|
40
43
|
import datetime
|
aws_cdk/aws_voiceid/__init__.py
CHANGED
|
@@ -25,6 +25,9 @@ For more information on the resources and properties available for this service,
|
|
|
25
25
|
|
|
26
26
|
<!--END CFNONLY DISCLAIMER-->
|
|
27
27
|
'''
|
|
28
|
+
from pkgutil import extend_path
|
|
29
|
+
__path__ = extend_path(__path__, __name__)
|
|
30
|
+
|
|
28
31
|
import abc
|
|
29
32
|
import builtins
|
|
30
33
|
import datetime
|
|
@@ -25,6 +25,9 @@ For more information on the resources and properties available for this service,
|
|
|
25
25
|
|
|
26
26
|
<!--END CFNONLY DISCLAIMER-->
|
|
27
27
|
'''
|
|
28
|
+
from pkgutil import extend_path
|
|
29
|
+
__path__ = extend_path(__path__, __name__)
|
|
30
|
+
|
|
28
31
|
import abc
|
|
29
32
|
import builtins
|
|
30
33
|
import datetime
|
aws_cdk/aws_waf/__init__.py
CHANGED
|
@@ -25,6 +25,9 @@ For more information on the resources and properties available for this service,
|
|
|
25
25
|
|
|
26
26
|
<!--END CFNONLY DISCLAIMER-->
|
|
27
27
|
'''
|
|
28
|
+
from pkgutil import extend_path
|
|
29
|
+
__path__ = extend_path(__path__, __name__)
|
|
30
|
+
|
|
28
31
|
import abc
|
|
29
32
|
import builtins
|
|
30
33
|
import datetime
|
|
@@ -25,6 +25,9 @@ For more information on the resources and properties available for this service,
|
|
|
25
25
|
|
|
26
26
|
<!--END CFNONLY DISCLAIMER-->
|
|
27
27
|
'''
|
|
28
|
+
from pkgutil import extend_path
|
|
29
|
+
__path__ = extend_path(__path__, __name__)
|
|
30
|
+
|
|
28
31
|
import abc
|
|
29
32
|
import builtins
|
|
30
33
|
import datetime
|
aws_cdk/aws_wafv2/__init__.py
CHANGED
|
@@ -25,6 +25,9 @@ For more information on the resources and properties available for this service,
|
|
|
25
25
|
|
|
26
26
|
<!--END CFNONLY DISCLAIMER-->
|
|
27
27
|
'''
|
|
28
|
+
from pkgutil import extend_path
|
|
29
|
+
__path__ = extend_path(__path__, __name__)
|
|
30
|
+
|
|
28
31
|
import abc
|
|
29
32
|
import builtins
|
|
30
33
|
import datetime
|
aws_cdk/aws_wisdom/__init__.py
CHANGED
|
@@ -25,6 +25,9 @@ For more information on the resources and properties available for this service,
|
|
|
25
25
|
|
|
26
26
|
<!--END CFNONLY DISCLAIMER-->
|
|
27
27
|
'''
|
|
28
|
+
from pkgutil import extend_path
|
|
29
|
+
__path__ = extend_path(__path__, __name__)
|
|
30
|
+
|
|
28
31
|
import abc
|
|
29
32
|
import builtins
|
|
30
33
|
import datetime
|
|
@@ -25,6 +25,9 @@ For more information on the resources and properties available for this service,
|
|
|
25
25
|
|
|
26
26
|
<!--END CFNONLY DISCLAIMER-->
|
|
27
27
|
'''
|
|
28
|
+
from pkgutil import extend_path
|
|
29
|
+
__path__ = extend_path(__path__, __name__)
|
|
30
|
+
|
|
28
31
|
import abc
|
|
29
32
|
import builtins
|
|
30
33
|
import datetime
|
|
@@ -35,6 +35,9 @@ For more information on the resources and properties available for this service,
|
|
|
35
35
|
|
|
36
36
|
<!--END CFNONLY DISCLAIMER-->
|
|
37
37
|
'''
|
|
38
|
+
from pkgutil import extend_path
|
|
39
|
+
__path__ = extend_path(__path__, __name__)
|
|
40
|
+
|
|
38
41
|
import abc
|
|
39
42
|
import builtins
|
|
40
43
|
import datetime
|
|
@@ -35,6 +35,9 @@ For more information on the resources and properties available for this service,
|
|
|
35
35
|
|
|
36
36
|
<!--END CFNONLY DISCLAIMER-->
|
|
37
37
|
'''
|
|
38
|
+
from pkgutil import extend_path
|
|
39
|
+
__path__ = extend_path(__path__, __name__)
|
|
40
|
+
|
|
38
41
|
import abc
|
|
39
42
|
import builtins
|
|
40
43
|
import datetime
|
aws_cdk/aws_xray/__init__.py
CHANGED
|
@@ -25,6 +25,9 @@ For more information on the resources and properties available for this service,
|
|
|
25
25
|
|
|
26
26
|
<!--END CFNONLY DISCLAIMER-->
|
|
27
27
|
'''
|
|
28
|
+
from pkgutil import extend_path
|
|
29
|
+
__path__ = extend_path(__path__, __name__)
|
|
30
|
+
|
|
28
31
|
import abc
|
|
29
32
|
import builtins
|
|
30
33
|
import datetime
|
|
@@ -467,6 +467,9 @@ guaranteeing they are unique within your application.
|
|
|
467
467
|
Without that parameter passed,
|
|
468
468
|
instantiating `MyConstruct` twice in the same Stack would result in duplicated logical IDs.
|
|
469
469
|
'''
|
|
470
|
+
from pkgutil import extend_path
|
|
471
|
+
__path__ = extend_path(__path__, __name__)
|
|
472
|
+
|
|
470
473
|
import abc
|
|
471
474
|
import builtins
|
|
472
475
|
import datetime
|
|
@@ -320,8 +320,8 @@ This module includes a few examples for custom resource implementations:
|
|
|
320
320
|
|
|
321
321
|
Provisions an object in an S3 bucket with textual contents. See the source code
|
|
322
322
|
for the
|
|
323
|
-
[construct](https://github.com/aws/aws-cdk/blob/main/packages
|
|
324
|
-
[handler](https://github.com/aws/aws-cdk/blob/main/packages
|
|
323
|
+
[construct](https://github.com/aws/aws-cdk/blob/main/packages/%40aws-cdk-testing/framework-integ/test/custom-resources/test/provider-framework/integration-test-fixtures/s3-file.ts) and
|
|
324
|
+
[handler](https://github.com/aws/aws-cdk/blob/main/packages/%40aws-cdk-testing/framework-integ/test/custom-resources/test/provider-framework/integration-test-fixtures/s3-file-handler/index.ts).
|
|
325
325
|
|
|
326
326
|
The following example will create the file `folder/file1.txt` inside `myBucket`
|
|
327
327
|
with the contents `hello!`.
|
|
@@ -351,8 +351,8 @@ This sample demonstrates the following concepts:
|
|
|
351
351
|
|
|
352
352
|
Checks that the textual contents of an S3 object matches a certain value. The check will be retried
|
|
353
353
|
for 5 minutes as long as the object is not found or the value is different. See the source code for the
|
|
354
|
-
[construct](https://github.com/aws/aws-cdk/blob/main/packages
|
|
355
|
-
and [handler](https://github.com/aws/aws-cdk/blob/main/packages
|
|
354
|
+
[construct](https://github.com/aws/aws-cdk/blob/main/packages/%40aws-cdk-testing/framework-integ/test/custom-resources/test/provider-framework/integration-test-fixtures/s3-assert.ts)
|
|
355
|
+
and [handler](https://github.com/aws/aws-cdk/blob/main/packages/%40aws-cdk-testing/framework-integ/test/custom-resources/test/provider-framework/integration-test-fixtures/s3-assert-handler/index.py).
|
|
356
356
|
|
|
357
357
|
The following example defines an `S3Assert` resource which waits until
|
|
358
358
|
`myfile.txt` in `myBucket` exists and includes the contents `foo bar`:
|
|
@@ -717,6 +717,9 @@ cr.AwsCustomResource(self, "CrossAccount",
|
|
|
717
717
|
)
|
|
718
718
|
```
|
|
719
719
|
'''
|
|
720
|
+
from pkgutil import extend_path
|
|
721
|
+
__path__ = extend_path(__path__, __name__)
|
|
722
|
+
|
|
720
723
|
import abc
|
|
721
724
|
import builtins
|
|
722
725
|
import datetime
|
aws_cdk/cx_api/__init__.py
CHANGED
|
@@ -23,6 +23,9 @@ The CLI will be installed under `/opt/awscli/aws`.
|
|
|
23
23
|
This module bundles AWS cli v1. To use AWS cli v2, you can use the
|
|
24
24
|
external module [awscdk-asset-awscli](https://github.com/cdklabs/awscdk-asset-awscli/tree/awscli-v2/main).
|
|
25
25
|
'''
|
|
26
|
+
from pkgutil import extend_path
|
|
27
|
+
__path__ = extend_path(__path__, __name__)
|
|
28
|
+
|
|
26
29
|
import abc
|
|
27
30
|
import builtins
|
|
28
31
|
import datetime
|
|
@@ -26,6 +26,9 @@ To use alternative Kubectl versions, including the latest available,
|
|
|
26
26
|
you can use the external module
|
|
27
27
|
[awscdk-asset-kubectl](https://github.com/cdklabs/awscdk-asset-kubectl).
|
|
28
28
|
'''
|
|
29
|
+
from pkgutil import extend_path
|
|
30
|
+
__path__ = extend_path(__path__, __name__)
|
|
31
|
+
|
|
29
32
|
import abc
|
|
30
33
|
import builtins
|
|
31
34
|
import datetime
|
|
@@ -18,6 +18,9 @@ fn.add_layers(NodeProxyAgentLayer(self, "NodeProxyAgentLayer"))
|
|
|
18
18
|
|
|
19
19
|
[`proxy-agent`](https://www.npmjs.com/package/proxy-agent) will be installed under `/nodejs/node_modules`.
|
|
20
20
|
'''
|
|
21
|
+
from pkgutil import extend_path
|
|
22
|
+
__path__ = extend_path(__path__, __name__)
|
|
23
|
+
|
|
21
24
|
import abc
|
|
22
25
|
import builtins
|
|
23
26
|
import datetime
|