aws-cdk-lib 2.147.3__py3-none-any.whl → 2.148.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 +7 -5
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.147.3.jsii.tgz → aws-cdk-lib@2.148.1.jsii.tgz} +0 -0
- aws_cdk/alexa_ask/__init__.py +1 -1
- aws_cdk/assertions/__init__.py +1 -1
- aws_cdk/aws_accessanalyzer/__init__.py +1 -1
- aws_cdk/aws_acmpca/__init__.py +1 -1
- aws_cdk/aws_amazonmq/__init__.py +1 -1
- aws_cdk/aws_amplify/__init__.py +1 -1
- aws_cdk/aws_amplifyuibuilder/__init__.py +1 -1
- aws_cdk/aws_apigateway/__init__.py +1 -1
- aws_cdk/aws_apigatewayv2/__init__.py +1 -1
- aws_cdk/aws_apigatewayv2_authorizers/__init__.py +1 -1
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +1 -1
- aws_cdk/aws_appconfig/__init__.py +1 -1
- aws_cdk/aws_appflow/__init__.py +1 -1
- aws_cdk/aws_appintegrations/__init__.py +1 -1
- aws_cdk/aws_applicationautoscaling/__init__.py +1 -1
- aws_cdk/aws_applicationinsights/__init__.py +1 -1
- aws_cdk/aws_applicationsignals/__init__.py +143 -87
- aws_cdk/aws_appmesh/__init__.py +1 -1
- aws_cdk/aws_apprunner/__init__.py +1 -1
- aws_cdk/aws_appstream/__init__.py +1 -1
- aws_cdk/aws_appsync/__init__.py +1 -1
- aws_cdk/aws_apptest/__init__.py +3042 -0
- aws_cdk/aws_aps/__init__.py +1 -1
- aws_cdk/aws_arczonalshift/__init__.py +1 -1
- aws_cdk/aws_athena/__init__.py +1 -1
- aws_cdk/aws_auditmanager/__init__.py +1 -1
- aws_cdk/aws_autoscaling/__init__.py +1 -1
- aws_cdk/aws_autoscaling_common/__init__.py +1 -1
- aws_cdk/aws_autoscaling_hooktargets/__init__.py +1 -1
- aws_cdk/aws_autoscalingplans/__init__.py +1 -1
- aws_cdk/aws_b2bi/__init__.py +1 -1
- aws_cdk/aws_backup/__init__.py +4 -6
- aws_cdk/aws_backupgateway/__init__.py +1 -1
- aws_cdk/aws_batch/__init__.py +1 -216
- aws_cdk/aws_bcmdataexports/__init__.py +1 -1
- aws_cdk/aws_bedrock/__init__.py +178 -1
- aws_cdk/aws_billingconductor/__init__.py +1 -1
- aws_cdk/aws_budgets/__init__.py +1 -1
- aws_cdk/aws_cassandra/__init__.py +1 -1
- aws_cdk/aws_ce/__init__.py +1 -1
- aws_cdk/aws_certificatemanager/__init__.py +1 -1
- aws_cdk/aws_chatbot/__init__.py +1 -1
- aws_cdk/aws_cleanrooms/__init__.py +1 -1
- aws_cdk/aws_cleanroomsml/__init__.py +1 -1
- aws_cdk/aws_cloud9/__init__.py +1 -1
- aws_cdk/aws_cloudformation/__init__.py +1 -1
- aws_cdk/aws_cloudfront/__init__.py +1 -1
- aws_cdk/aws_cloudfront/experimental/__init__.py +44 -0
- aws_cdk/aws_cloudfront_origins/__init__.py +1 -1
- aws_cdk/aws_cloudtrail/__init__.py +20 -12
- aws_cdk/aws_cloudwatch/__init__.py +1 -1
- aws_cdk/aws_cloudwatch_actions/__init__.py +1 -1
- aws_cdk/aws_codeartifact/__init__.py +11 -9
- aws_cdk/aws_codebuild/__init__.py +193 -6
- aws_cdk/aws_codecommit/__init__.py +1 -1
- aws_cdk/aws_codeconnections/__init__.py +1 -1
- aws_cdk/aws_codedeploy/__init__.py +35 -4
- aws_cdk/aws_codeguruprofiler/__init__.py +1 -1
- aws_cdk/aws_codegurureviewer/__init__.py +1 -1
- aws_cdk/aws_codepipeline/__init__.py +1 -1
- aws_cdk/aws_codepipeline_actions/__init__.py +1 -1
- aws_cdk/aws_codestar/__init__.py +1 -1
- aws_cdk/aws_codestarconnections/__init__.py +1 -1
- aws_cdk/aws_codestarnotifications/__init__.py +1 -1
- aws_cdk/aws_cognito/__init__.py +56 -18
- aws_cdk/aws_comprehend/__init__.py +1 -1
- aws_cdk/aws_config/__init__.py +1 -1
- aws_cdk/aws_connect/__init__.py +1 -1
- aws_cdk/aws_connectcampaigns/__init__.py +1 -1
- aws_cdk/aws_controltower/__init__.py +1 -1
- aws_cdk/aws_cur/__init__.py +1 -1
- aws_cdk/aws_customerprofiles/__init__.py +1 -1
- aws_cdk/aws_databrew/__init__.py +1 -1
- aws_cdk/aws_datapipeline/__init__.py +1 -1
- aws_cdk/aws_datasync/__init__.py +12 -12
- aws_cdk/aws_datazone/__init__.py +1 -1
- aws_cdk/aws_dax/__init__.py +1 -1
- aws_cdk/aws_deadline/__init__.py +3 -2
- aws_cdk/aws_detective/__init__.py +1 -1
- aws_cdk/aws_devicefarm/__init__.py +1 -1
- aws_cdk/aws_devopsguru/__init__.py +1 -1
- aws_cdk/aws_directoryservice/__init__.py +1 -1
- aws_cdk/aws_dlm/__init__.py +1 -1
- aws_cdk/aws_dms/__init__.py +2 -2
- aws_cdk/aws_docdb/__init__.py +1 -1
- aws_cdk/aws_docdbelastic/__init__.py +1 -1
- aws_cdk/aws_dynamodb/__init__.py +1 -1
- aws_cdk/aws_ec2/__init__.py +24 -26
- aws_cdk/aws_ecr/__init__.py +1 -1
- aws_cdk/aws_ecr_assets/__init__.py +1 -1
- aws_cdk/aws_ecs/__init__.py +29 -25
- aws_cdk/aws_ecs_patterns/__init__.py +1 -1
- aws_cdk/aws_efs/__init__.py +1 -1
- aws_cdk/aws_eks/__init__.py +619 -31
- aws_cdk/aws_elasticache/__init__.py +29 -18
- aws_cdk/aws_elasticbeanstalk/__init__.py +1 -1
- aws_cdk/aws_elasticloadbalancing/__init__.py +1 -1
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +4 -4
- aws_cdk/aws_elasticloadbalancingv2_actions/__init__.py +1 -1
- aws_cdk/aws_elasticloadbalancingv2_targets/__init__.py +1 -1
- aws_cdk/aws_elasticsearch/__init__.py +1 -1
- aws_cdk/aws_emr/__init__.py +1 -1
- aws_cdk/aws_emrcontainers/__init__.py +1 -1
- aws_cdk/aws_emrserverless/__init__.py +34 -7
- aws_cdk/aws_entityresolution/__init__.py +1 -1
- aws_cdk/aws_events/__init__.py +1 -1
- aws_cdk/aws_events_targets/__init__.py +1 -1
- aws_cdk/aws_eventschemas/__init__.py +1 -1
- aws_cdk/aws_evidently/__init__.py +1 -1
- aws_cdk/aws_finspace/__init__.py +1 -1
- aws_cdk/aws_fis/__init__.py +1 -1
- aws_cdk/aws_fms/__init__.py +1 -1
- aws_cdk/aws_forecast/__init__.py +1 -1
- aws_cdk/aws_frauddetector/__init__.py +1 -1
- aws_cdk/aws_fsx/__init__.py +186 -2
- aws_cdk/aws_gamelift/__init__.py +10 -6
- aws_cdk/aws_globalaccelerator/__init__.py +1 -1
- aws_cdk/aws_globalaccelerator_endpoints/__init__.py +1 -1
- aws_cdk/aws_glue/__init__.py +18 -14
- aws_cdk/aws_grafana/__init__.py +9 -5
- aws_cdk/aws_greengrass/__init__.py +1 -1
- aws_cdk/aws_greengrassv2/__init__.py +1 -1
- aws_cdk/aws_groundstation/__init__.py +1 -1
- aws_cdk/aws_guardduty/__init__.py +171 -132
- aws_cdk/aws_healthimaging/__init__.py +1 -1
- aws_cdk/aws_healthlake/__init__.py +1 -1
- aws_cdk/aws_iam/__init__.py +1 -1
- aws_cdk/aws_identitystore/__init__.py +1 -1
- aws_cdk/aws_imagebuilder/__init__.py +1 -1
- aws_cdk/aws_inspector/__init__.py +1 -1
- aws_cdk/aws_inspectorv2/__init__.py +1 -1
- aws_cdk/aws_internetmonitor/__init__.py +1 -1
- aws_cdk/aws_iot/__init__.py +1 -1
- aws_cdk/aws_iot1click/__init__.py +1 -1
- aws_cdk/aws_iotanalytics/__init__.py +1 -1
- aws_cdk/aws_iotcoredeviceadvisor/__init__.py +1 -1
- aws_cdk/aws_iotevents/__init__.py +1 -1
- aws_cdk/aws_iotfleethub/__init__.py +1 -1
- aws_cdk/aws_iotfleetwise/__init__.py +1 -1
- aws_cdk/aws_iotsitewise/__init__.py +1 -1
- aws_cdk/aws_iotthingsgraph/__init__.py +1 -1
- aws_cdk/aws_iottwinmaker/__init__.py +1 -1
- aws_cdk/aws_iotwireless/__init__.py +1 -1
- aws_cdk/aws_ivs/__init__.py +1 -1
- aws_cdk/aws_ivschat/__init__.py +1 -1
- aws_cdk/aws_kafkaconnect/__init__.py +1 -1
- aws_cdk/aws_kendra/__init__.py +1 -1
- aws_cdk/aws_kendraranking/__init__.py +1 -1
- aws_cdk/aws_kinesis/__init__.py +1 -1
- aws_cdk/aws_kinesisanalytics/__init__.py +93 -1
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +93 -1
- aws_cdk/aws_kinesisfirehose/__init__.py +301 -94
- aws_cdk/aws_kinesisvideo/__init__.py +1 -1
- aws_cdk/aws_kms/__init__.py +16 -15
- aws_cdk/aws_lakeformation/__init__.py +1 -1
- aws_cdk/aws_lambda/__init__.py +160 -1
- aws_cdk/aws_lambda_destinations/__init__.py +1 -1
- aws_cdk/aws_lambda_event_sources/__init__.py +1 -1
- aws_cdk/aws_lambda_nodejs/__init__.py +1 -1
- aws_cdk/aws_lex/__init__.py +1 -1
- aws_cdk/aws_licensemanager/__init__.py +1 -1
- aws_cdk/aws_lightsail/__init__.py +1 -1
- aws_cdk/aws_location/__init__.py +1 -1
- aws_cdk/aws_logs/__init__.py +1 -1
- aws_cdk/aws_logs_destinations/__init__.py +1 -1
- aws_cdk/aws_lookoutequipment/__init__.py +1 -1
- aws_cdk/aws_lookoutmetrics/__init__.py +1 -1
- aws_cdk/aws_lookoutvision/__init__.py +1 -1
- aws_cdk/aws_m2/__init__.py +1 -1
- aws_cdk/aws_macie/__init__.py +1 -1
- aws_cdk/aws_managedblockchain/__init__.py +1 -1
- aws_cdk/aws_mediaconnect/__init__.py +1 -1
- aws_cdk/aws_mediaconvert/__init__.py +1 -1
- aws_cdk/aws_medialive/__init__.py +1 -1
- aws_cdk/aws_mediapackage/__init__.py +1 -1
- aws_cdk/aws_mediapackagev2/__init__.py +33 -1
- aws_cdk/aws_mediastore/__init__.py +1 -1
- aws_cdk/aws_mediatailor/__init__.py +1 -1
- aws_cdk/aws_memorydb/__init__.py +1 -1
- aws_cdk/aws_msk/__init__.py +1 -1
- aws_cdk/aws_mwaa/__init__.py +1 -1
- aws_cdk/aws_neptune/__init__.py +1 -1
- aws_cdk/aws_neptunegraph/__init__.py +1 -1
- aws_cdk/aws_networkfirewall/__init__.py +1 -1
- aws_cdk/aws_networkmanager/__init__.py +10 -10
- aws_cdk/aws_nimblestudio/__init__.py +1 -1
- aws_cdk/aws_oam/__init__.py +1 -1
- aws_cdk/aws_omics/__init__.py +2 -2
- aws_cdk/aws_opensearchserverless/__init__.py +1 -1
- aws_cdk/aws_opensearchservice/__init__.py +1 -1
- aws_cdk/aws_opsworks/__init__.py +1 -1
- aws_cdk/aws_opsworkscm/__init__.py +8 -4
- aws_cdk/aws_organizations/__init__.py +1 -1
- aws_cdk/aws_osis/__init__.py +1 -1
- aws_cdk/aws_panorama/__init__.py +1 -1
- aws_cdk/aws_paymentcryptography/__init__.py +1 -1
- aws_cdk/aws_pcaconnectorad/__init__.py +1 -1
- aws_cdk/aws_personalize/__init__.py +1 -1
- aws_cdk/aws_pinpoint/__init__.py +1 -1
- aws_cdk/aws_pinpointemail/__init__.py +1 -1
- aws_cdk/aws_pipes/__init__.py +1 -1
- aws_cdk/aws_proton/__init__.py +1 -1
- aws_cdk/aws_qbusiness/__init__.py +1 -1
- aws_cdk/aws_qldb/__init__.py +1 -1
- aws_cdk/aws_quicksight/__init__.py +1 -1
- aws_cdk/aws_ram/__init__.py +1 -1
- aws_cdk/aws_rds/__init__.py +515 -34
- aws_cdk/aws_redshift/__init__.py +10 -10
- aws_cdk/aws_redshiftserverless/__init__.py +1 -1
- aws_cdk/aws_refactorspaces/__init__.py +1 -1
- aws_cdk/aws_rekognition/__init__.py +1 -1
- aws_cdk/aws_resiliencehub/__init__.py +1 -1
- aws_cdk/aws_resourceexplorer2/__init__.py +1 -1
- aws_cdk/aws_resourcegroups/__init__.py +1 -1
- aws_cdk/aws_robomaker/__init__.py +1 -1
- aws_cdk/aws_rolesanywhere/__init__.py +1 -1
- aws_cdk/aws_route53/__init__.py +1 -1
- aws_cdk/aws_route53_patterns/__init__.py +1 -1
- aws_cdk/aws_route53_targets/__init__.py +1 -1
- aws_cdk/aws_route53profiles/__init__.py +1 -1
- aws_cdk/aws_route53recoverycontrol/__init__.py +1 -1
- aws_cdk/aws_route53recoveryreadiness/__init__.py +1 -1
- aws_cdk/aws_route53resolver/__init__.py +1 -1
- aws_cdk/aws_rum/__init__.py +1 -1
- aws_cdk/aws_s3/__init__.py +30 -6
- aws_cdk/aws_s3_assets/__init__.py +1 -1
- aws_cdk/aws_s3_deployment/__init__.py +1 -1
- aws_cdk/aws_s3_notifications/__init__.py +1 -1
- aws_cdk/aws_s3express/__init__.py +1 -1
- aws_cdk/aws_s3objectlambda/__init__.py +1 -1
- aws_cdk/aws_s3outposts/__init__.py +1 -1
- aws_cdk/aws_sagemaker/__init__.py +1 -1
- aws_cdk/aws_sam/__init__.py +1 -1
- aws_cdk/aws_scheduler/__init__.py +1 -1
- aws_cdk/aws_sdb/__init__.py +1 -1
- aws_cdk/aws_secretsmanager/__init__.py +1 -1
- aws_cdk/aws_securityhub/__init__.py +1 -1
- aws_cdk/aws_securitylake/__init__.py +1 -1
- aws_cdk/aws_servicecatalog/__init__.py +1 -1
- aws_cdk/aws_servicecatalogappregistry/__init__.py +1 -1
- aws_cdk/aws_servicediscovery/__init__.py +21 -4
- aws_cdk/aws_ses/__init__.py +86 -1
- aws_cdk/aws_ses_actions/__init__.py +1 -1
- aws_cdk/aws_shield/__init__.py +1 -1
- aws_cdk/aws_signer/__init__.py +42 -1
- aws_cdk/aws_simspaceweaver/__init__.py +1 -1
- aws_cdk/aws_sns/__init__.py +1 -1
- aws_cdk/aws_sns_subscriptions/__init__.py +1 -1
- aws_cdk/aws_sqs/__init__.py +7 -9
- aws_cdk/aws_ssm/__init__.py +106 -37
- aws_cdk/aws_ssmcontacts/__init__.py +1 -1
- aws_cdk/aws_ssmincidents/__init__.py +1 -1
- aws_cdk/aws_sso/__init__.py +1 -1
- aws_cdk/aws_stepfunctions/__init__.py +1 -1
- aws_cdk/aws_stepfunctions_tasks/__init__.py +793 -152
- aws_cdk/aws_supportapp/__init__.py +1 -1
- aws_cdk/aws_synthetics/__init__.py +1 -1
- aws_cdk/aws_systemsmanagersap/__init__.py +1 -1
- aws_cdk/aws_timestream/__init__.py +1 -1
- aws_cdk/aws_transfer/__init__.py +1 -1
- aws_cdk/aws_verifiedpermissions/__init__.py +602 -9
- aws_cdk/aws_voiceid/__init__.py +1 -1
- aws_cdk/aws_vpclattice/__init__.py +1 -1
- aws_cdk/aws_waf/__init__.py +1 -1
- aws_cdk/aws_wafregional/__init__.py +1 -1
- aws_cdk/aws_wafv2/__init__.py +1 -1
- aws_cdk/aws_wisdom/__init__.py +1 -1
- aws_cdk/aws_workspaces/__init__.py +774 -1
- aws_cdk/aws_workspacesthinclient/__init__.py +1 -1
- aws_cdk/aws_workspacesweb/__init__.py +5 -5
- aws_cdk/aws_xray/__init__.py +1 -1
- aws_cdk/cloud_assembly_schema/__init__.py +1 -1
- aws_cdk/cloudformation_include/__init__.py +1 -1
- aws_cdk/custom_resources/__init__.py +1 -1
- aws_cdk/cx_api/__init__.py +19 -1
- aws_cdk/lambda_layer_awscli/__init__.py +1 -1
- aws_cdk/lambda_layer_kubectl/__init__.py +1 -1
- aws_cdk/lambda_layer_node_proxy_agent/__init__.py +1 -1
- aws_cdk/pipelines/__init__.py +2 -2
- aws_cdk/region_info/__init__.py +1 -1
- aws_cdk/triggers/__init__.py +1 -1
- {aws_cdk_lib-2.147.3.dist-info → aws_cdk_lib-2.148.1.dist-info}/METADATA +2 -2
- aws_cdk_lib-2.148.1.dist-info/RECORD +291 -0
- aws_cdk_lib-2.147.3.dist-info/RECORD +0 -290
- {aws_cdk_lib-2.147.3.dist-info → aws_cdk_lib-2.148.1.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.147.3.dist-info → aws_cdk_lib-2.148.1.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.147.3.dist-info → aws_cdk_lib-2.148.1.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.147.3.dist-info → aws_cdk_lib-2.148.1.dist-info}/top_level.txt +0 -0
aws_cdk/aws_aps/__init__.py
CHANGED
aws_cdk/aws_athena/__init__.py
CHANGED
aws_cdk/aws_b2bi/__init__.py
CHANGED
aws_cdk/aws_backup/__init__.py
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
'''
|
|
1
|
+
r'''
|
|
2
2
|
# AWS Backup Construct Library
|
|
3
3
|
|
|
4
4
|
AWS Backup is a fully managed backup service that makes it easy to centralize and automate the
|
|
@@ -3451,7 +3451,7 @@ class CfnBackupVault(
|
|
|
3451
3451
|
'''
|
|
3452
3452
|
:param scope: Scope in which this resource is defined.
|
|
3453
3453
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
3454
|
-
:param backup_vault_name: The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the AWS Region where they are created.
|
|
3454
|
+
:param backup_vault_name: The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the AWS Region where they are created. They consist of lowercase letters, numbers, and hyphens.
|
|
3455
3455
|
:param access_policy: A resource-based policy that is used to manage access permissions on the target backup vault.
|
|
3456
3456
|
:param backup_vault_tags: The tags to assign to the backup vault.
|
|
3457
3457
|
:param encryption_key_arn: A server-side encryption key you can specify to encrypt your backups from services that support full AWS Backup management; for example, ``arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab`` . If you specify a key, you must specify its ARN, not its alias. If you do not specify a key, AWS Backup creates a KMS key for you by default. To learn which AWS Backup services support full AWS Backup management and how AWS Backup handles encryption for backups from services that do not yet support full AWS Backup , see `Encryption for backups in AWS Backup <https://docs.aws.amazon.com/aws-backup/latest/devguide/encryption.html>`_
|
|
@@ -3845,7 +3845,7 @@ class CfnBackupVaultProps:
|
|
|
3845
3845
|
) -> None:
|
|
3846
3846
|
'''Properties for defining a ``CfnBackupVault``.
|
|
3847
3847
|
|
|
3848
|
-
:param backup_vault_name: The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the AWS Region where they are created.
|
|
3848
|
+
:param backup_vault_name: The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the AWS Region where they are created. They consist of lowercase letters, numbers, and hyphens.
|
|
3849
3849
|
:param access_policy: A resource-based policy that is used to manage access permissions on the target backup vault.
|
|
3850
3850
|
:param backup_vault_tags: The tags to assign to the backup vault.
|
|
3851
3851
|
:param encryption_key_arn: A server-side encryption key you can specify to encrypt your backups from services that support full AWS Backup management; for example, ``arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab`` . If you specify a key, you must specify its ARN, not its alias. If you do not specify a key, AWS Backup creates a KMS key for you by default. To learn which AWS Backup services support full AWS Backup management and how AWS Backup handles encryption for backups from services that do not yet support full AWS Backup , see `Encryption for backups in AWS Backup <https://docs.aws.amazon.com/aws-backup/latest/devguide/encryption.html>`_
|
|
@@ -3911,7 +3911,7 @@ class CfnBackupVaultProps:
|
|
|
3911
3911
|
def backup_vault_name(self) -> builtins.str:
|
|
3912
3912
|
'''The name of a logical container where backups are stored.
|
|
3913
3913
|
|
|
3914
|
-
Backup vaults are identified by names that are unique to the account used to create them and the AWS Region where they are created.
|
|
3914
|
+
Backup vaults are identified by names that are unique to the account used to create them and the AWS Region where they are created. They consist of lowercase letters, numbers, and hyphens.
|
|
3915
3915
|
|
|
3916
3916
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backup-backupvault.html#cfn-backup-backupvault-backupvaultname
|
|
3917
3917
|
'''
|
|
@@ -6035,8 +6035,6 @@ class CfnRestoreTestingSelection(
|
|
|
6035
6035
|
) -> None:
|
|
6036
6036
|
'''The conditions that you define for resources in your restore testing plan using tags.
|
|
6037
6037
|
|
|
6038
|
-
For example, ``"StringEquals": { "Key": "aws:ResourceTag/CreatedByCryo", "Value": "true" },`` . Condition operators are case sensitive.
|
|
6039
|
-
|
|
6040
6038
|
:param string_equals: Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching."
|
|
6041
6039
|
:param string_not_equals: Filters the values of your tagged resources for only those resources that you tagged that do not have the same value. Also called "negated matching."
|
|
6042
6040
|
|
aws_cdk/aws_batch/__init__.py
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
'''
|
|
1
|
+
r'''
|
|
2
2
|
# AWS Batch Construct Library
|
|
3
3
|
|
|
4
4
|
This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.
|
|
@@ -5931,10 +5931,7 @@ class CfnJobDefinition(
|
|
|
5931
5931
|
# The values are placeholders you should change.
|
|
5932
5932
|
from aws_cdk import aws_batch as batch
|
|
5933
5933
|
|
|
5934
|
-
# labels: Any
|
|
5935
|
-
# limits: Any
|
|
5936
5934
|
# options: Any
|
|
5937
|
-
# requests: Any
|
|
5938
5935
|
|
|
5939
5936
|
node_properties_property = batch.CfnJobDefinition.NodePropertiesProperty(
|
|
5940
5937
|
main_node=123,
|
|
@@ -6145,102 +6142,6 @@ class CfnJobDefinition(
|
|
|
6145
6142
|
)]
|
|
6146
6143
|
)]
|
|
6147
6144
|
),
|
|
6148
|
-
eks_properties=batch.CfnJobDefinition.EksPropertiesProperty(
|
|
6149
|
-
pod_properties=batch.CfnJobDefinition.PodPropertiesProperty(
|
|
6150
|
-
containers=[batch.CfnJobDefinition.EksContainerProperty(
|
|
6151
|
-
image="image",
|
|
6152
|
-
|
|
6153
|
-
# the properties below are optional
|
|
6154
|
-
args=["args"],
|
|
6155
|
-
command=["command"],
|
|
6156
|
-
env=[batch.CfnJobDefinition.EksContainerEnvironmentVariableProperty(
|
|
6157
|
-
name="name",
|
|
6158
|
-
|
|
6159
|
-
# the properties below are optional
|
|
6160
|
-
value="value"
|
|
6161
|
-
)],
|
|
6162
|
-
image_pull_policy="imagePullPolicy",
|
|
6163
|
-
name="name",
|
|
6164
|
-
resources=batch.CfnJobDefinition.ResourcesProperty(
|
|
6165
|
-
limits=limits,
|
|
6166
|
-
requests=requests
|
|
6167
|
-
),
|
|
6168
|
-
security_context=batch.CfnJobDefinition.SecurityContextProperty(
|
|
6169
|
-
allow_privilege_escalation=False,
|
|
6170
|
-
privileged=False,
|
|
6171
|
-
read_only_root_filesystem=False,
|
|
6172
|
-
run_as_group=123,
|
|
6173
|
-
run_as_non_root=False,
|
|
6174
|
-
run_as_user=123
|
|
6175
|
-
),
|
|
6176
|
-
volume_mounts=[batch.CfnJobDefinition.EksContainerVolumeMountProperty(
|
|
6177
|
-
mount_path="mountPath",
|
|
6178
|
-
name="name",
|
|
6179
|
-
read_only=False
|
|
6180
|
-
)]
|
|
6181
|
-
)],
|
|
6182
|
-
dns_policy="dnsPolicy",
|
|
6183
|
-
host_network=False,
|
|
6184
|
-
image_pull_secrets=[batch.CfnJobDefinition.ImagePullSecretProperty(
|
|
6185
|
-
name="name"
|
|
6186
|
-
)],
|
|
6187
|
-
init_containers=[batch.CfnJobDefinition.EksContainerProperty(
|
|
6188
|
-
image="image",
|
|
6189
|
-
|
|
6190
|
-
# the properties below are optional
|
|
6191
|
-
args=["args"],
|
|
6192
|
-
command=["command"],
|
|
6193
|
-
env=[batch.CfnJobDefinition.EksContainerEnvironmentVariableProperty(
|
|
6194
|
-
name="name",
|
|
6195
|
-
|
|
6196
|
-
# the properties below are optional
|
|
6197
|
-
value="value"
|
|
6198
|
-
)],
|
|
6199
|
-
image_pull_policy="imagePullPolicy",
|
|
6200
|
-
name="name",
|
|
6201
|
-
resources=batch.CfnJobDefinition.ResourcesProperty(
|
|
6202
|
-
limits=limits,
|
|
6203
|
-
requests=requests
|
|
6204
|
-
),
|
|
6205
|
-
security_context=batch.CfnJobDefinition.SecurityContextProperty(
|
|
6206
|
-
allow_privilege_escalation=False,
|
|
6207
|
-
privileged=False,
|
|
6208
|
-
read_only_root_filesystem=False,
|
|
6209
|
-
run_as_group=123,
|
|
6210
|
-
run_as_non_root=False,
|
|
6211
|
-
run_as_user=123
|
|
6212
|
-
),
|
|
6213
|
-
volume_mounts=[batch.CfnJobDefinition.EksContainerVolumeMountProperty(
|
|
6214
|
-
mount_path="mountPath",
|
|
6215
|
-
name="name",
|
|
6216
|
-
read_only=False
|
|
6217
|
-
)]
|
|
6218
|
-
)],
|
|
6219
|
-
metadata=batch.CfnJobDefinition.MetadataProperty(
|
|
6220
|
-
labels=labels
|
|
6221
|
-
),
|
|
6222
|
-
service_account_name="serviceAccountName",
|
|
6223
|
-
share_process_namespace=False,
|
|
6224
|
-
volumes=[batch.CfnJobDefinition.EksVolumeProperty(
|
|
6225
|
-
name="name",
|
|
6226
|
-
|
|
6227
|
-
# the properties below are optional
|
|
6228
|
-
empty_dir=batch.CfnJobDefinition.EmptyDirProperty(
|
|
6229
|
-
medium="medium",
|
|
6230
|
-
size_limit="sizeLimit"
|
|
6231
|
-
),
|
|
6232
|
-
host_path=batch.CfnJobDefinition.HostPathProperty(
|
|
6233
|
-
path="path"
|
|
6234
|
-
),
|
|
6235
|
-
secret=batch.CfnJobDefinition.EksSecretProperty(
|
|
6236
|
-
secret_name="secretName",
|
|
6237
|
-
|
|
6238
|
-
# the properties below are optional
|
|
6239
|
-
optional=False
|
|
6240
|
-
)
|
|
6241
|
-
)]
|
|
6242
|
-
)
|
|
6243
|
-
),
|
|
6244
6145
|
instance_types=["instanceTypes"]
|
|
6245
6146
|
)],
|
|
6246
6147
|
num_nodes=123
|
|
@@ -6309,7 +6210,6 @@ class CfnJobDefinition(
|
|
|
6309
6210
|
"target_nodes": "targetNodes",
|
|
6310
6211
|
"container": "container",
|
|
6311
6212
|
"ecs_properties": "ecsProperties",
|
|
6312
|
-
"eks_properties": "eksProperties",
|
|
6313
6213
|
"instance_types": "instanceTypes",
|
|
6314
6214
|
},
|
|
6315
6215
|
)
|
|
@@ -6320,7 +6220,6 @@ class CfnJobDefinition(
|
|
|
6320
6220
|
target_nodes: builtins.str,
|
|
6321
6221
|
container: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnJobDefinition.ContainerPropertiesProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6322
6222
|
ecs_properties: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnJobDefinition.EcsPropertiesProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6323
|
-
eks_properties: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnJobDefinition.EksPropertiesProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6324
6223
|
instance_types: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
6325
6224
|
) -> None:
|
|
6326
6225
|
'''This is an object that represents the properties of the node range for a multi-node parallel job.
|
|
@@ -6328,7 +6227,6 @@ class CfnJobDefinition(
|
|
|
6328
6227
|
:param target_nodes: The range of nodes, using node index values. A range of ``0:3`` indicates nodes with index values of ``0`` through ``3`` . If the starting range value is omitted ( ``:n`` ), then ``0`` is used to start the range. If the ending range value is omitted ( ``n:`` ), then the highest possible node index is used to end the range. Your accumulative node ranges must account for all nodes ( ``0:n`` ). You can nest node ranges (for example, ``0:10`` and ``4:5`` ). In this case, the ``4:5`` range properties override the ``0:10`` properties.
|
|
6329
6228
|
:param container: The container details for the node range.
|
|
6330
6229
|
:param ecs_properties: This is an object that represents the properties of the node range for a multi-node parallel job.
|
|
6331
|
-
:param eks_properties:
|
|
6332
6230
|
:param instance_types: The instance types of the underlying host infrastructure of a multi-node parallel job. .. epigraph:: This parameter isn't applicable to jobs that are running on Fargate resources. In addition, this list object is currently limited to one element.
|
|
6333
6231
|
|
|
6334
6232
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-noderangeproperty.html
|
|
@@ -6340,10 +6238,7 @@ class CfnJobDefinition(
|
|
|
6340
6238
|
# The values are placeholders you should change.
|
|
6341
6239
|
from aws_cdk import aws_batch as batch
|
|
6342
6240
|
|
|
6343
|
-
# labels: Any
|
|
6344
|
-
# limits: Any
|
|
6345
6241
|
# options: Any
|
|
6346
|
-
# requests: Any
|
|
6347
6242
|
|
|
6348
6243
|
node_range_property_property = batch.CfnJobDefinition.NodeRangePropertyProperty(
|
|
6349
6244
|
target_nodes="targetNodes",
|
|
@@ -6552,102 +6447,6 @@ class CfnJobDefinition(
|
|
|
6552
6447
|
)]
|
|
6553
6448
|
)]
|
|
6554
6449
|
),
|
|
6555
|
-
eks_properties=batch.CfnJobDefinition.EksPropertiesProperty(
|
|
6556
|
-
pod_properties=batch.CfnJobDefinition.PodPropertiesProperty(
|
|
6557
|
-
containers=[batch.CfnJobDefinition.EksContainerProperty(
|
|
6558
|
-
image="image",
|
|
6559
|
-
|
|
6560
|
-
# the properties below are optional
|
|
6561
|
-
args=["args"],
|
|
6562
|
-
command=["command"],
|
|
6563
|
-
env=[batch.CfnJobDefinition.EksContainerEnvironmentVariableProperty(
|
|
6564
|
-
name="name",
|
|
6565
|
-
|
|
6566
|
-
# the properties below are optional
|
|
6567
|
-
value="value"
|
|
6568
|
-
)],
|
|
6569
|
-
image_pull_policy="imagePullPolicy",
|
|
6570
|
-
name="name",
|
|
6571
|
-
resources=batch.CfnJobDefinition.ResourcesProperty(
|
|
6572
|
-
limits=limits,
|
|
6573
|
-
requests=requests
|
|
6574
|
-
),
|
|
6575
|
-
security_context=batch.CfnJobDefinition.SecurityContextProperty(
|
|
6576
|
-
allow_privilege_escalation=False,
|
|
6577
|
-
privileged=False,
|
|
6578
|
-
read_only_root_filesystem=False,
|
|
6579
|
-
run_as_group=123,
|
|
6580
|
-
run_as_non_root=False,
|
|
6581
|
-
run_as_user=123
|
|
6582
|
-
),
|
|
6583
|
-
volume_mounts=[batch.CfnJobDefinition.EksContainerVolumeMountProperty(
|
|
6584
|
-
mount_path="mountPath",
|
|
6585
|
-
name="name",
|
|
6586
|
-
read_only=False
|
|
6587
|
-
)]
|
|
6588
|
-
)],
|
|
6589
|
-
dns_policy="dnsPolicy",
|
|
6590
|
-
host_network=False,
|
|
6591
|
-
image_pull_secrets=[batch.CfnJobDefinition.ImagePullSecretProperty(
|
|
6592
|
-
name="name"
|
|
6593
|
-
)],
|
|
6594
|
-
init_containers=[batch.CfnJobDefinition.EksContainerProperty(
|
|
6595
|
-
image="image",
|
|
6596
|
-
|
|
6597
|
-
# the properties below are optional
|
|
6598
|
-
args=["args"],
|
|
6599
|
-
command=["command"],
|
|
6600
|
-
env=[batch.CfnJobDefinition.EksContainerEnvironmentVariableProperty(
|
|
6601
|
-
name="name",
|
|
6602
|
-
|
|
6603
|
-
# the properties below are optional
|
|
6604
|
-
value="value"
|
|
6605
|
-
)],
|
|
6606
|
-
image_pull_policy="imagePullPolicy",
|
|
6607
|
-
name="name",
|
|
6608
|
-
resources=batch.CfnJobDefinition.ResourcesProperty(
|
|
6609
|
-
limits=limits,
|
|
6610
|
-
requests=requests
|
|
6611
|
-
),
|
|
6612
|
-
security_context=batch.CfnJobDefinition.SecurityContextProperty(
|
|
6613
|
-
allow_privilege_escalation=False,
|
|
6614
|
-
privileged=False,
|
|
6615
|
-
read_only_root_filesystem=False,
|
|
6616
|
-
run_as_group=123,
|
|
6617
|
-
run_as_non_root=False,
|
|
6618
|
-
run_as_user=123
|
|
6619
|
-
),
|
|
6620
|
-
volume_mounts=[batch.CfnJobDefinition.EksContainerVolumeMountProperty(
|
|
6621
|
-
mount_path="mountPath",
|
|
6622
|
-
name="name",
|
|
6623
|
-
read_only=False
|
|
6624
|
-
)]
|
|
6625
|
-
)],
|
|
6626
|
-
metadata=batch.CfnJobDefinition.MetadataProperty(
|
|
6627
|
-
labels=labels
|
|
6628
|
-
),
|
|
6629
|
-
service_account_name="serviceAccountName",
|
|
6630
|
-
share_process_namespace=False,
|
|
6631
|
-
volumes=[batch.CfnJobDefinition.EksVolumeProperty(
|
|
6632
|
-
name="name",
|
|
6633
|
-
|
|
6634
|
-
# the properties below are optional
|
|
6635
|
-
empty_dir=batch.CfnJobDefinition.EmptyDirProperty(
|
|
6636
|
-
medium="medium",
|
|
6637
|
-
size_limit="sizeLimit"
|
|
6638
|
-
),
|
|
6639
|
-
host_path=batch.CfnJobDefinition.HostPathProperty(
|
|
6640
|
-
path="path"
|
|
6641
|
-
),
|
|
6642
|
-
secret=batch.CfnJobDefinition.EksSecretProperty(
|
|
6643
|
-
secret_name="secretName",
|
|
6644
|
-
|
|
6645
|
-
# the properties below are optional
|
|
6646
|
-
optional=False
|
|
6647
|
-
)
|
|
6648
|
-
)]
|
|
6649
|
-
)
|
|
6650
|
-
),
|
|
6651
6450
|
instance_types=["instanceTypes"]
|
|
6652
6451
|
)
|
|
6653
6452
|
'''
|
|
@@ -6656,7 +6455,6 @@ class CfnJobDefinition(
|
|
|
6656
6455
|
check_type(argname="argument target_nodes", value=target_nodes, expected_type=type_hints["target_nodes"])
|
|
6657
6456
|
check_type(argname="argument container", value=container, expected_type=type_hints["container"])
|
|
6658
6457
|
check_type(argname="argument ecs_properties", value=ecs_properties, expected_type=type_hints["ecs_properties"])
|
|
6659
|
-
check_type(argname="argument eks_properties", value=eks_properties, expected_type=type_hints["eks_properties"])
|
|
6660
6458
|
check_type(argname="argument instance_types", value=instance_types, expected_type=type_hints["instance_types"])
|
|
6661
6459
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
6662
6460
|
"target_nodes": target_nodes,
|
|
@@ -6665,8 +6463,6 @@ class CfnJobDefinition(
|
|
|
6665
6463
|
self._values["container"] = container
|
|
6666
6464
|
if ecs_properties is not None:
|
|
6667
6465
|
self._values["ecs_properties"] = ecs_properties
|
|
6668
|
-
if eks_properties is not None:
|
|
6669
|
-
self._values["eks_properties"] = eks_properties
|
|
6670
6466
|
if instance_types is not None:
|
|
6671
6467
|
self._values["instance_types"] = instance_types
|
|
6672
6468
|
|
|
@@ -6704,16 +6500,6 @@ class CfnJobDefinition(
|
|
|
6704
6500
|
result = self._values.get("ecs_properties")
|
|
6705
6501
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnJobDefinition.EcsPropertiesProperty"]], result)
|
|
6706
6502
|
|
|
6707
|
-
@builtins.property
|
|
6708
|
-
def eks_properties(
|
|
6709
|
-
self,
|
|
6710
|
-
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnJobDefinition.EksPropertiesProperty"]]:
|
|
6711
|
-
'''
|
|
6712
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-noderangeproperty.html#cfn-batch-jobdefinition-noderangeproperty-eksproperties
|
|
6713
|
-
'''
|
|
6714
|
-
result = self._values.get("eks_properties")
|
|
6715
|
-
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnJobDefinition.EksPropertiesProperty"]], result)
|
|
6716
|
-
|
|
6717
6503
|
@builtins.property
|
|
6718
6504
|
def instance_types(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
6719
6505
|
'''The instance types of the underlying host infrastructure of a multi-node parallel job.
|
|
@@ -23722,7 +23508,6 @@ def _typecheckingstub__005c21025a81827c3f5ed456b171eb7ffdf652583c7da0ff6ff671864
|
|
|
23722
23508
|
target_nodes: builtins.str,
|
|
23723
23509
|
container: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnJobDefinition.ContainerPropertiesProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
23724
23510
|
ecs_properties: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnJobDefinition.EcsPropertiesProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
23725
|
-
eks_properties: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnJobDefinition.EksPropertiesProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
23726
23511
|
instance_types: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
23727
23512
|
) -> None:
|
|
23728
23513
|
"""Type checking stubs"""
|