aws-cdk-lib 2.220.0__py3-none-any.whl → 2.221.1__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 +21 -18
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.220.0.jsii.tgz → aws-cdk-lib@2.221.1.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 +4 -1
- 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 +3 -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 +3 -29
- aws_cdk/aws_backupgateway/__init__.py +3 -0
- aws_cdk/aws_batch/__init__.py +3 -0
- aws_cdk/aws_bcmdataexports/__init__.py +3 -0
- aws_cdk/aws_bedrock/__init__.py +9 -29
- aws_cdk/aws_bedrockagentcore/__init__.py +782 -169
- 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_cloudtrail/__init__.py +3 -0
- aws_cdk/aws_cloudwatch/__init__.py +3 -0
- 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 +3 -0
- 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 +3 -0
- 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 +3 -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 +106 -40
- aws_cdk/aws_ecr/__init__.py +156 -33
- aws_cdk/aws_ecs/__init__.py +87 -48
- aws_cdk/aws_efs/__init__.py +3 -0
- aws_cdk/aws_eks/__init__.py +3 -58
- 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 +3 -0
- 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 +499 -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 +3 -0
- 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 +3 -0
- 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 +14 -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 +3 -0
- aws_cdk/aws_location/__init__.py +3 -0
- aws_cdk/aws_logs/__init__.py +226 -9
- aws_cdk/aws_lookoutequipment/__init__.py +3 -29
- aws_cdk/aws_lookoutmetrics/__init__.py +3 -0
- aws_cdk/aws_lookoutvision/__init__.py +3 -0
- aws_cdk/aws_m2/__init__.py +3 -0
- aws_cdk/aws_macie/__init__.py +3 -0
- aws_cdk/aws_managedblockchain/__init__.py +3 -0
- aws_cdk/aws_mediaconnect/__init__.py +3 -0
- aws_cdk/aws_mediaconvert/__init__.py +3 -0
- aws_cdk/aws_medialive/__init__.py +171 -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 +3 -0
- aws_cdk/aws_neptune/__init__.py +55 -0
- aws_cdk/aws_neptunegraph/__init__.py +3 -0
- aws_cdk/aws_networkfirewall/__init__.py +3 -0
- aws_cdk/aws_networkmanager/__init__.py +3 -0
- aws_cdk/aws_nimblestudio/__init__.py +3 -0
- aws_cdk/aws_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 +171 -137
- aws_cdk/aws_odb/__init__.py +4 -1
- aws_cdk/aws_omics/__init__.py +3 -0
- aws_cdk/aws_opensearchserverless/__init__.py +3 -0
- aws_cdk/aws_opensearchservice/__init__.py +3 -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 +3 -0
- aws_cdk/aws_personalize/__init__.py +3 -0
- aws_cdk/aws_pinpoint/__init__.py +3 -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 +418 -411
- aws_cdk/aws_ram/__init__.py +3 -0
- aws_cdk/aws_rbin/__init__.py +3 -0
- aws_cdk/aws_rds/__init__.py +42 -19
- aws_cdk/aws_redshift/__init__.py +3 -0
- aws_cdk/aws_redshiftserverless/__init__.py +3 -0
- aws_cdk/aws_refactorspaces/__init__.py +3 -0
- aws_cdk/aws_rekognition/__init__.py +3 -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 +18 -18
- 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 +51 -41
- aws_cdk/aws_s3_deployment/__init__.py +3 -0
- aws_cdk/aws_s3express/__init__.py +3 -0
- aws_cdk/aws_s3objectlambda/__init__.py +3 -0
- aws_cdk/aws_s3outposts/__init__.py +3 -0
- aws_cdk/aws_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 +136 -124
- 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 +467 -0
- aws_cdk/aws_sso/__init__.py +3 -0
- aws_cdk/aws_stepfunctions/__init__.py +9 -12
- aws_cdk/aws_stepfunctions_tasks/__init__.py +6 -3
- aws_cdk/aws_supportapp/__init__.py +3 -0
- aws_cdk/aws_synthetics/__init__.py +59 -26
- 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.220.0.dist-info → aws_cdk_lib-2.221.1.dist-info}/METADATA +2 -2
- aws_cdk_lib-2.221.1.dist-info/RECORD +313 -0
- aws_cdk_lib-2.220.0.dist-info/RECORD +0 -313
- {aws_cdk_lib-2.220.0.dist-info → aws_cdk_lib-2.221.1.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.220.0.dist-info → aws_cdk_lib-2.221.1.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.220.0.dist-info → aws_cdk_lib-2.221.1.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.220.0.dist-info → aws_cdk_lib-2.221.1.dist-info}/top_level.txt +0 -0
|
@@ -780,27 +780,6 @@ class CfnStream(
|
|
|
780
780
|
|
|
781
781
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
782
782
|
|
|
783
|
-
@jsii.member(jsii_name="fromStreamArn")
|
|
784
|
-
@builtins.classmethod
|
|
785
|
-
def from_stream_arn(
|
|
786
|
-
cls,
|
|
787
|
-
scope: _constructs_77d1e7e8.Construct,
|
|
788
|
-
id: builtins.str,
|
|
789
|
-
arn: builtins.str,
|
|
790
|
-
) -> IStreamRef:
|
|
791
|
-
'''Creates a new IStreamRef from an ARN.
|
|
792
|
-
|
|
793
|
-
:param scope: -
|
|
794
|
-
:param id: -
|
|
795
|
-
:param arn: -
|
|
796
|
-
'''
|
|
797
|
-
if __debug__:
|
|
798
|
-
type_hints = typing.get_type_hints(_typecheckingstub__fe0f44c811e2d2cc90117554fb9deac330b94d4acd5a32161f8a4592bdd478e7)
|
|
799
|
-
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
800
|
-
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
801
|
-
check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
|
|
802
|
-
return typing.cast(IStreamRef, jsii.sinvoke(cls, "fromStreamArn", [scope, id, arn]))
|
|
803
|
-
|
|
804
783
|
@jsii.member(jsii_name="inspect")
|
|
805
784
|
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
806
785
|
'''Examines the CloudFormation resource and discloses attributes.
|
|
@@ -1049,14 +1028,6 @@ def _typecheckingstub__9ec46ef966c55301f1d7f90935a5a7340c3d7ee98963234b59d16d191
|
|
|
1049
1028
|
"""Type checking stubs"""
|
|
1050
1029
|
pass
|
|
1051
1030
|
|
|
1052
|
-
def _typecheckingstub__fe0f44c811e2d2cc90117554fb9deac330b94d4acd5a32161f8a4592bdd478e7(
|
|
1053
|
-
scope: _constructs_77d1e7e8.Construct,
|
|
1054
|
-
id: builtins.str,
|
|
1055
|
-
arn: builtins.str,
|
|
1056
|
-
) -> None:
|
|
1057
|
-
"""Type checking stubs"""
|
|
1058
|
-
pass
|
|
1059
|
-
|
|
1060
1031
|
def _typecheckingstub__9cce8d8f4e1ffc1f91558eea316dc5656b61eced6fd4e5ed8f9c5d2aedaeb00f(
|
|
1061
1032
|
inspector: _TreeInspector_488e0dd5,
|
|
1062
1033
|
) -> None:
|
|
@@ -1104,3 +1075,6 @@ def _typecheckingstub__916b61187a1fea0754be9981eeeb345ba75e61b6417bbde10d8246657
|
|
|
1104
1075
|
) -> None:
|
|
1105
1076
|
"""Type checking stubs"""
|
|
1106
1077
|
pass
|
|
1078
|
+
|
|
1079
|
+
for cls in [ISignalingChannelRef, IStreamRef]:
|
|
1080
|
+
typing.cast(typing.Any, cls).__protocol_attrs__ = typing.cast(typing.Any, cls).__protocol_attrs__ - set(['__jsii_proxy_class__', '__jsii_type__'])
|
aws_cdk/aws_kms/__init__.py
CHANGED
|
@@ -4532,3 +4532,6 @@ def _typecheckingstub__889887809ebfcb10b086b9443331082b607fe1c8b476e14ebc4925835
|
|
|
4532
4532
|
) -> None:
|
|
4533
4533
|
"""Type checking stubs"""
|
|
4534
4534
|
pass
|
|
4535
|
+
|
|
4536
|
+
for cls in [IAlias, IAliasRef, IKey, IKeyRef, IReplicaKeyRef]:
|
|
4537
|
+
typing.cast(typing.Any, cls).__protocol_attrs__ = typing.cast(typing.Any, cls).__protocol_attrs__ - set(['__jsii_proxy_class__', '__jsii_type__'])
|
|
@@ -7160,3 +7160,6 @@ def _typecheckingstub__dbfafd4ff73d1cb58139774825c816ddf21d5913087c696e01ca730ed
|
|
|
7160
7160
|
) -> None:
|
|
7161
7161
|
"""Type checking stubs"""
|
|
7162
7162
|
pass
|
|
7163
|
+
|
|
7164
|
+
for cls in [IDataCellsFilterRef, IDataLakeSettingsRef, IPermissionsRef, IPrincipalPermissionsRef, IResourceRef, ITagAssociationRef, ITagRef]:
|
|
7165
|
+
typing.cast(typing.Any, cls).__protocol_attrs__ = typing.cast(typing.Any, cls).__protocol_attrs__ - set(['__jsii_proxy_class__', '__jsii_type__'])
|
aws_cdk/aws_lambda/__init__.py
CHANGED
|
@@ -5354,8 +5354,8 @@ class CfnPermissionProps:
|
|
|
5354
5354
|
:param function_name: The name or ARN of the Lambda function, version, or alias. **Name formats** - *Function name* – ``my-function`` (name-only), ``my-function:v1`` (with alias). - *Function ARN* – ``arn:aws:lambda:us-west-2:123456789012:function:my-function`` . - *Partial ARN* – ``123456789012:function:my-function`` . You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
|
|
5355
5355
|
:param principal: The AWS service , AWS account , IAM user, or IAM role that invokes the function. If you specify a service, use ``SourceArn`` or ``SourceAccount`` to limit who can invoke the function through that service.
|
|
5356
5356
|
:param event_source_token: For Alexa Smart Home functions, a token that the invoker must supply.
|
|
5357
|
-
:param function_url_auth_type: The type of authentication that your function URL uses. Set to ``AWS_IAM`` if you want to restrict access to authenticated users only. Set to ``NONE`` if you want to bypass IAM authentication to create a public endpoint. For more information, see `
|
|
5358
|
-
:param invoked_via_function_url:
|
|
5357
|
+
:param function_url_auth_type: The type of authentication that your function URL uses. Set to ``AWS_IAM`` if you want to restrict access to authenticated users only. Set to ``NONE`` if you want to bypass IAM authentication to create a public endpoint. For more information, see `Control access to Lambda function URLs <https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html>`_ .
|
|
5358
|
+
:param invoked_via_function_url: Restricts the ``lambda:InvokeFunction`` action to function URL calls. When set to ``true`` , this prevents the principal from invoking the function by any means other than the function URL. For more information, see `Control access to Lambda function URLs <https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html>`_ .
|
|
5359
5359
|
:param principal_org_id: The identifier for your organization in AWS Organizations . Use this to grant permissions to all the AWS accounts under this organization.
|
|
5360
5360
|
:param source_account: For AWS service , the ID of the AWS account that owns the resource. Use this together with ``SourceArn`` to ensure that the specified account owns the resource. It is possible for an Amazon S3 bucket to be deleted by its owner and recreated by another account.
|
|
5361
5361
|
:param source_arn: For AWS services , the ARN of the AWS resource that invokes the function. For example, an Amazon S3 bucket or Amazon SNS topic. Note that Lambda configures the comparison using the ``StringLike`` operator.
|
|
@@ -5466,7 +5466,7 @@ class CfnPermissionProps:
|
|
|
5466
5466
|
def function_url_auth_type(self) -> typing.Optional[builtins.str]:
|
|
5467
5467
|
'''The type of authentication that your function URL uses.
|
|
5468
5468
|
|
|
5469
|
-
Set to ``AWS_IAM`` if you want to restrict access to authenticated users only. Set to ``NONE`` if you want to bypass IAM authentication to create a public endpoint. For more information, see `
|
|
5469
|
+
Set to ``AWS_IAM`` if you want to restrict access to authenticated users only. Set to ``NONE`` if you want to bypass IAM authentication to create a public endpoint. For more information, see `Control access to Lambda function URLs <https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html>`_ .
|
|
5470
5470
|
|
|
5471
5471
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-permission.html#cfn-lambda-permission-functionurlauthtype
|
|
5472
5472
|
'''
|
|
@@ -5477,7 +5477,10 @@ class CfnPermissionProps:
|
|
|
5477
5477
|
def invoked_via_function_url(
|
|
5478
5478
|
self,
|
|
5479
5479
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
5480
|
-
'''
|
|
5480
|
+
'''Restricts the ``lambda:InvokeFunction`` action to function URL calls.
|
|
5481
|
+
|
|
5482
|
+
When set to ``true`` , this prevents the principal from invoking the function by any means other than the function URL. For more information, see `Control access to Lambda function URLs <https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html>`_ .
|
|
5483
|
+
|
|
5481
5484
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-permission.html#cfn-lambda-permission-invokedviafunctionurl
|
|
5482
5485
|
'''
|
|
5483
5486
|
result = self._values.get("invoked_via_function_url")
|
|
@@ -24728,7 +24731,7 @@ class CfnPermission(
|
|
|
24728
24731
|
|
|
24729
24732
|
To grant permission to another account, specify the account ID as the ``Principal`` . To grant permission to an organization defined in AWS Organizations , specify the organization ID as the ``PrincipalOrgID`` . For AWS services, the principal is a domain-style identifier defined by the service, like ``s3.amazonaws.com`` or ``sns.amazonaws.com`` . For AWS services, you can also specify the ARN of the associated resource as the ``SourceArn`` . If you grant permission to a service principal without specifying the source, other accounts could potentially configure resources in their account to invoke your Lambda function.
|
|
24730
24733
|
|
|
24731
|
-
If your function has a function URL, you can specify the ``FunctionUrlAuthType`` parameter. This adds a condition to your permission that only applies when your function URL's ``AuthType`` matches the specified ``FunctionUrlAuthType`` . For more information about the ``AuthType`` parameter, see `
|
|
24734
|
+
If your function has a function URL, you can specify the ``FunctionUrlAuthType`` parameter. This adds a condition to your permission that only applies when your function URL's ``AuthType`` matches the specified ``FunctionUrlAuthType`` . For more information about the ``AuthType`` parameter, see `Control access to Lambda function URLs <https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html>`_ .
|
|
24732
24735
|
|
|
24733
24736
|
This resource adds a statement to a resource-based permission policy for the function. For more information about function policies, see `Lambda Function Policies <https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html>`_ .
|
|
24734
24737
|
|
|
@@ -24779,8 +24782,8 @@ class CfnPermission(
|
|
|
24779
24782
|
:param function_name: The name or ARN of the Lambda function, version, or alias. **Name formats** - *Function name* – ``my-function`` (name-only), ``my-function:v1`` (with alias). - *Function ARN* – ``arn:aws:lambda:us-west-2:123456789012:function:my-function`` . - *Partial ARN* – ``123456789012:function:my-function`` . You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
|
|
24780
24783
|
:param principal: The AWS service , AWS account , IAM user, or IAM role that invokes the function. If you specify a service, use ``SourceArn`` or ``SourceAccount`` to limit who can invoke the function through that service.
|
|
24781
24784
|
:param event_source_token: For Alexa Smart Home functions, a token that the invoker must supply.
|
|
24782
|
-
:param function_url_auth_type: The type of authentication that your function URL uses. Set to ``AWS_IAM`` if you want to restrict access to authenticated users only. Set to ``NONE`` if you want to bypass IAM authentication to create a public endpoint. For more information, see `
|
|
24783
|
-
:param invoked_via_function_url:
|
|
24785
|
+
:param function_url_auth_type: The type of authentication that your function URL uses. Set to ``AWS_IAM`` if you want to restrict access to authenticated users only. Set to ``NONE`` if you want to bypass IAM authentication to create a public endpoint. For more information, see `Control access to Lambda function URLs <https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html>`_ .
|
|
24786
|
+
:param invoked_via_function_url: Restricts the ``lambda:InvokeFunction`` action to function URL calls. When set to ``true`` , this prevents the principal from invoking the function by any means other than the function URL. For more information, see `Control access to Lambda function URLs <https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html>`_ .
|
|
24784
24787
|
:param principal_org_id: The identifier for your organization in AWS Organizations . Use this to grant permissions to all the AWS accounts under this organization.
|
|
24785
24788
|
:param source_account: For AWS service , the ID of the AWS account that owns the resource. Use this together with ``SourceArn`` to ensure that the specified account owns the resource. It is possible for an Amazon S3 bucket to be deleted by its owner and recreated by another account.
|
|
24786
24789
|
:param source_arn: For AWS services , the ARN of the AWS resource that invokes the function. For example, an Amazon S3 bucket or Amazon SNS topic. Note that Lambda configures the comparison using the ``StringLike`` operator.
|
|
@@ -24922,6 +24925,7 @@ class CfnPermission(
|
|
|
24922
24925
|
def invoked_via_function_url(
|
|
24923
24926
|
self,
|
|
24924
24927
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
24928
|
+
'''Restricts the ``lambda:InvokeFunction`` action to function URL calls.'''
|
|
24925
24929
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], jsii.get(self, "invokedViaFunctionUrl"))
|
|
24926
24930
|
|
|
24927
24931
|
@invoked_via_function_url.setter
|
|
@@ -35626,3 +35630,6 @@ def _typecheckingstub__368a49fe1f866c7ea7986c57b6f8488d0fddea8f62bf05ec1ed7eb09b
|
|
|
35626
35630
|
) -> None:
|
|
35627
35631
|
"""Type checking stubs"""
|
|
35628
35632
|
pass
|
|
35633
|
+
|
|
35634
|
+
for cls in [IAlias, IAliasRef, ICodeSigningConfig, ICodeSigningConfigRef, IDestination, IEventInvokeConfigRef, IEventSource, IEventSourceDlq, IEventSourceMapping, IEventSourceMappingRef, IFunction, IFunctionRef, IFunctionUrl, ILayerVersion, ILayerVersionPermissionRef, ILayerVersionRef, IPermissionRef, IScalableFunctionAttribute, ISchemaRegistry, IUrlRef, IVersion, IVersionRef]:
|
|
35635
|
+
typing.cast(typing.Any, cls).__protocol_attrs__ = typing.cast(typing.Any, cls).__protocol_attrs__ - set(['__jsii_proxy_class__', '__jsii_type__'])
|
|
@@ -3193,3 +3193,6 @@ def _typecheckingstub__2da45b394f0332be0f6d6b7468d9fb54961953d56265da69955d36ffa
|
|
|
3193
3193
|
) -> None:
|
|
3194
3194
|
"""Type checking stubs"""
|
|
3195
3195
|
pass
|
|
3196
|
+
|
|
3197
|
+
for cls in [ICommandHooks]:
|
|
3198
|
+
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__057665c8ffa5f5cdaedcf0301e727d15ee8b0244807853f59c72aadbb
|
|
|
625
625
|
) -> None:
|
|
626
626
|
"""Type checking stubs"""
|
|
627
627
|
pass
|
|
628
|
+
|
|
629
|
+
for cls in [IDeploymentRef]:
|
|
630
|
+
typing.cast(typing.Any, cls).__protocol_attrs__ = typing.cast(typing.Any, cls).__protocol_attrs__ - set(['__jsii_proxy_class__', '__jsii_type__'])
|
aws_cdk/aws_lex/__init__.py
CHANGED
|
@@ -13794,27 +13794,6 @@ class CfnBotAlias(
|
|
|
13794
13794
|
|
|
13795
13795
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
13796
13796
|
|
|
13797
|
-
@jsii.member(jsii_name="fromBotAliasArn")
|
|
13798
|
-
@builtins.classmethod
|
|
13799
|
-
def from_bot_alias_arn(
|
|
13800
|
-
cls,
|
|
13801
|
-
scope: _constructs_77d1e7e8.Construct,
|
|
13802
|
-
id: builtins.str,
|
|
13803
|
-
arn: builtins.str,
|
|
13804
|
-
) -> IBotAliasRef:
|
|
13805
|
-
'''Creates a new IBotAliasRef from an ARN.
|
|
13806
|
-
|
|
13807
|
-
:param scope: -
|
|
13808
|
-
:param id: -
|
|
13809
|
-
:param arn: -
|
|
13810
|
-
'''
|
|
13811
|
-
if __debug__:
|
|
13812
|
-
type_hints = typing.get_type_hints(_typecheckingstub__2ab747fa9eb7cb105192618f589a683ebd337733abaa1cc095d0ab0c0fa55d0d)
|
|
13813
|
-
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
13814
|
-
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
13815
|
-
check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
|
|
13816
|
-
return typing.cast(IBotAliasRef, jsii.sinvoke(cls, "fromBotAliasArn", [scope, id, arn]))
|
|
13817
|
-
|
|
13818
13797
|
@jsii.member(jsii_name="inspect")
|
|
13819
13798
|
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
13820
13799
|
'''Examines the CloudFormation resource and discloses attributes.
|
|
@@ -16545,14 +16524,6 @@ def _typecheckingstub__57cf179c443f74ff3b1c43c56eef686f369711792e444e53d5668f07a
|
|
|
16545
16524
|
"""Type checking stubs"""
|
|
16546
16525
|
pass
|
|
16547
16526
|
|
|
16548
|
-
def _typecheckingstub__2ab747fa9eb7cb105192618f589a683ebd337733abaa1cc095d0ab0c0fa55d0d(
|
|
16549
|
-
scope: _constructs_77d1e7e8.Construct,
|
|
16550
|
-
id: builtins.str,
|
|
16551
|
-
arn: builtins.str,
|
|
16552
|
-
) -> None:
|
|
16553
|
-
"""Type checking stubs"""
|
|
16554
|
-
pass
|
|
16555
|
-
|
|
16556
16527
|
def _typecheckingstub__69e306fef7aca1ecd05a385248f8253ae3fef56958f84e69c038125bb4b466d0(
|
|
16557
16528
|
inspector: _TreeInspector_488e0dd5,
|
|
16558
16529
|
) -> None:
|
|
@@ -16795,3 +16766,6 @@ def _typecheckingstub__c2269eb87c059c5d27aab85364fde6b4ccb6e21ca5bc766b939d038b5
|
|
|
16795
16766
|
) -> None:
|
|
16796
16767
|
"""Type checking stubs"""
|
|
16797
16768
|
pass
|
|
16769
|
+
|
|
16770
|
+
for cls in [IBotAliasRef, IBotRef, IBotVersionRef, IResourcePolicyRef]:
|
|
16771
|
+
typing.cast(typing.Any, cls).__protocol_attrs__ = typing.cast(typing.Any, cls).__protocol_attrs__ - set(['__jsii_proxy_class__', '__jsii_type__'])
|
|
@@ -2058,3 +2058,6 @@ def _typecheckingstub__483b5b4e301dfddf60a6c6da8bdc4898ec615b5045a70ceeeefc10fe7
|
|
|
2058
2058
|
) -> None:
|
|
2059
2059
|
"""Type checking stubs"""
|
|
2060
2060
|
pass
|
|
2061
|
+
|
|
2062
|
+
for cls in [IGrantRef, ILicenseRef]:
|
|
2063
|
+
typing.cast(typing.Any, cls).__protocol_attrs__ = typing.cast(typing.Any, cls).__protocol_attrs__ - set(['__jsii_proxy_class__', '__jsii_type__'])
|
|
@@ -13157,3 +13157,6 @@ def _typecheckingstub__c2d9d917457bb338d59787b3dda39043267dcfa899e281196bff60209
|
|
|
13157
13157
|
) -> None:
|
|
13158
13158
|
"""Type checking stubs"""
|
|
13159
13159
|
pass
|
|
13160
|
+
|
|
13161
|
+
for cls in [IAlarmRef, IBucketRef, ICertificateRef, IContainerRef, IDatabaseRef, IDiskRef, IDiskSnapshotRef, IDistributionRef, IDomainRef, IInstanceRef, IInstanceSnapshotRef, ILoadBalancerRef, ILoadBalancerTlsCertificateRef, IStaticIpRef]:
|
|
13162
|
+
typing.cast(typing.Any, cls).__protocol_attrs__ = typing.cast(typing.Any, cls).__protocol_attrs__ - set(['__jsii_proxy_class__', '__jsii_type__'])
|
aws_cdk/aws_location/__init__.py
CHANGED
|
@@ -4996,3 +4996,6 @@ def _typecheckingstub__aa34370ea71108b33b5119b9fcb8ca5029e1349c5ec4e2fb3d74745ed
|
|
|
4996
4996
|
) -> None:
|
|
4997
4997
|
"""Type checking stubs"""
|
|
4998
4998
|
pass
|
|
4999
|
+
|
|
5000
|
+
for cls in [IAPIKeyRef, IGeofenceCollectionRef, IMapRef, IPlaceIndexRef, IRouteCalculatorRef, ITrackerConsumerRef, ITrackerRef]:
|
|
5001
|
+
typing.cast(typing.Any, cls).__protocol_attrs__ = typing.cast(typing.Any, cls).__protocol_attrs__ - set(['__jsii_proxy_class__', '__jsii_type__'])
|