aws-cdk-lib 2.219.0__py3-none-any.whl → 2.221.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 +33 -35
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.219.0.jsii.tgz → aws-cdk-lib@2.221.0.jsii.tgz} +0 -0
- aws_cdk/alexa_ask/__init__.py +3 -0
- aws_cdk/aws_accessanalyzer/__init__.py +3 -0
- aws_cdk/aws_acmpca/__init__.py +4 -1
- aws_cdk/aws_aiops/__init__.py +3 -0
- aws_cdk/aws_amazonmq/__init__.py +3 -29
- 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_appconfig/__init__.py +3 -29
- aws_cdk/aws_appflow/__init__.py +3 -0
- aws_cdk/aws_appintegrations/__init__.py +3 -0
- aws_cdk/aws_applicationautoscaling/__init__.py +3 -0
- aws_cdk/aws_applicationinsights/__init__.py +3 -0
- aws_cdk/aws_applicationsignals/__init__.py +453 -2
- aws_cdk/aws_appmesh/__init__.py +3 -0
- 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_apptest/__init__.py +3 -0
- aws_cdk/aws_aps/__init__.py +1168 -83
- aws_cdk/aws_arcregionswitch/__init__.py +11 -0
- 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_autoscalingplans/__init__.py +3 -0
- aws_cdk/aws_b2bi/__init__.py +3 -0
- aws_cdk/aws_backup/__init__.py +32 -29
- aws_cdk/aws_backupgateway/__init__.py +3 -0
- aws_cdk/aws_batch/__init__.py +112 -7
- aws_cdk/aws_bcmdataexports/__init__.py +3 -0
- aws_cdk/aws_bedrock/__init__.py +53 -45
- aws_cdk/aws_bedrockagentcore/__init__.py +8499 -1732
- 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 +3 -0
- aws_cdk/aws_cleanroomsml/__init__.py +3 -0
- aws_cdk/aws_cloud9/__init__.py +3 -0
- aws_cdk/aws_cloudformation/__init__.py +3 -0
- aws_cdk/aws_cloudfront/__init__.py +69 -3
- aws_cdk/aws_cloudfront/experimental/__init__.py +4 -0
- aws_cdk/aws_cloudfront_origins/__init__.py +87 -6
- aws_cdk/aws_cloudtrail/__init__.py +3 -0
- aws_cdk/aws_cloudwatch/__init__.py +8 -5
- aws_cdk/aws_codeartifact/__init__.py +3 -0
- aws_cdk/aws_codebuild/__init__.py +3 -0
- aws_cdk/aws_codecommit/__init__.py +3 -0
- aws_cdk/aws_codeconnections/__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 +3 -0
- aws_cdk/aws_codestarnotifications/__init__.py +3 -0
- aws_cdk/aws_cognito/__init__.py +9 -4
- aws_cdk/aws_cognito_identitypool/__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 +1232 -2
- aws_cdk/aws_connectcampaigns/__init__.py +3 -0
- aws_cdk/aws_connectcampaignsv2/__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 -29
- 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 +17 -15
- aws_cdk/aws_dax/__init__.py +15 -3
- aws_cdk/aws_deadline/__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 +32 -0
- aws_cdk/aws_dlm/__init__.py +3 -0
- aws_cdk/aws_dms/__init__.py +3 -0
- aws_cdk/aws_docdb/__init__.py +14 -3
- aws_cdk/aws_docdbelastic/__init__.py +3 -0
- aws_cdk/aws_dsql/__init__.py +3 -0
- aws_cdk/aws_dynamodb/__init__.py +3 -0
- aws_cdk/aws_ec2/__init__.py +205 -48
- aws_cdk/aws_ecr/__init__.py +156 -33
- aws_cdk/aws_ecs/__init__.py +429 -182
- aws_cdk/aws_efs/__init__.py +3 -0
- aws_cdk/aws_eks/__init__.py +117 -67
- 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 +445 -36
- 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 +12 -11
- aws_cdk/aws_entityresolution/__init__.py +3 -0
- aws_cdk/aws_events/__init__.py +73 -29
- 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_evs/__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 +7 -4
- aws_cdk/aws_gamelift/__init__.py +3 -0
- aws_cdk/aws_gameliftstreams/__init__.py +8 -5
- aws_cdk/aws_globalaccelerator/__init__.py +3 -0
- aws_cdk/aws_glue/__init__.py +11 -80
- 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 +30 -32
- aws_cdk/aws_identitystore/__init__.py +3 -0
- aws_cdk/aws_imagebuilder/__init__.py +896 -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_invoicing/__init__.py +3 -0
- aws_cdk/aws_iot/__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 +139 -80
- aws_cdk/aws_iotthingsgraph/__init__.py +3 -0
- aws_cdk/aws_iottwinmaker/__init__.py +3 -87
- aws_cdk/aws_iotwireless/__init__.py +61 -0
- aws_cdk/aws_ivs/__init__.py +3 -0
- aws_cdk/aws_ivschat/__init__.py +3 -0
- aws_cdk/aws_kafkaconnect/__init__.py +3 -0
- aws_cdk/aws_kendra/__init__.py +3 -58
- aws_cdk/aws_kendraranking/__init__.py +3 -0
- aws_cdk/aws_kinesis/__init__.py +98 -4
- aws_cdk/aws_kinesisanalytics/__init__.py +3 -0
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +3 -0
- aws_cdk/aws_kinesisfirehose/__init__.py +1709 -10
- aws_cdk/aws_kinesisvideo/__init__.py +3 -29
- aws_cdk/aws_kms/__init__.py +3 -0
- aws_cdk/aws_lakeformation/__init__.py +3 -0
- aws_cdk/aws_lambda/__init__.py +57 -7
- aws_cdk/aws_lambda_nodejs/__init__.py +3 -0
- aws_cdk/aws_launchwizard/__init__.py +3 -0
- aws_cdk/aws_lex/__init__.py +3 -29
- aws_cdk/aws_licensemanager/__init__.py +3 -0
- aws_cdk/aws_lightsail/__init__.py +587 -0
- aws_cdk/aws_location/__init__.py +3 -0
- aws_cdk/aws_logs/__init__.py +283 -9
- aws_cdk/aws_lookoutequipment/__init__.py +3 -29
- aws_cdk/aws_lookoutmetrics/__init__.py +17 -2
- aws_cdk/aws_lookoutvision/__init__.py +3 -0
- aws_cdk/aws_m2/__init__.py +62 -13
- aws_cdk/aws_macie/__init__.py +3 -0
- aws_cdk/aws_managedblockchain/__init__.py +3 -0
- aws_cdk/aws_mediaconnect/__init__.py +3 -0
- aws_cdk/aws_mediaconvert/__init__.py +3 -0
- aws_cdk/aws_medialive/__init__.py +279 -33
- 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 -58
- aws_cdk/aws_memorydb/__init__.py +3 -0
- aws_cdk/aws_mpa/__init__.py +3 -0
- aws_cdk/aws_msk/__init__.py +3 -0
- aws_cdk/aws_mwaa/__init__.py +8 -5
- aws_cdk/aws_neptune/__init__.py +188 -70
- aws_cdk/aws_neptunegraph/__init__.py +3 -0
- aws_cdk/aws_networkfirewall/__init__.py +3 -0
- aws_cdk/aws_networkmanager/__init__.py +32 -0
- aws_cdk/aws_nimblestudio/__init__.py +3 -0
- aws_cdk/aws_notifications/__init__.py +3 -0
- aws_cdk/aws_notificationscontacts/__init__.py +3 -0
- aws_cdk/aws_oam/__init__.py +3 -0
- aws_cdk/aws_observabilityadmin/__init__.py +1365 -187
- aws_cdk/aws_odb/__init__.py +4 -1
- aws_cdk/aws_omics/__init__.py +10 -1
- aws_cdk/aws_opensearchserverless/__init__.py +3 -0
- aws_cdk/aws_opensearchservice/__init__.py +9 -0
- aws_cdk/aws_opsworks/__init__.py +3 -0
- aws_cdk/aws_opsworkscm/__init__.py +3 -0
- aws_cdk/aws_organizations/__init__.py +3 -116
- aws_cdk/aws_osis/__init__.py +157 -0
- aws_cdk/aws_panorama/__init__.py +3 -0
- aws_cdk/aws_paymentcryptography/__init__.py +3 -0
- aws_cdk/aws_pcaconnectorad/__init__.py +3 -0
- aws_cdk/aws_pcaconnectorscep/__init__.py +3 -0
- aws_cdk/aws_pcs/__init__.py +227 -33
- aws_cdk/aws_personalize/__init__.py +3 -0
- aws_cdk/aws_pinpoint/__init__.py +61 -58
- 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_qbusiness/__init__.py +3 -174
- aws_cdk/aws_qldb/__init__.py +3 -29
- aws_cdk/aws_quicksight/__init__.py +493 -406
- aws_cdk/aws_ram/__init__.py +3 -0
- aws_cdk/aws_rbin/__init__.py +3 -0
- aws_cdk/aws_rds/__init__.py +71 -42
- aws_cdk/aws_redshift/__init__.py +3 -0
- aws_cdk/aws_redshiftserverless/__init__.py +3 -0
- aws_cdk/aws_refactorspaces/__init__.py +21 -6
- aws_cdk/aws_rekognition/__init__.py +3 -29
- 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 +148 -24
- aws_cdk/aws_route53_targets/__init__.py +3 -0
- aws_cdk/aws_route53profiles/__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 +11 -4
- aws_cdk/aws_rum/__init__.py +3 -0
- aws_cdk/aws_s3/__init__.py +80 -43
- aws_cdk/aws_s3_deployment/__init__.py +3 -0
- aws_cdk/aws_s3express/__init__.py +3 -0
- aws_cdk/aws_s3objectlambda/__init__.py +47 -12
- aws_cdk/aws_s3outposts/__init__.py +3 -0
- aws_cdk/aws_s3tables/__init__.py +3 -0
- aws_cdk/aws_sagemaker/__init__.py +166 -87
- aws_cdk/aws_sam/__init__.py +3 -0
- aws_cdk/aws_scheduler/__init__.py +3 -29
- aws_cdk/aws_sdb/__init__.py +3 -0
- aws_cdk/aws_secretsmanager/__init__.py +3 -0
- aws_cdk/aws_securityhub/__init__.py +3 -0
- aws_cdk/aws_securitylake/__init__.py +3 -0
- aws_cdk/aws_servicecatalog/__init__.py +161 -144
- 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_shield/__init__.py +3 -0
- aws_cdk/aws_signer/__init__.py +3 -0
- aws_cdk/aws_simspaceweaver/__init__.py +3 -0
- aws_cdk/aws_smsvoice/__init__.py +3 -29
- aws_cdk/aws_sns/__init__.py +3 -0
- aws_cdk/aws_sqs/__init__.py +3 -0
- aws_cdk/aws_ssm/__init__.py +10 -3
- aws_cdk/aws_ssmcontacts/__init__.py +3 -0
- aws_cdk/aws_ssmguiconnect/__init__.py +3 -0
- aws_cdk/aws_ssmincidents/__init__.py +3 -0
- aws_cdk/aws_ssmquicksetup/__init__.py +470 -3
- aws_cdk/aws_sso/__init__.py +3 -0
- aws_cdk/aws_stepfunctions/__init__.py +23 -19
- aws_cdk/aws_stepfunctions_tasks/__init__.py +6 -3
- aws_cdk/aws_supportapp/__init__.py +3 -0
- aws_cdk/aws_synthetics/__init__.py +80 -27
- aws_cdk/aws_systemsmanagersap/__init__.py +3 -0
- aws_cdk/aws_timestream/__init__.py +3 -29
- aws_cdk/aws_transfer/__init__.py +20 -34
- aws_cdk/aws_verifiedpermissions/__init__.py +3 -0
- aws_cdk/aws_voiceid/__init__.py +3 -0
- aws_cdk/aws_vpclattice/__init__.py +7 -4
- 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 -116
- aws_cdk/aws_workspaces/__init__.py +3 -0
- aws_cdk/aws_workspacesinstances/__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/cx_api/__init__.py +34 -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.219.0.dist-info → aws_cdk_lib-2.221.0.dist-info}/METADATA +2 -2
- aws_cdk_lib-2.221.0.dist-info/RECORD +313 -0
- aws_cdk_lib-2.219.0.dist-info/RECORD +0 -313
- {aws_cdk_lib-2.219.0.dist-info → aws_cdk_lib-2.221.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.219.0.dist-info → aws_cdk_lib-2.221.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.219.0.dist-info → aws_cdk_lib-2.221.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.219.0.dist-info → aws_cdk_lib-2.221.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_neptune/__init__.py
CHANGED
|
@@ -69,6 +69,7 @@ from .. import (
|
|
|
69
69
|
IInspectable as _IInspectable_c2943556,
|
|
70
70
|
IResolvable as _IResolvable_da3f097b,
|
|
71
71
|
ITaggable as _ITaggable_36806126,
|
|
72
|
+
ITaggableV2 as _ITaggableV2_4e6798f8,
|
|
72
73
|
TagManager as _TagManager_0a598cb3,
|
|
73
74
|
TreeInspector as _TreeInspector_488e0dd5,
|
|
74
75
|
)
|
|
@@ -750,6 +751,7 @@ class CfnDBClusterProps:
|
|
|
750
751
|
"db_snapshot_identifier": "dbSnapshotIdentifier",
|
|
751
752
|
"db_subnet_group_name": "dbSubnetGroupName",
|
|
752
753
|
"preferred_maintenance_window": "preferredMaintenanceWindow",
|
|
754
|
+
"publicly_accessible": "publiclyAccessible",
|
|
753
755
|
"tags": "tags",
|
|
754
756
|
},
|
|
755
757
|
)
|
|
@@ -767,6 +769,7 @@ class CfnDBInstanceProps:
|
|
|
767
769
|
db_snapshot_identifier: typing.Optional[builtins.str] = None,
|
|
768
770
|
db_subnet_group_name: typing.Optional[builtins.str] = None,
|
|
769
771
|
preferred_maintenance_window: typing.Optional[builtins.str] = None,
|
|
772
|
+
publicly_accessible: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
770
773
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
771
774
|
) -> None:
|
|
772
775
|
'''Properties for defining a ``CfnDBInstance``.
|
|
@@ -781,6 +784,7 @@ class CfnDBInstanceProps:
|
|
|
781
784
|
:param db_snapshot_identifier: (deprecated) This parameter is not supported. ``AWS::Neptune::DBInstance`` does not support restoring from snapshots. ``AWS::Neptune::DBCluster`` does support restoring from snapshots.
|
|
782
785
|
:param db_subnet_group_name: A DB subnet group to associate with the DB instance. If you update this value, the new subnet group must be a subnet group in a new virtual private cloud (VPC).
|
|
783
786
|
:param preferred_maintenance_window: Specifies the weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
|
|
787
|
+
:param publicly_accessible: Indicates whether the DB instance is publicly accessible. When the DB instance is publicly accessible and you connect from outside of the DB instance's virtual private cloud (VPC), its Domain Name System (DNS) endpoint resolves to the public IP address. When you connect from within the same VPC as the DB instance, the endpoint resolves to the private IP address. Access to the DB instance is ultimately controlled by the security group it uses. That public access isn't permitted if the security group assigned to the DB cluster doesn't permit it. When the DB instance isn't publicly accessible, it is an internal DB instance with a DNS name that resolves to a private IP address.
|
|
784
788
|
:param tags: An arbitrary set of tags (key-value pairs) for this DB instance.
|
|
785
789
|
|
|
786
790
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-dbinstance.html
|
|
@@ -805,6 +809,7 @@ class CfnDBInstanceProps:
|
|
|
805
809
|
db_snapshot_identifier="dbSnapshotIdentifier",
|
|
806
810
|
db_subnet_group_name="dbSubnetGroupName",
|
|
807
811
|
preferred_maintenance_window="preferredMaintenanceWindow",
|
|
812
|
+
publicly_accessible=False,
|
|
808
813
|
tags=[CfnTag(
|
|
809
814
|
key="key",
|
|
810
815
|
value="value"
|
|
@@ -823,6 +828,7 @@ class CfnDBInstanceProps:
|
|
|
823
828
|
check_type(argname="argument db_snapshot_identifier", value=db_snapshot_identifier, expected_type=type_hints["db_snapshot_identifier"])
|
|
824
829
|
check_type(argname="argument db_subnet_group_name", value=db_subnet_group_name, expected_type=type_hints["db_subnet_group_name"])
|
|
825
830
|
check_type(argname="argument preferred_maintenance_window", value=preferred_maintenance_window, expected_type=type_hints["preferred_maintenance_window"])
|
|
831
|
+
check_type(argname="argument publicly_accessible", value=publicly_accessible, expected_type=type_hints["publicly_accessible"])
|
|
826
832
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
827
833
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
828
834
|
"db_instance_class": db_instance_class,
|
|
@@ -845,6 +851,8 @@ class CfnDBInstanceProps:
|
|
|
845
851
|
self._values["db_subnet_group_name"] = db_subnet_group_name
|
|
846
852
|
if preferred_maintenance_window is not None:
|
|
847
853
|
self._values["preferred_maintenance_window"] = preferred_maintenance_window
|
|
854
|
+
if publicly_accessible is not None:
|
|
855
|
+
self._values["publicly_accessible"] = publicly_accessible
|
|
848
856
|
if tags is not None:
|
|
849
857
|
self._values["tags"] = tags
|
|
850
858
|
|
|
@@ -964,6 +972,21 @@ class CfnDBInstanceProps:
|
|
|
964
972
|
result = self._values.get("preferred_maintenance_window")
|
|
965
973
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
966
974
|
|
|
975
|
+
@builtins.property
|
|
976
|
+
def publicly_accessible(
|
|
977
|
+
self,
|
|
978
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
979
|
+
'''Indicates whether the DB instance is publicly accessible.
|
|
980
|
+
|
|
981
|
+
When the DB instance is publicly accessible and you connect from outside of the DB instance's virtual private cloud (VPC), its Domain Name System (DNS) endpoint resolves to the public IP address. When you connect from within the same VPC as the DB instance, the endpoint resolves to the private IP address. Access to the DB instance is ultimately controlled by the security group it uses. That public access isn't permitted if the security group assigned to the DB cluster doesn't permit it.
|
|
982
|
+
|
|
983
|
+
When the DB instance isn't publicly accessible, it is an internal DB instance with a DNS name that resolves to a private IP address.
|
|
984
|
+
|
|
985
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-dbinstance.html#cfn-neptune-dbinstance-publiclyaccessible
|
|
986
|
+
'''
|
|
987
|
+
result = self._values.get("publicly_accessible")
|
|
988
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
989
|
+
|
|
967
990
|
@builtins.property
|
|
968
991
|
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
969
992
|
'''An arbitrary set of tags (key-value pairs) for this DB instance.
|
|
@@ -1235,33 +1258,36 @@ class CfnDBSubnetGroupProps:
|
|
|
1235
1258
|
jsii_type="aws-cdk-lib.aws_neptune.CfnEventSubscriptionProps",
|
|
1236
1259
|
jsii_struct_bases=[],
|
|
1237
1260
|
name_mapping={
|
|
1261
|
+
"sns_topic_arn": "snsTopicArn",
|
|
1238
1262
|
"enabled": "enabled",
|
|
1239
1263
|
"event_categories": "eventCategories",
|
|
1240
|
-
"sns_topic_arn": "snsTopicArn",
|
|
1241
1264
|
"source_ids": "sourceIds",
|
|
1242
1265
|
"source_type": "sourceType",
|
|
1243
1266
|
"subscription_name": "subscriptionName",
|
|
1267
|
+
"tags": "tags",
|
|
1244
1268
|
},
|
|
1245
1269
|
)
|
|
1246
1270
|
class CfnEventSubscriptionProps:
|
|
1247
1271
|
def __init__(
|
|
1248
1272
|
self,
|
|
1249
1273
|
*,
|
|
1274
|
+
sns_topic_arn: builtins.str,
|
|
1250
1275
|
enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
1251
1276
|
event_categories: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
1252
|
-
sns_topic_arn: typing.Optional[builtins.str] = None,
|
|
1253
1277
|
source_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
1254
1278
|
source_type: typing.Optional[builtins.str] = None,
|
|
1255
1279
|
subscription_name: typing.Optional[builtins.str] = None,
|
|
1280
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1256
1281
|
) -> None:
|
|
1257
1282
|
'''Properties for defining a ``CfnEventSubscription``.
|
|
1258
1283
|
|
|
1259
|
-
:param enabled: A Boolean value indicating if the subscription is enabled. True indicates the subscription is enabled.
|
|
1260
|
-
:param event_categories:
|
|
1261
1284
|
:param sns_topic_arn: The topic ARN of the event notification subscription.
|
|
1262
|
-
:param
|
|
1285
|
+
:param enabled: A Boolean value indicating if the subscription is enabled. True indicates the subscription is enabled. Default: - true
|
|
1286
|
+
:param event_categories: A list of event categories for a SourceType that you want to subscribe to. You can see a list of the categories for a given SourceType in the Events topic in the Amazon Neptune User Guide or by using the DescribeEventCategories action.
|
|
1287
|
+
:param source_ids: The list of identifiers of the event sources for which events will be returned. If not specified, then all sources are included in the response. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it cannot end with a hyphen or contain two consecutive hyphens.
|
|
1263
1288
|
:param source_type: The source type for the event notification subscription.
|
|
1264
|
-
:param subscription_name:
|
|
1289
|
+
:param subscription_name: The name of the subscription.
|
|
1290
|
+
:param tags: An array of key-value pairs to apply to this resource.
|
|
1265
1291
|
|
|
1266
1292
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-eventsubscription.html
|
|
1267
1293
|
:exampleMetadata: fixture=_generated
|
|
@@ -1273,35 +1299,54 @@ class CfnEventSubscriptionProps:
|
|
|
1273
1299
|
from aws_cdk import aws_neptune as neptune
|
|
1274
1300
|
|
|
1275
1301
|
cfn_event_subscription_props = neptune.CfnEventSubscriptionProps(
|
|
1302
|
+
sns_topic_arn="snsTopicArn",
|
|
1303
|
+
|
|
1304
|
+
# the properties below are optional
|
|
1276
1305
|
enabled=False,
|
|
1277
1306
|
event_categories=["eventCategories"],
|
|
1278
|
-
sns_topic_arn="snsTopicArn",
|
|
1279
1307
|
source_ids=["sourceIds"],
|
|
1280
1308
|
source_type="sourceType",
|
|
1281
|
-
subscription_name="subscriptionName"
|
|
1309
|
+
subscription_name="subscriptionName",
|
|
1310
|
+
tags=[CfnTag(
|
|
1311
|
+
key="key",
|
|
1312
|
+
value="value"
|
|
1313
|
+
)]
|
|
1282
1314
|
)
|
|
1283
1315
|
'''
|
|
1284
1316
|
if __debug__:
|
|
1285
1317
|
type_hints = typing.get_type_hints(_typecheckingstub__be12afbc64d35614ba28986fc60eff385d7080e57aabefaff50d73a28f572237)
|
|
1318
|
+
check_type(argname="argument sns_topic_arn", value=sns_topic_arn, expected_type=type_hints["sns_topic_arn"])
|
|
1286
1319
|
check_type(argname="argument enabled", value=enabled, expected_type=type_hints["enabled"])
|
|
1287
1320
|
check_type(argname="argument event_categories", value=event_categories, expected_type=type_hints["event_categories"])
|
|
1288
|
-
check_type(argname="argument sns_topic_arn", value=sns_topic_arn, expected_type=type_hints["sns_topic_arn"])
|
|
1289
1321
|
check_type(argname="argument source_ids", value=source_ids, expected_type=type_hints["source_ids"])
|
|
1290
1322
|
check_type(argname="argument source_type", value=source_type, expected_type=type_hints["source_type"])
|
|
1291
1323
|
check_type(argname="argument subscription_name", value=subscription_name, expected_type=type_hints["subscription_name"])
|
|
1292
|
-
|
|
1324
|
+
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
1325
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1326
|
+
"sns_topic_arn": sns_topic_arn,
|
|
1327
|
+
}
|
|
1293
1328
|
if enabled is not None:
|
|
1294
1329
|
self._values["enabled"] = enabled
|
|
1295
1330
|
if event_categories is not None:
|
|
1296
1331
|
self._values["event_categories"] = event_categories
|
|
1297
|
-
if sns_topic_arn is not None:
|
|
1298
|
-
self._values["sns_topic_arn"] = sns_topic_arn
|
|
1299
1332
|
if source_ids is not None:
|
|
1300
1333
|
self._values["source_ids"] = source_ids
|
|
1301
1334
|
if source_type is not None:
|
|
1302
1335
|
self._values["source_type"] = source_type
|
|
1303
1336
|
if subscription_name is not None:
|
|
1304
1337
|
self._values["subscription_name"] = subscription_name
|
|
1338
|
+
if tags is not None:
|
|
1339
|
+
self._values["tags"] = tags
|
|
1340
|
+
|
|
1341
|
+
@builtins.property
|
|
1342
|
+
def sns_topic_arn(self) -> builtins.str:
|
|
1343
|
+
'''The topic ARN of the event notification subscription.
|
|
1344
|
+
|
|
1345
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-eventsubscription.html#cfn-neptune-eventsubscription-snstopicarn
|
|
1346
|
+
'''
|
|
1347
|
+
result = self._values.get("sns_topic_arn")
|
|
1348
|
+
assert result is not None, "Required property 'sns_topic_arn' is missing"
|
|
1349
|
+
return typing.cast(builtins.str, result)
|
|
1305
1350
|
|
|
1306
1351
|
@builtins.property
|
|
1307
1352
|
def enabled(
|
|
@@ -1311,6 +1356,8 @@ class CfnEventSubscriptionProps:
|
|
|
1311
1356
|
|
|
1312
1357
|
True indicates the subscription is enabled.
|
|
1313
1358
|
|
|
1359
|
+
:default: - true
|
|
1360
|
+
|
|
1314
1361
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-eventsubscription.html#cfn-neptune-eventsubscription-enabled
|
|
1315
1362
|
'''
|
|
1316
1363
|
result = self._values.get("enabled")
|
|
@@ -1318,24 +1365,21 @@ class CfnEventSubscriptionProps:
|
|
|
1318
1365
|
|
|
1319
1366
|
@builtins.property
|
|
1320
1367
|
def event_categories(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
1321
|
-
'''
|
|
1368
|
+
'''A list of event categories for a SourceType that you want to subscribe to.
|
|
1369
|
+
|
|
1370
|
+
You can see a list of the categories for a given SourceType in the Events topic in the Amazon Neptune User Guide or by using the DescribeEventCategories action.
|
|
1371
|
+
|
|
1322
1372
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-eventsubscription.html#cfn-neptune-eventsubscription-eventcategories
|
|
1323
1373
|
'''
|
|
1324
1374
|
result = self._values.get("event_categories")
|
|
1325
1375
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
1326
1376
|
|
|
1327
1377
|
@builtins.property
|
|
1328
|
-
def
|
|
1329
|
-
'''The
|
|
1378
|
+
def source_ids(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
1379
|
+
'''The list of identifiers of the event sources for which events will be returned.
|
|
1330
1380
|
|
|
1331
|
-
|
|
1332
|
-
'''
|
|
1333
|
-
result = self._values.get("sns_topic_arn")
|
|
1334
|
-
return typing.cast(typing.Optional[builtins.str], result)
|
|
1381
|
+
If not specified, then all sources are included in the response. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it cannot end with a hyphen or contain two consecutive hyphens.
|
|
1335
1382
|
|
|
1336
|
-
@builtins.property
|
|
1337
|
-
def source_ids(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
1338
|
-
'''
|
|
1339
1383
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-eventsubscription.html#cfn-neptune-eventsubscription-sourceids
|
|
1340
1384
|
'''
|
|
1341
1385
|
result = self._values.get("source_ids")
|
|
@@ -1352,12 +1396,22 @@ class CfnEventSubscriptionProps:
|
|
|
1352
1396
|
|
|
1353
1397
|
@builtins.property
|
|
1354
1398
|
def subscription_name(self) -> typing.Optional[builtins.str]:
|
|
1355
|
-
'''
|
|
1399
|
+
'''The name of the subscription.
|
|
1400
|
+
|
|
1356
1401
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-eventsubscription.html#cfn-neptune-eventsubscription-subscriptionname
|
|
1357
1402
|
'''
|
|
1358
1403
|
result = self._values.get("subscription_name")
|
|
1359
1404
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
1360
1405
|
|
|
1406
|
+
@builtins.property
|
|
1407
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
1408
|
+
'''An array of key-value pairs to apply to this resource.
|
|
1409
|
+
|
|
1410
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-eventsubscription.html#cfn-neptune-eventsubscription-tags
|
|
1411
|
+
'''
|
|
1412
|
+
result = self._values.get("tags")
|
|
1413
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
|
|
1414
|
+
|
|
1361
1415
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1362
1416
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1363
1417
|
|
|
@@ -1618,13 +1672,13 @@ class DBSubnetGroupReference:
|
|
|
1618
1672
|
@jsii.data_type(
|
|
1619
1673
|
jsii_type="aws-cdk-lib.aws_neptune.EventSubscriptionReference",
|
|
1620
1674
|
jsii_struct_bases=[],
|
|
1621
|
-
name_mapping={"
|
|
1675
|
+
name_mapping={"subscription_name": "subscriptionName"},
|
|
1622
1676
|
)
|
|
1623
1677
|
class EventSubscriptionReference:
|
|
1624
|
-
def __init__(self, *,
|
|
1678
|
+
def __init__(self, *, subscription_name: builtins.str) -> None:
|
|
1625
1679
|
'''A reference to a EventSubscription resource.
|
|
1626
1680
|
|
|
1627
|
-
:param
|
|
1681
|
+
:param subscription_name: The SubscriptionName of the EventSubscription resource.
|
|
1628
1682
|
|
|
1629
1683
|
:exampleMetadata: fixture=_generated
|
|
1630
1684
|
|
|
@@ -1635,21 +1689,21 @@ class EventSubscriptionReference:
|
|
|
1635
1689
|
from aws_cdk import aws_neptune as neptune
|
|
1636
1690
|
|
|
1637
1691
|
event_subscription_reference = neptune.EventSubscriptionReference(
|
|
1638
|
-
|
|
1692
|
+
subscription_name="subscriptionName"
|
|
1639
1693
|
)
|
|
1640
1694
|
'''
|
|
1641
1695
|
if __debug__:
|
|
1642
1696
|
type_hints = typing.get_type_hints(_typecheckingstub__82b5674c3fe56fb8b208f294a807c06b9f34ac1ed903e1591540674a53b02cdb)
|
|
1643
|
-
check_type(argname="argument
|
|
1697
|
+
check_type(argname="argument subscription_name", value=subscription_name, expected_type=type_hints["subscription_name"])
|
|
1644
1698
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1645
|
-
"
|
|
1699
|
+
"subscription_name": subscription_name,
|
|
1646
1700
|
}
|
|
1647
1701
|
|
|
1648
1702
|
@builtins.property
|
|
1649
|
-
def
|
|
1650
|
-
'''The
|
|
1651
|
-
result = self._values.get("
|
|
1652
|
-
assert result is not None, "Required property '
|
|
1703
|
+
def subscription_name(self) -> builtins.str:
|
|
1704
|
+
'''The SubscriptionName of the EventSubscription resource.'''
|
|
1705
|
+
result = self._values.get("subscription_name")
|
|
1706
|
+
assert result is not None, "Required property 'subscription_name' is missing"
|
|
1653
1707
|
return typing.cast(builtins.str, result)
|
|
1654
1708
|
|
|
1655
1709
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
@@ -2934,6 +2988,7 @@ class CfnDBInstance(
|
|
|
2934
2988
|
db_snapshot_identifier="dbSnapshotIdentifier",
|
|
2935
2989
|
db_subnet_group_name="dbSubnetGroupName",
|
|
2936
2990
|
preferred_maintenance_window="preferredMaintenanceWindow",
|
|
2991
|
+
publicly_accessible=False,
|
|
2937
2992
|
tags=[CfnTag(
|
|
2938
2993
|
key="key",
|
|
2939
2994
|
value="value"
|
|
@@ -2956,6 +3011,7 @@ class CfnDBInstance(
|
|
|
2956
3011
|
db_snapshot_identifier: typing.Optional[builtins.str] = None,
|
|
2957
3012
|
db_subnet_group_name: typing.Optional[builtins.str] = None,
|
|
2958
3013
|
preferred_maintenance_window: typing.Optional[builtins.str] = None,
|
|
3014
|
+
publicly_accessible: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
2959
3015
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2960
3016
|
) -> None:
|
|
2961
3017
|
'''
|
|
@@ -2971,6 +3027,7 @@ class CfnDBInstance(
|
|
|
2971
3027
|
:param db_snapshot_identifier: (deprecated) This parameter is not supported. ``AWS::Neptune::DBInstance`` does not support restoring from snapshots. ``AWS::Neptune::DBCluster`` does support restoring from snapshots.
|
|
2972
3028
|
:param db_subnet_group_name: A DB subnet group to associate with the DB instance. If you update this value, the new subnet group must be a subnet group in a new virtual private cloud (VPC).
|
|
2973
3029
|
:param preferred_maintenance_window: Specifies the weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
|
|
3030
|
+
:param publicly_accessible: Indicates whether the DB instance is publicly accessible. When the DB instance is publicly accessible and you connect from outside of the DB instance's virtual private cloud (VPC), its Domain Name System (DNS) endpoint resolves to the public IP address. When you connect from within the same VPC as the DB instance, the endpoint resolves to the private IP address. Access to the DB instance is ultimately controlled by the security group it uses. That public access isn't permitted if the security group assigned to the DB cluster doesn't permit it. When the DB instance isn't publicly accessible, it is an internal DB instance with a DNS name that resolves to a private IP address.
|
|
2974
3031
|
:param tags: An arbitrary set of tags (key-value pairs) for this DB instance.
|
|
2975
3032
|
'''
|
|
2976
3033
|
if __debug__:
|
|
@@ -2988,6 +3045,7 @@ class CfnDBInstance(
|
|
|
2988
3045
|
db_snapshot_identifier=db_snapshot_identifier,
|
|
2989
3046
|
db_subnet_group_name=db_subnet_group_name,
|
|
2990
3047
|
preferred_maintenance_window=preferred_maintenance_window,
|
|
3048
|
+
publicly_accessible=publicly_accessible,
|
|
2991
3049
|
tags=tags,
|
|
2992
3050
|
)
|
|
2993
3051
|
|
|
@@ -3210,6 +3268,24 @@ class CfnDBInstance(
|
|
|
3210
3268
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3211
3269
|
jsii.set(self, "preferredMaintenanceWindow", value) # pyright: ignore[reportArgumentType]
|
|
3212
3270
|
|
|
3271
|
+
@builtins.property
|
|
3272
|
+
@jsii.member(jsii_name="publiclyAccessible")
|
|
3273
|
+
def publicly_accessible(
|
|
3274
|
+
self,
|
|
3275
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
3276
|
+
'''Indicates whether the DB instance is publicly accessible.'''
|
|
3277
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], jsii.get(self, "publiclyAccessible"))
|
|
3278
|
+
|
|
3279
|
+
@publicly_accessible.setter
|
|
3280
|
+
def publicly_accessible(
|
|
3281
|
+
self,
|
|
3282
|
+
value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
|
|
3283
|
+
) -> None:
|
|
3284
|
+
if __debug__:
|
|
3285
|
+
type_hints = typing.get_type_hints(_typecheckingstub__b67e50f3b4a51cbbe6d8beb4e55dcbb888cd70ccbf3854e7be69ae66ee18267d)
|
|
3286
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3287
|
+
jsii.set(self, "publiclyAccessible", value) # pyright: ignore[reportArgumentType]
|
|
3288
|
+
|
|
3213
3289
|
@builtins.property
|
|
3214
3290
|
@jsii.member(jsii_name="tagsRaw")
|
|
3215
3291
|
def tags_raw(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
@@ -3579,7 +3655,7 @@ class CfnDBSubnetGroup(
|
|
|
3579
3655
|
jsii.set(self, "tagsRaw", value) # pyright: ignore[reportArgumentType]
|
|
3580
3656
|
|
|
3581
3657
|
|
|
3582
|
-
@jsii.implements(_IInspectable_c2943556, IEventSubscriptionRef)
|
|
3658
|
+
@jsii.implements(_IInspectable_c2943556, IEventSubscriptionRef, _ITaggableV2_4e6798f8)
|
|
3583
3659
|
class CfnEventSubscription(
|
|
3584
3660
|
_CfnResource_9df397a6,
|
|
3585
3661
|
metaclass=jsii.JSIIMeta,
|
|
@@ -3604,12 +3680,18 @@ class CfnEventSubscription(
|
|
|
3604
3680
|
from aws_cdk import aws_neptune as neptune
|
|
3605
3681
|
|
|
3606
3682
|
cfn_event_subscription = neptune.CfnEventSubscription(self, "MyCfnEventSubscription",
|
|
3683
|
+
sns_topic_arn="snsTopicArn",
|
|
3684
|
+
|
|
3685
|
+
# the properties below are optional
|
|
3607
3686
|
enabled=False,
|
|
3608
3687
|
event_categories=["eventCategories"],
|
|
3609
|
-
sns_topic_arn="snsTopicArn",
|
|
3610
3688
|
source_ids=["sourceIds"],
|
|
3611
3689
|
source_type="sourceType",
|
|
3612
|
-
subscription_name="subscriptionName"
|
|
3690
|
+
subscription_name="subscriptionName",
|
|
3691
|
+
tags=[CfnTag(
|
|
3692
|
+
key="key",
|
|
3693
|
+
value="value"
|
|
3694
|
+
)]
|
|
3613
3695
|
)
|
|
3614
3696
|
'''
|
|
3615
3697
|
|
|
@@ -3618,34 +3700,37 @@ class CfnEventSubscription(
|
|
|
3618
3700
|
scope: _constructs_77d1e7e8.Construct,
|
|
3619
3701
|
id: builtins.str,
|
|
3620
3702
|
*,
|
|
3703
|
+
sns_topic_arn: builtins.str,
|
|
3621
3704
|
enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
3622
3705
|
event_categories: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
3623
|
-
sns_topic_arn: typing.Optional[builtins.str] = None,
|
|
3624
3706
|
source_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
3625
3707
|
source_type: typing.Optional[builtins.str] = None,
|
|
3626
3708
|
subscription_name: typing.Optional[builtins.str] = None,
|
|
3709
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3627
3710
|
) -> None:
|
|
3628
3711
|
'''
|
|
3629
3712
|
:param scope: Scope in which this resource is defined.
|
|
3630
3713
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
3631
|
-
:param enabled: A Boolean value indicating if the subscription is enabled. True indicates the subscription is enabled.
|
|
3632
|
-
:param event_categories:
|
|
3633
3714
|
:param sns_topic_arn: The topic ARN of the event notification subscription.
|
|
3634
|
-
:param
|
|
3715
|
+
:param enabled: A Boolean value indicating if the subscription is enabled. True indicates the subscription is enabled. Default: - true
|
|
3716
|
+
:param event_categories: A list of event categories for a SourceType that you want to subscribe to. You can see a list of the categories for a given SourceType in the Events topic in the Amazon Neptune User Guide or by using the DescribeEventCategories action.
|
|
3717
|
+
:param source_ids: The list of identifiers of the event sources for which events will be returned. If not specified, then all sources are included in the response. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it cannot end with a hyphen or contain two consecutive hyphens.
|
|
3635
3718
|
:param source_type: The source type for the event notification subscription.
|
|
3636
|
-
:param subscription_name:
|
|
3719
|
+
:param subscription_name: The name of the subscription.
|
|
3720
|
+
:param tags: An array of key-value pairs to apply to this resource.
|
|
3637
3721
|
'''
|
|
3638
3722
|
if __debug__:
|
|
3639
3723
|
type_hints = typing.get_type_hints(_typecheckingstub__4853d81bb6e17fc63404c1d9d1bd303b3e043850ca95ab4456a810f0cc64fe78)
|
|
3640
3724
|
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
3641
3725
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
3642
3726
|
props = CfnEventSubscriptionProps(
|
|
3727
|
+
sns_topic_arn=sns_topic_arn,
|
|
3643
3728
|
enabled=enabled,
|
|
3644
3729
|
event_categories=event_categories,
|
|
3645
|
-
sns_topic_arn=sns_topic_arn,
|
|
3646
3730
|
source_ids=source_ids,
|
|
3647
3731
|
source_type=source_type,
|
|
3648
3732
|
subscription_name=subscription_name,
|
|
3733
|
+
tags=tags,
|
|
3649
3734
|
)
|
|
3650
3735
|
|
|
3651
3736
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
@@ -3681,12 +3766,10 @@ class CfnEventSubscription(
|
|
|
3681
3766
|
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
3682
3767
|
|
|
3683
3768
|
@builtins.property
|
|
3684
|
-
@jsii.member(jsii_name="
|
|
3685
|
-
def
|
|
3686
|
-
'''
|
|
3687
|
-
|
|
3688
|
-
'''
|
|
3689
|
-
return typing.cast(builtins.str, jsii.get(self, "attrId"))
|
|
3769
|
+
@jsii.member(jsii_name="cdkTagManager")
|
|
3770
|
+
def cdk_tag_manager(self) -> _TagManager_0a598cb3:
|
|
3771
|
+
'''Tag Manager which manages the tags for this resource.'''
|
|
3772
|
+
return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
|
|
3690
3773
|
|
|
3691
3774
|
@builtins.property
|
|
3692
3775
|
@jsii.member(jsii_name="cfnProperties")
|
|
@@ -3699,6 +3782,19 @@ class CfnEventSubscription(
|
|
|
3699
3782
|
'''A reference to a EventSubscription resource.'''
|
|
3700
3783
|
return typing.cast(EventSubscriptionReference, jsii.get(self, "eventSubscriptionRef"))
|
|
3701
3784
|
|
|
3785
|
+
@builtins.property
|
|
3786
|
+
@jsii.member(jsii_name="snsTopicArn")
|
|
3787
|
+
def sns_topic_arn(self) -> builtins.str:
|
|
3788
|
+
'''The topic ARN of the event notification subscription.'''
|
|
3789
|
+
return typing.cast(builtins.str, jsii.get(self, "snsTopicArn"))
|
|
3790
|
+
|
|
3791
|
+
@sns_topic_arn.setter
|
|
3792
|
+
def sns_topic_arn(self, value: builtins.str) -> None:
|
|
3793
|
+
if __debug__:
|
|
3794
|
+
type_hints = typing.get_type_hints(_typecheckingstub__52fb458cc4803abc3d472f5ca4edf22c2f9a84d5d6055ac52d01dea8a313e013)
|
|
3795
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3796
|
+
jsii.set(self, "snsTopicArn", value) # pyright: ignore[reportArgumentType]
|
|
3797
|
+
|
|
3702
3798
|
@builtins.property
|
|
3703
3799
|
@jsii.member(jsii_name="enabled")
|
|
3704
3800
|
def enabled(
|
|
@@ -3720,6 +3816,7 @@ class CfnEventSubscription(
|
|
|
3720
3816
|
@builtins.property
|
|
3721
3817
|
@jsii.member(jsii_name="eventCategories")
|
|
3722
3818
|
def event_categories(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
3819
|
+
'''A list of event categories for a SourceType that you want to subscribe to.'''
|
|
3723
3820
|
return typing.cast(typing.Optional[typing.List[builtins.str]], jsii.get(self, "eventCategories"))
|
|
3724
3821
|
|
|
3725
3822
|
@event_categories.setter
|
|
@@ -3732,22 +3829,10 @@ class CfnEventSubscription(
|
|
|
3732
3829
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3733
3830
|
jsii.set(self, "eventCategories", value) # pyright: ignore[reportArgumentType]
|
|
3734
3831
|
|
|
3735
|
-
@builtins.property
|
|
3736
|
-
@jsii.member(jsii_name="snsTopicArn")
|
|
3737
|
-
def sns_topic_arn(self) -> typing.Optional[builtins.str]:
|
|
3738
|
-
'''The topic ARN of the event notification subscription.'''
|
|
3739
|
-
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "snsTopicArn"))
|
|
3740
|
-
|
|
3741
|
-
@sns_topic_arn.setter
|
|
3742
|
-
def sns_topic_arn(self, value: typing.Optional[builtins.str]) -> None:
|
|
3743
|
-
if __debug__:
|
|
3744
|
-
type_hints = typing.get_type_hints(_typecheckingstub__52fb458cc4803abc3d472f5ca4edf22c2f9a84d5d6055ac52d01dea8a313e013)
|
|
3745
|
-
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3746
|
-
jsii.set(self, "snsTopicArn", value) # pyright: ignore[reportArgumentType]
|
|
3747
|
-
|
|
3748
3832
|
@builtins.property
|
|
3749
3833
|
@jsii.member(jsii_name="sourceIds")
|
|
3750
3834
|
def source_ids(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
3835
|
+
'''The list of identifiers of the event sources for which events will be returned.'''
|
|
3751
3836
|
return typing.cast(typing.Optional[typing.List[builtins.str]], jsii.get(self, "sourceIds"))
|
|
3752
3837
|
|
|
3753
3838
|
@source_ids.setter
|
|
@@ -3773,6 +3858,7 @@ class CfnEventSubscription(
|
|
|
3773
3858
|
@builtins.property
|
|
3774
3859
|
@jsii.member(jsii_name="subscriptionName")
|
|
3775
3860
|
def subscription_name(self) -> typing.Optional[builtins.str]:
|
|
3861
|
+
'''The name of the subscription.'''
|
|
3776
3862
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "subscriptionName"))
|
|
3777
3863
|
|
|
3778
3864
|
@subscription_name.setter
|
|
@@ -3782,6 +3868,19 @@ class CfnEventSubscription(
|
|
|
3782
3868
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3783
3869
|
jsii.set(self, "subscriptionName", value) # pyright: ignore[reportArgumentType]
|
|
3784
3870
|
|
|
3871
|
+
@builtins.property
|
|
3872
|
+
@jsii.member(jsii_name="tags")
|
|
3873
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
3874
|
+
'''An array of key-value pairs to apply to this resource.'''
|
|
3875
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
|
|
3876
|
+
|
|
3877
|
+
@tags.setter
|
|
3878
|
+
def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
|
|
3879
|
+
if __debug__:
|
|
3880
|
+
type_hints = typing.get_type_hints(_typecheckingstub__1a2214e33715f7b8a810325132d1442eca1b2f768a72caf683442503561e8b4c)
|
|
3881
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3882
|
+
jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
|
|
3883
|
+
|
|
3785
3884
|
|
|
3786
3885
|
__all__ = [
|
|
3787
3886
|
"CfnDBCluster",
|
|
@@ -3866,6 +3965,7 @@ def _typecheckingstub__f97fae676e40e6f9b786d435eb3f1534d54b6bfccf982c2ddf6802fc9
|
|
|
3866
3965
|
db_snapshot_identifier: typing.Optional[builtins.str] = None,
|
|
3867
3966
|
db_subnet_group_name: typing.Optional[builtins.str] = None,
|
|
3868
3967
|
preferred_maintenance_window: typing.Optional[builtins.str] = None,
|
|
3968
|
+
publicly_accessible: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
3869
3969
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3870
3970
|
) -> None:
|
|
3871
3971
|
"""Type checking stubs"""
|
|
@@ -3894,12 +3994,13 @@ def _typecheckingstub__82ebea6599fb4b541844cf24f7d771410b52af442a682c2ccec51eabe
|
|
|
3894
3994
|
|
|
3895
3995
|
def _typecheckingstub__be12afbc64d35614ba28986fc60eff385d7080e57aabefaff50d73a28f572237(
|
|
3896
3996
|
*,
|
|
3997
|
+
sns_topic_arn: builtins.str,
|
|
3897
3998
|
enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
3898
3999
|
event_categories: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
3899
|
-
sns_topic_arn: typing.Optional[builtins.str] = None,
|
|
3900
4000
|
source_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
3901
4001
|
source_type: typing.Optional[builtins.str] = None,
|
|
3902
4002
|
subscription_name: typing.Optional[builtins.str] = None,
|
|
4003
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3903
4004
|
) -> None:
|
|
3904
4005
|
"""Type checking stubs"""
|
|
3905
4006
|
pass
|
|
@@ -3941,7 +4042,7 @@ def _typecheckingstub__11cc2e22e338c9dcf751a93d0dfba7f8355a95ed3b014cdbdf09696ce
|
|
|
3941
4042
|
|
|
3942
4043
|
def _typecheckingstub__82b5674c3fe56fb8b208f294a807c06b9f34ac1ed903e1591540674a53b02cdb(
|
|
3943
4044
|
*,
|
|
3944
|
-
|
|
4045
|
+
subscription_name: builtins.str,
|
|
3945
4046
|
) -> None:
|
|
3946
4047
|
"""Type checking stubs"""
|
|
3947
4048
|
pass
|
|
@@ -4226,6 +4327,7 @@ def _typecheckingstub__018494df8760995ee1cfd5d6678e28db8bf415a10efea4384de0e660a
|
|
|
4226
4327
|
db_snapshot_identifier: typing.Optional[builtins.str] = None,
|
|
4227
4328
|
db_subnet_group_name: typing.Optional[builtins.str] = None,
|
|
4228
4329
|
preferred_maintenance_window: typing.Optional[builtins.str] = None,
|
|
4330
|
+
publicly_accessible: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
4229
4331
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4230
4332
|
) -> None:
|
|
4231
4333
|
"""Type checking stubs"""
|
|
@@ -4303,6 +4405,12 @@ def _typecheckingstub__e0aad195d28ba72af4643cabac33c6e2d3d623be5e2b7f21c8bffae8d
|
|
|
4303
4405
|
"""Type checking stubs"""
|
|
4304
4406
|
pass
|
|
4305
4407
|
|
|
4408
|
+
def _typecheckingstub__b67e50f3b4a51cbbe6d8beb4e55dcbb888cd70ccbf3854e7be69ae66ee18267d(
|
|
4409
|
+
value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
|
|
4410
|
+
) -> None:
|
|
4411
|
+
"""Type checking stubs"""
|
|
4412
|
+
pass
|
|
4413
|
+
|
|
4306
4414
|
def _typecheckingstub__804ae68d35a8f4acf9b250c8866d8f27b0ea5aaabf0c9991c5e12b4c5414d569(
|
|
4307
4415
|
value: typing.Optional[typing.List[_CfnTag_f6864754]],
|
|
4308
4416
|
) -> None:
|
|
@@ -4416,12 +4524,13 @@ def _typecheckingstub__4853d81bb6e17fc63404c1d9d1bd303b3e043850ca95ab4456a810f0c
|
|
|
4416
4524
|
scope: _constructs_77d1e7e8.Construct,
|
|
4417
4525
|
id: builtins.str,
|
|
4418
4526
|
*,
|
|
4527
|
+
sns_topic_arn: builtins.str,
|
|
4419
4528
|
enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
4420
4529
|
event_categories: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
4421
|
-
sns_topic_arn: typing.Optional[builtins.str] = None,
|
|
4422
4530
|
source_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
4423
4531
|
source_type: typing.Optional[builtins.str] = None,
|
|
4424
4532
|
subscription_name: typing.Optional[builtins.str] = None,
|
|
4533
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4425
4534
|
) -> None:
|
|
4426
4535
|
"""Type checking stubs"""
|
|
4427
4536
|
pass
|
|
@@ -4438,20 +4547,20 @@ def _typecheckingstub__1019778da33af7ffea07d0dcfdddf9f4e6bab96359db115e025cbeb9f
|
|
|
4438
4547
|
"""Type checking stubs"""
|
|
4439
4548
|
pass
|
|
4440
4549
|
|
|
4441
|
-
def
|
|
4442
|
-
value:
|
|
4550
|
+
def _typecheckingstub__52fb458cc4803abc3d472f5ca4edf22c2f9a84d5d6055ac52d01dea8a313e013(
|
|
4551
|
+
value: builtins.str,
|
|
4443
4552
|
) -> None:
|
|
4444
4553
|
"""Type checking stubs"""
|
|
4445
4554
|
pass
|
|
4446
4555
|
|
|
4447
|
-
def
|
|
4448
|
-
value: typing.Optional[typing.
|
|
4556
|
+
def _typecheckingstub__2ef5fdcd4988a6fa95d4be96d80a0234938bc2612ec11dbfcc406afee49f7d89(
|
|
4557
|
+
value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
|
|
4449
4558
|
) -> None:
|
|
4450
4559
|
"""Type checking stubs"""
|
|
4451
4560
|
pass
|
|
4452
4561
|
|
|
4453
|
-
def
|
|
4454
|
-
value: typing.Optional[builtins.str],
|
|
4562
|
+
def _typecheckingstub__111e4034140f86ff26410f58eebe254ec0df2120150f6443532c2f1053082699(
|
|
4563
|
+
value: typing.Optional[typing.List[builtins.str]],
|
|
4455
4564
|
) -> None:
|
|
4456
4565
|
"""Type checking stubs"""
|
|
4457
4566
|
pass
|
|
@@ -4473,3 +4582,12 @@ def _typecheckingstub__093da317650d77ec45933024165e4f9a2676b7fdeca4b47386fba06b2
|
|
|
4473
4582
|
) -> None:
|
|
4474
4583
|
"""Type checking stubs"""
|
|
4475
4584
|
pass
|
|
4585
|
+
|
|
4586
|
+
def _typecheckingstub__1a2214e33715f7b8a810325132d1442eca1b2f768a72caf683442503561e8b4c(
|
|
4587
|
+
value: typing.Optional[typing.List[_CfnTag_f6864754]],
|
|
4588
|
+
) -> None:
|
|
4589
|
+
"""Type checking stubs"""
|
|
4590
|
+
pass
|
|
4591
|
+
|
|
4592
|
+
for cls in [IDBClusterParameterGroupRef, IDBClusterRef, IDBInstanceRef, IDBParameterGroupRef, IDBSubnetGroupRef, IEventSubscriptionRef]:
|
|
4593
|
+
typing.cast(typing.Any, cls).__protocol_attrs__ = typing.cast(typing.Any, cls).__protocol_attrs__ - set(['__jsii_proxy_class__', '__jsii_type__'])
|
|
@@ -1253,3 +1253,6 @@ def _typecheckingstub__b4fc8bb9e26efd06ea5bc87d6e7358de98fcb83d1fb96fc3f74ed7716
|
|
|
1253
1253
|
) -> None:
|
|
1254
1254
|
"""Type checking stubs"""
|
|
1255
1255
|
pass
|
|
1256
|
+
|
|
1257
|
+
for cls in [IGraphRef, IPrivateGraphEndpointRef]:
|
|
1258
|
+
typing.cast(typing.Any, cls).__protocol_attrs__ = typing.cast(typing.Any, cls).__protocol_attrs__ - set(['__jsii_proxy_class__', '__jsii_type__'])
|
|
@@ -8722,3 +8722,6 @@ def _typecheckingstub__ed6e084870d225a53477b08097053cc5b851f59b0c1d2ac3ce50dcb61
|
|
|
8722
8722
|
) -> None:
|
|
8723
8723
|
"""Type checking stubs"""
|
|
8724
8724
|
pass
|
|
8725
|
+
|
|
8726
|
+
for cls in [IFirewallPolicyRef, IFirewallRef, ILoggingConfigurationRef, IRuleGroupRef, ITLSInspectionConfigurationRef, IVpcEndpointAssociationRef]:
|
|
8727
|
+
typing.cast(typing.Any, cls).__protocol_attrs__ = typing.cast(typing.Any, cls).__protocol_attrs__ - set(['__jsii_proxy_class__', '__jsii_type__'])
|