aws-cdk-lib 2.200.2__py3-none-any.whl → 2.224.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 +1349 -373
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.200.2.jsii.tgz → aws-cdk-lib@2.224.0.jsii.tgz} +0 -0
- aws_cdk/alexa_ask/__init__.py +12 -2
- aws_cdk/aws_accessanalyzer/__init__.py +323 -6
- aws_cdk/aws_acmpca/__init__.py +53 -10
- aws_cdk/aws_aiops/__init__.py +1019 -0
- aws_cdk/aws_amazonmq/__init__.py +357 -313
- aws_cdk/aws_amplify/__init__.py +173 -17
- aws_cdk/aws_amplifyuibuilder/__init__.py +35 -6
- aws_cdk/aws_apigateway/__init__.py +1017 -155
- aws_cdk/aws_apigatewayv2/__init__.py +2796 -379
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +94 -16
- aws_cdk/aws_appconfig/__init__.py +298 -43
- aws_cdk/aws_appflow/__init__.py +151 -6
- aws_cdk/aws_appintegrations/__init__.py +546 -6
- aws_cdk/aws_applicationautoscaling/__init__.py +29 -6
- aws_cdk/aws_applicationinsights/__init__.py +13 -2
- aws_cdk/aws_applicationsignals/__init__.py +374 -6
- aws_cdk/aws_appmesh/__init__.py +94 -26
- aws_cdk/aws_apprunner/__init__.py +66 -18
- aws_cdk/aws_appstream/__init__.py +309 -55
- aws_cdk/aws_appsync/__init__.py +227 -53
- aws_cdk/aws_apptest/__init__.py +71 -2
- aws_cdk/aws_aps/__init__.py +1875 -132
- aws_cdk/aws_arcregionswitch/__init__.py +5095 -0
- aws_cdk/aws_arczonalshift/__init__.py +39 -12
- aws_cdk/aws_athena/__init__.py +365 -29
- aws_cdk/aws_auditmanager/__init__.py +71 -2
- aws_cdk/aws_autoscaling/__init__.py +135 -55
- aws_cdk/aws_autoscaling_common/__init__.py +3 -0
- aws_cdk/aws_autoscalingplans/__init__.py +13 -2
- aws_cdk/aws_b2bi/__init__.py +1819 -99
- aws_cdk/aws_backup/__init__.py +317 -28
- aws_cdk/aws_backupgateway/__init__.py +13 -2
- aws_cdk/aws_batch/__init__.py +1405 -178
- aws_cdk/aws_bcmdataexports/__init__.py +21 -2
- aws_cdk/aws_bedrock/__init__.py +6747 -627
- aws_cdk/aws_bedrockagentcore/__init__.py +10425 -0
- aws_cdk/aws_billingconductor/__init__.py +197 -11
- aws_cdk/aws_budgets/__init__.py +42 -4
- aws_cdk/aws_cassandra/__init__.py +247 -6
- aws_cdk/aws_ce/__init__.py +35 -6
- aws_cdk/aws_certificatemanager/__init__.py +237 -32
- aws_cdk/aws_chatbot/__init__.py +70 -6
- aws_cdk/aws_cleanrooms/__init__.py +709 -206
- aws_cdk/aws_cleanroomsml/__init__.py +13 -2
- aws_cdk/aws_cloud9/__init__.py +13 -2
- aws_cdk/aws_cloudformation/__init__.py +345 -166
- aws_cdk/aws_cloudfront/__init__.py +2101 -680
- aws_cdk/aws_cloudfront/experimental/__init__.py +108 -16
- aws_cdk/aws_cloudfront_origins/__init__.py +614 -73
- aws_cdk/aws_cloudtrail/__init__.py +301 -17
- aws_cdk/aws_cloudwatch/__init__.py +1414 -153
- aws_cdk/aws_codeartifact/__init__.py +35 -6
- aws_cdk/aws_codebuild/__init__.py +1103 -118
- aws_cdk/aws_codecommit/__init__.py +23 -9
- aws_cdk/aws_codeconnections/__init__.py +13 -2
- aws_cdk/aws_codedeploy/__init__.py +67 -6
- aws_cdk/aws_codeguruprofiler/__init__.py +74 -2
- aws_cdk/aws_codegurureviewer/__init__.py +13 -2
- aws_cdk/aws_codepipeline/__init__.py +127 -64
- aws_cdk/aws_codepipeline_actions/__init__.py +749 -0
- aws_cdk/aws_codestar/__init__.py +13 -2
- aws_cdk/aws_codestarconnections/__init__.py +35 -6
- aws_cdk/aws_codestarnotifications/__init__.py +16 -2
- aws_cdk/aws_cognito/__init__.py +814 -80
- aws_cdk/aws_cognito_identitypool/__init__.py +17 -12
- aws_cdk/aws_comprehend/__init__.py +24 -4
- aws_cdk/aws_config/__init__.py +191 -30
- aws_cdk/aws_connect/__init__.py +2736 -191
- aws_cdk/aws_connectcampaigns/__init__.py +13 -2
- aws_cdk/aws_connectcampaignsv2/__init__.py +268 -6
- aws_cdk/aws_controltower/__init__.py +35 -6
- aws_cdk/aws_cur/__init__.py +100 -4
- aws_cdk/aws_customerprofiles/__init__.py +617 -27
- aws_cdk/aws_databrew/__init__.py +68 -12
- aws_cdk/aws_datapipeline/__init__.py +42 -2
- aws_cdk/aws_datasync/__init__.py +723 -203
- aws_cdk/aws_datazone/__init__.py +4425 -608
- aws_cdk/aws_dax/__init__.py +83 -6
- aws_cdk/aws_deadline/__init__.py +321 -32
- aws_cdk/aws_detective/__init__.py +35 -6
- aws_cdk/aws_devicefarm/__init__.py +68 -12
- aws_cdk/aws_devopsguru/__init__.py +37 -6
- aws_cdk/aws_directoryservice/__init__.py +53 -4
- aws_cdk/aws_dlm/__init__.py +13 -2
- aws_cdk/aws_dms/__init__.py +184 -27
- aws_cdk/aws_docdb/__init__.py +323 -46
- aws_cdk/aws_docdbelastic/__init__.py +13 -2
- aws_cdk/aws_dsql/__init__.py +340 -12
- aws_cdk/aws_dynamodb/__init__.py +1463 -166
- aws_cdk/aws_ec2/__init__.py +9636 -1120
- aws_cdk/aws_ecr/__init__.py +631 -43
- aws_cdk/aws_ecr_assets/__init__.py +4 -0
- aws_cdk/aws_ecs/__init__.py +6524 -497
- aws_cdk/aws_ecs_patterns/__init__.py +2 -0
- aws_cdk/aws_efs/__init__.py +264 -24
- aws_cdk/aws_eks/__init__.py +1050 -218
- aws_cdk/aws_elasticache/__init__.py +373 -20
- aws_cdk/aws_elasticbeanstalk/__init__.py +75 -8
- aws_cdk/aws_elasticloadbalancing/__init__.py +16 -2
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +1670 -106
- aws_cdk/aws_elasticsearch/__init__.py +282 -9
- aws_cdk/aws_emr/__init__.py +187 -20
- aws_cdk/aws_emrcontainers/__init__.py +71 -2
- aws_cdk/aws_emrserverless/__init__.py +188 -3
- aws_cdk/aws_entityresolution/__init__.py +585 -58
- aws_cdk/aws_events/__init__.py +969 -124
- aws_cdk/aws_events_targets/__init__.py +310 -54
- aws_cdk/aws_eventschemas/__init__.py +46 -8
- aws_cdk/aws_evidently/__init__.py +57 -10
- aws_cdk/aws_evs/__init__.py +2244 -0
- aws_cdk/aws_finspace/__init__.py +71 -2
- aws_cdk/aws_fis/__init__.py +26 -4
- aws_cdk/aws_fms/__init__.py +35 -6
- aws_cdk/aws_forecast/__init__.py +24 -4
- aws_cdk/aws_frauddetector/__init__.py +79 -14
- aws_cdk/aws_fsx/__init__.py +1236 -142
- aws_cdk/aws_gamelift/__init__.py +653 -78
- aws_cdk/aws_gameliftstreams/__init__.py +38 -16
- aws_cdk/aws_globalaccelerator/__init__.py +55 -14
- aws_cdk/aws_glue/__init__.py +1368 -320
- aws_cdk/aws_grafana/__init__.py +13 -2
- aws_cdk/aws_greengrass/__init__.py +654 -32
- aws_cdk/aws_greengrassv2/__init__.py +53 -4
- aws_cdk/aws_groundstation/__init__.py +122 -6
- aws_cdk/aws_guardduty/__init__.py +1613 -123
- aws_cdk/aws_healthimaging/__init__.py +71 -2
- aws_cdk/aws_healthlake/__init__.py +42 -2
- aws_cdk/aws_iam/__init__.py +480 -140
- aws_cdk/aws_identitystore/__init__.py +24 -4
- aws_cdk/aws_imagebuilder/__init__.py +1433 -183
- aws_cdk/aws_inspector/__init__.py +38 -6
- aws_cdk/aws_inspectorv2/__init__.py +2285 -243
- aws_cdk/aws_internetmonitor/__init__.py +71 -2
- aws_cdk/aws_invoicing/__init__.py +13 -2
- aws_cdk/aws_iot/__init__.py +1730 -86
- aws_cdk/aws_iotanalytics/__init__.py +162 -8
- aws_cdk/aws_iotcoredeviceadvisor/__init__.py +106 -40
- aws_cdk/aws_iotevents/__init__.py +122 -6
- aws_cdk/aws_iotfleethub/__init__.py +71 -2
- aws_cdk/aws_iotfleetwise/__init__.py +195 -14
- aws_cdk/aws_iotsitewise/__init__.py +1837 -89
- aws_cdk/aws_iotthingsgraph/__init__.py +13 -2
- aws_cdk/aws_iottwinmaker/__init__.py +115 -10
- aws_cdk/aws_iotwireless/__init__.py +649 -22
- aws_cdk/aws_ivs/__init__.py +561 -57
- aws_cdk/aws_ivschat/__init__.py +24 -4
- aws_cdk/aws_kafkaconnect/__init__.py +35 -6
- aws_cdk/aws_kendra/__init__.py +120 -28
- aws_cdk/aws_kendraranking/__init__.py +13 -2
- aws_cdk/aws_kinesis/__init__.py +622 -22
- aws_cdk/aws_kinesisanalytics/__init__.py +467 -94
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +201 -11
- aws_cdk/aws_kinesisfirehose/__init__.py +3077 -295
- aws_cdk/aws_kinesisvideo/__init__.py +24 -4
- aws_cdk/aws_kms/__init__.py +188 -41
- aws_cdk/aws_lakeformation/__init__.py +80 -15
- aws_cdk/aws_lambda/__init__.py +2101 -252
- aws_cdk/aws_lambda_event_sources/__init__.py +638 -1
- aws_cdk/aws_lambda_nodejs/__init__.py +63 -24
- aws_cdk/aws_launchwizard/__init__.py +13 -2
- aws_cdk/aws_lex/__init__.py +871 -8
- aws_cdk/aws_licensemanager/__init__.py +24 -4
- aws_cdk/aws_lightsail/__init__.py +2159 -975
- aws_cdk/aws_location/__init__.py +618 -14
- aws_cdk/aws_logs/__init__.py +5904 -956
- aws_cdk/aws_lookoutequipment/__init__.py +13 -2
- aws_cdk/aws_lookoutmetrics/__init__.py +38 -6
- aws_cdk/aws_lookoutvision/__init__.py +71 -2
- aws_cdk/aws_m2/__init__.py +94 -19
- aws_cdk/aws_macie/__init__.py +49 -11
- aws_cdk/aws_managedblockchain/__init__.py +180 -6
- aws_cdk/aws_mediaconnect/__init__.py +101 -18
- aws_cdk/aws_mediaconvert/__init__.py +35 -6
- aws_cdk/aws_medialive/__init__.py +1239 -35
- aws_cdk/aws_mediapackage/__init__.py +59 -12
- aws_cdk/aws_mediapackagev2/__init__.py +1607 -225
- aws_cdk/aws_mediastore/__init__.py +13 -2
- aws_cdk/aws_mediatailor/__init__.py +583 -12
- aws_cdk/aws_memorydb/__init__.py +271 -12
- aws_cdk/aws_mpa/__init__.py +1495 -0
- aws_cdk/aws_msk/__init__.py +104 -18
- aws_cdk/aws_mwaa/__init__.py +121 -9
- aws_cdk/aws_neptune/__init__.py +290 -78
- aws_cdk/aws_neptunegraph/__init__.py +24 -4
- aws_cdk/aws_networkfirewall/__init__.py +1289 -273
- aws_cdk/aws_networkmanager/__init__.py +349 -33
- aws_cdk/aws_nimblestudio/__init__.py +75 -8
- aws_cdk/aws_notifications/__init__.py +317 -12
- aws_cdk/aws_notificationscontacts/__init__.py +13 -2
- aws_cdk/aws_oam/__init__.py +24 -4
- aws_cdk/aws_observabilityadmin/__init__.py +2561 -0
- aws_cdk/aws_odb/__init__.py +5872 -0
- aws_cdk/aws_omics/__init__.py +2495 -529
- aws_cdk/aws_opensearchserverless/__init__.py +312 -37
- aws_cdk/aws_opensearchservice/__init__.py +495 -19
- aws_cdk/aws_opsworks/__init__.py +235 -139
- aws_cdk/aws_opsworkscm/__init__.py +16 -52
- aws_cdk/aws_organizations/__init__.py +70 -10
- aws_cdk/aws_osis/__init__.py +167 -2
- aws_cdk/aws_panorama/__init__.py +151 -6
- aws_cdk/aws_paymentcryptography/__init__.py +24 -4
- aws_cdk/aws_pcaconnectorad/__init__.py +59 -10
- aws_cdk/aws_pcaconnectorscep/__init__.py +24 -4
- aws_cdk/aws_pcs/__init__.py +387 -68
- aws_cdk/aws_personalize/__init__.py +46 -8
- aws_cdk/aws_pinpoint/__init__.py +329 -38
- aws_cdk/aws_pinpointemail/__init__.py +48 -8
- aws_cdk/aws_pipes/__init__.py +12 -2
- aws_cdk/aws_proton/__init__.py +37 -6
- aws_cdk/aws_qbusiness/__init__.py +635 -34
- aws_cdk/aws_qldb/__init__.py +24 -4
- aws_cdk/aws_quicksight/__init__.py +7900 -1160
- aws_cdk/aws_ram/__init__.py +24 -4
- aws_cdk/aws_rbin/__init__.py +12 -2
- aws_cdk/aws_rds/__init__.py +3345 -512
- aws_cdk/aws_redshift/__init__.py +143 -20
- aws_cdk/aws_redshiftserverless/__init__.py +692 -4
- aws_cdk/aws_refactorspaces/__init__.py +64 -14
- aws_cdk/aws_rekognition/__init__.py +93 -6
- aws_cdk/aws_resiliencehub/__init__.py +24 -4
- aws_cdk/aws_resourceexplorer2/__init__.py +35 -6
- aws_cdk/aws_resourcegroups/__init__.py +82 -4
- aws_cdk/aws_robomaker/__init__.py +72 -12
- aws_cdk/aws_rolesanywhere/__init__.py +180 -6
- aws_cdk/aws_route53/__init__.py +3273 -1442
- aws_cdk/aws_route53_targets/__init__.py +3 -0
- aws_cdk/aws_route53profiles/__init__.py +37 -6
- aws_cdk/aws_route53recoverycontrol/__init__.py +46 -8
- aws_cdk/aws_route53recoveryreadiness/__init__.py +104 -8
- aws_cdk/aws_route53resolver/__init__.py +226 -36
- aws_cdk/aws_rtbfabric/__init__.py +3498 -0
- aws_cdk/aws_rum/__init__.py +13 -2
- aws_cdk/aws_s3/__init__.py +1291 -158
- aws_cdk/aws_s3_assets/__init__.py +11 -11
- aws_cdk/aws_s3_deployment/__init__.py +147 -11
- aws_cdk/aws_s3_notifications/__init__.py +7 -7
- aws_cdk/aws_s3express/__init__.py +266 -8
- aws_cdk/aws_s3objectlambda/__init__.py +68 -16
- aws_cdk/aws_s3outposts/__init__.py +46 -8
- aws_cdk/aws_s3tables/__init__.py +2000 -323
- aws_cdk/aws_s3vectors/__init__.py +1378 -0
- aws_cdk/aws_sagemaker/__init__.py +6617 -363
- aws_cdk/aws_sam/__init__.py +79 -14
- aws_cdk/aws_scheduler/__init__.py +237 -4
- aws_cdk/aws_sdb/__init__.py +12 -2
- aws_cdk/aws_secretsmanager/__init__.py +170 -14
- aws_cdk/aws_securityhub/__init__.py +3121 -176
- aws_cdk/aws_securitylake/__init__.py +46 -8
- aws_cdk/aws_servicecatalog/__init__.py +405 -246
- aws_cdk/aws_servicecatalogappregistry/__init__.py +164 -8
- aws_cdk/aws_servicediscovery/__init__.py +140 -47
- aws_cdk/aws_ses/__init__.py +1231 -140
- aws_cdk/aws_shield/__init__.py +46 -8
- aws_cdk/aws_signer/__init__.py +27 -4
- aws_cdk/aws_simspaceweaver/__init__.py +42 -2
- aws_cdk/aws_smsvoice/__init__.py +4716 -0
- aws_cdk/aws_sns/__init__.py +245 -29
- aws_cdk/aws_sns_subscriptions/__init__.py +3 -1
- aws_cdk/aws_sqs/__init__.py +211 -14
- aws_cdk/aws_ssm/__init__.py +401 -58
- aws_cdk/aws_ssmcontacts/__init__.py +46 -8
- aws_cdk/aws_ssmguiconnect/__init__.py +13 -2
- aws_cdk/aws_ssmincidents/__init__.py +24 -4
- aws_cdk/aws_ssmquicksetup/__init__.py +383 -6
- aws_cdk/aws_sso/__init__.py +70 -12
- aws_cdk/aws_stepfunctions/__init__.py +615 -70
- aws_cdk/aws_stepfunctions_tasks/__init__.py +781 -144
- aws_cdk/aws_supportapp/__init__.py +39 -6
- aws_cdk/aws_synthetics/__init__.py +861 -75
- aws_cdk/aws_systemsmanagersap/__init__.py +13 -2
- aws_cdk/aws_timestream/__init__.py +104 -8
- aws_cdk/aws_transfer/__init__.py +784 -87
- aws_cdk/aws_verifiedpermissions/__init__.py +145 -17
- aws_cdk/aws_voiceid/__init__.py +41 -2
- aws_cdk/aws_vpclattice/__init__.py +376 -30
- aws_cdk/aws_waf/__init__.py +79 -14
- aws_cdk/aws_wafregional/__init__.py +123 -22
- aws_cdk/aws_wafv2/__init__.py +1179 -60
- aws_cdk/aws_wisdom/__init__.py +1401 -90
- aws_cdk/aws_workspaces/__init__.py +93 -6
- aws_cdk/aws_workspacesinstances/__init__.py +3940 -0
- aws_cdk/aws_workspacesthinclient/__init__.py +79 -10
- aws_cdk/aws_workspacesweb/__init__.py +1057 -141
- aws_cdk/aws_xray/__init__.py +48 -8
- aws_cdk/cloud_assembly_schema/__init__.py +231 -6
- aws_cdk/custom_resources/__init__.py +40 -12
- aws_cdk/cx_api/__init__.py +85 -14
- aws_cdk/interfaces/__init__.py +739 -0
- aws_cdk/interfaces/alexa_ask/__init__.py +146 -0
- aws_cdk/interfaces/aws_accessanalyzer/__init__.py +146 -0
- aws_cdk/interfaces/aws_acmpca/__init__.py +501 -0
- aws_cdk/interfaces/aws_aiops/__init__.py +146 -0
- aws_cdk/interfaces/aws_amazonmq/__init__.py +386 -0
- aws_cdk/interfaces/aws_amplify/__init__.py +352 -0
- aws_cdk/interfaces/aws_amplifyuibuilder/__init__.py +454 -0
- aws_cdk/interfaces/aws_apigateway/__init__.py +2486 -0
- aws_cdk/interfaces/aws_apigatewayv2/__init__.py +1651 -0
- aws_cdk/interfaces/aws_appconfig/__init__.py +1020 -0
- aws_cdk/interfaces/aws_appflow/__init__.py +404 -0
- aws_cdk/interfaces/aws_appintegrations/__init__.py +396 -0
- aws_cdk/interfaces/aws_applicationautoscaling/__init__.py +307 -0
- aws_cdk/interfaces/aws_applicationinsights/__init__.py +148 -0
- aws_cdk/interfaces/aws_applicationsignals/__init__.py +358 -0
- aws_cdk/interfaces/aws_appmesh/__init__.py +888 -0
- aws_cdk/interfaces/aws_apprunner/__init__.py +564 -0
- aws_cdk/interfaces/aws_appstream/__init__.py +1482 -0
- aws_cdk/interfaces/aws_appsync/__init__.py +1326 -0
- aws_cdk/interfaces/aws_apptest/__init__.py +163 -0
- aws_cdk/interfaces/aws_aps/__init__.py +558 -0
- aws_cdk/interfaces/aws_arcregionswitch/__init__.py +146 -0
- aws_cdk/interfaces/aws_arczonalshift/__init__.py +273 -0
- aws_cdk/interfaces/aws_athena/__init__.py +575 -0
- aws_cdk/interfaces/aws_auditmanager/__init__.py +163 -0
- aws_cdk/interfaces/aws_autoscaling/__init__.py +705 -0
- aws_cdk/interfaces/aws_autoscalingplans/__init__.py +148 -0
- aws_cdk/interfaces/aws_b2bi/__init__.py +524 -0
- aws_cdk/interfaces/aws_backup/__init__.py +955 -0
- aws_cdk/interfaces/aws_backupgateway/__init__.py +146 -0
- aws_cdk/interfaces/aws_batch/__init__.py +681 -0
- aws_cdk/interfaces/aws_bcmdataexports/__init__.py +146 -0
- aws_cdk/interfaces/aws_bedrock/__init__.py +1942 -0
- aws_cdk/interfaces/aws_bedrockagentcore/__init__.py +934 -0
- aws_cdk/interfaces/aws_billing/__init__.py +146 -0
- aws_cdk/interfaces/aws_billingconductor/__init__.py +463 -0
- aws_cdk/interfaces/aws_budgets/__init__.py +261 -0
- aws_cdk/interfaces/aws_cassandra/__init__.py +381 -0
- aws_cdk/interfaces/aws_ce/__init__.py +352 -0
- aws_cdk/interfaces/aws_certificatemanager/__init__.py +251 -0
- aws_cdk/interfaces/aws_chatbot/__init__.py +366 -0
- aws_cdk/interfaces/aws_cleanrooms/__init__.py +1103 -0
- aws_cdk/interfaces/aws_cleanroomsml/__init__.py +148 -0
- aws_cdk/interfaces/aws_cloud9/__init__.py +166 -0
- aws_cdk/interfaces/aws_cloudformation/__init__.py +1919 -0
- aws_cdk/interfaces/aws_cloudfront/__init__.py +1998 -0
- aws_cdk/interfaces/aws_cloudtrail/__init__.py +570 -0
- aws_cdk/interfaces/aws_cloudwatch/__init__.py +733 -0
- aws_cdk/interfaces/aws_codeartifact/__init__.py +352 -0
- aws_cdk/interfaces/aws_codebuild/__init__.py +487 -0
- aws_cdk/interfaces/aws_codecommit/__init__.py +163 -0
- aws_cdk/interfaces/aws_codeconnections/__init__.py +146 -0
- aws_cdk/interfaces/aws_codedeploy/__init__.py +352 -0
- aws_cdk/interfaces/aws_codeguruprofiler/__init__.py +168 -0
- aws_cdk/interfaces/aws_codegurureviewer/__init__.py +148 -0
- aws_cdk/interfaces/aws_codepipeline/__init__.py +388 -0
- aws_cdk/interfaces/aws_codestar/__init__.py +146 -0
- aws_cdk/interfaces/aws_codestarconnections/__init__.py +370 -0
- aws_cdk/interfaces/aws_codestarnotifications/__init__.py +148 -0
- aws_cdk/interfaces/aws_cognito/__init__.py +1929 -0
- aws_cdk/interfaces/aws_comprehend/__init__.py +251 -0
- aws_cdk/interfaces/aws_config/__init__.py +1165 -0
- aws_cdk/interfaces/aws_connect/__init__.py +2949 -0
- aws_cdk/interfaces/aws_connectcampaigns/__init__.py +146 -0
- aws_cdk/interfaces/aws_connectcampaignsv2/__init__.py +146 -0
- aws_cdk/interfaces/aws_controltower/__init__.py +394 -0
- aws_cdk/interfaces/aws_cur/__init__.py +146 -0
- aws_cdk/interfaces/aws_customerprofiles/__init__.py +915 -0
- aws_cdk/interfaces/aws_databrew/__init__.py +661 -0
- aws_cdk/interfaces/aws_datapipeline/__init__.py +146 -0
- aws_cdk/interfaces/aws_datasync/__init__.py +1384 -0
- aws_cdk/interfaces/aws_datazone/__init__.py +2238 -0
- aws_cdk/interfaces/aws_dax/__init__.py +364 -0
- aws_cdk/interfaces/aws_deadline/__init__.py +1303 -0
- aws_cdk/interfaces/aws_detective/__init__.py +364 -0
- aws_cdk/interfaces/aws_devicefarm/__init__.py +663 -0
- aws_cdk/interfaces/aws_devopsguru/__init__.py +362 -0
- aws_cdk/interfaces/aws_directoryservice/__init__.py +251 -0
- aws_cdk/interfaces/aws_dlm/__init__.py +166 -0
- aws_cdk/interfaces/aws_dms/__init__.py +1176 -0
- aws_cdk/interfaces/aws_docdb/__init__.py +560 -0
- aws_cdk/interfaces/aws_docdbelastic/__init__.py +146 -0
- aws_cdk/interfaces/aws_dsql/__init__.py +146 -0
- aws_cdk/interfaces/aws_dynamodb/__init__.py +278 -0
- aws_cdk/interfaces/aws_ec2/__init__.py +11963 -0
- aws_cdk/interfaces/aws_ecr/__init__.py +814 -0
- aws_cdk/interfaces/aws_ecs/__init__.py +845 -0
- aws_cdk/interfaces/aws_efs/__init__.py +392 -0
- aws_cdk/interfaces/aws_eks/__init__.py +948 -0
- aws_cdk/interfaces/aws_elasticache/__init__.py +1108 -0
- aws_cdk/interfaces/aws_elasticbeanstalk/__init__.py +503 -0
- aws_cdk/interfaces/aws_elasticloadbalancing/__init__.py +148 -0
- aws_cdk/interfaces/aws_elasticloadbalancingv2/__init__.py +795 -0
- aws_cdk/interfaces/aws_elasticsearch/__init__.py +158 -0
- aws_cdk/interfaces/aws_emr/__init__.py +913 -0
- aws_cdk/interfaces/aws_emrcontainers/__init__.py +168 -0
- aws_cdk/interfaces/aws_emrserverless/__init__.py +166 -0
- aws_cdk/interfaces/aws_entityresolution/__init__.py +608 -0
- aws_cdk/interfaces/aws_events/__init__.py +872 -0
- aws_cdk/interfaces/aws_eventschemas/__init__.py +455 -0
- aws_cdk/interfaces/aws_evidently/__init__.py +558 -0
- aws_cdk/interfaces/aws_evs/__init__.py +166 -0
- aws_cdk/interfaces/aws_finspace/__init__.py +166 -0
- aws_cdk/interfaces/aws_fis/__init__.py +271 -0
- aws_cdk/interfaces/aws_fms/__init__.py +364 -0
- aws_cdk/interfaces/aws_forecast/__init__.py +249 -0
- aws_cdk/interfaces/aws_frauddetector/__init__.py +764 -0
- aws_cdk/interfaces/aws_fsx/__init__.py +663 -0
- aws_cdk/interfaces/aws_gamelift/__init__.py +1325 -0
- aws_cdk/interfaces/aws_gameliftstreams/__init__.py +249 -0
- aws_cdk/interfaces/aws_globalaccelerator/__init__.py +461 -0
- aws_cdk/interfaces/aws_glue/__init__.py +2377 -0
- aws_cdk/interfaces/aws_grafana/__init__.py +146 -0
- aws_cdk/interfaces/aws_greengrass/__init__.py +1871 -0
- aws_cdk/interfaces/aws_greengrassv2/__init__.py +251 -0
- aws_cdk/interfaces/aws_groundstation/__init__.py +396 -0
- aws_cdk/interfaces/aws_guardduty/__init__.py +1225 -0
- aws_cdk/interfaces/aws_healthimaging/__init__.py +163 -0
- aws_cdk/interfaces/aws_healthlake/__init__.py +146 -0
- aws_cdk/interfaces/aws_iam/__init__.py +1803 -0
- aws_cdk/interfaces/aws_identitystore/__init__.py +288 -0
- aws_cdk/interfaces/aws_imagebuilder/__init__.py +984 -0
- aws_cdk/interfaces/aws_inspector/__init__.py +354 -0
- aws_cdk/interfaces/aws_inspectorv2/__init__.py +467 -0
- aws_cdk/interfaces/aws_internetmonitor/__init__.py +163 -0
- aws_cdk/interfaces/aws_invoicing/__init__.py +146 -0
- aws_cdk/interfaces/aws_iot/__init__.py +3483 -0
- aws_cdk/interfaces/aws_iotanalytics/__init__.py +455 -0
- aws_cdk/interfaces/aws_iotcoredeviceadvisor/__init__.py +168 -0
- aws_cdk/interfaces/aws_iotevents/__init__.py +352 -0
- aws_cdk/interfaces/aws_iotfleethub/__init__.py +166 -0
- aws_cdk/interfaces/aws_iotfleetwise/__init__.py +892 -0
- aws_cdk/interfaces/aws_iotsitewise/__init__.py +1097 -0
- aws_cdk/interfaces/aws_iotthingsgraph/__init__.py +146 -0
- aws_cdk/interfaces/aws_iottwinmaker/__init__.py +711 -0
- aws_cdk/interfaces/aws_iotwireless/__init__.py +1401 -0
- aws_cdk/interfaces/aws_ivs/__init__.py +1075 -0
- aws_cdk/interfaces/aws_ivschat/__init__.py +251 -0
- aws_cdk/interfaces/aws_kafkaconnect/__init__.py +354 -0
- aws_cdk/interfaces/aws_kendra/__init__.py +428 -0
- aws_cdk/interfaces/aws_kendraranking/__init__.py +166 -0
- aws_cdk/interfaces/aws_kinesis/__init__.py +364 -0
- aws_cdk/interfaces/aws_kinesisanalytics/__init__.py +364 -0
- aws_cdk/interfaces/aws_kinesisanalyticsv2/__init__.py +479 -0
- aws_cdk/interfaces/aws_kinesisfirehose/__init__.py +168 -0
- aws_cdk/interfaces/aws_kinesisvideo/__init__.py +283 -0
- aws_cdk/interfaces/aws_kms/__init__.py +376 -0
- aws_cdk/interfaces/aws_lakeformation/__init__.py +860 -0
- aws_cdk/interfaces/aws_lambda/__init__.py +1141 -0
- aws_cdk/interfaces/aws_launchwizard/__init__.py +146 -0
- aws_cdk/interfaces/aws_lex/__init__.py +513 -0
- aws_cdk/interfaces/aws_licensemanager/__init__.py +249 -0
- aws_cdk/interfaces/aws_lightsail/__init__.py +1744 -0
- aws_cdk/interfaces/aws_location/__init__.py +879 -0
- aws_cdk/interfaces/aws_logs/__init__.py +1667 -0
- aws_cdk/interfaces/aws_lookoutequipment/__init__.py +168 -0
- aws_cdk/interfaces/aws_lookoutmetrics/__init__.py +251 -0
- aws_cdk/interfaces/aws_lookoutvision/__init__.py +163 -0
- aws_cdk/interfaces/aws_m2/__init__.py +352 -0
- aws_cdk/interfaces/aws_macie/__init__.py +512 -0
- aws_cdk/interfaces/aws_managedblockchain/__init__.py +381 -0
- aws_cdk/interfaces/aws_mediaconnect/__init__.py +1028 -0
- aws_cdk/interfaces/aws_mediaconvert/__init__.py +396 -0
- aws_cdk/interfaces/aws_medialive/__init__.py +1755 -0
- aws_cdk/interfaces/aws_mediapackage/__init__.py +644 -0
- aws_cdk/interfaces/aws_mediapackagev2/__init__.py +618 -0
- aws_cdk/interfaces/aws_mediastore/__init__.py +146 -0
- aws_cdk/interfaces/aws_mediatailor/__init__.py +788 -0
- aws_cdk/interfaces/aws_memorydb/__init__.py +685 -0
- aws_cdk/interfaces/aws_mpa/__init__.py +249 -0
- aws_cdk/interfaces/aws_msk/__init__.py +764 -0
- aws_cdk/interfaces/aws_mwaa/__init__.py +166 -0
- aws_cdk/interfaces/aws_neptune/__init__.py +663 -0
- aws_cdk/interfaces/aws_neptunegraph/__init__.py +265 -0
- aws_cdk/interfaces/aws_networkfirewall/__init__.py +669 -0
- aws_cdk/interfaces/aws_networkmanager/__init__.py +1832 -0
- aws_cdk/interfaces/aws_nimblestudio/__init__.py +388 -0
- aws_cdk/interfaces/aws_notifications/__init__.py +868 -0
- aws_cdk/interfaces/aws_notificationscontacts/__init__.py +148 -0
- aws_cdk/interfaces/aws_oam/__init__.py +249 -0
- aws_cdk/interfaces/aws_observabilityadmin/__init__.py +362 -0
- aws_cdk/interfaces/aws_odb/__init__.py +562 -0
- aws_cdk/interfaces/aws_omics/__init__.py +838 -0
- aws_cdk/interfaces/aws_opensearchserverless/__init__.py +859 -0
- aws_cdk/interfaces/aws_opensearchservice/__init__.py +283 -0
- aws_cdk/interfaces/aws_opsworks/__init__.py +772 -0
- aws_cdk/interfaces/aws_opsworkscm/__init__.py +146 -0
- aws_cdk/interfaces/aws_organizations/__init__.py +646 -0
- aws_cdk/interfaces/aws_osis/__init__.py +146 -0
- aws_cdk/interfaces/aws_panorama/__init__.py +420 -0
- aws_cdk/interfaces/aws_paymentcryptography/__init__.py +249 -0
- aws_cdk/interfaces/aws_pcaconnectorad/__init__.py +608 -0
- aws_cdk/interfaces/aws_pcaconnectorscep/__init__.py +249 -0
- aws_cdk/interfaces/aws_pcs/__init__.py +352 -0
- aws_cdk/interfaces/aws_personalize/__init__.py +455 -0
- aws_cdk/interfaces/aws_pinpoint/__init__.py +2125 -0
- aws_cdk/interfaces/aws_pinpointemail/__init__.py +467 -0
- aws_cdk/interfaces/aws_pipes/__init__.py +158 -0
- aws_cdk/interfaces/aws_proton/__init__.py +360 -0
- aws_cdk/interfaces/aws_qbusiness/__init__.py +1122 -0
- aws_cdk/interfaces/aws_qldb/__init__.py +283 -0
- aws_cdk/interfaces/aws_quicksight/__init__.py +1566 -0
- aws_cdk/interfaces/aws_ram/__init__.py +249 -0
- aws_cdk/interfaces/aws_rbin/__init__.py +146 -0
- aws_cdk/interfaces/aws_rds/__init__.py +1780 -0
- aws_cdk/interfaces/aws_redshift/__init__.py +1104 -0
- aws_cdk/interfaces/aws_redshiftserverless/__init__.py +356 -0
- aws_cdk/interfaces/aws_refactorspaces/__init__.py +605 -0
- aws_cdk/interfaces/aws_rekognition/__init__.py +406 -0
- aws_cdk/interfaces/aws_resiliencehub/__init__.py +251 -0
- aws_cdk/interfaces/aws_resourceexplorer2/__init__.py +354 -0
- aws_cdk/interfaces/aws_resourcegroups/__init__.py +261 -0
- aws_cdk/interfaces/aws_robomaker/__init__.py +673 -0
- aws_cdk/interfaces/aws_rolesanywhere/__init__.py +384 -0
- aws_cdk/interfaces/aws_route53/__init__.py +804 -0
- aws_cdk/interfaces/aws_route53profiles/__init__.py +368 -0
- aws_cdk/interfaces/aws_route53recoverycontrol/__init__.py +463 -0
- aws_cdk/interfaces/aws_route53recoveryreadiness/__init__.py +535 -0
- aws_cdk/interfaces/aws_route53resolver/__init__.py +1356 -0
- aws_cdk/interfaces/aws_rtbfabric/__init__.py +352 -0
- aws_cdk/interfaces/aws_rum/__init__.py +146 -0
- aws_cdk/interfaces/aws_s3/__init__.py +1171 -0
- aws_cdk/interfaces/aws_s3express/__init__.py +392 -0
- aws_cdk/interfaces/aws_s3objectlambda/__init__.py +271 -0
- aws_cdk/interfaces/aws_s3outposts/__init__.py +455 -0
- aws_cdk/interfaces/aws_s3tables/__init__.py +575 -0
- aws_cdk/interfaces/aws_s3vectors/__init__.py +354 -0
- aws_cdk/interfaces/aws_sagemaker/__init__.py +3797 -0
- aws_cdk/interfaces/aws_sam/__init__.py +603 -0
- aws_cdk/interfaces/aws_scheduler/__init__.py +286 -0
- aws_cdk/interfaces/aws_sdb/__init__.py +146 -0
- aws_cdk/interfaces/aws_secretsmanager/__init__.py +461 -0
- aws_cdk/interfaces/aws_securityhub/__init__.py +1499 -0
- aws_cdk/interfaces/aws_securitylake/__init__.py +474 -0
- aws_cdk/interfaces/aws_servicecatalog/__init__.py +1829 -0
- aws_cdk/interfaces/aws_servicecatalogappregistry/__init__.py +557 -0
- aws_cdk/interfaces/aws_servicediscovery/__init__.py +636 -0
- aws_cdk/interfaces/aws_ses/__init__.py +2018 -0
- aws_cdk/interfaces/aws_shield/__init__.py +455 -0
- aws_cdk/interfaces/aws_signer/__init__.py +266 -0
- aws_cdk/interfaces/aws_simspaceweaver/__init__.py +146 -0
- aws_cdk/interfaces/aws_smsvoice/__init__.py +892 -0
- aws_cdk/interfaces/aws_sns/__init__.py +455 -0
- aws_cdk/interfaces/aws_sqs/__init__.py +364 -0
- aws_cdk/interfaces/aws_ssm/__init__.py +982 -0
- aws_cdk/interfaces/aws_ssmcontacts/__init__.py +455 -0
- aws_cdk/interfaces/aws_ssmguiconnect/__init__.py +146 -0
- aws_cdk/interfaces/aws_ssmincidents/__init__.py +249 -0
- aws_cdk/interfaces/aws_ssmquicksetup/__init__.py +253 -0
- aws_cdk/interfaces/aws_sso/__init__.py +797 -0
- aws_cdk/interfaces/aws_stepfunctions/__init__.py +459 -0
- aws_cdk/interfaces/aws_supportapp/__init__.py +372 -0
- aws_cdk/interfaces/aws_synthetics/__init__.py +249 -0
- aws_cdk/interfaces/aws_systemsmanagersap/__init__.py +148 -0
- aws_cdk/interfaces/aws_timestream/__init__.py +526 -0
- aws_cdk/interfaces/aws_transfer/__init__.py +967 -0
- aws_cdk/interfaces/aws_verifiedpermissions/__init__.py +538 -0
- aws_cdk/interfaces/aws_voiceid/__init__.py +146 -0
- aws_cdk/interfaces/aws_vpclattice/__init__.py +1418 -0
- aws_cdk/interfaces/aws_waf/__init__.py +764 -0
- aws_cdk/interfaces/aws_wafregional/__init__.py +1182 -0
- aws_cdk/interfaces/aws_wafv2/__init__.py +870 -0
- aws_cdk/interfaces/aws_wisdom/__init__.py +1556 -0
- aws_cdk/interfaces/aws_workspaces/__init__.py +352 -0
- aws_cdk/interfaces/aws_workspacesinstances/__init__.py +390 -0
- aws_cdk/interfaces/aws_workspacesthinclient/__init__.py +168 -0
- aws_cdk/interfaces/aws_workspacesweb/__init__.py +1085 -0
- aws_cdk/interfaces/aws_xray/__init__.py +457 -0
- aws_cdk/pipelines/__init__.py +192 -42
- aws_cdk/region_info/__init__.py +3 -0
- aws_cdk/triggers/__init__.py +60 -18
- {aws_cdk_lib-2.200.2.dist-info → aws_cdk_lib-2.224.0.dist-info}/METADATA +338 -16
- aws_cdk_lib-2.224.0.dist-info/RECORD +584 -0
- aws_cdk_lib-2.200.2.dist-info/RECORD +0 -304
- {aws_cdk_lib-2.200.2.dist-info → aws_cdk_lib-2.224.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.200.2.dist-info → aws_cdk_lib-2.224.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.200.2.dist-info → aws_cdk_lib-2.224.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.200.2.dist-info → aws_cdk_lib-2.224.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_sns/__init__.py
CHANGED
|
@@ -125,13 +125,15 @@ my_topic = sns.Topic(self, "MyTopic")
|
|
|
125
125
|
|
|
126
126
|
# Lambda should receive only message matching the following conditions on message body:
|
|
127
127
|
# color: 'red' or 'orange'
|
|
128
|
+
# store: property must not be present
|
|
128
129
|
my_topic.add_subscription(subscriptions.LambdaSubscription(fn,
|
|
129
130
|
filter_policy_with_message_body={
|
|
130
131
|
"background": sns.FilterOrPolicy.policy({
|
|
131
132
|
"color": sns.FilterOrPolicy.filter(sns.SubscriptionFilter.string_filter(
|
|
132
133
|
allowlist=["red", "orange"]
|
|
133
134
|
))
|
|
134
|
-
})
|
|
135
|
+
}),
|
|
136
|
+
"store": sns.FilterOrPolicy.filter(sns.SubscriptionFilter.not_exists_filter())
|
|
135
137
|
}
|
|
136
138
|
))
|
|
137
139
|
```
|
|
@@ -431,12 +433,22 @@ from ..aws_iam import (
|
|
|
431
433
|
AddToResourcePolicyResult as _AddToResourcePolicyResult_1d0a53ad,
|
|
432
434
|
Grant as _Grant_a7ae64f8,
|
|
433
435
|
IGrantable as _IGrantable_71c4f5de,
|
|
434
|
-
IRole as _IRole_235f5d8e,
|
|
435
436
|
PolicyDocument as _PolicyDocument_3ac34393,
|
|
436
437
|
PolicyStatement as _PolicyStatement_0fe33853,
|
|
437
438
|
)
|
|
438
439
|
from ..aws_kms import IKey as _IKey_5f11635f
|
|
439
440
|
from ..aws_sqs import IQueue as _IQueue_7ed6f679
|
|
441
|
+
from ..interfaces.aws_iam import IRoleRef as _IRoleRef_8400221f
|
|
442
|
+
from ..interfaces.aws_sns import (
|
|
443
|
+
ISubscriptionRef as _ISubscriptionRef_6b5d0f32,
|
|
444
|
+
ITopicInlinePolicyRef as _ITopicInlinePolicyRef_e13c4e42,
|
|
445
|
+
ITopicPolicyRef as _ITopicPolicyRef_6444197a,
|
|
446
|
+
ITopicRef as _ITopicRef_29aa9a88,
|
|
447
|
+
SubscriptionReference as _SubscriptionReference_58957c21,
|
|
448
|
+
TopicInlinePolicyReference as _TopicInlinePolicyReference_9c13ec3a,
|
|
449
|
+
TopicPolicyReference as _TopicPolicyReference_150954d5,
|
|
450
|
+
TopicReference as _TopicReference_3fef3390,
|
|
451
|
+
)
|
|
440
452
|
|
|
441
453
|
|
|
442
454
|
@jsii.enum(jsii_type="aws-cdk-lib.aws_sns.BackoffFunction")
|
|
@@ -558,7 +570,7 @@ class BetweenCondition:
|
|
|
558
570
|
)
|
|
559
571
|
|
|
560
572
|
|
|
561
|
-
@jsii.implements(_IInspectable_c2943556)
|
|
573
|
+
@jsii.implements(_IInspectable_c2943556, _ISubscriptionRef_6b5d0f32)
|
|
562
574
|
class CfnSubscription(
|
|
563
575
|
_CfnResource_9df397a6,
|
|
564
576
|
metaclass=jsii.JSIIMeta,
|
|
@@ -617,7 +629,8 @@ class CfnSubscription(
|
|
|
617
629
|
replay_policy: typing.Any = None,
|
|
618
630
|
subscription_role_arn: typing.Optional[builtins.str] = None,
|
|
619
631
|
) -> None:
|
|
620
|
-
'''
|
|
632
|
+
'''Create a new ``AWS::SNS::Subscription``.
|
|
633
|
+
|
|
621
634
|
:param scope: Scope in which this resource is defined.
|
|
622
635
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
623
636
|
:param protocol: The subscription's protocol. For more information, see the ``Protocol`` parameter of the ``[Subscribe](https://docs.aws.amazon.com/sns/latest/api/API_Subscribe.html)`` action in the *Amazon SNS API Reference* .
|
|
@@ -696,6 +709,12 @@ class CfnSubscription(
|
|
|
696
709
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
697
710
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
698
711
|
|
|
712
|
+
@builtins.property
|
|
713
|
+
@jsii.member(jsii_name="subscriptionRef")
|
|
714
|
+
def subscription_ref(self) -> _SubscriptionReference_58957c21:
|
|
715
|
+
'''A reference to a Subscription resource.'''
|
|
716
|
+
return typing.cast(_SubscriptionReference_58957c21, jsii.get(self, "subscriptionRef"))
|
|
717
|
+
|
|
699
718
|
@builtins.property
|
|
700
719
|
@jsii.member(jsii_name="protocol")
|
|
701
720
|
def protocol(self) -> builtins.str:
|
|
@@ -1108,7 +1127,7 @@ class CfnSubscriptionProps:
|
|
|
1108
1127
|
)
|
|
1109
1128
|
|
|
1110
1129
|
|
|
1111
|
-
@jsii.implements(_IInspectable_c2943556, _ITaggable_36806126)
|
|
1130
|
+
@jsii.implements(_IInspectable_c2943556, _ITopicRef_29aa9a88, _ITaggable_36806126)
|
|
1112
1131
|
class CfnTopic(
|
|
1113
1132
|
_CfnResource_9df397a6,
|
|
1114
1133
|
metaclass=jsii.JSIIMeta,
|
|
@@ -1182,7 +1201,8 @@ class CfnTopic(
|
|
|
1182
1201
|
topic_name: typing.Optional[builtins.str] = None,
|
|
1183
1202
|
tracing_config: typing.Optional[builtins.str] = None,
|
|
1184
1203
|
) -> None:
|
|
1185
|
-
'''
|
|
1204
|
+
'''Create a new ``AWS::SNS::Topic``.
|
|
1205
|
+
|
|
1186
1206
|
:param scope: Scope in which this resource is defined.
|
|
1187
1207
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
1188
1208
|
:param archive_policy: The ``ArchivePolicy`` determines the number of days Amazon SNS retains messages in FIFO topics. You can set a retention period ranging from 1 to 365 days. This property is only applicable to FIFO topics; attempting to use it with standard topics will result in a creation failure.
|
|
@@ -1280,6 +1300,12 @@ class CfnTopic(
|
|
|
1280
1300
|
'''Tag Manager which manages the tags for this resource.'''
|
|
1281
1301
|
return typing.cast(_TagManager_0a598cb3, jsii.get(self, "tags"))
|
|
1282
1302
|
|
|
1303
|
+
@builtins.property
|
|
1304
|
+
@jsii.member(jsii_name="topicRef")
|
|
1305
|
+
def topic_ref(self) -> _TopicReference_3fef3390:
|
|
1306
|
+
'''A reference to a Topic resource.'''
|
|
1307
|
+
return typing.cast(_TopicReference_3fef3390, jsii.get(self, "topicRef"))
|
|
1308
|
+
|
|
1283
1309
|
@builtins.property
|
|
1284
1310
|
@jsii.member(jsii_name="archivePolicy")
|
|
1285
1311
|
def archive_policy(self) -> typing.Any:
|
|
@@ -1658,7 +1684,7 @@ class CfnTopic(
|
|
|
1658
1684
|
)
|
|
1659
1685
|
|
|
1660
1686
|
|
|
1661
|
-
@jsii.implements(_IInspectable_c2943556)
|
|
1687
|
+
@jsii.implements(_IInspectable_c2943556, _ITopicInlinePolicyRef_e13c4e42)
|
|
1662
1688
|
class CfnTopicInlinePolicy(
|
|
1663
1689
|
_CfnResource_9df397a6,
|
|
1664
1690
|
metaclass=jsii.JSIIMeta,
|
|
@@ -1692,7 +1718,8 @@ class CfnTopicInlinePolicy(
|
|
|
1692
1718
|
policy_document: typing.Any,
|
|
1693
1719
|
topic_arn: builtins.str,
|
|
1694
1720
|
) -> None:
|
|
1695
|
-
'''
|
|
1721
|
+
'''Create a new ``AWS::SNS::TopicInlinePolicy``.
|
|
1722
|
+
|
|
1696
1723
|
:param scope: Scope in which this resource is defined.
|
|
1697
1724
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
1698
1725
|
:param policy_document: A policy document that contains permissions to add to the specified Amazon SNS topic.
|
|
@@ -1743,6 +1770,12 @@ class CfnTopicInlinePolicy(
|
|
|
1743
1770
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
1744
1771
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
1745
1772
|
|
|
1773
|
+
@builtins.property
|
|
1774
|
+
@jsii.member(jsii_name="topicInlinePolicyRef")
|
|
1775
|
+
def topic_inline_policy_ref(self) -> _TopicInlinePolicyReference_9c13ec3a:
|
|
1776
|
+
'''A reference to a TopicInlinePolicy resource.'''
|
|
1777
|
+
return typing.cast(_TopicInlinePolicyReference_9c13ec3a, jsii.get(self, "topicInlinePolicyRef"))
|
|
1778
|
+
|
|
1746
1779
|
@builtins.property
|
|
1747
1780
|
@jsii.member(jsii_name="policyDocument")
|
|
1748
1781
|
def policy_document(self) -> typing.Any:
|
|
@@ -1839,7 +1872,7 @@ class CfnTopicInlinePolicyProps:
|
|
|
1839
1872
|
)
|
|
1840
1873
|
|
|
1841
1874
|
|
|
1842
|
-
@jsii.implements(_IInspectable_c2943556)
|
|
1875
|
+
@jsii.implements(_IInspectable_c2943556, _ITopicPolicyRef_6444197a)
|
|
1843
1876
|
class CfnTopicPolicy(
|
|
1844
1877
|
_CfnResource_9df397a6,
|
|
1845
1878
|
metaclass=jsii.JSIIMeta,
|
|
@@ -1875,7 +1908,8 @@ class CfnTopicPolicy(
|
|
|
1875
1908
|
policy_document: typing.Any,
|
|
1876
1909
|
topics: typing.Sequence[builtins.str],
|
|
1877
1910
|
) -> None:
|
|
1878
|
-
'''
|
|
1911
|
+
'''Create a new ``AWS::SNS::TopicPolicy``.
|
|
1912
|
+
|
|
1879
1913
|
:param scope: Scope in which this resource is defined.
|
|
1880
1914
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
1881
1915
|
:param policy_document: A policy document that contains permissions to add to the specified SNS topics.
|
|
@@ -1933,6 +1967,12 @@ class CfnTopicPolicy(
|
|
|
1933
1967
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
1934
1968
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
1935
1969
|
|
|
1970
|
+
@builtins.property
|
|
1971
|
+
@jsii.member(jsii_name="topicPolicyRef")
|
|
1972
|
+
def topic_policy_ref(self) -> _TopicPolicyReference_150954d5:
|
|
1973
|
+
'''A reference to a TopicPolicy resource.'''
|
|
1974
|
+
return typing.cast(_TopicPolicyReference_150954d5, jsii.get(self, "topicPolicyRef"))
|
|
1975
|
+
|
|
1936
1976
|
@builtins.property
|
|
1937
1977
|
@jsii.member(jsii_name="policyDocument")
|
|
1938
1978
|
def policy_document(self) -> typing.Any:
|
|
@@ -2504,13 +2544,15 @@ class FilterOrPolicy(
|
|
|
2504
2544
|
|
|
2505
2545
|
# Lambda should receive only message matching the following conditions on message body:
|
|
2506
2546
|
# color: 'red' or 'orange'
|
|
2547
|
+
# store: property must not be present
|
|
2507
2548
|
my_topic.add_subscription(subscriptions.LambdaSubscription(fn,
|
|
2508
2549
|
filter_policy_with_message_body={
|
|
2509
2550
|
"background": sns.FilterOrPolicy.policy({
|
|
2510
2551
|
"color": sns.FilterOrPolicy.filter(sns.SubscriptionFilter.string_filter(
|
|
2511
2552
|
allowlist=["red", "orange"]
|
|
2512
2553
|
))
|
|
2513
|
-
})
|
|
2554
|
+
}),
|
|
2555
|
+
"store": sns.FilterOrPolicy.filter(sns.SubscriptionFilter.not_exists_filter())
|
|
2514
2556
|
}
|
|
2515
2557
|
))
|
|
2516
2558
|
'''
|
|
@@ -2858,6 +2900,7 @@ class ITopic(
|
|
|
2858
2900
|
account: typing.Optional[builtins.str] = None,
|
|
2859
2901
|
color: typing.Optional[builtins.str] = None,
|
|
2860
2902
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
2903
|
+
id: typing.Optional[builtins.str] = None,
|
|
2861
2904
|
label: typing.Optional[builtins.str] = None,
|
|
2862
2905
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
2863
2906
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -2865,6 +2908,7 @@ class ITopic(
|
|
|
2865
2908
|
stack_region: typing.Optional[builtins.str] = None,
|
|
2866
2909
|
statistic: typing.Optional[builtins.str] = None,
|
|
2867
2910
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
2911
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
2868
2912
|
) -> _Metric_e396a4dc:
|
|
2869
2913
|
'''Return the given named metric for this Topic.
|
|
2870
2914
|
|
|
@@ -2872,6 +2916,7 @@ class ITopic(
|
|
|
2872
2916
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
2873
2917
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
2874
2918
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
2919
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
2875
2920
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
2876
2921
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
2877
2922
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -2879,6 +2924,7 @@ class ITopic(
|
|
|
2879
2924
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
2880
2925
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
2881
2926
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
2927
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
2882
2928
|
'''
|
|
2883
2929
|
...
|
|
2884
2930
|
|
|
@@ -2889,6 +2935,7 @@ class ITopic(
|
|
|
2889
2935
|
account: typing.Optional[builtins.str] = None,
|
|
2890
2936
|
color: typing.Optional[builtins.str] = None,
|
|
2891
2937
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
2938
|
+
id: typing.Optional[builtins.str] = None,
|
|
2892
2939
|
label: typing.Optional[builtins.str] = None,
|
|
2893
2940
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
2894
2941
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -2896,6 +2943,7 @@ class ITopic(
|
|
|
2896
2943
|
stack_region: typing.Optional[builtins.str] = None,
|
|
2897
2944
|
statistic: typing.Optional[builtins.str] = None,
|
|
2898
2945
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
2946
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
2899
2947
|
) -> _Metric_e396a4dc:
|
|
2900
2948
|
'''The number of messages published to your Amazon SNS topics.
|
|
2901
2949
|
|
|
@@ -2904,6 +2952,7 @@ class ITopic(
|
|
|
2904
2952
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
2905
2953
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
2906
2954
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
2955
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
2907
2956
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
2908
2957
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
2909
2958
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -2911,6 +2960,7 @@ class ITopic(
|
|
|
2911
2960
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
2912
2961
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
2913
2962
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
2963
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
2914
2964
|
'''
|
|
2915
2965
|
...
|
|
2916
2966
|
|
|
@@ -2921,6 +2971,7 @@ class ITopic(
|
|
|
2921
2971
|
account: typing.Optional[builtins.str] = None,
|
|
2922
2972
|
color: typing.Optional[builtins.str] = None,
|
|
2923
2973
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
2974
|
+
id: typing.Optional[builtins.str] = None,
|
|
2924
2975
|
label: typing.Optional[builtins.str] = None,
|
|
2925
2976
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
2926
2977
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -2928,6 +2979,7 @@ class ITopic(
|
|
|
2928
2979
|
stack_region: typing.Optional[builtins.str] = None,
|
|
2929
2980
|
statistic: typing.Optional[builtins.str] = None,
|
|
2930
2981
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
2982
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
2931
2983
|
) -> _Metric_e396a4dc:
|
|
2932
2984
|
'''The number of messages successfully delivered from your Amazon SNS topics to subscribing endpoints.
|
|
2933
2985
|
|
|
@@ -2936,6 +2988,7 @@ class ITopic(
|
|
|
2936
2988
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
2937
2989
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
2938
2990
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
2991
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
2939
2992
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
2940
2993
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
2941
2994
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -2943,6 +2996,7 @@ class ITopic(
|
|
|
2943
2996
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
2944
2997
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
2945
2998
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
2999
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
2946
3000
|
'''
|
|
2947
3001
|
...
|
|
2948
3002
|
|
|
@@ -2953,6 +3007,7 @@ class ITopic(
|
|
|
2953
3007
|
account: typing.Optional[builtins.str] = None,
|
|
2954
3008
|
color: typing.Optional[builtins.str] = None,
|
|
2955
3009
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
3010
|
+
id: typing.Optional[builtins.str] = None,
|
|
2956
3011
|
label: typing.Optional[builtins.str] = None,
|
|
2957
3012
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
2958
3013
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -2960,6 +3015,7 @@ class ITopic(
|
|
|
2960
3015
|
stack_region: typing.Optional[builtins.str] = None,
|
|
2961
3016
|
statistic: typing.Optional[builtins.str] = None,
|
|
2962
3017
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
3018
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
2963
3019
|
) -> _Metric_e396a4dc:
|
|
2964
3020
|
'''The number of messages that Amazon SNS failed to deliver.
|
|
2965
3021
|
|
|
@@ -2968,6 +3024,7 @@ class ITopic(
|
|
|
2968
3024
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
2969
3025
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
2970
3026
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
3027
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
2971
3028
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
2972
3029
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
2973
3030
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -2975,6 +3032,7 @@ class ITopic(
|
|
|
2975
3032
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
2976
3033
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
2977
3034
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
3035
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
2978
3036
|
'''
|
|
2979
3037
|
...
|
|
2980
3038
|
|
|
@@ -2985,6 +3043,7 @@ class ITopic(
|
|
|
2985
3043
|
account: typing.Optional[builtins.str] = None,
|
|
2986
3044
|
color: typing.Optional[builtins.str] = None,
|
|
2987
3045
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
3046
|
+
id: typing.Optional[builtins.str] = None,
|
|
2988
3047
|
label: typing.Optional[builtins.str] = None,
|
|
2989
3048
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
2990
3049
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -2992,6 +3051,7 @@ class ITopic(
|
|
|
2992
3051
|
stack_region: typing.Optional[builtins.str] = None,
|
|
2993
3052
|
statistic: typing.Optional[builtins.str] = None,
|
|
2994
3053
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
3054
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
2995
3055
|
) -> _Metric_e396a4dc:
|
|
2996
3056
|
'''The number of messages that were rejected by subscription filter policies.
|
|
2997
3057
|
|
|
@@ -3000,6 +3060,7 @@ class ITopic(
|
|
|
3000
3060
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
3001
3061
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
3002
3062
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
3063
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
3003
3064
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
3004
3065
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
3005
3066
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -3007,6 +3068,7 @@ class ITopic(
|
|
|
3007
3068
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
3008
3069
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
3009
3070
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
3071
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
3010
3072
|
'''
|
|
3011
3073
|
...
|
|
3012
3074
|
|
|
@@ -3017,6 +3079,7 @@ class ITopic(
|
|
|
3017
3079
|
account: typing.Optional[builtins.str] = None,
|
|
3018
3080
|
color: typing.Optional[builtins.str] = None,
|
|
3019
3081
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
3082
|
+
id: typing.Optional[builtins.str] = None,
|
|
3020
3083
|
label: typing.Optional[builtins.str] = None,
|
|
3021
3084
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
3022
3085
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -3024,6 +3087,7 @@ class ITopic(
|
|
|
3024
3087
|
stack_region: typing.Optional[builtins.str] = None,
|
|
3025
3088
|
statistic: typing.Optional[builtins.str] = None,
|
|
3026
3089
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
3090
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
3027
3091
|
) -> _Metric_e396a4dc:
|
|
3028
3092
|
'''The number of messages that were rejected by subscription filter policies because the messages' attributes are invalid.
|
|
3029
3093
|
|
|
@@ -3032,6 +3096,7 @@ class ITopic(
|
|
|
3032
3096
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
3033
3097
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
3034
3098
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
3099
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
3035
3100
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
3036
3101
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
3037
3102
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -3039,6 +3104,7 @@ class ITopic(
|
|
|
3039
3104
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
3040
3105
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
3041
3106
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
3107
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
3042
3108
|
'''
|
|
3043
3109
|
...
|
|
3044
3110
|
|
|
@@ -3049,6 +3115,7 @@ class ITopic(
|
|
|
3049
3115
|
account: typing.Optional[builtins.str] = None,
|
|
3050
3116
|
color: typing.Optional[builtins.str] = None,
|
|
3051
3117
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
3118
|
+
id: typing.Optional[builtins.str] = None,
|
|
3052
3119
|
label: typing.Optional[builtins.str] = None,
|
|
3053
3120
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
3054
3121
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -3056,6 +3123,7 @@ class ITopic(
|
|
|
3056
3123
|
stack_region: typing.Optional[builtins.str] = None,
|
|
3057
3124
|
statistic: typing.Optional[builtins.str] = None,
|
|
3058
3125
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
3126
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
3059
3127
|
) -> _Metric_e396a4dc:
|
|
3060
3128
|
'''The number of messages that were rejected by subscription filter policies because the messages have no attributes.
|
|
3061
3129
|
|
|
@@ -3064,6 +3132,7 @@ class ITopic(
|
|
|
3064
3132
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
3065
3133
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
3066
3134
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
3135
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
3067
3136
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
3068
3137
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
3069
3138
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -3071,6 +3140,7 @@ class ITopic(
|
|
|
3071
3140
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
3072
3141
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
3073
3142
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
3143
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
3074
3144
|
'''
|
|
3075
3145
|
...
|
|
3076
3146
|
|
|
@@ -3081,6 +3151,7 @@ class ITopic(
|
|
|
3081
3151
|
account: typing.Optional[builtins.str] = None,
|
|
3082
3152
|
color: typing.Optional[builtins.str] = None,
|
|
3083
3153
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
3154
|
+
id: typing.Optional[builtins.str] = None,
|
|
3084
3155
|
label: typing.Optional[builtins.str] = None,
|
|
3085
3156
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
3086
3157
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -3088,6 +3159,7 @@ class ITopic(
|
|
|
3088
3159
|
stack_region: typing.Optional[builtins.str] = None,
|
|
3089
3160
|
statistic: typing.Optional[builtins.str] = None,
|
|
3090
3161
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
3162
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
3091
3163
|
) -> _Metric_e396a4dc:
|
|
3092
3164
|
'''Metric for the size of messages published through this topic.
|
|
3093
3165
|
|
|
@@ -3096,6 +3168,7 @@ class ITopic(
|
|
|
3096
3168
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
3097
3169
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
3098
3170
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
3171
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
3099
3172
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
3100
3173
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
3101
3174
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -3103,6 +3176,7 @@ class ITopic(
|
|
|
3103
3176
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
3104
3177
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
3105
3178
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
3179
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
3106
3180
|
'''
|
|
3107
3181
|
...
|
|
3108
3182
|
|
|
@@ -3113,6 +3187,7 @@ class ITopic(
|
|
|
3113
3187
|
account: typing.Optional[builtins.str] = None,
|
|
3114
3188
|
color: typing.Optional[builtins.str] = None,
|
|
3115
3189
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
3190
|
+
id: typing.Optional[builtins.str] = None,
|
|
3116
3191
|
label: typing.Optional[builtins.str] = None,
|
|
3117
3192
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
3118
3193
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -3120,6 +3195,7 @@ class ITopic(
|
|
|
3120
3195
|
stack_region: typing.Optional[builtins.str] = None,
|
|
3121
3196
|
statistic: typing.Optional[builtins.str] = None,
|
|
3122
3197
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
3198
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
3123
3199
|
) -> _Metric_e396a4dc:
|
|
3124
3200
|
'''The charges you have accrued since the start of the current calendar month for sending SMS messages.
|
|
3125
3201
|
|
|
@@ -3128,6 +3204,7 @@ class ITopic(
|
|
|
3128
3204
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
3129
3205
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
3130
3206
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
3207
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
3131
3208
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
3132
3209
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
3133
3210
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -3135,6 +3212,7 @@ class ITopic(
|
|
|
3135
3212
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
3136
3213
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
3137
3214
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
3215
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
3138
3216
|
'''
|
|
3139
3217
|
...
|
|
3140
3218
|
|
|
@@ -3145,6 +3223,7 @@ class ITopic(
|
|
|
3145
3223
|
account: typing.Optional[builtins.str] = None,
|
|
3146
3224
|
color: typing.Optional[builtins.str] = None,
|
|
3147
3225
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
3226
|
+
id: typing.Optional[builtins.str] = None,
|
|
3148
3227
|
label: typing.Optional[builtins.str] = None,
|
|
3149
3228
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
3150
3229
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -3152,6 +3231,7 @@ class ITopic(
|
|
|
3152
3231
|
stack_region: typing.Optional[builtins.str] = None,
|
|
3153
3232
|
statistic: typing.Optional[builtins.str] = None,
|
|
3154
3233
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
3234
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
3155
3235
|
) -> _Metric_e396a4dc:
|
|
3156
3236
|
'''The rate of successful SMS message deliveries.
|
|
3157
3237
|
|
|
@@ -3160,6 +3240,7 @@ class ITopic(
|
|
|
3160
3240
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
3161
3241
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
3162
3242
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
3243
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
3163
3244
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
3164
3245
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
3165
3246
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -3167,6 +3248,7 @@ class ITopic(
|
|
|
3167
3248
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
3168
3249
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
3169
3250
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
3251
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
3170
3252
|
'''
|
|
3171
3253
|
...
|
|
3172
3254
|
|
|
@@ -3289,6 +3371,7 @@ class _ITopicProxy(
|
|
|
3289
3371
|
account: typing.Optional[builtins.str] = None,
|
|
3290
3372
|
color: typing.Optional[builtins.str] = None,
|
|
3291
3373
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
3374
|
+
id: typing.Optional[builtins.str] = None,
|
|
3292
3375
|
label: typing.Optional[builtins.str] = None,
|
|
3293
3376
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
3294
3377
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -3296,6 +3379,7 @@ class _ITopicProxy(
|
|
|
3296
3379
|
stack_region: typing.Optional[builtins.str] = None,
|
|
3297
3380
|
statistic: typing.Optional[builtins.str] = None,
|
|
3298
3381
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
3382
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
3299
3383
|
) -> _Metric_e396a4dc:
|
|
3300
3384
|
'''Return the given named metric for this Topic.
|
|
3301
3385
|
|
|
@@ -3303,6 +3387,7 @@ class _ITopicProxy(
|
|
|
3303
3387
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
3304
3388
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
3305
3389
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
3390
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
3306
3391
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
3307
3392
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
3308
3393
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -3310,6 +3395,7 @@ class _ITopicProxy(
|
|
|
3310
3395
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
3311
3396
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
3312
3397
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
3398
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
3313
3399
|
'''
|
|
3314
3400
|
if __debug__:
|
|
3315
3401
|
type_hints = typing.get_type_hints(_typecheckingstub__05c3997edd40866d6774aed03c03e55b6cf80f23f518be34bcdf19adf065db7c)
|
|
@@ -3318,6 +3404,7 @@ class _ITopicProxy(
|
|
|
3318
3404
|
account=account,
|
|
3319
3405
|
color=color,
|
|
3320
3406
|
dimensions_map=dimensions_map,
|
|
3407
|
+
id=id,
|
|
3321
3408
|
label=label,
|
|
3322
3409
|
period=period,
|
|
3323
3410
|
region=region,
|
|
@@ -3325,6 +3412,7 @@ class _ITopicProxy(
|
|
|
3325
3412
|
stack_region=stack_region,
|
|
3326
3413
|
statistic=statistic,
|
|
3327
3414
|
unit=unit,
|
|
3415
|
+
visible=visible,
|
|
3328
3416
|
)
|
|
3329
3417
|
|
|
3330
3418
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metric", [metric_name, props]))
|
|
@@ -3336,6 +3424,7 @@ class _ITopicProxy(
|
|
|
3336
3424
|
account: typing.Optional[builtins.str] = None,
|
|
3337
3425
|
color: typing.Optional[builtins.str] = None,
|
|
3338
3426
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
3427
|
+
id: typing.Optional[builtins.str] = None,
|
|
3339
3428
|
label: typing.Optional[builtins.str] = None,
|
|
3340
3429
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
3341
3430
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -3343,6 +3432,7 @@ class _ITopicProxy(
|
|
|
3343
3432
|
stack_region: typing.Optional[builtins.str] = None,
|
|
3344
3433
|
statistic: typing.Optional[builtins.str] = None,
|
|
3345
3434
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
3435
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
3346
3436
|
) -> _Metric_e396a4dc:
|
|
3347
3437
|
'''The number of messages published to your Amazon SNS topics.
|
|
3348
3438
|
|
|
@@ -3351,6 +3441,7 @@ class _ITopicProxy(
|
|
|
3351
3441
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
3352
3442
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
3353
3443
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
3444
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
3354
3445
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
3355
3446
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
3356
3447
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -3358,11 +3449,13 @@ class _ITopicProxy(
|
|
|
3358
3449
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
3359
3450
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
3360
3451
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
3452
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
3361
3453
|
'''
|
|
3362
3454
|
props = _MetricOptions_1788b62f(
|
|
3363
3455
|
account=account,
|
|
3364
3456
|
color=color,
|
|
3365
3457
|
dimensions_map=dimensions_map,
|
|
3458
|
+
id=id,
|
|
3366
3459
|
label=label,
|
|
3367
3460
|
period=period,
|
|
3368
3461
|
region=region,
|
|
@@ -3370,6 +3463,7 @@ class _ITopicProxy(
|
|
|
3370
3463
|
stack_region=stack_region,
|
|
3371
3464
|
statistic=statistic,
|
|
3372
3465
|
unit=unit,
|
|
3466
|
+
visible=visible,
|
|
3373
3467
|
)
|
|
3374
3468
|
|
|
3375
3469
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricNumberOfMessagesPublished", [props]))
|
|
@@ -3381,6 +3475,7 @@ class _ITopicProxy(
|
|
|
3381
3475
|
account: typing.Optional[builtins.str] = None,
|
|
3382
3476
|
color: typing.Optional[builtins.str] = None,
|
|
3383
3477
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
3478
|
+
id: typing.Optional[builtins.str] = None,
|
|
3384
3479
|
label: typing.Optional[builtins.str] = None,
|
|
3385
3480
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
3386
3481
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -3388,6 +3483,7 @@ class _ITopicProxy(
|
|
|
3388
3483
|
stack_region: typing.Optional[builtins.str] = None,
|
|
3389
3484
|
statistic: typing.Optional[builtins.str] = None,
|
|
3390
3485
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
3486
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
3391
3487
|
) -> _Metric_e396a4dc:
|
|
3392
3488
|
'''The number of messages successfully delivered from your Amazon SNS topics to subscribing endpoints.
|
|
3393
3489
|
|
|
@@ -3396,6 +3492,7 @@ class _ITopicProxy(
|
|
|
3396
3492
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
3397
3493
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
3398
3494
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
3495
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
3399
3496
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
3400
3497
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
3401
3498
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -3403,11 +3500,13 @@ class _ITopicProxy(
|
|
|
3403
3500
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
3404
3501
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
3405
3502
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
3503
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
3406
3504
|
'''
|
|
3407
3505
|
props = _MetricOptions_1788b62f(
|
|
3408
3506
|
account=account,
|
|
3409
3507
|
color=color,
|
|
3410
3508
|
dimensions_map=dimensions_map,
|
|
3509
|
+
id=id,
|
|
3411
3510
|
label=label,
|
|
3412
3511
|
period=period,
|
|
3413
3512
|
region=region,
|
|
@@ -3415,6 +3514,7 @@ class _ITopicProxy(
|
|
|
3415
3514
|
stack_region=stack_region,
|
|
3416
3515
|
statistic=statistic,
|
|
3417
3516
|
unit=unit,
|
|
3517
|
+
visible=visible,
|
|
3418
3518
|
)
|
|
3419
3519
|
|
|
3420
3520
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricNumberOfNotificationsDelivered", [props]))
|
|
@@ -3426,6 +3526,7 @@ class _ITopicProxy(
|
|
|
3426
3526
|
account: typing.Optional[builtins.str] = None,
|
|
3427
3527
|
color: typing.Optional[builtins.str] = None,
|
|
3428
3528
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
3529
|
+
id: typing.Optional[builtins.str] = None,
|
|
3429
3530
|
label: typing.Optional[builtins.str] = None,
|
|
3430
3531
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
3431
3532
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -3433,6 +3534,7 @@ class _ITopicProxy(
|
|
|
3433
3534
|
stack_region: typing.Optional[builtins.str] = None,
|
|
3434
3535
|
statistic: typing.Optional[builtins.str] = None,
|
|
3435
3536
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
3537
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
3436
3538
|
) -> _Metric_e396a4dc:
|
|
3437
3539
|
'''The number of messages that Amazon SNS failed to deliver.
|
|
3438
3540
|
|
|
@@ -3441,6 +3543,7 @@ class _ITopicProxy(
|
|
|
3441
3543
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
3442
3544
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
3443
3545
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
3546
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
3444
3547
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
3445
3548
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
3446
3549
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -3448,11 +3551,13 @@ class _ITopicProxy(
|
|
|
3448
3551
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
3449
3552
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
3450
3553
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
3554
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
3451
3555
|
'''
|
|
3452
3556
|
props = _MetricOptions_1788b62f(
|
|
3453
3557
|
account=account,
|
|
3454
3558
|
color=color,
|
|
3455
3559
|
dimensions_map=dimensions_map,
|
|
3560
|
+
id=id,
|
|
3456
3561
|
label=label,
|
|
3457
3562
|
period=period,
|
|
3458
3563
|
region=region,
|
|
@@ -3460,6 +3565,7 @@ class _ITopicProxy(
|
|
|
3460
3565
|
stack_region=stack_region,
|
|
3461
3566
|
statistic=statistic,
|
|
3462
3567
|
unit=unit,
|
|
3568
|
+
visible=visible,
|
|
3463
3569
|
)
|
|
3464
3570
|
|
|
3465
3571
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricNumberOfNotificationsFailed", [props]))
|
|
@@ -3471,6 +3577,7 @@ class _ITopicProxy(
|
|
|
3471
3577
|
account: typing.Optional[builtins.str] = None,
|
|
3472
3578
|
color: typing.Optional[builtins.str] = None,
|
|
3473
3579
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
3580
|
+
id: typing.Optional[builtins.str] = None,
|
|
3474
3581
|
label: typing.Optional[builtins.str] = None,
|
|
3475
3582
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
3476
3583
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -3478,6 +3585,7 @@ class _ITopicProxy(
|
|
|
3478
3585
|
stack_region: typing.Optional[builtins.str] = None,
|
|
3479
3586
|
statistic: typing.Optional[builtins.str] = None,
|
|
3480
3587
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
3588
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
3481
3589
|
) -> _Metric_e396a4dc:
|
|
3482
3590
|
'''The number of messages that were rejected by subscription filter policies.
|
|
3483
3591
|
|
|
@@ -3486,6 +3594,7 @@ class _ITopicProxy(
|
|
|
3486
3594
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
3487
3595
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
3488
3596
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
3597
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
3489
3598
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
3490
3599
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
3491
3600
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -3493,11 +3602,13 @@ class _ITopicProxy(
|
|
|
3493
3602
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
3494
3603
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
3495
3604
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
3605
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
3496
3606
|
'''
|
|
3497
3607
|
props = _MetricOptions_1788b62f(
|
|
3498
3608
|
account=account,
|
|
3499
3609
|
color=color,
|
|
3500
3610
|
dimensions_map=dimensions_map,
|
|
3611
|
+
id=id,
|
|
3501
3612
|
label=label,
|
|
3502
3613
|
period=period,
|
|
3503
3614
|
region=region,
|
|
@@ -3505,6 +3616,7 @@ class _ITopicProxy(
|
|
|
3505
3616
|
stack_region=stack_region,
|
|
3506
3617
|
statistic=statistic,
|
|
3507
3618
|
unit=unit,
|
|
3619
|
+
visible=visible,
|
|
3508
3620
|
)
|
|
3509
3621
|
|
|
3510
3622
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricNumberOfNotificationsFilteredOut", [props]))
|
|
@@ -3516,6 +3628,7 @@ class _ITopicProxy(
|
|
|
3516
3628
|
account: typing.Optional[builtins.str] = None,
|
|
3517
3629
|
color: typing.Optional[builtins.str] = None,
|
|
3518
3630
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
3631
|
+
id: typing.Optional[builtins.str] = None,
|
|
3519
3632
|
label: typing.Optional[builtins.str] = None,
|
|
3520
3633
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
3521
3634
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -3523,6 +3636,7 @@ class _ITopicProxy(
|
|
|
3523
3636
|
stack_region: typing.Optional[builtins.str] = None,
|
|
3524
3637
|
statistic: typing.Optional[builtins.str] = None,
|
|
3525
3638
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
3639
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
3526
3640
|
) -> _Metric_e396a4dc:
|
|
3527
3641
|
'''The number of messages that were rejected by subscription filter policies because the messages' attributes are invalid.
|
|
3528
3642
|
|
|
@@ -3531,6 +3645,7 @@ class _ITopicProxy(
|
|
|
3531
3645
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
3532
3646
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
3533
3647
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
3648
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
3534
3649
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
3535
3650
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
3536
3651
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -3538,11 +3653,13 @@ class _ITopicProxy(
|
|
|
3538
3653
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
3539
3654
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
3540
3655
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
3656
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
3541
3657
|
'''
|
|
3542
3658
|
props = _MetricOptions_1788b62f(
|
|
3543
3659
|
account=account,
|
|
3544
3660
|
color=color,
|
|
3545
3661
|
dimensions_map=dimensions_map,
|
|
3662
|
+
id=id,
|
|
3546
3663
|
label=label,
|
|
3547
3664
|
period=period,
|
|
3548
3665
|
region=region,
|
|
@@ -3550,6 +3667,7 @@ class _ITopicProxy(
|
|
|
3550
3667
|
stack_region=stack_region,
|
|
3551
3668
|
statistic=statistic,
|
|
3552
3669
|
unit=unit,
|
|
3670
|
+
visible=visible,
|
|
3553
3671
|
)
|
|
3554
3672
|
|
|
3555
3673
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricNumberOfNotificationsFilteredOutInvalidAttributes", [props]))
|
|
@@ -3561,6 +3679,7 @@ class _ITopicProxy(
|
|
|
3561
3679
|
account: typing.Optional[builtins.str] = None,
|
|
3562
3680
|
color: typing.Optional[builtins.str] = None,
|
|
3563
3681
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
3682
|
+
id: typing.Optional[builtins.str] = None,
|
|
3564
3683
|
label: typing.Optional[builtins.str] = None,
|
|
3565
3684
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
3566
3685
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -3568,6 +3687,7 @@ class _ITopicProxy(
|
|
|
3568
3687
|
stack_region: typing.Optional[builtins.str] = None,
|
|
3569
3688
|
statistic: typing.Optional[builtins.str] = None,
|
|
3570
3689
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
3690
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
3571
3691
|
) -> _Metric_e396a4dc:
|
|
3572
3692
|
'''The number of messages that were rejected by subscription filter policies because the messages have no attributes.
|
|
3573
3693
|
|
|
@@ -3576,6 +3696,7 @@ class _ITopicProxy(
|
|
|
3576
3696
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
3577
3697
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
3578
3698
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
3699
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
3579
3700
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
3580
3701
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
3581
3702
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -3583,11 +3704,13 @@ class _ITopicProxy(
|
|
|
3583
3704
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
3584
3705
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
3585
3706
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
3707
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
3586
3708
|
'''
|
|
3587
3709
|
props = _MetricOptions_1788b62f(
|
|
3588
3710
|
account=account,
|
|
3589
3711
|
color=color,
|
|
3590
3712
|
dimensions_map=dimensions_map,
|
|
3713
|
+
id=id,
|
|
3591
3714
|
label=label,
|
|
3592
3715
|
period=period,
|
|
3593
3716
|
region=region,
|
|
@@ -3595,6 +3718,7 @@ class _ITopicProxy(
|
|
|
3595
3718
|
stack_region=stack_region,
|
|
3596
3719
|
statistic=statistic,
|
|
3597
3720
|
unit=unit,
|
|
3721
|
+
visible=visible,
|
|
3598
3722
|
)
|
|
3599
3723
|
|
|
3600
3724
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricNumberOfNotificationsFilteredOutNoMessageAttributes", [props]))
|
|
@@ -3606,6 +3730,7 @@ class _ITopicProxy(
|
|
|
3606
3730
|
account: typing.Optional[builtins.str] = None,
|
|
3607
3731
|
color: typing.Optional[builtins.str] = None,
|
|
3608
3732
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
3733
|
+
id: typing.Optional[builtins.str] = None,
|
|
3609
3734
|
label: typing.Optional[builtins.str] = None,
|
|
3610
3735
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
3611
3736
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -3613,6 +3738,7 @@ class _ITopicProxy(
|
|
|
3613
3738
|
stack_region: typing.Optional[builtins.str] = None,
|
|
3614
3739
|
statistic: typing.Optional[builtins.str] = None,
|
|
3615
3740
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
3741
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
3616
3742
|
) -> _Metric_e396a4dc:
|
|
3617
3743
|
'''Metric for the size of messages published through this topic.
|
|
3618
3744
|
|
|
@@ -3621,6 +3747,7 @@ class _ITopicProxy(
|
|
|
3621
3747
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
3622
3748
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
3623
3749
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
3750
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
3624
3751
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
3625
3752
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
3626
3753
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -3628,11 +3755,13 @@ class _ITopicProxy(
|
|
|
3628
3755
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
3629
3756
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
3630
3757
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
3758
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
3631
3759
|
'''
|
|
3632
3760
|
props = _MetricOptions_1788b62f(
|
|
3633
3761
|
account=account,
|
|
3634
3762
|
color=color,
|
|
3635
3763
|
dimensions_map=dimensions_map,
|
|
3764
|
+
id=id,
|
|
3636
3765
|
label=label,
|
|
3637
3766
|
period=period,
|
|
3638
3767
|
region=region,
|
|
@@ -3640,6 +3769,7 @@ class _ITopicProxy(
|
|
|
3640
3769
|
stack_region=stack_region,
|
|
3641
3770
|
statistic=statistic,
|
|
3642
3771
|
unit=unit,
|
|
3772
|
+
visible=visible,
|
|
3643
3773
|
)
|
|
3644
3774
|
|
|
3645
3775
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPublishSize", [props]))
|
|
@@ -3651,6 +3781,7 @@ class _ITopicProxy(
|
|
|
3651
3781
|
account: typing.Optional[builtins.str] = None,
|
|
3652
3782
|
color: typing.Optional[builtins.str] = None,
|
|
3653
3783
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
3784
|
+
id: typing.Optional[builtins.str] = None,
|
|
3654
3785
|
label: typing.Optional[builtins.str] = None,
|
|
3655
3786
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
3656
3787
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -3658,6 +3789,7 @@ class _ITopicProxy(
|
|
|
3658
3789
|
stack_region: typing.Optional[builtins.str] = None,
|
|
3659
3790
|
statistic: typing.Optional[builtins.str] = None,
|
|
3660
3791
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
3792
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
3661
3793
|
) -> _Metric_e396a4dc:
|
|
3662
3794
|
'''The charges you have accrued since the start of the current calendar month for sending SMS messages.
|
|
3663
3795
|
|
|
@@ -3666,6 +3798,7 @@ class _ITopicProxy(
|
|
|
3666
3798
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
3667
3799
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
3668
3800
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
3801
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
3669
3802
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
3670
3803
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
3671
3804
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -3673,11 +3806,13 @@ class _ITopicProxy(
|
|
|
3673
3806
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
3674
3807
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
3675
3808
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
3809
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
3676
3810
|
'''
|
|
3677
3811
|
props = _MetricOptions_1788b62f(
|
|
3678
3812
|
account=account,
|
|
3679
3813
|
color=color,
|
|
3680
3814
|
dimensions_map=dimensions_map,
|
|
3815
|
+
id=id,
|
|
3681
3816
|
label=label,
|
|
3682
3817
|
period=period,
|
|
3683
3818
|
region=region,
|
|
@@ -3685,6 +3820,7 @@ class _ITopicProxy(
|
|
|
3685
3820
|
stack_region=stack_region,
|
|
3686
3821
|
statistic=statistic,
|
|
3687
3822
|
unit=unit,
|
|
3823
|
+
visible=visible,
|
|
3688
3824
|
)
|
|
3689
3825
|
|
|
3690
3826
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricSMSMonthToDateSpentUSD", [props]))
|
|
@@ -3696,6 +3832,7 @@ class _ITopicProxy(
|
|
|
3696
3832
|
account: typing.Optional[builtins.str] = None,
|
|
3697
3833
|
color: typing.Optional[builtins.str] = None,
|
|
3698
3834
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
3835
|
+
id: typing.Optional[builtins.str] = None,
|
|
3699
3836
|
label: typing.Optional[builtins.str] = None,
|
|
3700
3837
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
3701
3838
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -3703,6 +3840,7 @@ class _ITopicProxy(
|
|
|
3703
3840
|
stack_region: typing.Optional[builtins.str] = None,
|
|
3704
3841
|
statistic: typing.Optional[builtins.str] = None,
|
|
3705
3842
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
3843
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
3706
3844
|
) -> _Metric_e396a4dc:
|
|
3707
3845
|
'''The rate of successful SMS message deliveries.
|
|
3708
3846
|
|
|
@@ -3711,6 +3849,7 @@ class _ITopicProxy(
|
|
|
3711
3849
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
3712
3850
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
3713
3851
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
3852
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
3714
3853
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
3715
3854
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
3716
3855
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -3718,11 +3857,13 @@ class _ITopicProxy(
|
|
|
3718
3857
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
3719
3858
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
3720
3859
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
3860
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
3721
3861
|
'''
|
|
3722
3862
|
props = _MetricOptions_1788b62f(
|
|
3723
3863
|
account=account,
|
|
3724
3864
|
color=color,
|
|
3725
3865
|
dimensions_map=dimensions_map,
|
|
3866
|
+
id=id,
|
|
3726
3867
|
label=label,
|
|
3727
3868
|
period=period,
|
|
3728
3869
|
region=region,
|
|
@@ -3730,6 +3871,7 @@ class _ITopicProxy(
|
|
|
3730
3871
|
stack_region=stack_region,
|
|
3731
3872
|
statistic=statistic,
|
|
3732
3873
|
unit=unit,
|
|
3874
|
+
visible=visible,
|
|
3733
3875
|
)
|
|
3734
3876
|
|
|
3735
3877
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricSMSSuccessRate", [props]))
|
|
@@ -3786,8 +3928,8 @@ class LoggingConfig:
|
|
|
3786
3928
|
self,
|
|
3787
3929
|
*,
|
|
3788
3930
|
protocol: "LoggingProtocol",
|
|
3789
|
-
failure_feedback_role: typing.Optional[
|
|
3790
|
-
success_feedback_role: typing.Optional[
|
|
3931
|
+
failure_feedback_role: typing.Optional[_IRoleRef_8400221f] = None,
|
|
3932
|
+
success_feedback_role: typing.Optional[_IRoleRef_8400221f] = None,
|
|
3791
3933
|
success_feedback_sample_rate: typing.Optional[jsii.Number] = None,
|
|
3792
3934
|
) -> None:
|
|
3793
3935
|
'''A logging configuration for delivery status of messages sent from SNS topic to subscribed endpoints.
|
|
@@ -3837,22 +3979,22 @@ class LoggingConfig:
|
|
|
3837
3979
|
return typing.cast("LoggingProtocol", result)
|
|
3838
3980
|
|
|
3839
3981
|
@builtins.property
|
|
3840
|
-
def failure_feedback_role(self) -> typing.Optional[
|
|
3982
|
+
def failure_feedback_role(self) -> typing.Optional[_IRoleRef_8400221f]:
|
|
3841
3983
|
'''The IAM role to be used when logging failed message deliveries in Amazon CloudWatch.
|
|
3842
3984
|
|
|
3843
3985
|
:default: None
|
|
3844
3986
|
'''
|
|
3845
3987
|
result = self._values.get("failure_feedback_role")
|
|
3846
|
-
return typing.cast(typing.Optional[
|
|
3988
|
+
return typing.cast(typing.Optional[_IRoleRef_8400221f], result)
|
|
3847
3989
|
|
|
3848
3990
|
@builtins.property
|
|
3849
|
-
def success_feedback_role(self) -> typing.Optional[
|
|
3991
|
+
def success_feedback_role(self) -> typing.Optional[_IRoleRef_8400221f]:
|
|
3850
3992
|
'''The IAM role to be used when logging successful message deliveries in Amazon CloudWatch.
|
|
3851
3993
|
|
|
3852
3994
|
:default: None
|
|
3853
3995
|
'''
|
|
3854
3996
|
result = self._values.get("success_feedback_role")
|
|
3855
|
-
return typing.cast(typing.Optional[
|
|
3997
|
+
return typing.cast(typing.Optional[_IRoleRef_8400221f], result)
|
|
3856
3998
|
|
|
3857
3999
|
@builtins.property
|
|
3858
4000
|
def success_feedback_sample_rate(self) -> typing.Optional[jsii.Number]:
|
|
@@ -4468,6 +4610,12 @@ class SubscriptionFilter(
|
|
|
4468
4610
|
'''Returns a subscription filter for attribute key matching.'''
|
|
4469
4611
|
return typing.cast("SubscriptionFilter", jsii.sinvoke(cls, "existsFilter", []))
|
|
4470
4612
|
|
|
4613
|
+
@jsii.member(jsii_name="notExistsFilter")
|
|
4614
|
+
@builtins.classmethod
|
|
4615
|
+
def not_exists_filter(cls) -> "SubscriptionFilter":
|
|
4616
|
+
'''Returns a subscription filter for absence of attribute key.'''
|
|
4617
|
+
return typing.cast("SubscriptionFilter", jsii.sinvoke(cls, "notExistsFilter", []))
|
|
4618
|
+
|
|
4471
4619
|
@jsii.member(jsii_name="numericFilter")
|
|
4472
4620
|
@builtins.classmethod
|
|
4473
4621
|
def numeric_filter(
|
|
@@ -5308,6 +5456,7 @@ class TopicBase(
|
|
|
5308
5456
|
account: typing.Optional[builtins.str] = None,
|
|
5309
5457
|
color: typing.Optional[builtins.str] = None,
|
|
5310
5458
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
5459
|
+
id: typing.Optional[builtins.str] = None,
|
|
5311
5460
|
label: typing.Optional[builtins.str] = None,
|
|
5312
5461
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
5313
5462
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -5315,6 +5464,7 @@ class TopicBase(
|
|
|
5315
5464
|
stack_region: typing.Optional[builtins.str] = None,
|
|
5316
5465
|
statistic: typing.Optional[builtins.str] = None,
|
|
5317
5466
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
5467
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
5318
5468
|
) -> _Metric_e396a4dc:
|
|
5319
5469
|
'''Return the given named metric for this Topic.
|
|
5320
5470
|
|
|
@@ -5322,6 +5472,7 @@ class TopicBase(
|
|
|
5322
5472
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
5323
5473
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
5324
5474
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
5475
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
5325
5476
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
5326
5477
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
5327
5478
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -5329,6 +5480,7 @@ class TopicBase(
|
|
|
5329
5480
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
5330
5481
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
5331
5482
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
5483
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
5332
5484
|
'''
|
|
5333
5485
|
if __debug__:
|
|
5334
5486
|
type_hints = typing.get_type_hints(_typecheckingstub__b07969d7a2c71869715d0fe87d9b0d9d67f663ddecc9d81d353ba532fdaa3b8d)
|
|
@@ -5337,6 +5489,7 @@ class TopicBase(
|
|
|
5337
5489
|
account=account,
|
|
5338
5490
|
color=color,
|
|
5339
5491
|
dimensions_map=dimensions_map,
|
|
5492
|
+
id=id,
|
|
5340
5493
|
label=label,
|
|
5341
5494
|
period=period,
|
|
5342
5495
|
region=region,
|
|
@@ -5344,6 +5497,7 @@ class TopicBase(
|
|
|
5344
5497
|
stack_region=stack_region,
|
|
5345
5498
|
statistic=statistic,
|
|
5346
5499
|
unit=unit,
|
|
5500
|
+
visible=visible,
|
|
5347
5501
|
)
|
|
5348
5502
|
|
|
5349
5503
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metric", [metric_name, props]))
|
|
@@ -5355,6 +5509,7 @@ class TopicBase(
|
|
|
5355
5509
|
account: typing.Optional[builtins.str] = None,
|
|
5356
5510
|
color: typing.Optional[builtins.str] = None,
|
|
5357
5511
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
5512
|
+
id: typing.Optional[builtins.str] = None,
|
|
5358
5513
|
label: typing.Optional[builtins.str] = None,
|
|
5359
5514
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
5360
5515
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -5362,6 +5517,7 @@ class TopicBase(
|
|
|
5362
5517
|
stack_region: typing.Optional[builtins.str] = None,
|
|
5363
5518
|
statistic: typing.Optional[builtins.str] = None,
|
|
5364
5519
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
5520
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
5365
5521
|
) -> _Metric_e396a4dc:
|
|
5366
5522
|
'''The number of messages published to your Amazon SNS topics.
|
|
5367
5523
|
|
|
@@ -5370,6 +5526,7 @@ class TopicBase(
|
|
|
5370
5526
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
5371
5527
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
5372
5528
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
5529
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
5373
5530
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
5374
5531
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
5375
5532
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -5377,11 +5534,13 @@ class TopicBase(
|
|
|
5377
5534
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
5378
5535
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
5379
5536
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
5537
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
5380
5538
|
'''
|
|
5381
5539
|
props = _MetricOptions_1788b62f(
|
|
5382
5540
|
account=account,
|
|
5383
5541
|
color=color,
|
|
5384
5542
|
dimensions_map=dimensions_map,
|
|
5543
|
+
id=id,
|
|
5385
5544
|
label=label,
|
|
5386
5545
|
period=period,
|
|
5387
5546
|
region=region,
|
|
@@ -5389,6 +5548,7 @@ class TopicBase(
|
|
|
5389
5548
|
stack_region=stack_region,
|
|
5390
5549
|
statistic=statistic,
|
|
5391
5550
|
unit=unit,
|
|
5551
|
+
visible=visible,
|
|
5392
5552
|
)
|
|
5393
5553
|
|
|
5394
5554
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricNumberOfMessagesPublished", [props]))
|
|
@@ -5400,6 +5560,7 @@ class TopicBase(
|
|
|
5400
5560
|
account: typing.Optional[builtins.str] = None,
|
|
5401
5561
|
color: typing.Optional[builtins.str] = None,
|
|
5402
5562
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
5563
|
+
id: typing.Optional[builtins.str] = None,
|
|
5403
5564
|
label: typing.Optional[builtins.str] = None,
|
|
5404
5565
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
5405
5566
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -5407,6 +5568,7 @@ class TopicBase(
|
|
|
5407
5568
|
stack_region: typing.Optional[builtins.str] = None,
|
|
5408
5569
|
statistic: typing.Optional[builtins.str] = None,
|
|
5409
5570
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
5571
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
5410
5572
|
) -> _Metric_e396a4dc:
|
|
5411
5573
|
'''The number of messages successfully delivered from your Amazon SNS topics to subscribing endpoints.
|
|
5412
5574
|
|
|
@@ -5415,6 +5577,7 @@ class TopicBase(
|
|
|
5415
5577
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
5416
5578
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
5417
5579
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
5580
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
5418
5581
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
5419
5582
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
5420
5583
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -5422,11 +5585,13 @@ class TopicBase(
|
|
|
5422
5585
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
5423
5586
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
5424
5587
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
5588
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
5425
5589
|
'''
|
|
5426
5590
|
props = _MetricOptions_1788b62f(
|
|
5427
5591
|
account=account,
|
|
5428
5592
|
color=color,
|
|
5429
5593
|
dimensions_map=dimensions_map,
|
|
5594
|
+
id=id,
|
|
5430
5595
|
label=label,
|
|
5431
5596
|
period=period,
|
|
5432
5597
|
region=region,
|
|
@@ -5434,6 +5599,7 @@ class TopicBase(
|
|
|
5434
5599
|
stack_region=stack_region,
|
|
5435
5600
|
statistic=statistic,
|
|
5436
5601
|
unit=unit,
|
|
5602
|
+
visible=visible,
|
|
5437
5603
|
)
|
|
5438
5604
|
|
|
5439
5605
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricNumberOfNotificationsDelivered", [props]))
|
|
@@ -5445,6 +5611,7 @@ class TopicBase(
|
|
|
5445
5611
|
account: typing.Optional[builtins.str] = None,
|
|
5446
5612
|
color: typing.Optional[builtins.str] = None,
|
|
5447
5613
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
5614
|
+
id: typing.Optional[builtins.str] = None,
|
|
5448
5615
|
label: typing.Optional[builtins.str] = None,
|
|
5449
5616
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
5450
5617
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -5452,6 +5619,7 @@ class TopicBase(
|
|
|
5452
5619
|
stack_region: typing.Optional[builtins.str] = None,
|
|
5453
5620
|
statistic: typing.Optional[builtins.str] = None,
|
|
5454
5621
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
5622
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
5455
5623
|
) -> _Metric_e396a4dc:
|
|
5456
5624
|
'''The number of messages that Amazon SNS failed to deliver.
|
|
5457
5625
|
|
|
@@ -5460,6 +5628,7 @@ class TopicBase(
|
|
|
5460
5628
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
5461
5629
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
5462
5630
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
5631
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
5463
5632
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
5464
5633
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
5465
5634
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -5467,11 +5636,13 @@ class TopicBase(
|
|
|
5467
5636
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
5468
5637
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
5469
5638
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
5639
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
5470
5640
|
'''
|
|
5471
5641
|
props = _MetricOptions_1788b62f(
|
|
5472
5642
|
account=account,
|
|
5473
5643
|
color=color,
|
|
5474
5644
|
dimensions_map=dimensions_map,
|
|
5645
|
+
id=id,
|
|
5475
5646
|
label=label,
|
|
5476
5647
|
period=period,
|
|
5477
5648
|
region=region,
|
|
@@ -5479,6 +5650,7 @@ class TopicBase(
|
|
|
5479
5650
|
stack_region=stack_region,
|
|
5480
5651
|
statistic=statistic,
|
|
5481
5652
|
unit=unit,
|
|
5653
|
+
visible=visible,
|
|
5482
5654
|
)
|
|
5483
5655
|
|
|
5484
5656
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricNumberOfNotificationsFailed", [props]))
|
|
@@ -5490,6 +5662,7 @@ class TopicBase(
|
|
|
5490
5662
|
account: typing.Optional[builtins.str] = None,
|
|
5491
5663
|
color: typing.Optional[builtins.str] = None,
|
|
5492
5664
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
5665
|
+
id: typing.Optional[builtins.str] = None,
|
|
5493
5666
|
label: typing.Optional[builtins.str] = None,
|
|
5494
5667
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
5495
5668
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -5497,6 +5670,7 @@ class TopicBase(
|
|
|
5497
5670
|
stack_region: typing.Optional[builtins.str] = None,
|
|
5498
5671
|
statistic: typing.Optional[builtins.str] = None,
|
|
5499
5672
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
5673
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
5500
5674
|
) -> _Metric_e396a4dc:
|
|
5501
5675
|
'''The number of messages that were rejected by subscription filter policies.
|
|
5502
5676
|
|
|
@@ -5505,6 +5679,7 @@ class TopicBase(
|
|
|
5505
5679
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
5506
5680
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
5507
5681
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
5682
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
5508
5683
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
5509
5684
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
5510
5685
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -5512,11 +5687,13 @@ class TopicBase(
|
|
|
5512
5687
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
5513
5688
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
5514
5689
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
5690
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
5515
5691
|
'''
|
|
5516
5692
|
props = _MetricOptions_1788b62f(
|
|
5517
5693
|
account=account,
|
|
5518
5694
|
color=color,
|
|
5519
5695
|
dimensions_map=dimensions_map,
|
|
5696
|
+
id=id,
|
|
5520
5697
|
label=label,
|
|
5521
5698
|
period=period,
|
|
5522
5699
|
region=region,
|
|
@@ -5524,6 +5701,7 @@ class TopicBase(
|
|
|
5524
5701
|
stack_region=stack_region,
|
|
5525
5702
|
statistic=statistic,
|
|
5526
5703
|
unit=unit,
|
|
5704
|
+
visible=visible,
|
|
5527
5705
|
)
|
|
5528
5706
|
|
|
5529
5707
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricNumberOfNotificationsFilteredOut", [props]))
|
|
@@ -5535,6 +5713,7 @@ class TopicBase(
|
|
|
5535
5713
|
account: typing.Optional[builtins.str] = None,
|
|
5536
5714
|
color: typing.Optional[builtins.str] = None,
|
|
5537
5715
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
5716
|
+
id: typing.Optional[builtins.str] = None,
|
|
5538
5717
|
label: typing.Optional[builtins.str] = None,
|
|
5539
5718
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
5540
5719
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -5542,6 +5721,7 @@ class TopicBase(
|
|
|
5542
5721
|
stack_region: typing.Optional[builtins.str] = None,
|
|
5543
5722
|
statistic: typing.Optional[builtins.str] = None,
|
|
5544
5723
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
5724
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
5545
5725
|
) -> _Metric_e396a4dc:
|
|
5546
5726
|
'''The number of messages that were rejected by subscription filter policies because the messages' attributes are invalid.
|
|
5547
5727
|
|
|
@@ -5550,6 +5730,7 @@ class TopicBase(
|
|
|
5550
5730
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
5551
5731
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
5552
5732
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
5733
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
5553
5734
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
5554
5735
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
5555
5736
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -5557,11 +5738,13 @@ class TopicBase(
|
|
|
5557
5738
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
5558
5739
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
5559
5740
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
5741
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
5560
5742
|
'''
|
|
5561
5743
|
props = _MetricOptions_1788b62f(
|
|
5562
5744
|
account=account,
|
|
5563
5745
|
color=color,
|
|
5564
5746
|
dimensions_map=dimensions_map,
|
|
5747
|
+
id=id,
|
|
5565
5748
|
label=label,
|
|
5566
5749
|
period=period,
|
|
5567
5750
|
region=region,
|
|
@@ -5569,6 +5752,7 @@ class TopicBase(
|
|
|
5569
5752
|
stack_region=stack_region,
|
|
5570
5753
|
statistic=statistic,
|
|
5571
5754
|
unit=unit,
|
|
5755
|
+
visible=visible,
|
|
5572
5756
|
)
|
|
5573
5757
|
|
|
5574
5758
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricNumberOfNotificationsFilteredOutInvalidAttributes", [props]))
|
|
@@ -5580,6 +5764,7 @@ class TopicBase(
|
|
|
5580
5764
|
account: typing.Optional[builtins.str] = None,
|
|
5581
5765
|
color: typing.Optional[builtins.str] = None,
|
|
5582
5766
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
5767
|
+
id: typing.Optional[builtins.str] = None,
|
|
5583
5768
|
label: typing.Optional[builtins.str] = None,
|
|
5584
5769
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
5585
5770
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -5587,6 +5772,7 @@ class TopicBase(
|
|
|
5587
5772
|
stack_region: typing.Optional[builtins.str] = None,
|
|
5588
5773
|
statistic: typing.Optional[builtins.str] = None,
|
|
5589
5774
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
5775
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
5590
5776
|
) -> _Metric_e396a4dc:
|
|
5591
5777
|
'''The number of messages that were rejected by subscription filter policies because the messages have no attributes.
|
|
5592
5778
|
|
|
@@ -5595,6 +5781,7 @@ class TopicBase(
|
|
|
5595
5781
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
5596
5782
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
5597
5783
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
5784
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
5598
5785
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
5599
5786
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
5600
5787
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -5602,11 +5789,13 @@ class TopicBase(
|
|
|
5602
5789
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
5603
5790
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
5604
5791
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
5792
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
5605
5793
|
'''
|
|
5606
5794
|
props = _MetricOptions_1788b62f(
|
|
5607
5795
|
account=account,
|
|
5608
5796
|
color=color,
|
|
5609
5797
|
dimensions_map=dimensions_map,
|
|
5798
|
+
id=id,
|
|
5610
5799
|
label=label,
|
|
5611
5800
|
period=period,
|
|
5612
5801
|
region=region,
|
|
@@ -5614,6 +5803,7 @@ class TopicBase(
|
|
|
5614
5803
|
stack_region=stack_region,
|
|
5615
5804
|
statistic=statistic,
|
|
5616
5805
|
unit=unit,
|
|
5806
|
+
visible=visible,
|
|
5617
5807
|
)
|
|
5618
5808
|
|
|
5619
5809
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricNumberOfNotificationsFilteredOutNoMessageAttributes", [props]))
|
|
@@ -5625,6 +5815,7 @@ class TopicBase(
|
|
|
5625
5815
|
account: typing.Optional[builtins.str] = None,
|
|
5626
5816
|
color: typing.Optional[builtins.str] = None,
|
|
5627
5817
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
5818
|
+
id: typing.Optional[builtins.str] = None,
|
|
5628
5819
|
label: typing.Optional[builtins.str] = None,
|
|
5629
5820
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
5630
5821
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -5632,6 +5823,7 @@ class TopicBase(
|
|
|
5632
5823
|
stack_region: typing.Optional[builtins.str] = None,
|
|
5633
5824
|
statistic: typing.Optional[builtins.str] = None,
|
|
5634
5825
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
5826
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
5635
5827
|
) -> _Metric_e396a4dc:
|
|
5636
5828
|
'''Metric for the size of messages published through this topic.
|
|
5637
5829
|
|
|
@@ -5640,6 +5832,7 @@ class TopicBase(
|
|
|
5640
5832
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
5641
5833
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
5642
5834
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
5835
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
5643
5836
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
5644
5837
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
5645
5838
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -5647,11 +5840,13 @@ class TopicBase(
|
|
|
5647
5840
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
5648
5841
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
5649
5842
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
5843
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
5650
5844
|
'''
|
|
5651
5845
|
props = _MetricOptions_1788b62f(
|
|
5652
5846
|
account=account,
|
|
5653
5847
|
color=color,
|
|
5654
5848
|
dimensions_map=dimensions_map,
|
|
5849
|
+
id=id,
|
|
5655
5850
|
label=label,
|
|
5656
5851
|
period=period,
|
|
5657
5852
|
region=region,
|
|
@@ -5659,6 +5854,7 @@ class TopicBase(
|
|
|
5659
5854
|
stack_region=stack_region,
|
|
5660
5855
|
statistic=statistic,
|
|
5661
5856
|
unit=unit,
|
|
5857
|
+
visible=visible,
|
|
5662
5858
|
)
|
|
5663
5859
|
|
|
5664
5860
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPublishSize", [props]))
|
|
@@ -5670,6 +5866,7 @@ class TopicBase(
|
|
|
5670
5866
|
account: typing.Optional[builtins.str] = None,
|
|
5671
5867
|
color: typing.Optional[builtins.str] = None,
|
|
5672
5868
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
5869
|
+
id: typing.Optional[builtins.str] = None,
|
|
5673
5870
|
label: typing.Optional[builtins.str] = None,
|
|
5674
5871
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
5675
5872
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -5677,6 +5874,7 @@ class TopicBase(
|
|
|
5677
5874
|
stack_region: typing.Optional[builtins.str] = None,
|
|
5678
5875
|
statistic: typing.Optional[builtins.str] = None,
|
|
5679
5876
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
5877
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
5680
5878
|
) -> _Metric_e396a4dc:
|
|
5681
5879
|
'''The charges you have accrued since the start of the current calendar month for sending SMS messages.
|
|
5682
5880
|
|
|
@@ -5685,6 +5883,7 @@ class TopicBase(
|
|
|
5685
5883
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
5686
5884
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
5687
5885
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
5886
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
5688
5887
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
5689
5888
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
5690
5889
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -5692,11 +5891,13 @@ class TopicBase(
|
|
|
5692
5891
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
5693
5892
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
5694
5893
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
5894
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
5695
5895
|
'''
|
|
5696
5896
|
props = _MetricOptions_1788b62f(
|
|
5697
5897
|
account=account,
|
|
5698
5898
|
color=color,
|
|
5699
5899
|
dimensions_map=dimensions_map,
|
|
5900
|
+
id=id,
|
|
5700
5901
|
label=label,
|
|
5701
5902
|
period=period,
|
|
5702
5903
|
region=region,
|
|
@@ -5704,6 +5905,7 @@ class TopicBase(
|
|
|
5704
5905
|
stack_region=stack_region,
|
|
5705
5906
|
statistic=statistic,
|
|
5706
5907
|
unit=unit,
|
|
5908
|
+
visible=visible,
|
|
5707
5909
|
)
|
|
5708
5910
|
|
|
5709
5911
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricSMSMonthToDateSpentUSD", [props]))
|
|
@@ -5715,6 +5917,7 @@ class TopicBase(
|
|
|
5715
5917
|
account: typing.Optional[builtins.str] = None,
|
|
5716
5918
|
color: typing.Optional[builtins.str] = None,
|
|
5717
5919
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
5920
|
+
id: typing.Optional[builtins.str] = None,
|
|
5718
5921
|
label: typing.Optional[builtins.str] = None,
|
|
5719
5922
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
5720
5923
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -5722,6 +5925,7 @@ class TopicBase(
|
|
|
5722
5925
|
stack_region: typing.Optional[builtins.str] = None,
|
|
5723
5926
|
statistic: typing.Optional[builtins.str] = None,
|
|
5724
5927
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
5928
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
5725
5929
|
) -> _Metric_e396a4dc:
|
|
5726
5930
|
'''The rate of successful SMS message deliveries.
|
|
5727
5931
|
|
|
@@ -5730,6 +5934,7 @@ class TopicBase(
|
|
|
5730
5934
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
5731
5935
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
5732
5936
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
5937
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
5733
5938
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
5734
5939
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
5735
5940
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -5737,11 +5942,13 @@ class TopicBase(
|
|
|
5737
5942
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
5738
5943
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
5739
5944
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
5945
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
5740
5946
|
'''
|
|
5741
5947
|
props = _MetricOptions_1788b62f(
|
|
5742
5948
|
account=account,
|
|
5743
5949
|
color=color,
|
|
5744
5950
|
dimensions_map=dimensions_map,
|
|
5951
|
+
id=id,
|
|
5745
5952
|
label=label,
|
|
5746
5953
|
period=period,
|
|
5747
5954
|
region=region,
|
|
@@ -5749,6 +5956,7 @@ class TopicBase(
|
|
|
5749
5956
|
stack_region=stack_region,
|
|
5750
5957
|
statistic=statistic,
|
|
5751
5958
|
unit=unit,
|
|
5959
|
+
visible=visible,
|
|
5752
5960
|
)
|
|
5753
5961
|
|
|
5754
5962
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricSMSSuccessRate", [props]))
|
|
@@ -6650,17 +6858,18 @@ class Topic(TopicBase, metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_sns.T
|
|
|
6650
6858
|
|
|
6651
6859
|
Example::
|
|
6652
6860
|
|
|
6653
|
-
import aws_cdk.
|
|
6654
|
-
# stream: firehose.DeliveryStream
|
|
6861
|
+
import aws_cdk.aws_sns as sns
|
|
6655
6862
|
|
|
6656
6863
|
|
|
6657
|
-
topic = sns.Topic(self, "
|
|
6864
|
+
topic = sns.Topic(self, "MyTopic")
|
|
6658
6865
|
|
|
6659
|
-
|
|
6660
|
-
|
|
6661
|
-
|
|
6662
|
-
|
|
6663
|
-
|
|
6866
|
+
topic_rule = iot.TopicRule(self, "TopicRule",
|
|
6867
|
+
sql=iot.IotSql.from_string_as_ver20160323("SELECT topic(2) as device_id, year, month, day FROM 'device/+/data'"),
|
|
6868
|
+
actions=[
|
|
6869
|
+
actions.SnsTopicAction(topic,
|
|
6870
|
+
message_format=actions.SnsActionMessageFormat.JSON
|
|
6871
|
+
)
|
|
6872
|
+
]
|
|
6664
6873
|
)
|
|
6665
6874
|
'''
|
|
6666
6875
|
|
|
@@ -6773,8 +6982,8 @@ class Topic(TopicBase, metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_sns.T
|
|
|
6773
6982
|
self,
|
|
6774
6983
|
*,
|
|
6775
6984
|
protocol: LoggingProtocol,
|
|
6776
|
-
failure_feedback_role: typing.Optional[
|
|
6777
|
-
success_feedback_role: typing.Optional[
|
|
6985
|
+
failure_feedback_role: typing.Optional[_IRoleRef_8400221f] = None,
|
|
6986
|
+
success_feedback_role: typing.Optional[_IRoleRef_8400221f] = None,
|
|
6778
6987
|
success_feedback_sample_rate: typing.Optional[jsii.Number] = None,
|
|
6779
6988
|
) -> None:
|
|
6780
6989
|
'''Adds a delivery status logging configuration to the topic.
|
|
@@ -7306,6 +7515,7 @@ def _typecheckingstub__05c3997edd40866d6774aed03c03e55b6cf80f23f518be34bcdf19adf
|
|
|
7306
7515
|
account: typing.Optional[builtins.str] = None,
|
|
7307
7516
|
color: typing.Optional[builtins.str] = None,
|
|
7308
7517
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
7518
|
+
id: typing.Optional[builtins.str] = None,
|
|
7309
7519
|
label: typing.Optional[builtins.str] = None,
|
|
7310
7520
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
7311
7521
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -7313,6 +7523,7 @@ def _typecheckingstub__05c3997edd40866d6774aed03c03e55b6cf80f23f518be34bcdf19adf
|
|
|
7313
7523
|
stack_region: typing.Optional[builtins.str] = None,
|
|
7314
7524
|
statistic: typing.Optional[builtins.str] = None,
|
|
7315
7525
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
7526
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
7316
7527
|
) -> None:
|
|
7317
7528
|
"""Type checking stubs"""
|
|
7318
7529
|
pass
|
|
@@ -7326,8 +7537,8 @@ def _typecheckingstub__daf70c7f74db8d44ef157cdd3df3a90e91ac1b55f6be3c7ec557b2c6d
|
|
|
7326
7537
|
def _typecheckingstub__f9eb41e45f77d56f958dda8c78b2c068faf3edbd60bc3b2a62a19317f5490622(
|
|
7327
7538
|
*,
|
|
7328
7539
|
protocol: LoggingProtocol,
|
|
7329
|
-
failure_feedback_role: typing.Optional[
|
|
7330
|
-
success_feedback_role: typing.Optional[
|
|
7540
|
+
failure_feedback_role: typing.Optional[_IRoleRef_8400221f] = None,
|
|
7541
|
+
success_feedback_role: typing.Optional[_IRoleRef_8400221f] = None,
|
|
7331
7542
|
success_feedback_sample_rate: typing.Optional[jsii.Number] = None,
|
|
7332
7543
|
) -> None:
|
|
7333
7544
|
"""Type checking stubs"""
|
|
@@ -7488,6 +7699,7 @@ def _typecheckingstub__b07969d7a2c71869715d0fe87d9b0d9d67f663ddecc9d81d353ba532f
|
|
|
7488
7699
|
account: typing.Optional[builtins.str] = None,
|
|
7489
7700
|
color: typing.Optional[builtins.str] = None,
|
|
7490
7701
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
7702
|
+
id: typing.Optional[builtins.str] = None,
|
|
7491
7703
|
label: typing.Optional[builtins.str] = None,
|
|
7492
7704
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
7493
7705
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -7495,6 +7707,7 @@ def _typecheckingstub__b07969d7a2c71869715d0fe87d9b0d9d67f663ddecc9d81d353ba532f
|
|
|
7495
7707
|
stack_region: typing.Optional[builtins.str] = None,
|
|
7496
7708
|
statistic: typing.Optional[builtins.str] = None,
|
|
7497
7709
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
7710
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
7498
7711
|
) -> None:
|
|
7499
7712
|
"""Type checking stubs"""
|
|
7500
7713
|
pass
|
|
@@ -7609,3 +7822,6 @@ def _typecheckingstub__3116994a7284b362cb667f2b74c1b4035605be5e3339d6c2782787473
|
|
|
7609
7822
|
) -> None:
|
|
7610
7823
|
"""Type checking stubs"""
|
|
7611
7824
|
pass
|
|
7825
|
+
|
|
7826
|
+
for cls in [ITopic, ITopicSubscription]:
|
|
7827
|
+
typing.cast(typing.Any, cls).__protocol_attrs__ = typing.cast(typing.Any, cls).__protocol_attrs__ - set(['__jsii_proxy_class__', '__jsii_type__'])
|