aws-cdk-lib 2.219.0__py3-none-any.whl → 2.221.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of aws-cdk-lib might be problematic. Click here for more details.
- aws_cdk/__init__.py +33 -35
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.219.0.jsii.tgz → aws-cdk-lib@2.221.0.jsii.tgz} +0 -0
- aws_cdk/alexa_ask/__init__.py +3 -0
- aws_cdk/aws_accessanalyzer/__init__.py +3 -0
- aws_cdk/aws_acmpca/__init__.py +4 -1
- aws_cdk/aws_aiops/__init__.py +3 -0
- aws_cdk/aws_amazonmq/__init__.py +3 -29
- aws_cdk/aws_amplify/__init__.py +3 -0
- aws_cdk/aws_amplifyuibuilder/__init__.py +3 -0
- aws_cdk/aws_apigateway/__init__.py +3 -0
- aws_cdk/aws_apigatewayv2/__init__.py +3 -0
- aws_cdk/aws_appconfig/__init__.py +3 -29
- aws_cdk/aws_appflow/__init__.py +3 -0
- aws_cdk/aws_appintegrations/__init__.py +3 -0
- aws_cdk/aws_applicationautoscaling/__init__.py +3 -0
- aws_cdk/aws_applicationinsights/__init__.py +3 -0
- aws_cdk/aws_applicationsignals/__init__.py +453 -2
- aws_cdk/aws_appmesh/__init__.py +3 -0
- aws_cdk/aws_apprunner/__init__.py +3 -0
- aws_cdk/aws_appstream/__init__.py +3 -0
- aws_cdk/aws_appsync/__init__.py +3 -0
- aws_cdk/aws_apptest/__init__.py +3 -0
- aws_cdk/aws_aps/__init__.py +1168 -83
- aws_cdk/aws_arcregionswitch/__init__.py +11 -0
- aws_cdk/aws_arczonalshift/__init__.py +3 -0
- aws_cdk/aws_athena/__init__.py +3 -0
- aws_cdk/aws_auditmanager/__init__.py +3 -0
- aws_cdk/aws_autoscaling/__init__.py +3 -0
- aws_cdk/aws_autoscaling_common/__init__.py +3 -0
- aws_cdk/aws_autoscalingplans/__init__.py +3 -0
- aws_cdk/aws_b2bi/__init__.py +3 -0
- aws_cdk/aws_backup/__init__.py +32 -29
- aws_cdk/aws_backupgateway/__init__.py +3 -0
- aws_cdk/aws_batch/__init__.py +112 -7
- aws_cdk/aws_bcmdataexports/__init__.py +3 -0
- aws_cdk/aws_bedrock/__init__.py +53 -45
- aws_cdk/aws_bedrockagentcore/__init__.py +8499 -1732
- aws_cdk/aws_billingconductor/__init__.py +3 -0
- aws_cdk/aws_budgets/__init__.py +3 -0
- aws_cdk/aws_cassandra/__init__.py +3 -0
- aws_cdk/aws_ce/__init__.py +3 -0
- aws_cdk/aws_certificatemanager/__init__.py +3 -0
- aws_cdk/aws_chatbot/__init__.py +3 -0
- aws_cdk/aws_cleanrooms/__init__.py +3 -0
- aws_cdk/aws_cleanroomsml/__init__.py +3 -0
- aws_cdk/aws_cloud9/__init__.py +3 -0
- aws_cdk/aws_cloudformation/__init__.py +3 -0
- aws_cdk/aws_cloudfront/__init__.py +69 -3
- aws_cdk/aws_cloudfront/experimental/__init__.py +4 -0
- aws_cdk/aws_cloudfront_origins/__init__.py +87 -6
- aws_cdk/aws_cloudtrail/__init__.py +3 -0
- aws_cdk/aws_cloudwatch/__init__.py +8 -5
- aws_cdk/aws_codeartifact/__init__.py +3 -0
- aws_cdk/aws_codebuild/__init__.py +3 -0
- aws_cdk/aws_codecommit/__init__.py +3 -0
- aws_cdk/aws_codeconnections/__init__.py +3 -0
- aws_cdk/aws_codedeploy/__init__.py +3 -0
- aws_cdk/aws_codeguruprofiler/__init__.py +3 -0
- aws_cdk/aws_codegurureviewer/__init__.py +3 -0
- aws_cdk/aws_codepipeline/__init__.py +3 -0
- aws_cdk/aws_codepipeline_actions/__init__.py +3 -0
- aws_cdk/aws_codestar/__init__.py +3 -0
- aws_cdk/aws_codestarconnections/__init__.py +3 -0
- aws_cdk/aws_codestarnotifications/__init__.py +3 -0
- aws_cdk/aws_cognito/__init__.py +9 -4
- aws_cdk/aws_cognito_identitypool/__init__.py +3 -0
- aws_cdk/aws_comprehend/__init__.py +3 -0
- aws_cdk/aws_config/__init__.py +3 -0
- aws_cdk/aws_connect/__init__.py +1232 -2
- aws_cdk/aws_connectcampaigns/__init__.py +3 -0
- aws_cdk/aws_connectcampaignsv2/__init__.py +3 -0
- aws_cdk/aws_controltower/__init__.py +3 -0
- aws_cdk/aws_cur/__init__.py +3 -0
- aws_cdk/aws_customerprofiles/__init__.py +3 -29
- aws_cdk/aws_databrew/__init__.py +3 -0
- aws_cdk/aws_datapipeline/__init__.py +3 -0
- aws_cdk/aws_datasync/__init__.py +3 -0
- aws_cdk/aws_datazone/__init__.py +17 -15
- aws_cdk/aws_dax/__init__.py +15 -3
- aws_cdk/aws_deadline/__init__.py +3 -0
- aws_cdk/aws_detective/__init__.py +3 -0
- aws_cdk/aws_devicefarm/__init__.py +3 -0
- aws_cdk/aws_devopsguru/__init__.py +3 -0
- aws_cdk/aws_directoryservice/__init__.py +32 -0
- aws_cdk/aws_dlm/__init__.py +3 -0
- aws_cdk/aws_dms/__init__.py +3 -0
- aws_cdk/aws_docdb/__init__.py +14 -3
- aws_cdk/aws_docdbelastic/__init__.py +3 -0
- aws_cdk/aws_dsql/__init__.py +3 -0
- aws_cdk/aws_dynamodb/__init__.py +3 -0
- aws_cdk/aws_ec2/__init__.py +205 -48
- aws_cdk/aws_ecr/__init__.py +156 -33
- aws_cdk/aws_ecs/__init__.py +429 -182
- aws_cdk/aws_efs/__init__.py +3 -0
- aws_cdk/aws_eks/__init__.py +117 -67
- aws_cdk/aws_elasticache/__init__.py +3 -0
- aws_cdk/aws_elasticbeanstalk/__init__.py +3 -0
- aws_cdk/aws_elasticloadbalancing/__init__.py +3 -0
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +445 -36
- aws_cdk/aws_elasticsearch/__init__.py +3 -0
- aws_cdk/aws_emr/__init__.py +3 -0
- aws_cdk/aws_emrcontainers/__init__.py +3 -0
- aws_cdk/aws_emrserverless/__init__.py +12 -11
- aws_cdk/aws_entityresolution/__init__.py +3 -0
- aws_cdk/aws_events/__init__.py +73 -29
- aws_cdk/aws_events_targets/__init__.py +3 -0
- aws_cdk/aws_eventschemas/__init__.py +3 -0
- aws_cdk/aws_evidently/__init__.py +3 -0
- aws_cdk/aws_evs/__init__.py +3 -0
- aws_cdk/aws_finspace/__init__.py +3 -0
- aws_cdk/aws_fis/__init__.py +3 -0
- aws_cdk/aws_fms/__init__.py +3 -0
- aws_cdk/aws_forecast/__init__.py +3 -0
- aws_cdk/aws_frauddetector/__init__.py +3 -0
- aws_cdk/aws_fsx/__init__.py +7 -4
- aws_cdk/aws_gamelift/__init__.py +3 -0
- aws_cdk/aws_gameliftstreams/__init__.py +8 -5
- aws_cdk/aws_globalaccelerator/__init__.py +3 -0
- aws_cdk/aws_glue/__init__.py +11 -80
- aws_cdk/aws_grafana/__init__.py +3 -0
- aws_cdk/aws_greengrass/__init__.py +3 -0
- aws_cdk/aws_greengrassv2/__init__.py +3 -0
- aws_cdk/aws_groundstation/__init__.py +3 -0
- aws_cdk/aws_guardduty/__init__.py +3 -0
- aws_cdk/aws_healthimaging/__init__.py +3 -0
- aws_cdk/aws_healthlake/__init__.py +3 -0
- aws_cdk/aws_iam/__init__.py +30 -32
- aws_cdk/aws_identitystore/__init__.py +3 -0
- aws_cdk/aws_imagebuilder/__init__.py +896 -0
- aws_cdk/aws_inspector/__init__.py +3 -0
- aws_cdk/aws_inspectorv2/__init__.py +3 -0
- aws_cdk/aws_internetmonitor/__init__.py +3 -0
- aws_cdk/aws_invoicing/__init__.py +3 -0
- aws_cdk/aws_iot/__init__.py +3 -0
- aws_cdk/aws_iotanalytics/__init__.py +3 -0
- aws_cdk/aws_iotcoredeviceadvisor/__init__.py +3 -0
- aws_cdk/aws_iotevents/__init__.py +3 -0
- aws_cdk/aws_iotfleethub/__init__.py +3 -0
- aws_cdk/aws_iotfleetwise/__init__.py +3 -0
- aws_cdk/aws_iotsitewise/__init__.py +139 -80
- aws_cdk/aws_iotthingsgraph/__init__.py +3 -0
- aws_cdk/aws_iottwinmaker/__init__.py +3 -87
- aws_cdk/aws_iotwireless/__init__.py +61 -0
- aws_cdk/aws_ivs/__init__.py +3 -0
- aws_cdk/aws_ivschat/__init__.py +3 -0
- aws_cdk/aws_kafkaconnect/__init__.py +3 -0
- aws_cdk/aws_kendra/__init__.py +3 -58
- aws_cdk/aws_kendraranking/__init__.py +3 -0
- aws_cdk/aws_kinesis/__init__.py +98 -4
- aws_cdk/aws_kinesisanalytics/__init__.py +3 -0
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +3 -0
- aws_cdk/aws_kinesisfirehose/__init__.py +1709 -10
- aws_cdk/aws_kinesisvideo/__init__.py +3 -29
- aws_cdk/aws_kms/__init__.py +3 -0
- aws_cdk/aws_lakeformation/__init__.py +3 -0
- aws_cdk/aws_lambda/__init__.py +57 -7
- aws_cdk/aws_lambda_nodejs/__init__.py +3 -0
- aws_cdk/aws_launchwizard/__init__.py +3 -0
- aws_cdk/aws_lex/__init__.py +3 -29
- aws_cdk/aws_licensemanager/__init__.py +3 -0
- aws_cdk/aws_lightsail/__init__.py +587 -0
- aws_cdk/aws_location/__init__.py +3 -0
- aws_cdk/aws_logs/__init__.py +283 -9
- aws_cdk/aws_lookoutequipment/__init__.py +3 -29
- aws_cdk/aws_lookoutmetrics/__init__.py +17 -2
- aws_cdk/aws_lookoutvision/__init__.py +3 -0
- aws_cdk/aws_m2/__init__.py +62 -13
- aws_cdk/aws_macie/__init__.py +3 -0
- aws_cdk/aws_managedblockchain/__init__.py +3 -0
- aws_cdk/aws_mediaconnect/__init__.py +3 -0
- aws_cdk/aws_mediaconvert/__init__.py +3 -0
- aws_cdk/aws_medialive/__init__.py +279 -33
- aws_cdk/aws_mediapackage/__init__.py +3 -0
- aws_cdk/aws_mediapackagev2/__init__.py +3 -0
- aws_cdk/aws_mediastore/__init__.py +3 -0
- aws_cdk/aws_mediatailor/__init__.py +3 -58
- aws_cdk/aws_memorydb/__init__.py +3 -0
- aws_cdk/aws_mpa/__init__.py +3 -0
- aws_cdk/aws_msk/__init__.py +3 -0
- aws_cdk/aws_mwaa/__init__.py +8 -5
- aws_cdk/aws_neptune/__init__.py +188 -70
- aws_cdk/aws_neptunegraph/__init__.py +3 -0
- aws_cdk/aws_networkfirewall/__init__.py +3 -0
- aws_cdk/aws_networkmanager/__init__.py +32 -0
- aws_cdk/aws_nimblestudio/__init__.py +3 -0
- aws_cdk/aws_notifications/__init__.py +3 -0
- aws_cdk/aws_notificationscontacts/__init__.py +3 -0
- aws_cdk/aws_oam/__init__.py +3 -0
- aws_cdk/aws_observabilityadmin/__init__.py +1365 -187
- aws_cdk/aws_odb/__init__.py +4 -1
- aws_cdk/aws_omics/__init__.py +10 -1
- aws_cdk/aws_opensearchserverless/__init__.py +3 -0
- aws_cdk/aws_opensearchservice/__init__.py +9 -0
- aws_cdk/aws_opsworks/__init__.py +3 -0
- aws_cdk/aws_opsworkscm/__init__.py +3 -0
- aws_cdk/aws_organizations/__init__.py +3 -116
- aws_cdk/aws_osis/__init__.py +157 -0
- aws_cdk/aws_panorama/__init__.py +3 -0
- aws_cdk/aws_paymentcryptography/__init__.py +3 -0
- aws_cdk/aws_pcaconnectorad/__init__.py +3 -0
- aws_cdk/aws_pcaconnectorscep/__init__.py +3 -0
- aws_cdk/aws_pcs/__init__.py +227 -33
- aws_cdk/aws_personalize/__init__.py +3 -0
- aws_cdk/aws_pinpoint/__init__.py +61 -58
- aws_cdk/aws_pinpointemail/__init__.py +3 -0
- aws_cdk/aws_pipes/__init__.py +3 -0
- aws_cdk/aws_proton/__init__.py +3 -0
- aws_cdk/aws_qbusiness/__init__.py +3 -174
- aws_cdk/aws_qldb/__init__.py +3 -29
- aws_cdk/aws_quicksight/__init__.py +493 -406
- aws_cdk/aws_ram/__init__.py +3 -0
- aws_cdk/aws_rbin/__init__.py +3 -0
- aws_cdk/aws_rds/__init__.py +71 -42
- aws_cdk/aws_redshift/__init__.py +3 -0
- aws_cdk/aws_redshiftserverless/__init__.py +3 -0
- aws_cdk/aws_refactorspaces/__init__.py +21 -6
- aws_cdk/aws_rekognition/__init__.py +3 -29
- aws_cdk/aws_resiliencehub/__init__.py +3 -0
- aws_cdk/aws_resourceexplorer2/__init__.py +3 -0
- aws_cdk/aws_resourcegroups/__init__.py +3 -0
- aws_cdk/aws_robomaker/__init__.py +3 -0
- aws_cdk/aws_rolesanywhere/__init__.py +3 -0
- aws_cdk/aws_route53/__init__.py +148 -24
- aws_cdk/aws_route53_targets/__init__.py +3 -0
- aws_cdk/aws_route53profiles/__init__.py +3 -0
- aws_cdk/aws_route53recoverycontrol/__init__.py +3 -0
- aws_cdk/aws_route53recoveryreadiness/__init__.py +3 -0
- aws_cdk/aws_route53resolver/__init__.py +11 -4
- aws_cdk/aws_rum/__init__.py +3 -0
- aws_cdk/aws_s3/__init__.py +80 -43
- aws_cdk/aws_s3_deployment/__init__.py +3 -0
- aws_cdk/aws_s3express/__init__.py +3 -0
- aws_cdk/aws_s3objectlambda/__init__.py +47 -12
- aws_cdk/aws_s3outposts/__init__.py +3 -0
- aws_cdk/aws_s3tables/__init__.py +3 -0
- aws_cdk/aws_sagemaker/__init__.py +166 -87
- aws_cdk/aws_sam/__init__.py +3 -0
- aws_cdk/aws_scheduler/__init__.py +3 -29
- aws_cdk/aws_sdb/__init__.py +3 -0
- aws_cdk/aws_secretsmanager/__init__.py +3 -0
- aws_cdk/aws_securityhub/__init__.py +3 -0
- aws_cdk/aws_securitylake/__init__.py +3 -0
- aws_cdk/aws_servicecatalog/__init__.py +161 -144
- aws_cdk/aws_servicecatalogappregistry/__init__.py +3 -0
- aws_cdk/aws_servicediscovery/__init__.py +3 -0
- aws_cdk/aws_ses/__init__.py +3 -0
- aws_cdk/aws_shield/__init__.py +3 -0
- aws_cdk/aws_signer/__init__.py +3 -0
- aws_cdk/aws_simspaceweaver/__init__.py +3 -0
- aws_cdk/aws_smsvoice/__init__.py +3 -29
- aws_cdk/aws_sns/__init__.py +3 -0
- aws_cdk/aws_sqs/__init__.py +3 -0
- aws_cdk/aws_ssm/__init__.py +10 -3
- aws_cdk/aws_ssmcontacts/__init__.py +3 -0
- aws_cdk/aws_ssmguiconnect/__init__.py +3 -0
- aws_cdk/aws_ssmincidents/__init__.py +3 -0
- aws_cdk/aws_ssmquicksetup/__init__.py +470 -3
- aws_cdk/aws_sso/__init__.py +3 -0
- aws_cdk/aws_stepfunctions/__init__.py +23 -19
- aws_cdk/aws_stepfunctions_tasks/__init__.py +6 -3
- aws_cdk/aws_supportapp/__init__.py +3 -0
- aws_cdk/aws_synthetics/__init__.py +80 -27
- aws_cdk/aws_systemsmanagersap/__init__.py +3 -0
- aws_cdk/aws_timestream/__init__.py +3 -29
- aws_cdk/aws_transfer/__init__.py +20 -34
- aws_cdk/aws_verifiedpermissions/__init__.py +3 -0
- aws_cdk/aws_voiceid/__init__.py +3 -0
- aws_cdk/aws_vpclattice/__init__.py +7 -4
- aws_cdk/aws_waf/__init__.py +3 -0
- aws_cdk/aws_wafregional/__init__.py +3 -0
- aws_cdk/aws_wafv2/__init__.py +3 -0
- aws_cdk/aws_wisdom/__init__.py +3 -116
- aws_cdk/aws_workspaces/__init__.py +3 -0
- aws_cdk/aws_workspacesinstances/__init__.py +3 -0
- aws_cdk/aws_workspacesthinclient/__init__.py +3 -0
- aws_cdk/aws_workspacesweb/__init__.py +3 -0
- aws_cdk/aws_xray/__init__.py +3 -0
- aws_cdk/cloud_assembly_schema/__init__.py +3 -0
- aws_cdk/cx_api/__init__.py +34 -0
- aws_cdk/pipelines/__init__.py +3 -0
- aws_cdk/region_info/__init__.py +3 -0
- aws_cdk/triggers/__init__.py +3 -0
- {aws_cdk_lib-2.219.0.dist-info → aws_cdk_lib-2.221.0.dist-info}/METADATA +2 -2
- aws_cdk_lib-2.221.0.dist-info/RECORD +313 -0
- aws_cdk_lib-2.219.0.dist-info/RECORD +0 -313
- {aws_cdk_lib-2.219.0.dist-info → aws_cdk_lib-2.221.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.219.0.dist-info → aws_cdk_lib-2.221.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.219.0.dist-info → aws_cdk_lib-2.221.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.219.0.dist-info → aws_cdk_lib-2.221.0.dist-info}/top_level.txt +0 -0
|
@@ -1780,27 +1780,6 @@ class CfnComponentType(
|
|
|
1780
1780
|
|
|
1781
1781
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
1782
1782
|
|
|
1783
|
-
@jsii.member(jsii_name="fromComponentTypeArn")
|
|
1784
|
-
@builtins.classmethod
|
|
1785
|
-
def from_component_type_arn(
|
|
1786
|
-
cls,
|
|
1787
|
-
scope: _constructs_77d1e7e8.Construct,
|
|
1788
|
-
id: builtins.str,
|
|
1789
|
-
arn: builtins.str,
|
|
1790
|
-
) -> IComponentTypeRef:
|
|
1791
|
-
'''Creates a new IComponentTypeRef from an ARN.
|
|
1792
|
-
|
|
1793
|
-
:param scope: -
|
|
1794
|
-
:param id: -
|
|
1795
|
-
:param arn: -
|
|
1796
|
-
'''
|
|
1797
|
-
if __debug__:
|
|
1798
|
-
type_hints = typing.get_type_hints(_typecheckingstub__01e60868da9b6ff554b5fc3de29ef4834645ddcc00b1ccf22f619d24afc254ca)
|
|
1799
|
-
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
1800
|
-
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
1801
|
-
check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
|
|
1802
|
-
return typing.cast(IComponentTypeRef, jsii.sinvoke(cls, "fromComponentTypeArn", [scope, id, arn]))
|
|
1803
|
-
|
|
1804
1783
|
@jsii.member(jsii_name="inspect")
|
|
1805
1784
|
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
1806
1785
|
'''Examines the CloudFormation resource and discloses attributes.
|
|
@@ -3439,27 +3418,6 @@ class CfnEntity(
|
|
|
3439
3418
|
|
|
3440
3419
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
3441
3420
|
|
|
3442
|
-
@jsii.member(jsii_name="fromEntityArn")
|
|
3443
|
-
@builtins.classmethod
|
|
3444
|
-
def from_entity_arn(
|
|
3445
|
-
cls,
|
|
3446
|
-
scope: _constructs_77d1e7e8.Construct,
|
|
3447
|
-
id: builtins.str,
|
|
3448
|
-
arn: builtins.str,
|
|
3449
|
-
) -> IEntityRef:
|
|
3450
|
-
'''Creates a new IEntityRef from an ARN.
|
|
3451
|
-
|
|
3452
|
-
:param scope: -
|
|
3453
|
-
:param id: -
|
|
3454
|
-
:param arn: -
|
|
3455
|
-
'''
|
|
3456
|
-
if __debug__:
|
|
3457
|
-
type_hints = typing.get_type_hints(_typecheckingstub__a8923c741298a13c9948c5e71638be29d5be7fe7915a1c231861617160b9e243)
|
|
3458
|
-
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
3459
|
-
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
3460
|
-
check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
|
|
3461
|
-
return typing.cast(IEntityRef, jsii.sinvoke(cls, "fromEntityArn", [scope, id, arn]))
|
|
3462
|
-
|
|
3463
3421
|
@jsii.member(jsii_name="inspect")
|
|
3464
3422
|
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
3465
3423
|
'''Examines the CloudFormation resource and discloses attributes.
|
|
@@ -5210,27 +5168,6 @@ class CfnScene(
|
|
|
5210
5168
|
|
|
5211
5169
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
5212
5170
|
|
|
5213
|
-
@jsii.member(jsii_name="fromSceneArn")
|
|
5214
|
-
@builtins.classmethod
|
|
5215
|
-
def from_scene_arn(
|
|
5216
|
-
cls,
|
|
5217
|
-
scope: _constructs_77d1e7e8.Construct,
|
|
5218
|
-
id: builtins.str,
|
|
5219
|
-
arn: builtins.str,
|
|
5220
|
-
) -> ISceneRef:
|
|
5221
|
-
'''Creates a new ISceneRef from an ARN.
|
|
5222
|
-
|
|
5223
|
-
:param scope: -
|
|
5224
|
-
:param id: -
|
|
5225
|
-
:param arn: -
|
|
5226
|
-
'''
|
|
5227
|
-
if __debug__:
|
|
5228
|
-
type_hints = typing.get_type_hints(_typecheckingstub__ff33969e14159ae4c17d08af5f2354d27d24b498ca417791311ebf95b85df357)
|
|
5229
|
-
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
5230
|
-
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
5231
|
-
check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
|
|
5232
|
-
return typing.cast(ISceneRef, jsii.sinvoke(cls, "fromSceneArn", [scope, id, arn]))
|
|
5233
|
-
|
|
5234
5171
|
@jsii.member(jsii_name="inspect")
|
|
5235
5172
|
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
5236
5173
|
'''Examines the CloudFormation resource and discloses attributes.
|
|
@@ -6015,14 +5952,6 @@ def _typecheckingstub__b8644c92bbff89aa9e628d0fdc0ded7a2f9a39289146f897d6c9e6d84
|
|
|
6015
5952
|
"""Type checking stubs"""
|
|
6016
5953
|
pass
|
|
6017
5954
|
|
|
6018
|
-
def _typecheckingstub__01e60868da9b6ff554b5fc3de29ef4834645ddcc00b1ccf22f619d24afc254ca(
|
|
6019
|
-
scope: _constructs_77d1e7e8.Construct,
|
|
6020
|
-
id: builtins.str,
|
|
6021
|
-
arn: builtins.str,
|
|
6022
|
-
) -> None:
|
|
6023
|
-
"""Type checking stubs"""
|
|
6024
|
-
pass
|
|
6025
|
-
|
|
6026
5955
|
def _typecheckingstub__c9021df5b01719a9f8ef0ced4ac31ece64c48f2d9a6f8a2a8e1b3dc52181751a(
|
|
6027
5956
|
inspector: _TreeInspector_488e0dd5,
|
|
6028
5957
|
) -> None:
|
|
@@ -6221,14 +6150,6 @@ def _typecheckingstub__6e1a29b5ee0db8b0f9fe80447cc93db85e2ed400b28a3c61bfca379d2
|
|
|
6221
6150
|
"""Type checking stubs"""
|
|
6222
6151
|
pass
|
|
6223
6152
|
|
|
6224
|
-
def _typecheckingstub__a8923c741298a13c9948c5e71638be29d5be7fe7915a1c231861617160b9e243(
|
|
6225
|
-
scope: _constructs_77d1e7e8.Construct,
|
|
6226
|
-
id: builtins.str,
|
|
6227
|
-
arn: builtins.str,
|
|
6228
|
-
) -> None:
|
|
6229
|
-
"""Type checking stubs"""
|
|
6230
|
-
pass
|
|
6231
|
-
|
|
6232
6153
|
def _typecheckingstub__e51d270d4440681d46f1e667f106ed384931f38df7092845daad0ed9f82b4739(
|
|
6233
6154
|
inspector: _TreeInspector_488e0dd5,
|
|
6234
6155
|
) -> None:
|
|
@@ -6420,14 +6341,6 @@ def _typecheckingstub__80e723b8d84cf2c976c8c38d181a6082d3d8068ee103592ec3b3ba4c1
|
|
|
6420
6341
|
"""Type checking stubs"""
|
|
6421
6342
|
pass
|
|
6422
6343
|
|
|
6423
|
-
def _typecheckingstub__ff33969e14159ae4c17d08af5f2354d27d24b498ca417791311ebf95b85df357(
|
|
6424
|
-
scope: _constructs_77d1e7e8.Construct,
|
|
6425
|
-
id: builtins.str,
|
|
6426
|
-
arn: builtins.str,
|
|
6427
|
-
) -> None:
|
|
6428
|
-
"""Type checking stubs"""
|
|
6429
|
-
pass
|
|
6430
|
-
|
|
6431
6344
|
def _typecheckingstub__d7ac259a68f733194753cd8d59f080da530527147659943b6caacf6661e6917a(
|
|
6432
6345
|
inspector: _TreeInspector_488e0dd5,
|
|
6433
6346
|
) -> None:
|
|
@@ -6600,3 +6513,6 @@ def _typecheckingstub__c446d54dbed29cc835e16bcc1e47c242abc0fa4a7c115f00f8cb85515
|
|
|
6600
6513
|
) -> None:
|
|
6601
6514
|
"""Type checking stubs"""
|
|
6602
6515
|
pass
|
|
6516
|
+
|
|
6517
|
+
for cls in [IComponentTypeRef, IEntityRef, ISceneRef, ISyncJobRef, IWorkspaceRef]:
|
|
6518
|
+
typing.cast(typing.Any, cls).__protocol_attrs__ = typing.cast(typing.Any, cls).__protocol_attrs__ - set(['__jsii_proxy_class__', '__jsii_type__'])
|
|
@@ -8180,6 +8180,48 @@ class CfnWirelessDeviceImportTask(
|
|
|
8180
8180
|
|
|
8181
8181
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
8182
8182
|
|
|
8183
|
+
@jsii.member(jsii_name="fromWirelessDeviceImportTaskArn")
|
|
8184
|
+
@builtins.classmethod
|
|
8185
|
+
def from_wireless_device_import_task_arn(
|
|
8186
|
+
cls,
|
|
8187
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
8188
|
+
id: builtins.str,
|
|
8189
|
+
arn: builtins.str,
|
|
8190
|
+
) -> IWirelessDeviceImportTaskRef:
|
|
8191
|
+
'''Creates a new IWirelessDeviceImportTaskRef from an ARN.
|
|
8192
|
+
|
|
8193
|
+
:param scope: -
|
|
8194
|
+
:param id: -
|
|
8195
|
+
:param arn: -
|
|
8196
|
+
'''
|
|
8197
|
+
if __debug__:
|
|
8198
|
+
type_hints = typing.get_type_hints(_typecheckingstub__a0c293252db3b2463ec5dfc198c9ca809a983a4ac7c329a34635fd53b19f6b97)
|
|
8199
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
8200
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
8201
|
+
check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
|
|
8202
|
+
return typing.cast(IWirelessDeviceImportTaskRef, jsii.sinvoke(cls, "fromWirelessDeviceImportTaskArn", [scope, id, arn]))
|
|
8203
|
+
|
|
8204
|
+
@jsii.member(jsii_name="fromWirelessDeviceImportTaskId")
|
|
8205
|
+
@builtins.classmethod
|
|
8206
|
+
def from_wireless_device_import_task_id(
|
|
8207
|
+
cls,
|
|
8208
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
8209
|
+
id: builtins.str,
|
|
8210
|
+
wireless_device_import_task_id: builtins.str,
|
|
8211
|
+
) -> IWirelessDeviceImportTaskRef:
|
|
8212
|
+
'''Creates a new IWirelessDeviceImportTaskRef from a wirelessDeviceImportTaskId.
|
|
8213
|
+
|
|
8214
|
+
:param scope: -
|
|
8215
|
+
:param id: -
|
|
8216
|
+
:param wireless_device_import_task_id: -
|
|
8217
|
+
'''
|
|
8218
|
+
if __debug__:
|
|
8219
|
+
type_hints = typing.get_type_hints(_typecheckingstub__50573423c06641c7238fcaa89088754c478960c1ce3fc1363300661b7fdde907)
|
|
8220
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
8221
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
8222
|
+
check_type(argname="argument wireless_device_import_task_id", value=wireless_device_import_task_id, expected_type=type_hints["wireless_device_import_task_id"])
|
|
8223
|
+
return typing.cast(IWirelessDeviceImportTaskRef, jsii.sinvoke(cls, "fromWirelessDeviceImportTaskId", [scope, id, wireless_device_import_task_id]))
|
|
8224
|
+
|
|
8183
8225
|
@jsii.member(jsii_name="inspect")
|
|
8184
8226
|
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
8185
8227
|
'''Examines the CloudFormation resource and discloses attributes.
|
|
@@ -10003,6 +10045,22 @@ def _typecheckingstub__9b81904b6ea4a40be4179e391a0bb52c165600b850295d5a6b580ad76
|
|
|
10003
10045
|
"""Type checking stubs"""
|
|
10004
10046
|
pass
|
|
10005
10047
|
|
|
10048
|
+
def _typecheckingstub__a0c293252db3b2463ec5dfc198c9ca809a983a4ac7c329a34635fd53b19f6b97(
|
|
10049
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
10050
|
+
id: builtins.str,
|
|
10051
|
+
arn: builtins.str,
|
|
10052
|
+
) -> None:
|
|
10053
|
+
"""Type checking stubs"""
|
|
10054
|
+
pass
|
|
10055
|
+
|
|
10056
|
+
def _typecheckingstub__50573423c06641c7238fcaa89088754c478960c1ce3fc1363300661b7fdde907(
|
|
10057
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
10058
|
+
id: builtins.str,
|
|
10059
|
+
wireless_device_import_task_id: builtins.str,
|
|
10060
|
+
) -> None:
|
|
10061
|
+
"""Type checking stubs"""
|
|
10062
|
+
pass
|
|
10063
|
+
|
|
10006
10064
|
def _typecheckingstub__198856489aba15c5acfb8dfab7e2b4a71dc22d665121a8744c5ee52b5a33b0d1(
|
|
10007
10065
|
inspector: _TreeInspector_488e0dd5,
|
|
10008
10066
|
) -> None:
|
|
@@ -10135,3 +10193,6 @@ def _typecheckingstub__ddc162c67799ffa5b9f0b75305d65763275f726ca096abf2be6e97d8d
|
|
|
10135
10193
|
) -> None:
|
|
10136
10194
|
"""Type checking stubs"""
|
|
10137
10195
|
pass
|
|
10196
|
+
|
|
10197
|
+
for cls in [IDestinationRef, IDeviceProfileRef, IFuotaTaskRef, IMulticastGroupRef, INetworkAnalyzerConfigurationRef, IPartnerAccountRef, IServiceProfileRef, ITaskDefinitionRef, IWirelessDeviceImportTaskRef, IWirelessDeviceRef, IWirelessGatewayRef]:
|
|
10198
|
+
typing.cast(typing.Any, cls).__protocol_attrs__ = typing.cast(typing.Any, cls).__protocol_attrs__ - set(['__jsii_proxy_class__', '__jsii_type__'])
|
aws_cdk/aws_ivs/__init__.py
CHANGED
|
@@ -6121,3 +6121,6 @@ def _typecheckingstub__9b966c0532d39deb26a3bd43a45365e1ee3edf5d3158d0a479134abca
|
|
|
6121
6121
|
) -> None:
|
|
6122
6122
|
"""Type checking stubs"""
|
|
6123
6123
|
pass
|
|
6124
|
+
|
|
6125
|
+
for cls in [IChannelRef, IEncoderConfigurationRef, IIngestConfigurationRef, IPlaybackKeyPairRef, IPlaybackRestrictionPolicyRef, IPublicKeyRef, IRecordingConfigurationRef, IStageRef, IStorageConfigurationRef, IStreamKeyRef]:
|
|
6126
|
+
typing.cast(typing.Any, cls).__protocol_attrs__ = typing.cast(typing.Any, cls).__protocol_attrs__ - set(['__jsii_proxy_class__', '__jsii_type__'])
|
aws_cdk/aws_ivschat/__init__.py
CHANGED
|
@@ -1472,3 +1472,6 @@ def _typecheckingstub__b8de671f791820abae21cf6b0bd8d2f03cbf454fb6af42a06db0dd74e
|
|
|
1472
1472
|
) -> None:
|
|
1473
1473
|
"""Type checking stubs"""
|
|
1474
1474
|
pass
|
|
1475
|
+
|
|
1476
|
+
for cls in [ILoggingConfigurationRef, IRoomRef]:
|
|
1477
|
+
typing.cast(typing.Any, cls).__protocol_attrs__ = typing.cast(typing.Any, cls).__protocol_attrs__ - set(['__jsii_proxy_class__', '__jsii_type__'])
|
|
@@ -3796,3 +3796,6 @@ def _typecheckingstub__9a36569b41baa16c75dbfb344c8382fd94b5dc82a3a87fd538c07957e
|
|
|
3796
3796
|
) -> None:
|
|
3797
3797
|
"""Type checking stubs"""
|
|
3798
3798
|
pass
|
|
3799
|
+
|
|
3800
|
+
for cls in [IConnectorRef, ICustomPluginRef, IWorkerConfigurationRef]:
|
|
3801
|
+
typing.cast(typing.Any, cls).__protocol_attrs__ = typing.cast(typing.Any, cls).__protocol_attrs__ - set(['__jsii_proxy_class__', '__jsii_type__'])
|
aws_cdk/aws_kendra/__init__.py
CHANGED
|
@@ -2021,27 +2021,6 @@ class CfnDataSource(
|
|
|
2021
2021
|
|
|
2022
2022
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
2023
2023
|
|
|
2024
|
-
@jsii.member(jsii_name="fromDataSourceArn")
|
|
2025
|
-
@builtins.classmethod
|
|
2026
|
-
def from_data_source_arn(
|
|
2027
|
-
cls,
|
|
2028
|
-
scope: _constructs_77d1e7e8.Construct,
|
|
2029
|
-
id: builtins.str,
|
|
2030
|
-
arn: builtins.str,
|
|
2031
|
-
) -> IDataSourceRef:
|
|
2032
|
-
'''Creates a new IDataSourceRef from an ARN.
|
|
2033
|
-
|
|
2034
|
-
:param scope: -
|
|
2035
|
-
:param id: -
|
|
2036
|
-
:param arn: -
|
|
2037
|
-
'''
|
|
2038
|
-
if __debug__:
|
|
2039
|
-
type_hints = typing.get_type_hints(_typecheckingstub__706fff372dcf2263b3ab788506e7c77792e4a5cae5211288f1733c9303ece68d)
|
|
2040
|
-
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
2041
|
-
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
2042
|
-
check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
|
|
2043
|
-
return typing.cast(IDataSourceRef, jsii.sinvoke(cls, "fromDataSourceArn", [scope, id, arn]))
|
|
2044
|
-
|
|
2045
2024
|
@jsii.member(jsii_name="inspect")
|
|
2046
2025
|
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
2047
2026
|
'''Examines the CloudFormation resource and discloses attributes.
|
|
@@ -8956,27 +8935,6 @@ class CfnFaq(
|
|
|
8956
8935
|
|
|
8957
8936
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
8958
8937
|
|
|
8959
|
-
@jsii.member(jsii_name="fromFaqArn")
|
|
8960
|
-
@builtins.classmethod
|
|
8961
|
-
def from_faq_arn(
|
|
8962
|
-
cls,
|
|
8963
|
-
scope: _constructs_77d1e7e8.Construct,
|
|
8964
|
-
id: builtins.str,
|
|
8965
|
-
arn: builtins.str,
|
|
8966
|
-
) -> IFaqRef:
|
|
8967
|
-
'''Creates a new IFaqRef from an ARN.
|
|
8968
|
-
|
|
8969
|
-
:param scope: -
|
|
8970
|
-
:param id: -
|
|
8971
|
-
:param arn: -
|
|
8972
|
-
'''
|
|
8973
|
-
if __debug__:
|
|
8974
|
-
type_hints = typing.get_type_hints(_typecheckingstub__2b40544b7dfa36a1b1244afc2843ba70c752aae5f6c21935fec914da6fd7f074)
|
|
8975
|
-
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
8976
|
-
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
8977
|
-
check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
|
|
8978
|
-
return typing.cast(IFaqRef, jsii.sinvoke(cls, "fromFaqArn", [scope, id, arn]))
|
|
8979
|
-
|
|
8980
8938
|
@jsii.member(jsii_name="inspect")
|
|
8981
8939
|
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
8982
8940
|
'''Examines the CloudFormation resource and discloses attributes.
|
|
@@ -10643,14 +10601,6 @@ def _typecheckingstub__db7b870c602f215572ec4f7667cd46c2ae4e2c6035e16924c08cf6d68
|
|
|
10643
10601
|
"""Type checking stubs"""
|
|
10644
10602
|
pass
|
|
10645
10603
|
|
|
10646
|
-
def _typecheckingstub__706fff372dcf2263b3ab788506e7c77792e4a5cae5211288f1733c9303ece68d(
|
|
10647
|
-
scope: _constructs_77d1e7e8.Construct,
|
|
10648
|
-
id: builtins.str,
|
|
10649
|
-
arn: builtins.str,
|
|
10650
|
-
) -> None:
|
|
10651
|
-
"""Type checking stubs"""
|
|
10652
|
-
pass
|
|
10653
|
-
|
|
10654
10604
|
def _typecheckingstub__857c3d47368883ad30477d4c7721d4f448bafe37d7457ab7e8fa7ab0c70e6c2a(
|
|
10655
10605
|
inspector: _TreeInspector_488e0dd5,
|
|
10656
10606
|
) -> None:
|
|
@@ -11238,14 +11188,6 @@ def _typecheckingstub__da52634bf448f13a8dfdf111b1193f46a241ac941af460a15585386c0
|
|
|
11238
11188
|
"""Type checking stubs"""
|
|
11239
11189
|
pass
|
|
11240
11190
|
|
|
11241
|
-
def _typecheckingstub__2b40544b7dfa36a1b1244afc2843ba70c752aae5f6c21935fec914da6fd7f074(
|
|
11242
|
-
scope: _constructs_77d1e7e8.Construct,
|
|
11243
|
-
id: builtins.str,
|
|
11244
|
-
arn: builtins.str,
|
|
11245
|
-
) -> None:
|
|
11246
|
-
"""Type checking stubs"""
|
|
11247
|
-
pass
|
|
11248
|
-
|
|
11249
11191
|
def _typecheckingstub__11ca22cd6dac6125f6c23af39c883b9555dc5ca8feff5890bbf847c4d2ec1afa(
|
|
11250
11192
|
inspector: _TreeInspector_488e0dd5,
|
|
11251
11193
|
) -> None:
|
|
@@ -11502,3 +11444,6 @@ def _typecheckingstub__062de87b3e323244109a14768e5e37dc72be812535477b570bfaaad65
|
|
|
11502
11444
|
) -> None:
|
|
11503
11445
|
"""Type checking stubs"""
|
|
11504
11446
|
pass
|
|
11447
|
+
|
|
11448
|
+
for cls in [IDataSourceRef, IFaqRef, IIndexRef]:
|
|
11449
|
+
typing.cast(typing.Any, cls).__protocol_attrs__ = typing.cast(typing.Any, cls).__protocol_attrs__ - set(['__jsii_proxy_class__', '__jsii_type__'])
|
|
@@ -625,3 +625,6 @@ def _typecheckingstub__6a681fa857411b5b813fd3ea51ba3c2278b7c1fb3b2c743dbcaf4c754
|
|
|
625
625
|
) -> None:
|
|
626
626
|
"""Type checking stubs"""
|
|
627
627
|
pass
|
|
628
|
+
|
|
629
|
+
for cls in [IExecutionPlanRef]:
|
|
630
|
+
typing.cast(typing.Any, cls).__protocol_attrs__ = typing.cast(typing.Any, cls).__protocol_attrs__ - set(['__jsii_proxy_class__', '__jsii_type__'])
|
aws_cdk/aws_kinesis/__init__.py
CHANGED
|
@@ -17,6 +17,8 @@ intake and aggregation.
|
|
|
17
17
|
* [Write Permissions](#write-permissions)
|
|
18
18
|
* [Custom Permissions](#custom-permissions)
|
|
19
19
|
* [Metrics](#metrics)
|
|
20
|
+
|
|
21
|
+
* [Shard-level Metrics](#shard-level-metrics)
|
|
20
22
|
* [Stream Consumers](#stream-consumers)
|
|
21
23
|
|
|
22
24
|
* [Read Permissions](#read-permissions-1)
|
|
@@ -189,6 +191,40 @@ stream.metric_get_records_success()
|
|
|
189
191
|
stream.metric_get_records_success(statistic="Maximum")
|
|
190
192
|
```
|
|
191
193
|
|
|
194
|
+
#### Shard-level Metrics
|
|
195
|
+
|
|
196
|
+
You can enable enhanced shard-level metrics for your Kinesis stream to get detailed monitoring of individual shards. Shard-level metrics provide more granular insights into the performance and health of your stream.
|
|
197
|
+
|
|
198
|
+
```python
|
|
199
|
+
stream = kinesis.Stream(self, "MyStream",
|
|
200
|
+
shard_level_metrics=[kinesis.ShardLevelMetrics.ALL]
|
|
201
|
+
)
|
|
202
|
+
```
|
|
203
|
+
|
|
204
|
+
You can also specify individual metrics that you want to monitor:
|
|
205
|
+
|
|
206
|
+
```python
|
|
207
|
+
stream = kinesis.Stream(self, "MyStream",
|
|
208
|
+
shard_level_metrics=[kinesis.ShardLevelMetrics.INCOMING_BYTES, kinesis.ShardLevelMetrics.INCOMING_RECORDS, kinesis.ShardLevelMetrics.ITERATOR_AGE_MILLISECONDS, kinesis.ShardLevelMetrics.OUTGOING_BYTES, kinesis.ShardLevelMetrics.OUTGOING_RECORDS, kinesis.ShardLevelMetrics.READ_PROVISIONED_THROUGHPUT_EXCEEDED, kinesis.ShardLevelMetrics.WRITE_PROVISIONED_THROUGHPUT_EXCEEDED
|
|
209
|
+
]
|
|
210
|
+
)
|
|
211
|
+
```
|
|
212
|
+
|
|
213
|
+
Available shard-level metrics include:
|
|
214
|
+
|
|
215
|
+
* `INCOMING_BYTES` - The number of bytes successfully put to the shard
|
|
216
|
+
* `INCOMING_RECORDS` - The number of records successfully put to the shard
|
|
217
|
+
* `ITERATOR_AGE_MILLISECONDS` - The age of the last record in all GetRecords calls made against a shard
|
|
218
|
+
* `OUTGOING_BYTES` - The number of bytes retrieved from the shard
|
|
219
|
+
* `OUTGOING_RECORDS` - The number of records retrieved from the shard
|
|
220
|
+
* `READ_PROVISIONED_THROUGHPUT_EXCEEDED` - The number of GetRecords calls throttled for the shard
|
|
221
|
+
* `WRITE_PROVISIONED_THROUGHPUT_EXCEEDED` - The number of records rejected due to throttling for the shard
|
|
222
|
+
* `ALL` - All available metrics
|
|
223
|
+
|
|
224
|
+
Note: You cannot specify `ALL` together with other individual metrics. If you want all metrics, use `ALL` alone.
|
|
225
|
+
|
|
226
|
+
For more information about shard-level metrics, see [Monitoring the Amazon Kinesis Data Streams Service with Amazon CloudWatch](https://docs.aws.amazon.com/streams/latest/dev/monitoring-with-cloudwatch.html#kinesis-metrics-shard).
|
|
227
|
+
|
|
192
228
|
## Stream Consumers
|
|
193
229
|
|
|
194
230
|
Creating stream consumers allow consumers to receive data from the stream using enhanced fan-out at a rate of up to 2 MiB per second for every shard.
|
|
@@ -377,7 +413,7 @@ class CfnResourcePolicyProps:
|
|
|
377
413
|
) -> None:
|
|
378
414
|
'''Properties for defining a ``CfnResourcePolicy``.
|
|
379
415
|
|
|
380
|
-
:param resource_arn:
|
|
416
|
+
:param resource_arn: Returns the Amazon Resource Name (ARN) of the resource-based policy.
|
|
381
417
|
:param resource_policy: This is the description for the resource policy.
|
|
382
418
|
|
|
383
419
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesis-resourcepolicy.html
|
|
@@ -407,7 +443,7 @@ class CfnResourcePolicyProps:
|
|
|
407
443
|
|
|
408
444
|
@builtins.property
|
|
409
445
|
def resource_arn(self) -> builtins.str:
|
|
410
|
-
'''
|
|
446
|
+
'''Returns the Amazon Resource Name (ARN) of the resource-based policy.
|
|
411
447
|
|
|
412
448
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesis-resourcepolicy.html#cfn-kinesis-resourcepolicy-resourcearn
|
|
413
449
|
'''
|
|
@@ -3274,6 +3310,38 @@ class ResourcePolicyReference:
|
|
|
3274
3310
|
)
|
|
3275
3311
|
|
|
3276
3312
|
|
|
3313
|
+
@jsii.enum(jsii_type="aws-cdk-lib.aws_kinesis.ShardLevelMetrics")
|
|
3314
|
+
class ShardLevelMetrics(enum.Enum):
|
|
3315
|
+
'''Enhanced shard-level metrics.
|
|
3316
|
+
|
|
3317
|
+
:see: https://docs.aws.amazon.com/streams/latest/dev/monitoring-with-cloudwatch.html#kinesis-metrics-shard
|
|
3318
|
+
:exampleMetadata: infused
|
|
3319
|
+
|
|
3320
|
+
Example::
|
|
3321
|
+
|
|
3322
|
+
stream = kinesis.Stream(self, "MyStream",
|
|
3323
|
+
shard_level_metrics=[kinesis.ShardLevelMetrics.ALL]
|
|
3324
|
+
)
|
|
3325
|
+
'''
|
|
3326
|
+
|
|
3327
|
+
INCOMING_BYTES = "INCOMING_BYTES"
|
|
3328
|
+
'''The number of bytes successfully put to the shard over the specified time period.'''
|
|
3329
|
+
INCOMING_RECORDS = "INCOMING_RECORDS"
|
|
3330
|
+
'''The number of records successfully put to the shard over the specified time period.'''
|
|
3331
|
+
ITERATOR_AGE_MILLISECONDS = "ITERATOR_AGE_MILLISECONDS"
|
|
3332
|
+
'''The age of the last record in all GetRecords calls made against a shard, measured over the specified time period.'''
|
|
3333
|
+
OUTGOING_BYTES = "OUTGOING_BYTES"
|
|
3334
|
+
'''The number of bytes retrieved from the shard, measured over the specified time period.'''
|
|
3335
|
+
OUTGOING_RECORDS = "OUTGOING_RECORDS"
|
|
3336
|
+
'''The number of records retrieved from the shard, measured over the specified time period.'''
|
|
3337
|
+
READ_PROVISIONED_THROUGHPUT_EXCEEDED = "READ_PROVISIONED_THROUGHPUT_EXCEEDED"
|
|
3338
|
+
'''The number of GetRecords calls throttled for the shard over the specified time period.'''
|
|
3339
|
+
WRITE_PROVISIONED_THROUGHPUT_EXCEEDED = "WRITE_PROVISIONED_THROUGHPUT_EXCEEDED"
|
|
3340
|
+
'''The number of records rejected due to throttling for the shard over the specified time period.'''
|
|
3341
|
+
ALL = "ALL"
|
|
3342
|
+
'''All metrics.'''
|
|
3343
|
+
|
|
3344
|
+
|
|
3277
3345
|
@jsii.implements(IStream)
|
|
3278
3346
|
class Stream(
|
|
3279
3347
|
_Resource_45bc6135,
|
|
@@ -3311,6 +3379,7 @@ class Stream(
|
|
|
3311
3379
|
removal_policy: typing.Optional[_RemovalPolicy_9f93c814] = None,
|
|
3312
3380
|
retention_period: typing.Optional[_Duration_4839e8c3] = None,
|
|
3313
3381
|
shard_count: typing.Optional[jsii.Number] = None,
|
|
3382
|
+
shard_level_metrics: typing.Optional[typing.Sequence[ShardLevelMetrics]] = None,
|
|
3314
3383
|
stream_mode: typing.Optional["StreamMode"] = None,
|
|
3315
3384
|
stream_name: typing.Optional[builtins.str] = None,
|
|
3316
3385
|
) -> None:
|
|
@@ -3322,6 +3391,7 @@ class Stream(
|
|
|
3322
3391
|
:param removal_policy: Policy to apply when the stream is removed from the stack. Default: RemovalPolicy.RETAIN
|
|
3323
3392
|
:param retention_period: The number of hours for the data records that are stored in shards to remain accessible. Default: Duration.hours(24)
|
|
3324
3393
|
:param shard_count: The number of shards for the stream. Can only be provided if streamMode is Provisioned. Default: 1
|
|
3394
|
+
:param shard_level_metrics: A list of shard-level metrics in properties to enable enhanced monitoring mode. Default: undefined - AWS Kinesis default is disabled
|
|
3325
3395
|
:param stream_mode: The capacity mode of this stream. Default: StreamMode.PROVISIONED
|
|
3326
3396
|
:param stream_name: Enforces a particular physical stream name. Default:
|
|
3327
3397
|
'''
|
|
@@ -3335,6 +3405,7 @@ class Stream(
|
|
|
3335
3405
|
removal_policy=removal_policy,
|
|
3336
3406
|
retention_period=retention_period,
|
|
3337
3407
|
shard_count=shard_count,
|
|
3408
|
+
shard_level_metrics=shard_level_metrics,
|
|
3338
3409
|
stream_mode=stream_mode,
|
|
3339
3410
|
stream_name=stream_name,
|
|
3340
3411
|
)
|
|
@@ -5034,6 +5105,7 @@ class StreamMode(enum.Enum):
|
|
|
5034
5105
|
"removal_policy": "removalPolicy",
|
|
5035
5106
|
"retention_period": "retentionPeriod",
|
|
5036
5107
|
"shard_count": "shardCount",
|
|
5108
|
+
"shard_level_metrics": "shardLevelMetrics",
|
|
5037
5109
|
"stream_mode": "streamMode",
|
|
5038
5110
|
"stream_name": "streamName",
|
|
5039
5111
|
},
|
|
@@ -5047,6 +5119,7 @@ class StreamProps:
|
|
|
5047
5119
|
removal_policy: typing.Optional[_RemovalPolicy_9f93c814] = None,
|
|
5048
5120
|
retention_period: typing.Optional[_Duration_4839e8c3] = None,
|
|
5049
5121
|
shard_count: typing.Optional[jsii.Number] = None,
|
|
5122
|
+
shard_level_metrics: typing.Optional[typing.Sequence[ShardLevelMetrics]] = None,
|
|
5050
5123
|
stream_mode: typing.Optional[StreamMode] = None,
|
|
5051
5124
|
stream_name: typing.Optional[builtins.str] = None,
|
|
5052
5125
|
) -> None:
|
|
@@ -5057,6 +5130,7 @@ class StreamProps:
|
|
|
5057
5130
|
:param removal_policy: Policy to apply when the stream is removed from the stack. Default: RemovalPolicy.RETAIN
|
|
5058
5131
|
:param retention_period: The number of hours for the data records that are stored in shards to remain accessible. Default: Duration.hours(24)
|
|
5059
5132
|
:param shard_count: The number of shards for the stream. Can only be provided if streamMode is Provisioned. Default: 1
|
|
5133
|
+
:param shard_level_metrics: A list of shard-level metrics in properties to enable enhanced monitoring mode. Default: undefined - AWS Kinesis default is disabled
|
|
5060
5134
|
:param stream_mode: The capacity mode of this stream. Default: StreamMode.PROVISIONED
|
|
5061
5135
|
:param stream_name: Enforces a particular physical stream name. Default:
|
|
5062
5136
|
|
|
@@ -5078,6 +5152,7 @@ class StreamProps:
|
|
|
5078
5152
|
check_type(argname="argument removal_policy", value=removal_policy, expected_type=type_hints["removal_policy"])
|
|
5079
5153
|
check_type(argname="argument retention_period", value=retention_period, expected_type=type_hints["retention_period"])
|
|
5080
5154
|
check_type(argname="argument shard_count", value=shard_count, expected_type=type_hints["shard_count"])
|
|
5155
|
+
check_type(argname="argument shard_level_metrics", value=shard_level_metrics, expected_type=type_hints["shard_level_metrics"])
|
|
5081
5156
|
check_type(argname="argument stream_mode", value=stream_mode, expected_type=type_hints["stream_mode"])
|
|
5082
5157
|
check_type(argname="argument stream_name", value=stream_name, expected_type=type_hints["stream_name"])
|
|
5083
5158
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
@@ -5091,6 +5166,8 @@ class StreamProps:
|
|
|
5091
5166
|
self._values["retention_period"] = retention_period
|
|
5092
5167
|
if shard_count is not None:
|
|
5093
5168
|
self._values["shard_count"] = shard_count
|
|
5169
|
+
if shard_level_metrics is not None:
|
|
5170
|
+
self._values["shard_level_metrics"] = shard_level_metrics
|
|
5094
5171
|
if stream_mode is not None:
|
|
5095
5172
|
self._values["stream_mode"] = stream_mode
|
|
5096
5173
|
if stream_name is not None:
|
|
@@ -5156,6 +5233,17 @@ class StreamProps:
|
|
|
5156
5233
|
result = self._values.get("shard_count")
|
|
5157
5234
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
5158
5235
|
|
|
5236
|
+
@builtins.property
|
|
5237
|
+
def shard_level_metrics(self) -> typing.Optional[typing.List[ShardLevelMetrics]]:
|
|
5238
|
+
'''A list of shard-level metrics in properties to enable enhanced monitoring mode.
|
|
5239
|
+
|
|
5240
|
+
:default: undefined - AWS Kinesis default is disabled
|
|
5241
|
+
|
|
5242
|
+
:see: https://docs.aws.amazon.com/streams/latest/dev/monitoring-with-cloudwatch.html#kinesis-metrics-shard
|
|
5243
|
+
'''
|
|
5244
|
+
result = self._values.get("shard_level_metrics")
|
|
5245
|
+
return typing.cast(typing.Optional[typing.List[ShardLevelMetrics]], result)
|
|
5246
|
+
|
|
5159
5247
|
@builtins.property
|
|
5160
5248
|
def stream_mode(self) -> typing.Optional[StreamMode]:
|
|
5161
5249
|
'''The capacity mode of this stream.
|
|
@@ -5292,7 +5380,7 @@ class CfnResourcePolicy(
|
|
|
5292
5380
|
'''
|
|
5293
5381
|
:param scope: Scope in which this resource is defined.
|
|
5294
5382
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
5295
|
-
:param resource_arn:
|
|
5383
|
+
:param resource_arn: Returns the Amazon Resource Name (ARN) of the resource-based policy.
|
|
5296
5384
|
:param resource_policy: This is the description for the resource policy.
|
|
5297
5385
|
'''
|
|
5298
5386
|
if __debug__:
|
|
@@ -5349,7 +5437,7 @@ class CfnResourcePolicy(
|
|
|
5349
5437
|
@builtins.property
|
|
5350
5438
|
@jsii.member(jsii_name="resourceArn")
|
|
5351
5439
|
def resource_arn(self) -> builtins.str:
|
|
5352
|
-
'''
|
|
5440
|
+
'''Returns the Amazon Resource Name (ARN) of the resource-based policy.'''
|
|
5353
5441
|
return typing.cast(builtins.str, jsii.get(self, "resourceArn"))
|
|
5354
5442
|
|
|
5355
5443
|
@resource_arn.setter
|
|
@@ -6015,6 +6103,7 @@ __all__ = [
|
|
|
6015
6103
|
"ResourcePolicy",
|
|
6016
6104
|
"ResourcePolicyProps",
|
|
6017
6105
|
"ResourcePolicyReference",
|
|
6106
|
+
"ShardLevelMetrics",
|
|
6018
6107
|
"Stream",
|
|
6019
6108
|
"StreamAttributes",
|
|
6020
6109
|
"StreamConsumer",
|
|
@@ -6164,6 +6253,7 @@ def _typecheckingstub__d9e4f581406090d861e3fe8214f939eedc5d1ccaffe122a7542878ec4
|
|
|
6164
6253
|
removal_policy: typing.Optional[_RemovalPolicy_9f93c814] = None,
|
|
6165
6254
|
retention_period: typing.Optional[_Duration_4839e8c3] = None,
|
|
6166
6255
|
shard_count: typing.Optional[jsii.Number] = None,
|
|
6256
|
+
shard_level_metrics: typing.Optional[typing.Sequence[ShardLevelMetrics]] = None,
|
|
6167
6257
|
stream_mode: typing.Optional[StreamMode] = None,
|
|
6168
6258
|
stream_name: typing.Optional[builtins.str] = None,
|
|
6169
6259
|
) -> None:
|
|
@@ -6321,6 +6411,7 @@ def _typecheckingstub__88629f78086711b76f550ae13e14f2db1429deb350aa5b10b7073d585
|
|
|
6321
6411
|
removal_policy: typing.Optional[_RemovalPolicy_9f93c814] = None,
|
|
6322
6412
|
retention_period: typing.Optional[_Duration_4839e8c3] = None,
|
|
6323
6413
|
shard_count: typing.Optional[jsii.Number] = None,
|
|
6414
|
+
shard_level_metrics: typing.Optional[typing.Sequence[ShardLevelMetrics]] = None,
|
|
6324
6415
|
stream_mode: typing.Optional[StreamMode] = None,
|
|
6325
6416
|
stream_name: typing.Optional[builtins.str] = None,
|
|
6326
6417
|
) -> None:
|
|
@@ -6509,3 +6600,6 @@ def _typecheckingstub__741a97d9ae28403dd10b071c7777bb76448096ad2b30f06325c121d82
|
|
|
6509
6600
|
) -> None:
|
|
6510
6601
|
"""Type checking stubs"""
|
|
6511
6602
|
pass
|
|
6603
|
+
|
|
6604
|
+
for cls in [IResourcePolicyRef, IStream, IStreamConsumer, IStreamConsumerRef, IStreamRef]:
|
|
6605
|
+
typing.cast(typing.Any, cls).__protocol_attrs__ = typing.cast(typing.Any, cls).__protocol_attrs__ - set(['__jsii_proxy_class__', '__jsii_type__'])
|
|
@@ -11342,3 +11342,6 @@ def _typecheckingstub__483d0347c9e2136bd775ca79c9d3276759a207a4c82ddafcaecd722bd
|
|
|
11342
11342
|
) -> None:
|
|
11343
11343
|
"""Type checking stubs"""
|
|
11344
11344
|
pass
|
|
11345
|
+
|
|
11346
|
+
for cls in [IApplicationCloudWatchLoggingOptionV2Ref, IApplicationOutputRef, IApplicationOutputV2Ref, IApplicationRef, IApplicationReferenceDataSourceRef, IApplicationReferenceDataSourceV2Ref, IApplicationV2Ref]:
|
|
11347
|
+
typing.cast(typing.Any, cls).__protocol_attrs__ = typing.cast(typing.Any, cls).__protocol_attrs__ - set(['__jsii_proxy_class__', '__jsii_type__'])
|
|
@@ -7331,3 +7331,6 @@ def _typecheckingstub__3ce14f4d3da6df5476af40e00f0774c5f92756d3d0525ec2ed8df494d
|
|
|
7331
7331
|
) -> None:
|
|
7332
7332
|
"""Type checking stubs"""
|
|
7333
7333
|
pass
|
|
7334
|
+
|
|
7335
|
+
for cls in [IApplicationCloudWatchLoggingOptionRef, IApplicationOutputRef, IApplicationRef, IApplicationReferenceDataSourceRef]:
|
|
7336
|
+
typing.cast(typing.Any, cls).__protocol_attrs__ = typing.cast(typing.Any, cls).__protocol_attrs__ - set(['__jsii_proxy_class__', '__jsii_type__'])
|