aws-cdk-lib 2.157.0__py3-none-any.whl → 2.159.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.
Potentially problematic release.
This version of aws-cdk-lib might be problematic. Click here for more details.
- aws_cdk/__init__.py +52 -20
- aws_cdk/_jsii/__init__.py +17 -2
- aws_cdk/_jsii/{aws-cdk-lib@2.157.0.jsii.tgz → aws-cdk-lib@2.159.0.jsii.tgz} +0 -0
- aws_cdk/alexa_ask/__init__.py +16 -1
- aws_cdk/assertions/__init__.py +16 -1
- aws_cdk/aws_accessanalyzer/__init__.py +16 -1
- aws_cdk/aws_acmpca/__init__.py +16 -1
- aws_cdk/aws_amazonmq/__init__.py +16 -1
- aws_cdk/aws_amplify/__init__.py +38 -9
- aws_cdk/aws_amplifyuibuilder/__init__.py +16 -1
- aws_cdk/aws_apigateway/__init__.py +16 -1
- aws_cdk/aws_apigatewayv2/__init__.py +46 -1
- aws_cdk/aws_apigatewayv2_authorizers/__init__.py +16 -1
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +16 -1
- aws_cdk/aws_appconfig/__init__.py +19 -4
- aws_cdk/aws_appflow/__init__.py +16 -1
- aws_cdk/aws_appintegrations/__init__.py +16 -1
- aws_cdk/aws_applicationautoscaling/__init__.py +16 -1
- aws_cdk/aws_applicationinsights/__init__.py +560 -5
- aws_cdk/aws_applicationsignals/__init__.py +186 -143
- aws_cdk/aws_appmesh/__init__.py +16 -1
- aws_cdk/aws_apprunner/__init__.py +16 -1
- aws_cdk/aws_appstream/__init__.py +16 -1
- aws_cdk/aws_appsync/__init__.py +16 -1
- aws_cdk/aws_apptest/__init__.py +16 -1
- aws_cdk/aws_aps/__init__.py +16 -1
- aws_cdk/aws_arczonalshift/__init__.py +16 -1
- aws_cdk/aws_athena/__init__.py +31 -16
- aws_cdk/aws_auditmanager/__init__.py +21 -6
- aws_cdk/aws_autoscaling/__init__.py +16 -1
- aws_cdk/aws_autoscaling_common/__init__.py +16 -1
- aws_cdk/aws_autoscaling_hooktargets/__init__.py +16 -1
- aws_cdk/aws_autoscalingplans/__init__.py +16 -1
- aws_cdk/aws_b2bi/__init__.py +16 -1
- aws_cdk/aws_backup/__init__.py +16 -1
- aws_cdk/aws_backupgateway/__init__.py +16 -1
- aws_cdk/aws_batch/__init__.py +16 -1
- aws_cdk/aws_bcmdataexports/__init__.py +16 -1
- aws_cdk/aws_bedrock/__init__.py +23 -8
- aws_cdk/aws_billingconductor/__init__.py +16 -1
- aws_cdk/aws_budgets/__init__.py +16 -1
- aws_cdk/aws_cassandra/__init__.py +16 -1
- aws_cdk/aws_ce/__init__.py +16 -1
- aws_cdk/aws_certificatemanager/__init__.py +16 -1
- aws_cdk/aws_chatbot/__init__.py +16 -1
- aws_cdk/aws_cleanrooms/__init__.py +16 -1
- aws_cdk/aws_cleanroomsml/__init__.py +16 -1
- aws_cdk/aws_cloud9/__init__.py +16 -1
- aws_cdk/aws_cloudformation/__init__.py +16 -1
- aws_cdk/aws_cloudfront/__init__.py +16 -1
- aws_cdk/aws_cloudfront/experimental/__init__.py +16 -1
- aws_cdk/aws_cloudfront_origins/__init__.py +16 -1
- aws_cdk/aws_cloudtrail/__init__.py +16 -1
- aws_cdk/aws_cloudwatch/__init__.py +16 -1
- aws_cdk/aws_cloudwatch_actions/__init__.py +16 -1
- aws_cdk/aws_codeartifact/__init__.py +16 -1
- aws_cdk/aws_codebuild/__init__.py +55 -19
- aws_cdk/aws_codecommit/__init__.py +16 -1
- aws_cdk/aws_codeconnections/__init__.py +17 -2
- aws_cdk/aws_codedeploy/__init__.py +16 -1
- aws_cdk/aws_codeguruprofiler/__init__.py +16 -1
- aws_cdk/aws_codegurureviewer/__init__.py +16 -1
- aws_cdk/aws_codepipeline/__init__.py +16 -1
- aws_cdk/aws_codepipeline_actions/__init__.py +16 -1
- aws_cdk/aws_codestar/__init__.py +16 -1
- aws_cdk/aws_codestarconnections/__init__.py +16 -1
- aws_cdk/aws_codestarnotifications/__init__.py +16 -1
- aws_cdk/aws_cognito/__init__.py +406 -204
- aws_cdk/aws_comprehend/__init__.py +16 -1
- aws_cdk/aws_config/__init__.py +16 -1
- aws_cdk/aws_connect/__init__.py +1695 -153
- aws_cdk/aws_connectcampaigns/__init__.py +16 -1
- aws_cdk/aws_controltower/__init__.py +16 -1
- aws_cdk/aws_cur/__init__.py +16 -1
- aws_cdk/aws_customerprofiles/__init__.py +16 -1
- aws_cdk/aws_databrew/__init__.py +16 -1
- aws_cdk/aws_datapipeline/__init__.py +16 -1
- aws_cdk/aws_datasync/__init__.py +16 -1
- aws_cdk/aws_datazone/__init__.py +681 -41
- aws_cdk/aws_dax/__init__.py +16 -1
- aws_cdk/aws_deadline/__init__.py +16 -1
- aws_cdk/aws_detective/__init__.py +16 -1
- aws_cdk/aws_devicefarm/__init__.py +16 -1
- aws_cdk/aws_devopsguru/__init__.py +16 -1
- aws_cdk/aws_directoryservice/__init__.py +16 -1
- aws_cdk/aws_dlm/__init__.py +16 -1
- aws_cdk/aws_dms/__init__.py +16 -1
- aws_cdk/aws_docdb/__init__.py +22 -2
- aws_cdk/aws_docdbelastic/__init__.py +16 -1
- aws_cdk/aws_dynamodb/__init__.py +21 -6
- aws_cdk/aws_ec2/__init__.py +137 -37
- aws_cdk/aws_ecr/__init__.py +30 -7
- aws_cdk/aws_ecr_assets/__init__.py +16 -1
- aws_cdk/aws_ecs/__init__.py +36 -21
- aws_cdk/aws_ecs_patterns/__init__.py +16 -1
- aws_cdk/aws_efs/__init__.py +16 -1
- aws_cdk/aws_eks/__init__.py +16 -1
- aws_cdk/aws_elasticache/__init__.py +16 -1
- aws_cdk/aws_elasticbeanstalk/__init__.py +16 -1
- aws_cdk/aws_elasticloadbalancing/__init__.py +16 -1
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +183 -21
- aws_cdk/aws_elasticloadbalancingv2_actions/__init__.py +16 -1
- aws_cdk/aws_elasticloadbalancingv2_targets/__init__.py +16 -1
- aws_cdk/aws_elasticsearch/__init__.py +16 -1
- aws_cdk/aws_emr/__init__.py +24 -9
- aws_cdk/aws_emrcontainers/__init__.py +16 -1
- aws_cdk/aws_emrserverless/__init__.py +16 -1
- aws_cdk/aws_entityresolution/__init__.py +16 -1
- aws_cdk/aws_events/__init__.py +35 -18
- aws_cdk/aws_events_targets/__init__.py +181 -86
- aws_cdk/aws_eventschemas/__init__.py +16 -1
- aws_cdk/aws_evidently/__init__.py +16 -1
- aws_cdk/aws_finspace/__init__.py +16 -1
- aws_cdk/aws_fis/__init__.py +16 -1
- aws_cdk/aws_fms/__init__.py +75 -1
- aws_cdk/aws_forecast/__init__.py +16 -1
- aws_cdk/aws_frauddetector/__init__.py +16 -1
- aws_cdk/aws_fsx/__init__.py +19 -4
- aws_cdk/aws_gamelift/__init__.py +56 -53
- aws_cdk/aws_globalaccelerator/__init__.py +38 -30
- aws_cdk/aws_globalaccelerator_endpoints/__init__.py +16 -1
- aws_cdk/aws_glue/__init__.py +16 -1
- aws_cdk/aws_grafana/__init__.py +16 -1
- aws_cdk/aws_greengrass/__init__.py +16 -1
- aws_cdk/aws_greengrassv2/__init__.py +16 -1
- aws_cdk/aws_groundstation/__init__.py +16 -1
- aws_cdk/aws_guardduty/__init__.py +16 -1
- aws_cdk/aws_healthimaging/__init__.py +16 -1
- aws_cdk/aws_healthlake/__init__.py +16 -1
- aws_cdk/aws_iam/__init__.py +38 -21
- aws_cdk/aws_identitystore/__init__.py +16 -1
- aws_cdk/aws_imagebuilder/__init__.py +16 -1
- aws_cdk/aws_inspector/__init__.py +16 -1
- aws_cdk/aws_inspectorv2/__init__.py +16 -1
- aws_cdk/aws_internetmonitor/__init__.py +16 -1
- aws_cdk/aws_iot/__init__.py +16 -1
- aws_cdk/aws_iot1click/__init__.py +16 -1
- aws_cdk/aws_iotanalytics/__init__.py +16 -1
- aws_cdk/aws_iotcoredeviceadvisor/__init__.py +16 -1
- aws_cdk/aws_iotevents/__init__.py +16 -1
- aws_cdk/aws_iotfleethub/__init__.py +16 -1
- aws_cdk/aws_iotfleetwise/__init__.py +435 -1
- aws_cdk/aws_iotsitewise/__init__.py +106 -2
- aws_cdk/aws_iotthingsgraph/__init__.py +16 -1
- aws_cdk/aws_iottwinmaker/__init__.py +16 -1
- aws_cdk/aws_iotwireless/__init__.py +221 -1
- aws_cdk/aws_ivs/__init__.py +16 -1
- aws_cdk/aws_ivschat/__init__.py +16 -1
- aws_cdk/aws_kafkaconnect/__init__.py +16 -1
- aws_cdk/aws_kendra/__init__.py +16 -1
- aws_cdk/aws_kendraranking/__init__.py +16 -1
- aws_cdk/aws_kinesis/__init__.py +16 -1
- aws_cdk/aws_kinesisanalytics/__init__.py +16 -1
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +16 -1
- aws_cdk/aws_kinesisfirehose/__init__.py +16 -1
- aws_cdk/aws_kinesisvideo/__init__.py +16 -1
- aws_cdk/aws_kms/__init__.py +16 -1
- aws_cdk/aws_lakeformation/__init__.py +16 -1
- aws_cdk/aws_lambda/__init__.py +145 -17
- aws_cdk/aws_lambda_destinations/__init__.py +16 -1
- aws_cdk/aws_lambda_event_sources/__init__.py +16 -1
- aws_cdk/aws_lambda_nodejs/__init__.py +16 -1
- aws_cdk/aws_launchwizard/__init__.py +16 -1
- aws_cdk/aws_lex/__init__.py +31 -2
- aws_cdk/aws_licensemanager/__init__.py +16 -1
- aws_cdk/aws_lightsail/__init__.py +16 -1
- aws_cdk/aws_location/__init__.py +16 -1
- aws_cdk/aws_logs/__init__.py +17 -2
- aws_cdk/aws_logs_destinations/__init__.py +16 -1
- aws_cdk/aws_lookoutequipment/__init__.py +16 -1
- aws_cdk/aws_lookoutmetrics/__init__.py +16 -1
- aws_cdk/aws_lookoutvision/__init__.py +16 -1
- aws_cdk/aws_m2/__init__.py +16 -1
- aws_cdk/aws_macie/__init__.py +16 -1
- aws_cdk/aws_managedblockchain/__init__.py +16 -1
- aws_cdk/aws_mediaconnect/__init__.py +127 -1
- aws_cdk/aws_mediaconvert/__init__.py +16 -1
- aws_cdk/aws_medialive/__init__.py +8004 -3263
- aws_cdk/aws_mediapackage/__init__.py +16 -1
- aws_cdk/aws_mediapackagev2/__init__.py +16 -1
- aws_cdk/aws_mediastore/__init__.py +16 -1
- aws_cdk/aws_mediatailor/__init__.py +16 -1
- aws_cdk/aws_memorydb/__init__.py +16 -1
- aws_cdk/aws_msk/__init__.py +303 -480
- aws_cdk/aws_mwaa/__init__.py +16 -1
- aws_cdk/aws_neptune/__init__.py +16 -1
- aws_cdk/aws_neptunegraph/__init__.py +16 -1
- aws_cdk/aws_networkfirewall/__init__.py +16 -1
- aws_cdk/aws_networkmanager/__init__.py +16 -1
- aws_cdk/aws_nimblestudio/__init__.py +16 -1
- aws_cdk/aws_oam/__init__.py +16 -1
- aws_cdk/aws_omics/__init__.py +16 -1
- aws_cdk/aws_opensearchserverless/__init__.py +16 -1
- aws_cdk/aws_opensearchservice/__init__.py +22 -1
- aws_cdk/aws_opsworks/__init__.py +16 -1
- aws_cdk/aws_opsworkscm/__init__.py +16 -1
- aws_cdk/aws_organizations/__init__.py +16 -1
- aws_cdk/aws_osis/__init__.py +16 -1
- aws_cdk/aws_panorama/__init__.py +16 -1
- aws_cdk/aws_paymentcryptography/__init__.py +16 -1
- aws_cdk/aws_pcaconnectorad/__init__.py +16 -1
- aws_cdk/aws_pcaconnectorscep/__init__.py +85 -31
- aws_cdk/aws_personalize/__init__.py +16 -1
- aws_cdk/aws_pinpoint/__init__.py +16 -1
- aws_cdk/aws_pinpointemail/__init__.py +16 -1
- aws_cdk/aws_pipes/__init__.py +65 -1
- aws_cdk/aws_proton/__init__.py +16 -1
- aws_cdk/aws_qbusiness/__init__.py +27 -15
- aws_cdk/aws_qldb/__init__.py +16 -1
- aws_cdk/aws_quicksight/__init__.py +654 -100
- aws_cdk/aws_ram/__init__.py +16 -1
- aws_cdk/aws_rds/__init__.py +78 -32
- aws_cdk/aws_redshift/__init__.py +16 -1
- aws_cdk/aws_redshiftserverless/__init__.py +16 -1
- aws_cdk/aws_refactorspaces/__init__.py +16 -1
- aws_cdk/aws_rekognition/__init__.py +16 -1
- aws_cdk/aws_resiliencehub/__init__.py +16 -1
- aws_cdk/aws_resourceexplorer2/__init__.py +16 -1
- aws_cdk/aws_resourcegroups/__init__.py +16 -1
- aws_cdk/aws_robomaker/__init__.py +16 -1
- aws_cdk/aws_rolesanywhere/__init__.py +16 -1
- aws_cdk/aws_route53/__init__.py +16 -1
- aws_cdk/aws_route53_patterns/__init__.py +16 -1
- aws_cdk/aws_route53_targets/__init__.py +16 -1
- aws_cdk/aws_route53profiles/__init__.py +16 -1
- aws_cdk/aws_route53recoverycontrol/__init__.py +16 -1
- aws_cdk/aws_route53recoveryreadiness/__init__.py +16 -1
- aws_cdk/aws_route53resolver/__init__.py +16 -1
- aws_cdk/aws_rum/__init__.py +16 -1
- aws_cdk/aws_s3/__init__.py +231 -34
- aws_cdk/aws_s3_assets/__init__.py +16 -1
- aws_cdk/aws_s3_deployment/__init__.py +16 -1
- aws_cdk/aws_s3_notifications/__init__.py +16 -1
- aws_cdk/aws_s3express/__init__.py +16 -1
- aws_cdk/aws_s3objectlambda/__init__.py +18 -3
- aws_cdk/aws_s3outposts/__init__.py +16 -1
- aws_cdk/aws_sagemaker/__init__.py +888 -59
- aws_cdk/aws_sam/__init__.py +16 -1
- aws_cdk/aws_scheduler/__init__.py +16 -1
- aws_cdk/aws_sdb/__init__.py +16 -1
- aws_cdk/aws_secretsmanager/__init__.py +38 -9
- aws_cdk/aws_securityhub/__init__.py +277 -20
- aws_cdk/aws_securitylake/__init__.py +343 -8
- aws_cdk/aws_servicecatalog/__init__.py +16 -1
- aws_cdk/aws_servicecatalogappregistry/__init__.py +16 -1
- aws_cdk/aws_servicediscovery/__init__.py +21 -6
- aws_cdk/aws_ses/__init__.py +16 -1
- aws_cdk/aws_ses_actions/__init__.py +16 -1
- aws_cdk/aws_shield/__init__.py +16 -1
- aws_cdk/aws_signer/__init__.py +16 -1
- aws_cdk/aws_simspaceweaver/__init__.py +16 -1
- aws_cdk/aws_sns/__init__.py +16 -9
- aws_cdk/aws_sns_subscriptions/__init__.py +16 -1
- aws_cdk/aws_sqs/__init__.py +16 -1
- aws_cdk/aws_ssm/__init__.py +36 -13
- aws_cdk/aws_ssmcontacts/__init__.py +16 -1
- aws_cdk/aws_ssmincidents/__init__.py +16 -1
- aws_cdk/aws_ssmquicksetup/__init__.py +16 -1
- aws_cdk/aws_sso/__init__.py +16 -1
- aws_cdk/aws_stepfunctions/__init__.py +16 -1
- aws_cdk/aws_stepfunctions_tasks/__init__.py +52 -1
- aws_cdk/aws_supportapp/__init__.py +16 -1
- aws_cdk/aws_synthetics/__init__.py +16 -1
- aws_cdk/aws_systemsmanagersap/__init__.py +16 -1
- aws_cdk/aws_timestream/__init__.py +16 -1
- aws_cdk/aws_transfer/__init__.py +16 -1
- aws_cdk/aws_verifiedpermissions/__init__.py +16 -1
- aws_cdk/aws_voiceid/__init__.py +16 -1
- aws_cdk/aws_vpclattice/__init__.py +16 -1
- aws_cdk/aws_waf/__init__.py +16 -1
- aws_cdk/aws_wafregional/__init__.py +16 -1
- aws_cdk/aws_wafv2/__init__.py +16 -1
- aws_cdk/aws_wisdom/__init__.py +16 -1
- aws_cdk/aws_workspaces/__init__.py +16 -1
- aws_cdk/aws_workspacesthinclient/__init__.py +16 -1
- aws_cdk/aws_workspacesweb/__init__.py +16 -1
- aws_cdk/aws_xray/__init__.py +16 -1
- aws_cdk/cloud_assembly_schema/__init__.py +16 -1
- aws_cdk/cloudformation_include/__init__.py +16 -1
- aws_cdk/custom_resources/__init__.py +16 -1
- aws_cdk/cx_api/__init__.py +35 -1
- aws_cdk/lambda_layer_awscli/__init__.py +16 -1
- aws_cdk/lambda_layer_kubectl/__init__.py +16 -1
- aws_cdk/lambda_layer_node_proxy_agent/__init__.py +16 -1
- aws_cdk/pipelines/__init__.py +16 -1
- aws_cdk/region_info/__init__.py +16 -1
- aws_cdk/triggers/__init__.py +16 -1
- {aws_cdk_lib-2.157.0.dist-info → aws_cdk_lib-2.159.0.dist-info}/METADATA +5 -5
- {aws_cdk_lib-2.157.0.dist-info → aws_cdk_lib-2.159.0.dist-info}/NOTICE +27 -8
- aws_cdk_lib-2.159.0.dist-info/RECORD +294 -0
- aws_cdk_lib-2.157.0.dist-info/RECORD +0 -294
- {aws_cdk_lib-2.157.0.dist-info → aws_cdk_lib-2.159.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.157.0.dist-info → aws_cdk_lib-2.159.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.157.0.dist-info → aws_cdk_lib-2.159.0.dist-info}/top_level.txt +0 -0
|
@@ -48,7 +48,22 @@ import jsii
|
|
|
48
48
|
import publication
|
|
49
49
|
import typing_extensions
|
|
50
50
|
|
|
51
|
-
|
|
51
|
+
import typeguard
|
|
52
|
+
from importlib.metadata import version as _metadata_package_version
|
|
53
|
+
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
|
|
54
|
+
|
|
55
|
+
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
|
|
56
|
+
if TYPEGUARD_MAJOR_VERSION <= 2:
|
|
57
|
+
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
|
|
58
|
+
else:
|
|
59
|
+
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
|
|
60
|
+
pass
|
|
61
|
+
else:
|
|
62
|
+
if TYPEGUARD_MAJOR_VERSION == 3:
|
|
63
|
+
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
|
|
64
|
+
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
|
|
65
|
+
else:
|
|
66
|
+
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
|
52
67
|
|
|
53
68
|
from .._jsii import *
|
|
54
69
|
|
|
@@ -1110,7 +1125,7 @@ class CfnSubscriber(
|
|
|
1110
1125
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
1111
1126
|
:param access_types: You can choose to notify subscribers of new objects with an Amazon Simple Queue Service (Amazon SQS) queue or through messaging to an HTTPS endpoint provided by the subscriber. Subscribers can consume data by directly querying AWS Lake Formation tables in your Amazon S3 bucket through services like Amazon Athena. This subscription type is defined as ``LAKEFORMATION`` .
|
|
1112
1127
|
:param data_lake_arn: The Amazon Resource Name (ARN) used to create the data lake.
|
|
1113
|
-
:param sources: Amazon Security Lake supports log and event collection for natively supported AWS
|
|
1128
|
+
:param sources: Amazon Security Lake supports log and event collection for natively supported AWS services . For more information, see the `Amazon Security Lake User Guide <https://docs.aws.amazon.com//security-lake/latest/userguide/source-management.html>`_ .
|
|
1114
1129
|
:param subscriber_identity: The AWS identity used to access your data.
|
|
1115
1130
|
:param subscriber_name: The name of your Amazon Security Lake subscriber account.
|
|
1116
1131
|
:param subscriber_description: The subscriber descriptions for a subscriber account. The description for a subscriber includes ``subscriberName`` , ``accountID`` , ``externalID`` , and ``subscriberId`` .
|
|
@@ -1249,7 +1264,7 @@ class CfnSubscriber(
|
|
|
1249
1264
|
def sources(
|
|
1250
1265
|
self,
|
|
1251
1266
|
) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnSubscriber.SourceProperty"]]]:
|
|
1252
|
-
'''Amazon Security Lake supports log and event collection for natively supported AWS
|
|
1267
|
+
'''Amazon Security Lake supports log and event collection for natively supported AWS services .'''
|
|
1253
1268
|
return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnSubscriber.SourceProperty"]]], jsii.get(self, "sources"))
|
|
1254
1269
|
|
|
1255
1270
|
@sources.setter
|
|
@@ -1644,7 +1659,21 @@ class CfnSubscriberNotification(
|
|
|
1644
1659
|
# The values are placeholders you should change.
|
|
1645
1660
|
from aws_cdk import aws_securitylake as securitylake
|
|
1646
1661
|
|
|
1662
|
+
# sqs_notification_configuration: Any
|
|
1663
|
+
|
|
1647
1664
|
cfn_subscriber_notification = securitylake.CfnSubscriberNotification(self, "MyCfnSubscriberNotification",
|
|
1665
|
+
notification_configuration=securitylake.CfnSubscriberNotification.NotificationConfigurationProperty(
|
|
1666
|
+
https_notification_configuration=securitylake.CfnSubscriberNotification.HttpsNotificationConfigurationProperty(
|
|
1667
|
+
endpoint="endpoint",
|
|
1668
|
+
target_role_arn="targetRoleArn",
|
|
1669
|
+
|
|
1670
|
+
# the properties below are optional
|
|
1671
|
+
authorization_api_key_name="authorizationApiKeyName",
|
|
1672
|
+
authorization_api_key_value="authorizationApiKeyValue",
|
|
1673
|
+
http_method="httpMethod"
|
|
1674
|
+
),
|
|
1675
|
+
sqs_notification_configuration=sqs_notification_configuration
|
|
1676
|
+
),
|
|
1648
1677
|
subscriber_arn="subscriberArn"
|
|
1649
1678
|
)
|
|
1650
1679
|
'''
|
|
@@ -1654,18 +1683,23 @@ class CfnSubscriberNotification(
|
|
|
1654
1683
|
scope: _constructs_77d1e7e8.Construct,
|
|
1655
1684
|
id: builtins.str,
|
|
1656
1685
|
*,
|
|
1686
|
+
notification_configuration: typing.Union[_IResolvable_da3f097b, typing.Union["CfnSubscriberNotification.NotificationConfigurationProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
1657
1687
|
subscriber_arn: builtins.str,
|
|
1658
1688
|
) -> None:
|
|
1659
1689
|
'''
|
|
1660
1690
|
:param scope: Scope in which this resource is defined.
|
|
1661
1691
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
1692
|
+
:param notification_configuration: Specify the configurations you want to use for subscriber notification. The subscriber is notified when new data is written to the data lake for sources that the subscriber consumes in Security Lake .
|
|
1662
1693
|
:param subscriber_arn: The Amazon Resource Name (ARN) of the Security Lake subscriber.
|
|
1663
1694
|
'''
|
|
1664
1695
|
if __debug__:
|
|
1665
1696
|
type_hints = typing.get_type_hints(_typecheckingstub__12d097a0b2763ed8532079d34366f79ee45e7139fbdd98f5e181dd9c1fc456ee)
|
|
1666
1697
|
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
1667
1698
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
1668
|
-
props = CfnSubscriberNotificationProps(
|
|
1699
|
+
props = CfnSubscriberNotificationProps(
|
|
1700
|
+
notification_configuration=notification_configuration,
|
|
1701
|
+
subscriber_arn=subscriber_arn,
|
|
1702
|
+
)
|
|
1669
1703
|
|
|
1670
1704
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
1671
1705
|
|
|
@@ -1713,6 +1747,24 @@ class CfnSubscriberNotification(
|
|
|
1713
1747
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
1714
1748
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
1715
1749
|
|
|
1750
|
+
@builtins.property
|
|
1751
|
+
@jsii.member(jsii_name="notificationConfiguration")
|
|
1752
|
+
def notification_configuration(
|
|
1753
|
+
self,
|
|
1754
|
+
) -> typing.Union[_IResolvable_da3f097b, "CfnSubscriberNotification.NotificationConfigurationProperty"]:
|
|
1755
|
+
'''Specify the configurations you want to use for subscriber notification.'''
|
|
1756
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnSubscriberNotification.NotificationConfigurationProperty"], jsii.get(self, "notificationConfiguration"))
|
|
1757
|
+
|
|
1758
|
+
@notification_configuration.setter
|
|
1759
|
+
def notification_configuration(
|
|
1760
|
+
self,
|
|
1761
|
+
value: typing.Union[_IResolvable_da3f097b, "CfnSubscriberNotification.NotificationConfigurationProperty"],
|
|
1762
|
+
) -> None:
|
|
1763
|
+
if __debug__:
|
|
1764
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f416322e55f2b44fbfc4db060d6295a8133d187a93c3b3323f90fb62986ced47)
|
|
1765
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1766
|
+
jsii.set(self, "notificationConfiguration", value) # pyright: ignore[reportArgumentType]
|
|
1767
|
+
|
|
1716
1768
|
@builtins.property
|
|
1717
1769
|
@jsii.member(jsii_name="subscriberArn")
|
|
1718
1770
|
def subscriber_arn(self) -> builtins.str:
|
|
@@ -1726,16 +1778,242 @@ class CfnSubscriberNotification(
|
|
|
1726
1778
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1727
1779
|
jsii.set(self, "subscriberArn", value) # pyright: ignore[reportArgumentType]
|
|
1728
1780
|
|
|
1781
|
+
@jsii.data_type(
|
|
1782
|
+
jsii_type="aws-cdk-lib.aws_securitylake.CfnSubscriberNotification.HttpsNotificationConfigurationProperty",
|
|
1783
|
+
jsii_struct_bases=[],
|
|
1784
|
+
name_mapping={
|
|
1785
|
+
"endpoint": "endpoint",
|
|
1786
|
+
"target_role_arn": "targetRoleArn",
|
|
1787
|
+
"authorization_api_key_name": "authorizationApiKeyName",
|
|
1788
|
+
"authorization_api_key_value": "authorizationApiKeyValue",
|
|
1789
|
+
"http_method": "httpMethod",
|
|
1790
|
+
},
|
|
1791
|
+
)
|
|
1792
|
+
class HttpsNotificationConfigurationProperty:
|
|
1793
|
+
def __init__(
|
|
1794
|
+
self,
|
|
1795
|
+
*,
|
|
1796
|
+
endpoint: builtins.str,
|
|
1797
|
+
target_role_arn: builtins.str,
|
|
1798
|
+
authorization_api_key_name: typing.Optional[builtins.str] = None,
|
|
1799
|
+
authorization_api_key_value: typing.Optional[builtins.str] = None,
|
|
1800
|
+
http_method: typing.Optional[builtins.str] = None,
|
|
1801
|
+
) -> None:
|
|
1802
|
+
'''Specify the configurations you want to use for HTTPS subscriber notification.
|
|
1803
|
+
|
|
1804
|
+
:param endpoint: The subscription endpoint in Security Lake . If you prefer notification with an HTTPS endpoint, populate this field.
|
|
1805
|
+
:param target_role_arn: The Amazon Resource Name (ARN) of the EventBridge API destinations IAM role that you created. For more information about ARNs and how to use them in policies, see `Managing data access <https://docs.aws.amazon.com///security-lake/latest/userguide/subscriber-data-access.html>`_ and `AWS Managed Policies <https://docs.aws.amazon.com//security-lake/latest/userguide/security-iam-awsmanpol.html>`_ in the *Amazon Security Lake User Guide* .
|
|
1806
|
+
:param authorization_api_key_name: The key name for the notification subscription.
|
|
1807
|
+
:param authorization_api_key_value: The key value for the notification subscription.
|
|
1808
|
+
:param http_method: The HTTPS method used for the notification subscription.
|
|
1809
|
+
|
|
1810
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securitylake-subscribernotification-httpsnotificationconfiguration.html
|
|
1811
|
+
:exampleMetadata: fixture=_generated
|
|
1812
|
+
|
|
1813
|
+
Example::
|
|
1814
|
+
|
|
1815
|
+
# The code below shows an example of how to instantiate this type.
|
|
1816
|
+
# The values are placeholders you should change.
|
|
1817
|
+
from aws_cdk import aws_securitylake as securitylake
|
|
1818
|
+
|
|
1819
|
+
https_notification_configuration_property = securitylake.CfnSubscriberNotification.HttpsNotificationConfigurationProperty(
|
|
1820
|
+
endpoint="endpoint",
|
|
1821
|
+
target_role_arn="targetRoleArn",
|
|
1822
|
+
|
|
1823
|
+
# the properties below are optional
|
|
1824
|
+
authorization_api_key_name="authorizationApiKeyName",
|
|
1825
|
+
authorization_api_key_value="authorizationApiKeyValue",
|
|
1826
|
+
http_method="httpMethod"
|
|
1827
|
+
)
|
|
1828
|
+
'''
|
|
1829
|
+
if __debug__:
|
|
1830
|
+
type_hints = typing.get_type_hints(_typecheckingstub__5f660887f03241b04929c37749f449300fda16140134e83fad8aee07494b0fcc)
|
|
1831
|
+
check_type(argname="argument endpoint", value=endpoint, expected_type=type_hints["endpoint"])
|
|
1832
|
+
check_type(argname="argument target_role_arn", value=target_role_arn, expected_type=type_hints["target_role_arn"])
|
|
1833
|
+
check_type(argname="argument authorization_api_key_name", value=authorization_api_key_name, expected_type=type_hints["authorization_api_key_name"])
|
|
1834
|
+
check_type(argname="argument authorization_api_key_value", value=authorization_api_key_value, expected_type=type_hints["authorization_api_key_value"])
|
|
1835
|
+
check_type(argname="argument http_method", value=http_method, expected_type=type_hints["http_method"])
|
|
1836
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1837
|
+
"endpoint": endpoint,
|
|
1838
|
+
"target_role_arn": target_role_arn,
|
|
1839
|
+
}
|
|
1840
|
+
if authorization_api_key_name is not None:
|
|
1841
|
+
self._values["authorization_api_key_name"] = authorization_api_key_name
|
|
1842
|
+
if authorization_api_key_value is not None:
|
|
1843
|
+
self._values["authorization_api_key_value"] = authorization_api_key_value
|
|
1844
|
+
if http_method is not None:
|
|
1845
|
+
self._values["http_method"] = http_method
|
|
1846
|
+
|
|
1847
|
+
@builtins.property
|
|
1848
|
+
def endpoint(self) -> builtins.str:
|
|
1849
|
+
'''The subscription endpoint in Security Lake .
|
|
1850
|
+
|
|
1851
|
+
If you prefer notification with an HTTPS endpoint, populate this field.
|
|
1852
|
+
|
|
1853
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securitylake-subscribernotification-httpsnotificationconfiguration.html#cfn-securitylake-subscribernotification-httpsnotificationconfiguration-endpoint
|
|
1854
|
+
'''
|
|
1855
|
+
result = self._values.get("endpoint")
|
|
1856
|
+
assert result is not None, "Required property 'endpoint' is missing"
|
|
1857
|
+
return typing.cast(builtins.str, result)
|
|
1858
|
+
|
|
1859
|
+
@builtins.property
|
|
1860
|
+
def target_role_arn(self) -> builtins.str:
|
|
1861
|
+
'''The Amazon Resource Name (ARN) of the EventBridge API destinations IAM role that you created.
|
|
1862
|
+
|
|
1863
|
+
For more information about ARNs and how to use them in policies, see `Managing data access <https://docs.aws.amazon.com///security-lake/latest/userguide/subscriber-data-access.html>`_ and `AWS Managed Policies <https://docs.aws.amazon.com//security-lake/latest/userguide/security-iam-awsmanpol.html>`_ in the *Amazon Security Lake User Guide* .
|
|
1864
|
+
|
|
1865
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securitylake-subscribernotification-httpsnotificationconfiguration.html#cfn-securitylake-subscribernotification-httpsnotificationconfiguration-targetrolearn
|
|
1866
|
+
'''
|
|
1867
|
+
result = self._values.get("target_role_arn")
|
|
1868
|
+
assert result is not None, "Required property 'target_role_arn' is missing"
|
|
1869
|
+
return typing.cast(builtins.str, result)
|
|
1870
|
+
|
|
1871
|
+
@builtins.property
|
|
1872
|
+
def authorization_api_key_name(self) -> typing.Optional[builtins.str]:
|
|
1873
|
+
'''The key name for the notification subscription.
|
|
1874
|
+
|
|
1875
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securitylake-subscribernotification-httpsnotificationconfiguration.html#cfn-securitylake-subscribernotification-httpsnotificationconfiguration-authorizationapikeyname
|
|
1876
|
+
'''
|
|
1877
|
+
result = self._values.get("authorization_api_key_name")
|
|
1878
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1879
|
+
|
|
1880
|
+
@builtins.property
|
|
1881
|
+
def authorization_api_key_value(self) -> typing.Optional[builtins.str]:
|
|
1882
|
+
'''The key value for the notification subscription.
|
|
1883
|
+
|
|
1884
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securitylake-subscribernotification-httpsnotificationconfiguration.html#cfn-securitylake-subscribernotification-httpsnotificationconfiguration-authorizationapikeyvalue
|
|
1885
|
+
'''
|
|
1886
|
+
result = self._values.get("authorization_api_key_value")
|
|
1887
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1888
|
+
|
|
1889
|
+
@builtins.property
|
|
1890
|
+
def http_method(self) -> typing.Optional[builtins.str]:
|
|
1891
|
+
'''The HTTPS method used for the notification subscription.
|
|
1892
|
+
|
|
1893
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securitylake-subscribernotification-httpsnotificationconfiguration.html#cfn-securitylake-subscribernotification-httpsnotificationconfiguration-httpmethod
|
|
1894
|
+
'''
|
|
1895
|
+
result = self._values.get("http_method")
|
|
1896
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1897
|
+
|
|
1898
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1899
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1900
|
+
|
|
1901
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1902
|
+
return not (rhs == self)
|
|
1903
|
+
|
|
1904
|
+
def __repr__(self) -> str:
|
|
1905
|
+
return "HttpsNotificationConfigurationProperty(%s)" % ", ".join(
|
|
1906
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1907
|
+
)
|
|
1908
|
+
|
|
1909
|
+
@jsii.data_type(
|
|
1910
|
+
jsii_type="aws-cdk-lib.aws_securitylake.CfnSubscriberNotification.NotificationConfigurationProperty",
|
|
1911
|
+
jsii_struct_bases=[],
|
|
1912
|
+
name_mapping={
|
|
1913
|
+
"https_notification_configuration": "httpsNotificationConfiguration",
|
|
1914
|
+
"sqs_notification_configuration": "sqsNotificationConfiguration",
|
|
1915
|
+
},
|
|
1916
|
+
)
|
|
1917
|
+
class NotificationConfigurationProperty:
|
|
1918
|
+
def __init__(
|
|
1919
|
+
self,
|
|
1920
|
+
*,
|
|
1921
|
+
https_notification_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSubscriberNotification.HttpsNotificationConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1922
|
+
sqs_notification_configuration: typing.Any = None,
|
|
1923
|
+
) -> None:
|
|
1924
|
+
'''Specify the configurations you want to use for subscriber notification.
|
|
1925
|
+
|
|
1926
|
+
The subscriber is notified when new data is written to the data lake for sources that the subscriber consumes in Security Lake .
|
|
1927
|
+
|
|
1928
|
+
:param https_notification_configuration: The configurations used for HTTPS subscriber notification.
|
|
1929
|
+
:param sqs_notification_configuration: The configurations for SQS subscriber notification. The members of this structure are context-dependent.
|
|
1930
|
+
|
|
1931
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securitylake-subscribernotification-notificationconfiguration.html
|
|
1932
|
+
:exampleMetadata: fixture=_generated
|
|
1933
|
+
|
|
1934
|
+
Example::
|
|
1935
|
+
|
|
1936
|
+
# The code below shows an example of how to instantiate this type.
|
|
1937
|
+
# The values are placeholders you should change.
|
|
1938
|
+
from aws_cdk import aws_securitylake as securitylake
|
|
1939
|
+
|
|
1940
|
+
# sqs_notification_configuration: Any
|
|
1941
|
+
|
|
1942
|
+
notification_configuration_property = securitylake.CfnSubscriberNotification.NotificationConfigurationProperty(
|
|
1943
|
+
https_notification_configuration=securitylake.CfnSubscriberNotification.HttpsNotificationConfigurationProperty(
|
|
1944
|
+
endpoint="endpoint",
|
|
1945
|
+
target_role_arn="targetRoleArn",
|
|
1946
|
+
|
|
1947
|
+
# the properties below are optional
|
|
1948
|
+
authorization_api_key_name="authorizationApiKeyName",
|
|
1949
|
+
authorization_api_key_value="authorizationApiKeyValue",
|
|
1950
|
+
http_method="httpMethod"
|
|
1951
|
+
),
|
|
1952
|
+
sqs_notification_configuration=sqs_notification_configuration
|
|
1953
|
+
)
|
|
1954
|
+
'''
|
|
1955
|
+
if __debug__:
|
|
1956
|
+
type_hints = typing.get_type_hints(_typecheckingstub__eda053f3e120e20df5120b1a8032bb559c0c4d069b5d67b0576d442df7f66b73)
|
|
1957
|
+
check_type(argname="argument https_notification_configuration", value=https_notification_configuration, expected_type=type_hints["https_notification_configuration"])
|
|
1958
|
+
check_type(argname="argument sqs_notification_configuration", value=sqs_notification_configuration, expected_type=type_hints["sqs_notification_configuration"])
|
|
1959
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
1960
|
+
if https_notification_configuration is not None:
|
|
1961
|
+
self._values["https_notification_configuration"] = https_notification_configuration
|
|
1962
|
+
if sqs_notification_configuration is not None:
|
|
1963
|
+
self._values["sqs_notification_configuration"] = sqs_notification_configuration
|
|
1964
|
+
|
|
1965
|
+
@builtins.property
|
|
1966
|
+
def https_notification_configuration(
|
|
1967
|
+
self,
|
|
1968
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSubscriberNotification.HttpsNotificationConfigurationProperty"]]:
|
|
1969
|
+
'''The configurations used for HTTPS subscriber notification.
|
|
1970
|
+
|
|
1971
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securitylake-subscribernotification-notificationconfiguration.html#cfn-securitylake-subscribernotification-notificationconfiguration-httpsnotificationconfiguration
|
|
1972
|
+
'''
|
|
1973
|
+
result = self._values.get("https_notification_configuration")
|
|
1974
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSubscriberNotification.HttpsNotificationConfigurationProperty"]], result)
|
|
1975
|
+
|
|
1976
|
+
@builtins.property
|
|
1977
|
+
def sqs_notification_configuration(self) -> typing.Any:
|
|
1978
|
+
'''The configurations for SQS subscriber notification.
|
|
1979
|
+
|
|
1980
|
+
The members of this structure are context-dependent.
|
|
1981
|
+
|
|
1982
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securitylake-subscribernotification-notificationconfiguration.html#cfn-securitylake-subscribernotification-notificationconfiguration-sqsnotificationconfiguration
|
|
1983
|
+
'''
|
|
1984
|
+
result = self._values.get("sqs_notification_configuration")
|
|
1985
|
+
return typing.cast(typing.Any, result)
|
|
1986
|
+
|
|
1987
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1988
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1989
|
+
|
|
1990
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1991
|
+
return not (rhs == self)
|
|
1992
|
+
|
|
1993
|
+
def __repr__(self) -> str:
|
|
1994
|
+
return "NotificationConfigurationProperty(%s)" % ", ".join(
|
|
1995
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1996
|
+
)
|
|
1997
|
+
|
|
1729
1998
|
|
|
1730
1999
|
@jsii.data_type(
|
|
1731
2000
|
jsii_type="aws-cdk-lib.aws_securitylake.CfnSubscriberNotificationProps",
|
|
1732
2001
|
jsii_struct_bases=[],
|
|
1733
|
-
name_mapping={
|
|
2002
|
+
name_mapping={
|
|
2003
|
+
"notification_configuration": "notificationConfiguration",
|
|
2004
|
+
"subscriber_arn": "subscriberArn",
|
|
2005
|
+
},
|
|
1734
2006
|
)
|
|
1735
2007
|
class CfnSubscriberNotificationProps:
|
|
1736
|
-
def __init__(
|
|
2008
|
+
def __init__(
|
|
2009
|
+
self,
|
|
2010
|
+
*,
|
|
2011
|
+
notification_configuration: typing.Union[_IResolvable_da3f097b, typing.Union[CfnSubscriberNotification.NotificationConfigurationProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
2012
|
+
subscriber_arn: builtins.str,
|
|
2013
|
+
) -> None:
|
|
1737
2014
|
'''Properties for defining a ``CfnSubscriberNotification``.
|
|
1738
2015
|
|
|
2016
|
+
:param notification_configuration: Specify the configurations you want to use for subscriber notification. The subscriber is notified when new data is written to the data lake for sources that the subscriber consumes in Security Lake .
|
|
1739
2017
|
:param subscriber_arn: The Amazon Resource Name (ARN) of the Security Lake subscriber.
|
|
1740
2018
|
|
|
1741
2019
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securitylake-subscribernotification.html
|
|
@@ -1747,17 +2025,47 @@ class CfnSubscriberNotificationProps:
|
|
|
1747
2025
|
# The values are placeholders you should change.
|
|
1748
2026
|
from aws_cdk import aws_securitylake as securitylake
|
|
1749
2027
|
|
|
2028
|
+
# sqs_notification_configuration: Any
|
|
2029
|
+
|
|
1750
2030
|
cfn_subscriber_notification_props = securitylake.CfnSubscriberNotificationProps(
|
|
2031
|
+
notification_configuration=securitylake.CfnSubscriberNotification.NotificationConfigurationProperty(
|
|
2032
|
+
https_notification_configuration=securitylake.CfnSubscriberNotification.HttpsNotificationConfigurationProperty(
|
|
2033
|
+
endpoint="endpoint",
|
|
2034
|
+
target_role_arn="targetRoleArn",
|
|
2035
|
+
|
|
2036
|
+
# the properties below are optional
|
|
2037
|
+
authorization_api_key_name="authorizationApiKeyName",
|
|
2038
|
+
authorization_api_key_value="authorizationApiKeyValue",
|
|
2039
|
+
http_method="httpMethod"
|
|
2040
|
+
),
|
|
2041
|
+
sqs_notification_configuration=sqs_notification_configuration
|
|
2042
|
+
),
|
|
1751
2043
|
subscriber_arn="subscriberArn"
|
|
1752
2044
|
)
|
|
1753
2045
|
'''
|
|
1754
2046
|
if __debug__:
|
|
1755
2047
|
type_hints = typing.get_type_hints(_typecheckingstub__605e5ae993fc9297bdd697c853feff49b4a8fdf8c1ff96de11276f50e21c6a34)
|
|
2048
|
+
check_type(argname="argument notification_configuration", value=notification_configuration, expected_type=type_hints["notification_configuration"])
|
|
1756
2049
|
check_type(argname="argument subscriber_arn", value=subscriber_arn, expected_type=type_hints["subscriber_arn"])
|
|
1757
2050
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2051
|
+
"notification_configuration": notification_configuration,
|
|
1758
2052
|
"subscriber_arn": subscriber_arn,
|
|
1759
2053
|
}
|
|
1760
2054
|
|
|
2055
|
+
@builtins.property
|
|
2056
|
+
def notification_configuration(
|
|
2057
|
+
self,
|
|
2058
|
+
) -> typing.Union[_IResolvable_da3f097b, CfnSubscriberNotification.NotificationConfigurationProperty]:
|
|
2059
|
+
'''Specify the configurations you want to use for subscriber notification.
|
|
2060
|
+
|
|
2061
|
+
The subscriber is notified when new data is written to the data lake for sources that the subscriber consumes in Security Lake .
|
|
2062
|
+
|
|
2063
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securitylake-subscribernotification.html#cfn-securitylake-subscribernotification-notificationconfiguration
|
|
2064
|
+
'''
|
|
2065
|
+
result = self._values.get("notification_configuration")
|
|
2066
|
+
assert result is not None, "Required property 'notification_configuration' is missing"
|
|
2067
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, CfnSubscriberNotification.NotificationConfigurationProperty], result)
|
|
2068
|
+
|
|
1761
2069
|
@builtins.property
|
|
1762
2070
|
def subscriber_arn(self) -> builtins.str:
|
|
1763
2071
|
'''The Amazon Resource Name (ARN) of the Security Lake subscriber.
|
|
@@ -1809,7 +2117,7 @@ class CfnSubscriberProps:
|
|
|
1809
2117
|
|
|
1810
2118
|
:param access_types: You can choose to notify subscribers of new objects with an Amazon Simple Queue Service (Amazon SQS) queue or through messaging to an HTTPS endpoint provided by the subscriber. Subscribers can consume data by directly querying AWS Lake Formation tables in your Amazon S3 bucket through services like Amazon Athena. This subscription type is defined as ``LAKEFORMATION`` .
|
|
1811
2119
|
:param data_lake_arn: The Amazon Resource Name (ARN) used to create the data lake.
|
|
1812
|
-
:param sources: Amazon Security Lake supports log and event collection for natively supported AWS
|
|
2120
|
+
:param sources: Amazon Security Lake supports log and event collection for natively supported AWS services . For more information, see the `Amazon Security Lake User Guide <https://docs.aws.amazon.com//security-lake/latest/userguide/source-management.html>`_ .
|
|
1813
2121
|
:param subscriber_identity: The AWS identity used to access your data.
|
|
1814
2122
|
:param subscriber_name: The name of your Amazon Security Lake subscriber account.
|
|
1815
2123
|
:param subscriber_description: The subscriber descriptions for a subscriber account. The description for a subscriber includes ``subscriberName`` , ``accountID`` , ``externalID`` , and ``subscriberId`` .
|
|
@@ -1898,7 +2206,7 @@ class CfnSubscriberProps:
|
|
|
1898
2206
|
def sources(
|
|
1899
2207
|
self,
|
|
1900
2208
|
) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnSubscriber.SourceProperty]]]:
|
|
1901
|
-
'''Amazon Security Lake supports log and event collection for natively supported AWS
|
|
2209
|
+
'''Amazon Security Lake supports log and event collection for natively supported AWS services .
|
|
1902
2210
|
|
|
1903
2211
|
For more information, see the `Amazon Security Lake User Guide <https://docs.aws.amazon.com//security-lake/latest/userguide/source-management.html>`_ .
|
|
1904
2212
|
|
|
@@ -2244,6 +2552,7 @@ def _typecheckingstub__12d097a0b2763ed8532079d34366f79ee45e7139fbdd98f5e181dd9c1
|
|
|
2244
2552
|
scope: _constructs_77d1e7e8.Construct,
|
|
2245
2553
|
id: builtins.str,
|
|
2246
2554
|
*,
|
|
2555
|
+
notification_configuration: typing.Union[_IResolvable_da3f097b, typing.Union[CfnSubscriberNotification.NotificationConfigurationProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
2247
2556
|
subscriber_arn: builtins.str,
|
|
2248
2557
|
) -> None:
|
|
2249
2558
|
"""Type checking stubs"""
|
|
@@ -2261,14 +2570,40 @@ def _typecheckingstub__ff98af95551675e894613a4790fc104d8ef8b4d9369543d68680140fb
|
|
|
2261
2570
|
"""Type checking stubs"""
|
|
2262
2571
|
pass
|
|
2263
2572
|
|
|
2573
|
+
def _typecheckingstub__f416322e55f2b44fbfc4db060d6295a8133d187a93c3b3323f90fb62986ced47(
|
|
2574
|
+
value: typing.Union[_IResolvable_da3f097b, CfnSubscriberNotification.NotificationConfigurationProperty],
|
|
2575
|
+
) -> None:
|
|
2576
|
+
"""Type checking stubs"""
|
|
2577
|
+
pass
|
|
2578
|
+
|
|
2264
2579
|
def _typecheckingstub__9f1dfade8090ae9276abcfb558543bcdaf6174fe5b4b775b6634581d0a6ccdc8(
|
|
2265
2580
|
value: builtins.str,
|
|
2266
2581
|
) -> None:
|
|
2267
2582
|
"""Type checking stubs"""
|
|
2268
2583
|
pass
|
|
2269
2584
|
|
|
2585
|
+
def _typecheckingstub__5f660887f03241b04929c37749f449300fda16140134e83fad8aee07494b0fcc(
|
|
2586
|
+
*,
|
|
2587
|
+
endpoint: builtins.str,
|
|
2588
|
+
target_role_arn: builtins.str,
|
|
2589
|
+
authorization_api_key_name: typing.Optional[builtins.str] = None,
|
|
2590
|
+
authorization_api_key_value: typing.Optional[builtins.str] = None,
|
|
2591
|
+
http_method: typing.Optional[builtins.str] = None,
|
|
2592
|
+
) -> None:
|
|
2593
|
+
"""Type checking stubs"""
|
|
2594
|
+
pass
|
|
2595
|
+
|
|
2596
|
+
def _typecheckingstub__eda053f3e120e20df5120b1a8032bb559c0c4d069b5d67b0576d442df7f66b73(
|
|
2597
|
+
*,
|
|
2598
|
+
https_notification_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSubscriberNotification.HttpsNotificationConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2599
|
+
sqs_notification_configuration: typing.Any = None,
|
|
2600
|
+
) -> None:
|
|
2601
|
+
"""Type checking stubs"""
|
|
2602
|
+
pass
|
|
2603
|
+
|
|
2270
2604
|
def _typecheckingstub__605e5ae993fc9297bdd697c853feff49b4a8fdf8c1ff96de11276f50e21c6a34(
|
|
2271
2605
|
*,
|
|
2606
|
+
notification_configuration: typing.Union[_IResolvable_da3f097b, typing.Union[CfnSubscriberNotification.NotificationConfigurationProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
2272
2607
|
subscriber_arn: builtins.str,
|
|
2273
2608
|
) -> None:
|
|
2274
2609
|
"""Type checking stubs"""
|
|
@@ -585,7 +585,22 @@ import jsii
|
|
|
585
585
|
import publication
|
|
586
586
|
import typing_extensions
|
|
587
587
|
|
|
588
|
-
|
|
588
|
+
import typeguard
|
|
589
|
+
from importlib.metadata import version as _metadata_package_version
|
|
590
|
+
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
|
|
591
|
+
|
|
592
|
+
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
|
|
593
|
+
if TYPEGUARD_MAJOR_VERSION <= 2:
|
|
594
|
+
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
|
|
595
|
+
else:
|
|
596
|
+
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
|
|
597
|
+
pass
|
|
598
|
+
else:
|
|
599
|
+
if TYPEGUARD_MAJOR_VERSION == 3:
|
|
600
|
+
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
|
|
601
|
+
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
|
|
602
|
+
else:
|
|
603
|
+
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
|
589
604
|
|
|
590
605
|
from .._jsii import *
|
|
591
606
|
|
|
@@ -43,7 +43,22 @@ import jsii
|
|
|
43
43
|
import publication
|
|
44
44
|
import typing_extensions
|
|
45
45
|
|
|
46
|
-
|
|
46
|
+
import typeguard
|
|
47
|
+
from importlib.metadata import version as _metadata_package_version
|
|
48
|
+
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
|
|
49
|
+
|
|
50
|
+
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
|
|
51
|
+
if TYPEGUARD_MAJOR_VERSION <= 2:
|
|
52
|
+
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
|
|
53
|
+
else:
|
|
54
|
+
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
|
|
55
|
+
pass
|
|
56
|
+
else:
|
|
57
|
+
if TYPEGUARD_MAJOR_VERSION == 3:
|
|
58
|
+
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
|
|
59
|
+
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
|
|
60
|
+
else:
|
|
61
|
+
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
|
47
62
|
|
|
48
63
|
from .._jsii import *
|
|
49
64
|
|
|
@@ -174,7 +174,22 @@ import jsii
|
|
|
174
174
|
import publication
|
|
175
175
|
import typing_extensions
|
|
176
176
|
|
|
177
|
-
|
|
177
|
+
import typeguard
|
|
178
|
+
from importlib.metadata import version as _metadata_package_version
|
|
179
|
+
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
|
|
180
|
+
|
|
181
|
+
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
|
|
182
|
+
if TYPEGUARD_MAJOR_VERSION <= 2:
|
|
183
|
+
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
|
|
184
|
+
else:
|
|
185
|
+
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
|
|
186
|
+
pass
|
|
187
|
+
else:
|
|
188
|
+
if TYPEGUARD_MAJOR_VERSION == 3:
|
|
189
|
+
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
|
|
190
|
+
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
|
|
191
|
+
else:
|
|
192
|
+
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
|
178
193
|
|
|
179
194
|
from .._jsii import *
|
|
180
195
|
|
|
@@ -2333,11 +2348,7 @@ class CfnService(
|
|
|
2333
2348
|
) -> None:
|
|
2334
2349
|
'''A complex type that contains information about the Amazon Route 53 DNS records that you want AWS Cloud Map to create when you register an instance.
|
|
2335
2350
|
|
|
2336
|
-
.. epigraph::
|
|
2337
|
-
|
|
2338
|
-
The record types of a service can only be changed by deleting the service and recreating it with a new ``Dnsconfig`` .
|
|
2339
|
-
|
|
2340
|
-
:param dns_records: An array that contains one ``DnsRecord`` object for each Route 53 DNS record that you want AWS Cloud Map to create when you register an instance.
|
|
2351
|
+
:param dns_records: An array that contains one ``DnsRecord`` object for each Route 53 DNS record that you want AWS Cloud Map to create when you register an instance. .. epigraph:: The record type of a service can't be updated directly and can only be changed by deleting the service and recreating it with a new ``DnsConfig`` .
|
|
2341
2352
|
:param namespace_id: The ID of the namespace to use for DNS configuration. .. epigraph:: You must specify a value for ``NamespaceId`` either for ``DnsConfig`` or for the `service properties <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-service.html>`_ . Don't specify a value in both places.
|
|
2342
2353
|
:param routing_policy: The routing policy that you want to apply to all Route 53 DNS records that AWS Cloud Map creates when you register an instance and specify this service. .. epigraph:: If you want to use this service to register instances that create alias records, specify ``WEIGHTED`` for the routing policy. You can specify the following values: - **MULTIVALUE** - If you define a health check for the service and the health check is healthy, Route 53 returns the applicable value for up to eight instances. For example, suppose that the service includes configurations for one ``A`` record and a health check. You use the service to register 10 instances. Route 53 responds to DNS queries with IP addresses for up to eight healthy instances. If fewer than eight instances are healthy, Route 53 responds to every DNS query with the IP addresses for all of the healthy instances. If you don't define a health check for the service, Route 53 assumes that all instances are healthy and returns the values for up to eight instances. For more information about the multivalue routing policy, see `Multivalue Answer Routing <https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/routing-policy.html#routing-policy-multivalue>`_ in the *Route 53 Developer Guide* . - **WEIGHTED** - Route 53 returns the applicable value from one randomly selected instance from among the instances that you registered using the same service. Currently, all records have the same weight, so you can't route more or less traffic to any instances. For example, suppose that the service includes configurations for one ``A`` record and a health check. You use the service to register 10 instances. Route 53 responds to DNS queries with the IP address for one randomly selected instance from among the healthy instances. If no instances are healthy, Route 53 responds to DNS queries as if all of the instances were healthy. If you don't define a health check for the service, Route 53 assumes that all instances are healthy and returns the applicable value for one randomly selected instance. For more information about the weighted routing policy, see `Weighted Routing <https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/routing-policy.html#routing-policy-weighted>`_ in the *Route 53 Developer Guide* .
|
|
2343
2354
|
|
|
@@ -2380,6 +2391,10 @@ class CfnService(
|
|
|
2380
2391
|
) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnService.DnsRecordProperty"]]]:
|
|
2381
2392
|
'''An array that contains one ``DnsRecord`` object for each Route 53 DNS record that you want AWS Cloud Map to create when you register an instance.
|
|
2382
2393
|
|
|
2394
|
+
.. epigraph::
|
|
2395
|
+
|
|
2396
|
+
The record type of a service can't be updated directly and can only be changed by deleting the service and recreating it with a new ``DnsConfig`` .
|
|
2397
|
+
|
|
2383
2398
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicediscovery-service-dnsconfig.html#cfn-servicediscovery-service-dnsconfig-dnsrecords
|
|
2384
2399
|
'''
|
|
2385
2400
|
result = self._values.get("dns_records")
|
aws_cdk/aws_ses/__init__.py
CHANGED
|
@@ -269,7 +269,22 @@ import jsii
|
|
|
269
269
|
import publication
|
|
270
270
|
import typing_extensions
|
|
271
271
|
|
|
272
|
-
|
|
272
|
+
import typeguard
|
|
273
|
+
from importlib.metadata import version as _metadata_package_version
|
|
274
|
+
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
|
|
275
|
+
|
|
276
|
+
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
|
|
277
|
+
if TYPEGUARD_MAJOR_VERSION <= 2:
|
|
278
|
+
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
|
|
279
|
+
else:
|
|
280
|
+
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
|
|
281
|
+
pass
|
|
282
|
+
else:
|
|
283
|
+
if TYPEGUARD_MAJOR_VERSION == 3:
|
|
284
|
+
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
|
|
285
|
+
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
|
|
286
|
+
else:
|
|
287
|
+
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
|
273
288
|
|
|
274
289
|
from .._jsii import *
|
|
275
290
|
|
|
@@ -29,7 +29,22 @@ import jsii
|
|
|
29
29
|
import publication
|
|
30
30
|
import typing_extensions
|
|
31
31
|
|
|
32
|
-
|
|
32
|
+
import typeguard
|
|
33
|
+
from importlib.metadata import version as _metadata_package_version
|
|
34
|
+
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
|
|
35
|
+
|
|
36
|
+
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
|
|
37
|
+
if TYPEGUARD_MAJOR_VERSION <= 2:
|
|
38
|
+
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
|
|
39
|
+
else:
|
|
40
|
+
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
|
|
41
|
+
pass
|
|
42
|
+
else:
|
|
43
|
+
if TYPEGUARD_MAJOR_VERSION == 3:
|
|
44
|
+
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
|
|
45
|
+
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
|
|
46
|
+
else:
|
|
47
|
+
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
|
33
48
|
|
|
34
49
|
from .._jsii import *
|
|
35
50
|
|
aws_cdk/aws_shield/__init__.py
CHANGED
|
@@ -48,7 +48,22 @@ import jsii
|
|
|
48
48
|
import publication
|
|
49
49
|
import typing_extensions
|
|
50
50
|
|
|
51
|
-
|
|
51
|
+
import typeguard
|
|
52
|
+
from importlib.metadata import version as _metadata_package_version
|
|
53
|
+
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
|
|
54
|
+
|
|
55
|
+
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
|
|
56
|
+
if TYPEGUARD_MAJOR_VERSION <= 2:
|
|
57
|
+
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
|
|
58
|
+
else:
|
|
59
|
+
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
|
|
60
|
+
pass
|
|
61
|
+
else:
|
|
62
|
+
if TYPEGUARD_MAJOR_VERSION == 3:
|
|
63
|
+
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
|
|
64
|
+
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
|
|
65
|
+
else:
|
|
66
|
+
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
|
52
67
|
|
|
53
68
|
from .._jsii import *
|
|
54
69
|
|