aws-cdk-lib 2.157.0__py3-none-any.whl → 2.159.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of aws-cdk-lib might be problematic. Click here for more details.
- aws_cdk/__init__.py +52 -20
- aws_cdk/_jsii/__init__.py +17 -2
- aws_cdk/_jsii/{aws-cdk-lib@2.157.0.jsii.tgz → aws-cdk-lib@2.159.0.jsii.tgz} +0 -0
- aws_cdk/alexa_ask/__init__.py +16 -1
- aws_cdk/assertions/__init__.py +16 -1
- aws_cdk/aws_accessanalyzer/__init__.py +16 -1
- aws_cdk/aws_acmpca/__init__.py +16 -1
- aws_cdk/aws_amazonmq/__init__.py +16 -1
- aws_cdk/aws_amplify/__init__.py +38 -9
- aws_cdk/aws_amplifyuibuilder/__init__.py +16 -1
- aws_cdk/aws_apigateway/__init__.py +16 -1
- aws_cdk/aws_apigatewayv2/__init__.py +46 -1
- aws_cdk/aws_apigatewayv2_authorizers/__init__.py +16 -1
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +16 -1
- aws_cdk/aws_appconfig/__init__.py +19 -4
- aws_cdk/aws_appflow/__init__.py +16 -1
- aws_cdk/aws_appintegrations/__init__.py +16 -1
- aws_cdk/aws_applicationautoscaling/__init__.py +16 -1
- aws_cdk/aws_applicationinsights/__init__.py +560 -5
- aws_cdk/aws_applicationsignals/__init__.py +186 -143
- aws_cdk/aws_appmesh/__init__.py +16 -1
- aws_cdk/aws_apprunner/__init__.py +16 -1
- aws_cdk/aws_appstream/__init__.py +16 -1
- aws_cdk/aws_appsync/__init__.py +16 -1
- aws_cdk/aws_apptest/__init__.py +16 -1
- aws_cdk/aws_aps/__init__.py +16 -1
- aws_cdk/aws_arczonalshift/__init__.py +16 -1
- aws_cdk/aws_athena/__init__.py +31 -16
- aws_cdk/aws_auditmanager/__init__.py +21 -6
- aws_cdk/aws_autoscaling/__init__.py +16 -1
- aws_cdk/aws_autoscaling_common/__init__.py +16 -1
- aws_cdk/aws_autoscaling_hooktargets/__init__.py +16 -1
- aws_cdk/aws_autoscalingplans/__init__.py +16 -1
- aws_cdk/aws_b2bi/__init__.py +16 -1
- aws_cdk/aws_backup/__init__.py +16 -1
- aws_cdk/aws_backupgateway/__init__.py +16 -1
- aws_cdk/aws_batch/__init__.py +16 -1
- aws_cdk/aws_bcmdataexports/__init__.py +16 -1
- aws_cdk/aws_bedrock/__init__.py +23 -8
- aws_cdk/aws_billingconductor/__init__.py +16 -1
- aws_cdk/aws_budgets/__init__.py +16 -1
- aws_cdk/aws_cassandra/__init__.py +16 -1
- aws_cdk/aws_ce/__init__.py +16 -1
- aws_cdk/aws_certificatemanager/__init__.py +16 -1
- aws_cdk/aws_chatbot/__init__.py +16 -1
- aws_cdk/aws_cleanrooms/__init__.py +16 -1
- aws_cdk/aws_cleanroomsml/__init__.py +16 -1
- aws_cdk/aws_cloud9/__init__.py +16 -1
- aws_cdk/aws_cloudformation/__init__.py +16 -1
- aws_cdk/aws_cloudfront/__init__.py +16 -1
- aws_cdk/aws_cloudfront/experimental/__init__.py +16 -1
- aws_cdk/aws_cloudfront_origins/__init__.py +16 -1
- aws_cdk/aws_cloudtrail/__init__.py +16 -1
- aws_cdk/aws_cloudwatch/__init__.py +16 -1
- aws_cdk/aws_cloudwatch_actions/__init__.py +16 -1
- aws_cdk/aws_codeartifact/__init__.py +16 -1
- aws_cdk/aws_codebuild/__init__.py +55 -19
- aws_cdk/aws_codecommit/__init__.py +16 -1
- aws_cdk/aws_codeconnections/__init__.py +17 -2
- aws_cdk/aws_codedeploy/__init__.py +16 -1
- aws_cdk/aws_codeguruprofiler/__init__.py +16 -1
- aws_cdk/aws_codegurureviewer/__init__.py +16 -1
- aws_cdk/aws_codepipeline/__init__.py +16 -1
- aws_cdk/aws_codepipeline_actions/__init__.py +16 -1
- aws_cdk/aws_codestar/__init__.py +16 -1
- aws_cdk/aws_codestarconnections/__init__.py +16 -1
- aws_cdk/aws_codestarnotifications/__init__.py +16 -1
- aws_cdk/aws_cognito/__init__.py +406 -204
- aws_cdk/aws_comprehend/__init__.py +16 -1
- aws_cdk/aws_config/__init__.py +16 -1
- aws_cdk/aws_connect/__init__.py +1695 -153
- aws_cdk/aws_connectcampaigns/__init__.py +16 -1
- aws_cdk/aws_controltower/__init__.py +16 -1
- aws_cdk/aws_cur/__init__.py +16 -1
- aws_cdk/aws_customerprofiles/__init__.py +16 -1
- aws_cdk/aws_databrew/__init__.py +16 -1
- aws_cdk/aws_datapipeline/__init__.py +16 -1
- aws_cdk/aws_datasync/__init__.py +16 -1
- aws_cdk/aws_datazone/__init__.py +681 -41
- aws_cdk/aws_dax/__init__.py +16 -1
- aws_cdk/aws_deadline/__init__.py +16 -1
- aws_cdk/aws_detective/__init__.py +16 -1
- aws_cdk/aws_devicefarm/__init__.py +16 -1
- aws_cdk/aws_devopsguru/__init__.py +16 -1
- aws_cdk/aws_directoryservice/__init__.py +16 -1
- aws_cdk/aws_dlm/__init__.py +16 -1
- aws_cdk/aws_dms/__init__.py +16 -1
- aws_cdk/aws_docdb/__init__.py +22 -2
- aws_cdk/aws_docdbelastic/__init__.py +16 -1
- aws_cdk/aws_dynamodb/__init__.py +21 -6
- aws_cdk/aws_ec2/__init__.py +137 -37
- aws_cdk/aws_ecr/__init__.py +30 -7
- aws_cdk/aws_ecr_assets/__init__.py +16 -1
- aws_cdk/aws_ecs/__init__.py +36 -21
- aws_cdk/aws_ecs_patterns/__init__.py +16 -1
- aws_cdk/aws_efs/__init__.py +16 -1
- aws_cdk/aws_eks/__init__.py +16 -1
- aws_cdk/aws_elasticache/__init__.py +16 -1
- aws_cdk/aws_elasticbeanstalk/__init__.py +16 -1
- aws_cdk/aws_elasticloadbalancing/__init__.py +16 -1
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +183 -21
- aws_cdk/aws_elasticloadbalancingv2_actions/__init__.py +16 -1
- aws_cdk/aws_elasticloadbalancingv2_targets/__init__.py +16 -1
- aws_cdk/aws_elasticsearch/__init__.py +16 -1
- aws_cdk/aws_emr/__init__.py +24 -9
- aws_cdk/aws_emrcontainers/__init__.py +16 -1
- aws_cdk/aws_emrserverless/__init__.py +16 -1
- aws_cdk/aws_entityresolution/__init__.py +16 -1
- aws_cdk/aws_events/__init__.py +35 -18
- aws_cdk/aws_events_targets/__init__.py +181 -86
- aws_cdk/aws_eventschemas/__init__.py +16 -1
- aws_cdk/aws_evidently/__init__.py +16 -1
- aws_cdk/aws_finspace/__init__.py +16 -1
- aws_cdk/aws_fis/__init__.py +16 -1
- aws_cdk/aws_fms/__init__.py +75 -1
- aws_cdk/aws_forecast/__init__.py +16 -1
- aws_cdk/aws_frauddetector/__init__.py +16 -1
- aws_cdk/aws_fsx/__init__.py +19 -4
- aws_cdk/aws_gamelift/__init__.py +56 -53
- aws_cdk/aws_globalaccelerator/__init__.py +38 -30
- aws_cdk/aws_globalaccelerator_endpoints/__init__.py +16 -1
- aws_cdk/aws_glue/__init__.py +16 -1
- aws_cdk/aws_grafana/__init__.py +16 -1
- aws_cdk/aws_greengrass/__init__.py +16 -1
- aws_cdk/aws_greengrassv2/__init__.py +16 -1
- aws_cdk/aws_groundstation/__init__.py +16 -1
- aws_cdk/aws_guardduty/__init__.py +16 -1
- aws_cdk/aws_healthimaging/__init__.py +16 -1
- aws_cdk/aws_healthlake/__init__.py +16 -1
- aws_cdk/aws_iam/__init__.py +38 -21
- aws_cdk/aws_identitystore/__init__.py +16 -1
- aws_cdk/aws_imagebuilder/__init__.py +16 -1
- aws_cdk/aws_inspector/__init__.py +16 -1
- aws_cdk/aws_inspectorv2/__init__.py +16 -1
- aws_cdk/aws_internetmonitor/__init__.py +16 -1
- aws_cdk/aws_iot/__init__.py +16 -1
- aws_cdk/aws_iot1click/__init__.py +16 -1
- aws_cdk/aws_iotanalytics/__init__.py +16 -1
- aws_cdk/aws_iotcoredeviceadvisor/__init__.py +16 -1
- aws_cdk/aws_iotevents/__init__.py +16 -1
- aws_cdk/aws_iotfleethub/__init__.py +16 -1
- aws_cdk/aws_iotfleetwise/__init__.py +435 -1
- aws_cdk/aws_iotsitewise/__init__.py +106 -2
- aws_cdk/aws_iotthingsgraph/__init__.py +16 -1
- aws_cdk/aws_iottwinmaker/__init__.py +16 -1
- aws_cdk/aws_iotwireless/__init__.py +221 -1
- aws_cdk/aws_ivs/__init__.py +16 -1
- aws_cdk/aws_ivschat/__init__.py +16 -1
- aws_cdk/aws_kafkaconnect/__init__.py +16 -1
- aws_cdk/aws_kendra/__init__.py +16 -1
- aws_cdk/aws_kendraranking/__init__.py +16 -1
- aws_cdk/aws_kinesis/__init__.py +16 -1
- aws_cdk/aws_kinesisanalytics/__init__.py +16 -1
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +16 -1
- aws_cdk/aws_kinesisfirehose/__init__.py +16 -1
- aws_cdk/aws_kinesisvideo/__init__.py +16 -1
- aws_cdk/aws_kms/__init__.py +16 -1
- aws_cdk/aws_lakeformation/__init__.py +16 -1
- aws_cdk/aws_lambda/__init__.py +145 -17
- aws_cdk/aws_lambda_destinations/__init__.py +16 -1
- aws_cdk/aws_lambda_event_sources/__init__.py +16 -1
- aws_cdk/aws_lambda_nodejs/__init__.py +16 -1
- aws_cdk/aws_launchwizard/__init__.py +16 -1
- aws_cdk/aws_lex/__init__.py +31 -2
- aws_cdk/aws_licensemanager/__init__.py +16 -1
- aws_cdk/aws_lightsail/__init__.py +16 -1
- aws_cdk/aws_location/__init__.py +16 -1
- aws_cdk/aws_logs/__init__.py +17 -2
- aws_cdk/aws_logs_destinations/__init__.py +16 -1
- aws_cdk/aws_lookoutequipment/__init__.py +16 -1
- aws_cdk/aws_lookoutmetrics/__init__.py +16 -1
- aws_cdk/aws_lookoutvision/__init__.py +16 -1
- aws_cdk/aws_m2/__init__.py +16 -1
- aws_cdk/aws_macie/__init__.py +16 -1
- aws_cdk/aws_managedblockchain/__init__.py +16 -1
- aws_cdk/aws_mediaconnect/__init__.py +127 -1
- aws_cdk/aws_mediaconvert/__init__.py +16 -1
- aws_cdk/aws_medialive/__init__.py +8004 -3263
- aws_cdk/aws_mediapackage/__init__.py +16 -1
- aws_cdk/aws_mediapackagev2/__init__.py +16 -1
- aws_cdk/aws_mediastore/__init__.py +16 -1
- aws_cdk/aws_mediatailor/__init__.py +16 -1
- aws_cdk/aws_memorydb/__init__.py +16 -1
- aws_cdk/aws_msk/__init__.py +303 -480
- aws_cdk/aws_mwaa/__init__.py +16 -1
- aws_cdk/aws_neptune/__init__.py +16 -1
- aws_cdk/aws_neptunegraph/__init__.py +16 -1
- aws_cdk/aws_networkfirewall/__init__.py +16 -1
- aws_cdk/aws_networkmanager/__init__.py +16 -1
- aws_cdk/aws_nimblestudio/__init__.py +16 -1
- aws_cdk/aws_oam/__init__.py +16 -1
- aws_cdk/aws_omics/__init__.py +16 -1
- aws_cdk/aws_opensearchserverless/__init__.py +16 -1
- aws_cdk/aws_opensearchservice/__init__.py +22 -1
- aws_cdk/aws_opsworks/__init__.py +16 -1
- aws_cdk/aws_opsworkscm/__init__.py +16 -1
- aws_cdk/aws_organizations/__init__.py +16 -1
- aws_cdk/aws_osis/__init__.py +16 -1
- aws_cdk/aws_panorama/__init__.py +16 -1
- aws_cdk/aws_paymentcryptography/__init__.py +16 -1
- aws_cdk/aws_pcaconnectorad/__init__.py +16 -1
- aws_cdk/aws_pcaconnectorscep/__init__.py +85 -31
- aws_cdk/aws_personalize/__init__.py +16 -1
- aws_cdk/aws_pinpoint/__init__.py +16 -1
- aws_cdk/aws_pinpointemail/__init__.py +16 -1
- aws_cdk/aws_pipes/__init__.py +65 -1
- aws_cdk/aws_proton/__init__.py +16 -1
- aws_cdk/aws_qbusiness/__init__.py +27 -15
- aws_cdk/aws_qldb/__init__.py +16 -1
- aws_cdk/aws_quicksight/__init__.py +654 -100
- aws_cdk/aws_ram/__init__.py +16 -1
- aws_cdk/aws_rds/__init__.py +78 -32
- aws_cdk/aws_redshift/__init__.py +16 -1
- aws_cdk/aws_redshiftserverless/__init__.py +16 -1
- aws_cdk/aws_refactorspaces/__init__.py +16 -1
- aws_cdk/aws_rekognition/__init__.py +16 -1
- aws_cdk/aws_resiliencehub/__init__.py +16 -1
- aws_cdk/aws_resourceexplorer2/__init__.py +16 -1
- aws_cdk/aws_resourcegroups/__init__.py +16 -1
- aws_cdk/aws_robomaker/__init__.py +16 -1
- aws_cdk/aws_rolesanywhere/__init__.py +16 -1
- aws_cdk/aws_route53/__init__.py +16 -1
- aws_cdk/aws_route53_patterns/__init__.py +16 -1
- aws_cdk/aws_route53_targets/__init__.py +16 -1
- aws_cdk/aws_route53profiles/__init__.py +16 -1
- aws_cdk/aws_route53recoverycontrol/__init__.py +16 -1
- aws_cdk/aws_route53recoveryreadiness/__init__.py +16 -1
- aws_cdk/aws_route53resolver/__init__.py +16 -1
- aws_cdk/aws_rum/__init__.py +16 -1
- aws_cdk/aws_s3/__init__.py +231 -34
- aws_cdk/aws_s3_assets/__init__.py +16 -1
- aws_cdk/aws_s3_deployment/__init__.py +16 -1
- aws_cdk/aws_s3_notifications/__init__.py +16 -1
- aws_cdk/aws_s3express/__init__.py +16 -1
- aws_cdk/aws_s3objectlambda/__init__.py +18 -3
- aws_cdk/aws_s3outposts/__init__.py +16 -1
- aws_cdk/aws_sagemaker/__init__.py +888 -59
- aws_cdk/aws_sam/__init__.py +16 -1
- aws_cdk/aws_scheduler/__init__.py +16 -1
- aws_cdk/aws_sdb/__init__.py +16 -1
- aws_cdk/aws_secretsmanager/__init__.py +38 -9
- aws_cdk/aws_securityhub/__init__.py +277 -20
- aws_cdk/aws_securitylake/__init__.py +343 -8
- aws_cdk/aws_servicecatalog/__init__.py +16 -1
- aws_cdk/aws_servicecatalogappregistry/__init__.py +16 -1
- aws_cdk/aws_servicediscovery/__init__.py +21 -6
- aws_cdk/aws_ses/__init__.py +16 -1
- aws_cdk/aws_ses_actions/__init__.py +16 -1
- aws_cdk/aws_shield/__init__.py +16 -1
- aws_cdk/aws_signer/__init__.py +16 -1
- aws_cdk/aws_simspaceweaver/__init__.py +16 -1
- aws_cdk/aws_sns/__init__.py +16 -9
- aws_cdk/aws_sns_subscriptions/__init__.py +16 -1
- aws_cdk/aws_sqs/__init__.py +16 -1
- aws_cdk/aws_ssm/__init__.py +36 -13
- aws_cdk/aws_ssmcontacts/__init__.py +16 -1
- aws_cdk/aws_ssmincidents/__init__.py +16 -1
- aws_cdk/aws_ssmquicksetup/__init__.py +16 -1
- aws_cdk/aws_sso/__init__.py +16 -1
- aws_cdk/aws_stepfunctions/__init__.py +16 -1
- aws_cdk/aws_stepfunctions_tasks/__init__.py +52 -1
- aws_cdk/aws_supportapp/__init__.py +16 -1
- aws_cdk/aws_synthetics/__init__.py +16 -1
- aws_cdk/aws_systemsmanagersap/__init__.py +16 -1
- aws_cdk/aws_timestream/__init__.py +16 -1
- aws_cdk/aws_transfer/__init__.py +16 -1
- aws_cdk/aws_verifiedpermissions/__init__.py +16 -1
- aws_cdk/aws_voiceid/__init__.py +16 -1
- aws_cdk/aws_vpclattice/__init__.py +16 -1
- aws_cdk/aws_waf/__init__.py +16 -1
- aws_cdk/aws_wafregional/__init__.py +16 -1
- aws_cdk/aws_wafv2/__init__.py +16 -1
- aws_cdk/aws_wisdom/__init__.py +16 -1
- aws_cdk/aws_workspaces/__init__.py +16 -1
- aws_cdk/aws_workspacesthinclient/__init__.py +16 -1
- aws_cdk/aws_workspacesweb/__init__.py +16 -1
- aws_cdk/aws_xray/__init__.py +16 -1
- aws_cdk/cloud_assembly_schema/__init__.py +16 -1
- aws_cdk/cloudformation_include/__init__.py +16 -1
- aws_cdk/custom_resources/__init__.py +16 -1
- aws_cdk/cx_api/__init__.py +35 -1
- aws_cdk/lambda_layer_awscli/__init__.py +16 -1
- aws_cdk/lambda_layer_kubectl/__init__.py +16 -1
- aws_cdk/lambda_layer_node_proxy_agent/__init__.py +16 -1
- aws_cdk/pipelines/__init__.py +16 -1
- aws_cdk/region_info/__init__.py +16 -1
- aws_cdk/triggers/__init__.py +16 -1
- {aws_cdk_lib-2.157.0.dist-info → aws_cdk_lib-2.159.0.dist-info}/METADATA +5 -5
- {aws_cdk_lib-2.157.0.dist-info → aws_cdk_lib-2.159.0.dist-info}/NOTICE +27 -8
- aws_cdk_lib-2.159.0.dist-info/RECORD +294 -0
- aws_cdk_lib-2.157.0.dist-info/RECORD +0 -294
- {aws_cdk_lib-2.157.0.dist-info → aws_cdk_lib-2.159.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.157.0.dist-info → aws_cdk_lib-2.159.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.157.0.dist-info → aws_cdk_lib-2.159.0.dist-info}/top_level.txt +0 -0
|
@@ -989,7 +989,22 @@ import jsii
|
|
|
989
989
|
import publication
|
|
990
990
|
import typing_extensions
|
|
991
991
|
|
|
992
|
-
|
|
992
|
+
import typeguard
|
|
993
|
+
from importlib.metadata import version as _metadata_package_version
|
|
994
|
+
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
|
|
995
|
+
|
|
996
|
+
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
|
|
997
|
+
if TYPEGUARD_MAJOR_VERSION <= 2:
|
|
998
|
+
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
|
|
999
|
+
else:
|
|
1000
|
+
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
|
|
1001
|
+
pass
|
|
1002
|
+
else:
|
|
1003
|
+
if TYPEGUARD_MAJOR_VERSION == 3:
|
|
1004
|
+
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
|
|
1005
|
+
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
|
|
1006
|
+
else:
|
|
1007
|
+
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
|
993
1008
|
|
|
994
1009
|
from .._jsii import *
|
|
995
1010
|
|
|
@@ -2164,11 +2179,11 @@ class CfnFleet(
|
|
|
2164
2179
|
:param scope: Scope in which this resource is defined.
|
|
2165
2180
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
2166
2181
|
:param base_capacity: The initial number of machines allocated to the compute fleet, which defines the number of builds that can run in parallel.
|
|
2167
|
-
:param compute_type: Information about the compute resources the compute fleet uses. Available values include
|
|
2168
|
-
:param environment_type: The environment type of the compute fleet. - The environment type ``ARM_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), EU (Frankfurt), and South America (São Paulo). - The environment type ``LINUX_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), South America (São Paulo), and Asia Pacific (Mumbai). - The environment type ``LINUX_GPU_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), and Asia Pacific (Sydney). - The environment type ``WINDOWS_SERVER_2019_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), Asia Pacific (Sydney), Asia Pacific (Tokyo), Asia Pacific (Mumbai) and EU (Ireland). - The environment type ``WINDOWS_SERVER_2022_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Sydney), Asia Pacific (Singapore), Asia Pacific (Tokyo), South America (São Paulo) and Asia Pacific (Mumbai). For more information, see `Build environment compute types <https://docs.aws.amazon.com//codebuild/latest/userguide/build-env-ref-compute-types.html>`_ in the *AWS CodeBuild user guide* .
|
|
2182
|
+
:param compute_type: .. epigraph:: Updating this field is not allowed for ``MAC_ARM`` . Information about the compute resources the compute fleet uses. Available values include: - ``BUILD_GENERAL1_SMALL`` : Use up to 3 GB memory and 2 vCPUs for builds. - ``BUILD_GENERAL1_MEDIUM`` : Use up to 7 GB memory and 4 vCPUs for builds. - ``BUILD_GENERAL1_LARGE`` : Use up to 16 GB memory and 8 vCPUs for builds, depending on your environment type. - ``BUILD_GENERAL1_XLARGE`` : Use up to 70 GB memory and 36 vCPUs for builds, depending on your environment type. - ``BUILD_GENERAL1_2XLARGE`` : Use up to 145 GB memory, 72 vCPUs, and 824 GB of SSD storage for builds. This compute type supports Docker images up to 100 GB uncompressed. If you use ``BUILD_GENERAL1_SMALL`` : - For environment type ``LINUX_CONTAINER`` , you can use up to 3 GB memory and 2 vCPUs for builds. - For environment type ``LINUX_GPU_CONTAINER`` , you can use up to 16 GB memory, 4 vCPUs, and 1 NVIDIA A10G Tensor Core GPU for builds. - For environment type ``ARM_CONTAINER`` , you can use up to 4 GB memory and 2 vCPUs on ARM-based processors for builds. If you use ``BUILD_GENERAL1_LARGE`` : - For environment type ``LINUX_CONTAINER`` , you can use up to 15 GB memory and 8 vCPUs for builds. - For environment type ``LINUX_GPU_CONTAINER`` , you can use up to 255 GB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds. - For environment type ``ARM_CONTAINER`` , you can use up to 16 GB memory and 8 vCPUs on ARM-based processors for builds. For more information, see `Build environment compute types <https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html>`_ in the *AWS CodeBuild User Guide.*
|
|
2183
|
+
:param environment_type: .. epigraph:: Updating this field is not allowed for ``MAC_ARM`` . The environment type of the compute fleet. - The environment type ``ARM_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), EU (Frankfurt), and South America (São Paulo). - The environment type ``LINUX_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), South America (São Paulo), and Asia Pacific (Mumbai). - The environment type ``LINUX_GPU_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), and Asia Pacific (Sydney). - The environment type ``WINDOWS_SERVER_2019_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), Asia Pacific (Sydney), Asia Pacific (Tokyo), Asia Pacific (Mumbai) and EU (Ireland). - The environment type ``WINDOWS_SERVER_2022_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Sydney), Asia Pacific (Singapore), Asia Pacific (Tokyo), South America (São Paulo) and Asia Pacific (Mumbai). For more information, see `Build environment compute types <https://docs.aws.amazon.com//codebuild/latest/userguide/build-env-ref-compute-types.html>`_ in the *AWS CodeBuild user guide* .
|
|
2169
2184
|
:param fleet_service_role: The service role associated with the compute fleet. For more information, see `Allow a user to add a permission policy for a fleet service role <https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-identity-based-access-control.html#customer-managed-policies-example-permission-policy-fleet-service-role.html>`_ in the *AWS CodeBuild User Guide* .
|
|
2170
|
-
:param fleet_vpc_config: Information about the VPC configuration that AWS CodeBuild accesses.
|
|
2171
|
-
:param image_id: The Amazon Machine Image (AMI) of the compute fleet.
|
|
2185
|
+
:param fleet_vpc_config: .. epigraph:: Updating this field is not allowed for ``MAC_ARM`` . Information about the VPC configuration that AWS CodeBuild accesses.
|
|
2186
|
+
:param image_id: .. epigraph:: Updating this field is not allowed for ``MAC_ARM`` . The Amazon Machine Image (AMI) of the compute fleet.
|
|
2172
2187
|
:param name: The name of the compute fleet.
|
|
2173
2188
|
:param overflow_behavior: The compute fleet overflow behavior. - For overflow behavior ``QUEUE`` , your overflow builds need to wait on the existing fleet instance to become available. - For overflow behavior ``ON_DEMAND`` , your overflow builds run on CodeBuild on-demand. .. epigraph:: If you choose to set your overflow behavior to on-demand while creating a VPC-connected fleet, make sure that you add the required VPC permissions to your project service role. For more information, see `Example policy statement to allow CodeBuild access to AWS services required to create a VPC network interface <https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-identity-based-access-control.html#customer-managed-policies-example-create-vpc-network-interface>`_ .
|
|
2174
2189
|
:param tags: A list of tag key and value pairs associated with this compute fleet. These tags are available for use by AWS services that support AWS CodeBuild compute fleet tags.
|
|
@@ -2257,10 +2272,9 @@ class CfnFleet(
|
|
|
2257
2272
|
@builtins.property
|
|
2258
2273
|
@jsii.member(jsii_name="computeType")
|
|
2259
2274
|
def compute_type(self) -> typing.Optional[builtins.str]:
|
|
2260
|
-
'''
|
|
2275
|
+
'''.. epigraph::
|
|
2261
2276
|
|
|
2262
|
-
|
|
2263
|
-
'''
|
|
2277
|
+
Updating this field is not allowed for ``MAC_ARM`` .'''
|
|
2264
2278
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "computeType"))
|
|
2265
2279
|
|
|
2266
2280
|
@compute_type.setter
|
|
@@ -2273,7 +2287,9 @@ class CfnFleet(
|
|
|
2273
2287
|
@builtins.property
|
|
2274
2288
|
@jsii.member(jsii_name="environmentType")
|
|
2275
2289
|
def environment_type(self) -> typing.Optional[builtins.str]:
|
|
2276
|
-
'''
|
|
2290
|
+
'''.. epigraph::
|
|
2291
|
+
|
|
2292
|
+
Updating this field is not allowed for ``MAC_ARM`` .'''
|
|
2277
2293
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "environmentType"))
|
|
2278
2294
|
|
|
2279
2295
|
@environment_type.setter
|
|
@@ -2301,7 +2317,9 @@ class CfnFleet(
|
|
|
2301
2317
|
def fleet_vpc_config(
|
|
2302
2318
|
self,
|
|
2303
2319
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFleet.VpcConfigProperty"]]:
|
|
2304
|
-
'''
|
|
2320
|
+
'''.. epigraph::
|
|
2321
|
+
|
|
2322
|
+
Updating this field is not allowed for ``MAC_ARM`` .'''
|
|
2305
2323
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFleet.VpcConfigProperty"]], jsii.get(self, "fleetVpcConfig"))
|
|
2306
2324
|
|
|
2307
2325
|
@fleet_vpc_config.setter
|
|
@@ -2317,7 +2335,9 @@ class CfnFleet(
|
|
|
2317
2335
|
@builtins.property
|
|
2318
2336
|
@jsii.member(jsii_name="imageId")
|
|
2319
2337
|
def image_id(self) -> typing.Optional[builtins.str]:
|
|
2320
|
-
'''
|
|
2338
|
+
'''.. epigraph::
|
|
2339
|
+
|
|
2340
|
+
Updating this field is not allowed for ``MAC_ARM`` .'''
|
|
2321
2341
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "imageId"))
|
|
2322
2342
|
|
|
2323
2343
|
@image_id.setter
|
|
@@ -2488,11 +2508,11 @@ class CfnFleetProps:
|
|
|
2488
2508
|
'''Properties for defining a ``CfnFleet``.
|
|
2489
2509
|
|
|
2490
2510
|
:param base_capacity: The initial number of machines allocated to the compute fleet, which defines the number of builds that can run in parallel.
|
|
2491
|
-
:param compute_type: Information about the compute resources the compute fleet uses. Available values include
|
|
2492
|
-
:param environment_type: The environment type of the compute fleet. - The environment type ``ARM_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), EU (Frankfurt), and South America (São Paulo). - The environment type ``LINUX_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), South America (São Paulo), and Asia Pacific (Mumbai). - The environment type ``LINUX_GPU_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), and Asia Pacific (Sydney). - The environment type ``WINDOWS_SERVER_2019_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), Asia Pacific (Sydney), Asia Pacific (Tokyo), Asia Pacific (Mumbai) and EU (Ireland). - The environment type ``WINDOWS_SERVER_2022_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Sydney), Asia Pacific (Singapore), Asia Pacific (Tokyo), South America (São Paulo) and Asia Pacific (Mumbai). For more information, see `Build environment compute types <https://docs.aws.amazon.com//codebuild/latest/userguide/build-env-ref-compute-types.html>`_ in the *AWS CodeBuild user guide* .
|
|
2511
|
+
:param compute_type: .. epigraph:: Updating this field is not allowed for ``MAC_ARM`` . Information about the compute resources the compute fleet uses. Available values include: - ``BUILD_GENERAL1_SMALL`` : Use up to 3 GB memory and 2 vCPUs for builds. - ``BUILD_GENERAL1_MEDIUM`` : Use up to 7 GB memory and 4 vCPUs for builds. - ``BUILD_GENERAL1_LARGE`` : Use up to 16 GB memory and 8 vCPUs for builds, depending on your environment type. - ``BUILD_GENERAL1_XLARGE`` : Use up to 70 GB memory and 36 vCPUs for builds, depending on your environment type. - ``BUILD_GENERAL1_2XLARGE`` : Use up to 145 GB memory, 72 vCPUs, and 824 GB of SSD storage for builds. This compute type supports Docker images up to 100 GB uncompressed. If you use ``BUILD_GENERAL1_SMALL`` : - For environment type ``LINUX_CONTAINER`` , you can use up to 3 GB memory and 2 vCPUs for builds. - For environment type ``LINUX_GPU_CONTAINER`` , you can use up to 16 GB memory, 4 vCPUs, and 1 NVIDIA A10G Tensor Core GPU for builds. - For environment type ``ARM_CONTAINER`` , you can use up to 4 GB memory and 2 vCPUs on ARM-based processors for builds. If you use ``BUILD_GENERAL1_LARGE`` : - For environment type ``LINUX_CONTAINER`` , you can use up to 15 GB memory and 8 vCPUs for builds. - For environment type ``LINUX_GPU_CONTAINER`` , you can use up to 255 GB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds. - For environment type ``ARM_CONTAINER`` , you can use up to 16 GB memory and 8 vCPUs on ARM-based processors for builds. For more information, see `Build environment compute types <https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html>`_ in the *AWS CodeBuild User Guide.*
|
|
2512
|
+
:param environment_type: .. epigraph:: Updating this field is not allowed for ``MAC_ARM`` . The environment type of the compute fleet. - The environment type ``ARM_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), EU (Frankfurt), and South America (São Paulo). - The environment type ``LINUX_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), South America (São Paulo), and Asia Pacific (Mumbai). - The environment type ``LINUX_GPU_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), and Asia Pacific (Sydney). - The environment type ``WINDOWS_SERVER_2019_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), Asia Pacific (Sydney), Asia Pacific (Tokyo), Asia Pacific (Mumbai) and EU (Ireland). - The environment type ``WINDOWS_SERVER_2022_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Sydney), Asia Pacific (Singapore), Asia Pacific (Tokyo), South America (São Paulo) and Asia Pacific (Mumbai). For more information, see `Build environment compute types <https://docs.aws.amazon.com//codebuild/latest/userguide/build-env-ref-compute-types.html>`_ in the *AWS CodeBuild user guide* .
|
|
2493
2513
|
:param fleet_service_role: The service role associated with the compute fleet. For more information, see `Allow a user to add a permission policy for a fleet service role <https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-identity-based-access-control.html#customer-managed-policies-example-permission-policy-fleet-service-role.html>`_ in the *AWS CodeBuild User Guide* .
|
|
2494
|
-
:param fleet_vpc_config: Information about the VPC configuration that AWS CodeBuild accesses.
|
|
2495
|
-
:param image_id: The Amazon Machine Image (AMI) of the compute fleet.
|
|
2514
|
+
:param fleet_vpc_config: .. epigraph:: Updating this field is not allowed for ``MAC_ARM`` . Information about the VPC configuration that AWS CodeBuild accesses.
|
|
2515
|
+
:param image_id: .. epigraph:: Updating this field is not allowed for ``MAC_ARM`` . The Amazon Machine Image (AMI) of the compute fleet.
|
|
2496
2516
|
:param name: The name of the compute fleet.
|
|
2497
2517
|
:param overflow_behavior: The compute fleet overflow behavior. - For overflow behavior ``QUEUE`` , your overflow builds need to wait on the existing fleet instance to become available. - For overflow behavior ``ON_DEMAND`` , your overflow builds run on CodeBuild on-demand. .. epigraph:: If you choose to set your overflow behavior to on-demand while creating a VPC-connected fleet, make sure that you add the required VPC permissions to your project service role. For more information, see `Example policy statement to allow CodeBuild access to AWS services required to create a VPC network interface <https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-identity-based-access-control.html#customer-managed-policies-example-create-vpc-network-interface>`_ .
|
|
2498
2518
|
:param tags: A list of tag key and value pairs associated with this compute fleet. These tags are available for use by AWS services that support AWS CodeBuild compute fleet tags.
|
|
@@ -2567,7 +2587,11 @@ class CfnFleetProps:
|
|
|
2567
2587
|
|
|
2568
2588
|
@builtins.property
|
|
2569
2589
|
def compute_type(self) -> typing.Optional[builtins.str]:
|
|
2570
|
-
'''
|
|
2590
|
+
'''.. epigraph::
|
|
2591
|
+
|
|
2592
|
+
Updating this field is not allowed for ``MAC_ARM`` .
|
|
2593
|
+
|
|
2594
|
+
Information about the compute resources the compute fleet uses. Available values include:
|
|
2571
2595
|
|
|
2572
2596
|
- ``BUILD_GENERAL1_SMALL`` : Use up to 3 GB memory and 2 vCPUs for builds.
|
|
2573
2597
|
- ``BUILD_GENERAL1_MEDIUM`` : Use up to 7 GB memory and 4 vCPUs for builds.
|
|
@@ -2596,7 +2620,11 @@ class CfnFleetProps:
|
|
|
2596
2620
|
|
|
2597
2621
|
@builtins.property
|
|
2598
2622
|
def environment_type(self) -> typing.Optional[builtins.str]:
|
|
2599
|
-
'''
|
|
2623
|
+
'''.. epigraph::
|
|
2624
|
+
|
|
2625
|
+
Updating this field is not allowed for ``MAC_ARM`` .
|
|
2626
|
+
|
|
2627
|
+
The environment type of the compute fleet.
|
|
2600
2628
|
|
|
2601
2629
|
- The environment type ``ARM_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), EU (Frankfurt), and South America (São Paulo).
|
|
2602
2630
|
- The environment type ``LINUX_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), South America (São Paulo), and Asia Pacific (Mumbai).
|
|
@@ -2626,7 +2654,11 @@ class CfnFleetProps:
|
|
|
2626
2654
|
def fleet_vpc_config(
|
|
2627
2655
|
self,
|
|
2628
2656
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnFleet.VpcConfigProperty]]:
|
|
2629
|
-
'''
|
|
2657
|
+
'''.. epigraph::
|
|
2658
|
+
|
|
2659
|
+
Updating this field is not allowed for ``MAC_ARM`` .
|
|
2660
|
+
|
|
2661
|
+
Information about the VPC configuration that AWS CodeBuild accesses.
|
|
2630
2662
|
|
|
2631
2663
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-fleet.html#cfn-codebuild-fleet-fleetvpcconfig
|
|
2632
2664
|
'''
|
|
@@ -2635,7 +2667,11 @@ class CfnFleetProps:
|
|
|
2635
2667
|
|
|
2636
2668
|
@builtins.property
|
|
2637
2669
|
def image_id(self) -> typing.Optional[builtins.str]:
|
|
2638
|
-
'''
|
|
2670
|
+
'''.. epigraph::
|
|
2671
|
+
|
|
2672
|
+
Updating this field is not allowed for ``MAC_ARM`` .
|
|
2673
|
+
|
|
2674
|
+
The Amazon Machine Image (AMI) of the compute fleet.
|
|
2639
2675
|
|
|
2640
2676
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-fleet.html#cfn-codebuild-fleet-imageid
|
|
2641
2677
|
'''
|
|
@@ -120,7 +120,22 @@ import jsii
|
|
|
120
120
|
import publication
|
|
121
121
|
import typing_extensions
|
|
122
122
|
|
|
123
|
-
|
|
123
|
+
import typeguard
|
|
124
|
+
from importlib.metadata import version as _metadata_package_version
|
|
125
|
+
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
|
|
126
|
+
|
|
127
|
+
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
|
|
128
|
+
if TYPEGUARD_MAJOR_VERSION <= 2:
|
|
129
|
+
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
|
|
130
|
+
else:
|
|
131
|
+
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
|
|
132
|
+
pass
|
|
133
|
+
else:
|
|
134
|
+
if TYPEGUARD_MAJOR_VERSION == 3:
|
|
135
|
+
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
|
|
136
|
+
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
|
|
137
|
+
else:
|
|
138
|
+
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
|
124
139
|
|
|
125
140
|
from .._jsii import *
|
|
126
141
|
|
|
@@ -48,7 +48,22 @@ import jsii
|
|
|
48
48
|
import publication
|
|
49
49
|
import typing_extensions
|
|
50
50
|
|
|
51
|
-
|
|
51
|
+
import typeguard
|
|
52
|
+
from importlib.metadata import version as _metadata_package_version
|
|
53
|
+
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
|
|
54
|
+
|
|
55
|
+
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
|
|
56
|
+
if TYPEGUARD_MAJOR_VERSION <= 2:
|
|
57
|
+
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
|
|
58
|
+
else:
|
|
59
|
+
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
|
|
60
|
+
pass
|
|
61
|
+
else:
|
|
62
|
+
if TYPEGUARD_MAJOR_VERSION == 3:
|
|
63
|
+
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
|
|
64
|
+
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
|
|
65
|
+
else:
|
|
66
|
+
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
|
52
67
|
|
|
53
68
|
from .._jsii import *
|
|
54
69
|
|
|
@@ -162,7 +177,7 @@ class CfnConnection(
|
|
|
162
177
|
def attr_connection_arn(self) -> builtins.str:
|
|
163
178
|
'''The Amazon Resource Name (ARN) of the connection.
|
|
164
179
|
|
|
165
|
-
The ARN is used as the connection reference when the connection is shared between AWS
|
|
180
|
+
The ARN is used as the connection reference when the connection is shared between AWS services .
|
|
166
181
|
.. epigraph::
|
|
167
182
|
|
|
168
183
|
The ARN is never reused if the connection is deleted.
|
|
@@ -773,7 +773,22 @@ import jsii
|
|
|
773
773
|
import publication
|
|
774
774
|
import typing_extensions
|
|
775
775
|
|
|
776
|
-
|
|
776
|
+
import typeguard
|
|
777
|
+
from importlib.metadata import version as _metadata_package_version
|
|
778
|
+
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
|
|
779
|
+
|
|
780
|
+
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
|
|
781
|
+
if TYPEGUARD_MAJOR_VERSION <= 2:
|
|
782
|
+
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
|
|
783
|
+
else:
|
|
784
|
+
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
|
|
785
|
+
pass
|
|
786
|
+
else:
|
|
787
|
+
if TYPEGUARD_MAJOR_VERSION == 3:
|
|
788
|
+
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
|
|
789
|
+
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
|
|
790
|
+
else:
|
|
791
|
+
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
|
777
792
|
|
|
778
793
|
from .._jsii import *
|
|
779
794
|
|
|
@@ -49,7 +49,22 @@ import jsii
|
|
|
49
49
|
import publication
|
|
50
50
|
import typing_extensions
|
|
51
51
|
|
|
52
|
-
|
|
52
|
+
import typeguard
|
|
53
|
+
from importlib.metadata import version as _metadata_package_version
|
|
54
|
+
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
|
|
55
|
+
|
|
56
|
+
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
|
|
57
|
+
if TYPEGUARD_MAJOR_VERSION <= 2:
|
|
58
|
+
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
|
|
59
|
+
else:
|
|
60
|
+
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
|
|
61
|
+
pass
|
|
62
|
+
else:
|
|
63
|
+
if TYPEGUARD_MAJOR_VERSION == 3:
|
|
64
|
+
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
|
|
65
|
+
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
|
|
66
|
+
else:
|
|
67
|
+
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
|
53
68
|
|
|
54
69
|
from .._jsii import *
|
|
55
70
|
|
|
@@ -38,7 +38,22 @@ import jsii
|
|
|
38
38
|
import publication
|
|
39
39
|
import typing_extensions
|
|
40
40
|
|
|
41
|
-
|
|
41
|
+
import typeguard
|
|
42
|
+
from importlib.metadata import version as _metadata_package_version
|
|
43
|
+
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
|
|
44
|
+
|
|
45
|
+
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
|
|
46
|
+
if TYPEGUARD_MAJOR_VERSION <= 2:
|
|
47
|
+
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
|
|
48
|
+
else:
|
|
49
|
+
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
|
|
50
|
+
pass
|
|
51
|
+
else:
|
|
52
|
+
if TYPEGUARD_MAJOR_VERSION == 3:
|
|
53
|
+
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
|
|
54
|
+
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
|
|
55
|
+
else:
|
|
56
|
+
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
|
42
57
|
|
|
43
58
|
from .._jsii import *
|
|
44
59
|
|
|
@@ -780,7 +780,22 @@ import jsii
|
|
|
780
780
|
import publication
|
|
781
781
|
import typing_extensions
|
|
782
782
|
|
|
783
|
-
|
|
783
|
+
import typeguard
|
|
784
|
+
from importlib.metadata import version as _metadata_package_version
|
|
785
|
+
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
|
|
786
|
+
|
|
787
|
+
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
|
|
788
|
+
if TYPEGUARD_MAJOR_VERSION <= 2:
|
|
789
|
+
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
|
|
790
|
+
else:
|
|
791
|
+
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
|
|
792
|
+
pass
|
|
793
|
+
else:
|
|
794
|
+
if TYPEGUARD_MAJOR_VERSION == 3:
|
|
795
|
+
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
|
|
796
|
+
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
|
|
797
|
+
else:
|
|
798
|
+
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
|
784
799
|
|
|
785
800
|
from .._jsii import *
|
|
786
801
|
|
|
@@ -1592,7 +1592,22 @@ import jsii
|
|
|
1592
1592
|
import publication
|
|
1593
1593
|
import typing_extensions
|
|
1594
1594
|
|
|
1595
|
-
|
|
1595
|
+
import typeguard
|
|
1596
|
+
from importlib.metadata import version as _metadata_package_version
|
|
1597
|
+
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
|
|
1598
|
+
|
|
1599
|
+
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
|
|
1600
|
+
if TYPEGUARD_MAJOR_VERSION <= 2:
|
|
1601
|
+
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
|
|
1602
|
+
else:
|
|
1603
|
+
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
|
|
1604
|
+
pass
|
|
1605
|
+
else:
|
|
1606
|
+
if TYPEGUARD_MAJOR_VERSION == 3:
|
|
1607
|
+
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
|
|
1608
|
+
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
|
|
1609
|
+
else:
|
|
1610
|
+
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
|
1596
1611
|
|
|
1597
1612
|
from .._jsii import *
|
|
1598
1613
|
|
aws_cdk/aws_codestar/__init__.py
CHANGED
|
@@ -43,7 +43,22 @@ import jsii
|
|
|
43
43
|
import publication
|
|
44
44
|
import typing_extensions
|
|
45
45
|
|
|
46
|
-
|
|
46
|
+
import typeguard
|
|
47
|
+
from importlib.metadata import version as _metadata_package_version
|
|
48
|
+
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
|
|
49
|
+
|
|
50
|
+
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
|
|
51
|
+
if TYPEGUARD_MAJOR_VERSION <= 2:
|
|
52
|
+
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
|
|
53
|
+
else:
|
|
54
|
+
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
|
|
55
|
+
pass
|
|
56
|
+
else:
|
|
57
|
+
if TYPEGUARD_MAJOR_VERSION == 3:
|
|
58
|
+
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
|
|
59
|
+
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
|
|
60
|
+
else:
|
|
61
|
+
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
|
47
62
|
|
|
48
63
|
from .._jsii import *
|
|
49
64
|
|
|
@@ -38,7 +38,22 @@ import jsii
|
|
|
38
38
|
import publication
|
|
39
39
|
import typing_extensions
|
|
40
40
|
|
|
41
|
-
|
|
41
|
+
import typeguard
|
|
42
|
+
from importlib.metadata import version as _metadata_package_version
|
|
43
|
+
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
|
|
44
|
+
|
|
45
|
+
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
|
|
46
|
+
if TYPEGUARD_MAJOR_VERSION <= 2:
|
|
47
|
+
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
|
|
48
|
+
else:
|
|
49
|
+
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
|
|
50
|
+
pass
|
|
51
|
+
else:
|
|
52
|
+
if TYPEGUARD_MAJOR_VERSION == 3:
|
|
53
|
+
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
|
|
54
|
+
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
|
|
55
|
+
else:
|
|
56
|
+
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
|
42
57
|
|
|
43
58
|
from .._jsii import *
|
|
44
59
|
|
|
@@ -83,7 +83,22 @@ import jsii
|
|
|
83
83
|
import publication
|
|
84
84
|
import typing_extensions
|
|
85
85
|
|
|
86
|
-
|
|
86
|
+
import typeguard
|
|
87
|
+
from importlib.metadata import version as _metadata_package_version
|
|
88
|
+
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
|
|
89
|
+
|
|
90
|
+
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
|
|
91
|
+
if TYPEGUARD_MAJOR_VERSION <= 2:
|
|
92
|
+
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
|
|
93
|
+
else:
|
|
94
|
+
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
|
|
95
|
+
pass
|
|
96
|
+
else:
|
|
97
|
+
if TYPEGUARD_MAJOR_VERSION == 3:
|
|
98
|
+
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
|
|
99
|
+
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
|
|
100
|
+
else:
|
|
101
|
+
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
|
87
102
|
|
|
88
103
|
from .._jsii import *
|
|
89
104
|
|