aws-cdk-lib 2.152.0__py3-none-any.whl → 2.154.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 +157 -215
- aws_cdk/_jsii/__init__.py +2 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.152.0.jsii.tgz → aws-cdk-lib@2.154.0.jsii.tgz} +0 -0
- aws_cdk/alexa_ask/__init__.py +3 -3
- aws_cdk/aws_accessanalyzer/__init__.py +5 -5
- aws_cdk/aws_acmpca/__init__.py +79 -24
- aws_cdk/aws_amazonmq/__init__.py +161 -161
- aws_cdk/aws_amplify/__init__.py +36 -36
- aws_cdk/aws_amplifyuibuilder/__init__.py +32 -32
- aws_cdk/aws_apigateway/__init__.py +122 -122
- aws_cdk/aws_apigatewayv2/__init__.py +135 -121
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +12 -12
- aws_cdk/aws_appconfig/__init__.py +59 -59
- aws_cdk/aws_appflow/__init__.py +20 -20
- aws_cdk/aws_appintegrations/__init__.py +19 -19
- aws_cdk/aws_applicationautoscaling/__init__.py +31 -16
- aws_cdk/aws_applicationinsights/__init__.py +11 -11
- aws_cdk/aws_applicationsignals/__init__.py +5 -5
- aws_cdk/aws_appmesh/__init__.py +35 -35
- aws_cdk/aws_apprunner/__init__.py +25 -25
- aws_cdk/aws_appstream/__init__.py +105 -105
- aws_cdk/aws_appsync/__init__.py +89 -89
- aws_cdk/aws_apptest/__init__.py +25 -25
- aws_cdk/aws_aps/__init__.py +14 -14
- aws_cdk/aws_arczonalshift/__init__.py +200 -3
- aws_cdk/aws_athena/__init__.py +25 -25
- aws_cdk/aws_auditmanager/__init__.py +15 -15
- aws_cdk/aws_autoscaling/__init__.py +84 -84
- aws_cdk/aws_autoscalingplans/__init__.py +2 -2
- aws_cdk/aws_b2bi/__init__.py +24 -24
- aws_cdk/aws_backup/__init__.py +33 -33
- aws_cdk/aws_backupgateway/__init__.py +7 -7
- aws_cdk/aws_batch/__init__.py +289 -35
- aws_cdk/aws_bcmdataexports/__init__.py +2 -2
- aws_cdk/aws_bedrock/__init__.py +13239 -3277
- aws_cdk/aws_billingconductor/__init__.py +28 -28
- aws_cdk/aws_budgets/__init__.py +12 -12
- aws_cdk/aws_cassandra/__init__.py +16 -16
- aws_cdk/aws_ce/__init__.py +17 -17
- aws_cdk/aws_certificatemanager/__init__.py +9 -9
- aws_cdk/aws_chatbot/__init__.py +22 -22
- aws_cdk/aws_cleanrooms/__init__.py +2470 -307
- aws_cdk/aws_cleanroomsml/__init__.py +5 -5
- aws_cdk/aws_cloud9/__init__.py +10 -10
- aws_cdk/aws_cloudformation/__init__.py +94 -69
- aws_cdk/aws_cloudfront/__init__.py +31 -30
- aws_cdk/aws_cloudfront/experimental/__init__.py +23 -0
- aws_cdk/aws_cloudtrail/__init__.py +46 -44
- aws_cdk/aws_cloudwatch/__init__.py +61 -69
- aws_cdk/aws_codeartifact/__init__.py +19 -19
- aws_cdk/aws_codebuild/__init__.py +60 -68
- aws_cdk/aws_codecommit/__init__.py +10 -6
- aws_cdk/aws_codeconnections/__init__.py +5 -5
- aws_cdk/aws_codedeploy/__init__.py +28 -28
- aws_cdk/aws_codeguruprofiler/__init__.py +5 -5
- aws_cdk/aws_codegurureviewer/__init__.py +6 -6
- aws_cdk/aws_codepipeline/__init__.py +849 -52
- aws_cdk/aws_codepipeline_actions/__init__.py +1 -1
- aws_cdk/aws_codestar/__init__.py +8 -8
- aws_cdk/aws_codestarconnections/__init__.py +17 -17
- aws_cdk/aws_codestarnotifications/__init__.py +10 -10
- aws_cdk/aws_cognito/__init__.py +465 -133
- aws_cdk/aws_comprehend/__init__.py +20 -20
- aws_cdk/aws_config/__init__.py +67 -67
- aws_cdk/aws_connect/__init__.py +139 -137
- aws_cdk/aws_connectcampaigns/__init__.py +5 -5
- aws_cdk/aws_controltower/__init__.py +12 -12
- aws_cdk/aws_cur/__init__.py +12 -12
- aws_cdk/aws_customerprofiles/__init__.py +36 -36
- aws_cdk/aws_databrew/__init__.py +45 -45
- aws_cdk/aws_datapipeline/__init__.py +12 -8
- aws_cdk/aws_datasync/__init__.py +119 -117
- aws_cdk/aws_datazone/__init__.py +63 -63
- aws_cdk/aws_dax/__init__.py +20 -20
- aws_cdk/aws_deadline/__init__.py +221 -292
- aws_cdk/aws_detective/__init__.py +8 -8
- aws_cdk/aws_devicefarm/__init__.py +37 -37
- aws_cdk/aws_devopsguru/__init__.py +2 -2
- aws_cdk/aws_directoryservice/__init__.py +15 -15
- aws_cdk/aws_dlm/__init__.py +12 -12
- aws_cdk/aws_dms/__init__.py +300 -298
- aws_cdk/aws_docdb/__init__.py +49 -49
- aws_cdk/aws_docdbelastic/__init__.py +14 -14
- aws_cdk/aws_dynamodb/__init__.py +371 -37
- aws_cdk/aws_ec2/__init__.py +900 -606
- aws_cdk/aws_ecr/__init__.py +117 -77
- aws_cdk/aws_ecr_assets/__init__.py +4 -4
- aws_cdk/aws_ecs/__init__.py +190 -191
- aws_cdk/aws_ecs_patterns/__init__.py +2 -2
- aws_cdk/aws_efs/__init__.py +22 -22
- aws_cdk/aws_eks/__init__.py +177 -61
- aws_cdk/aws_elasticache/__init__.py +218 -226
- aws_cdk/aws_elasticbeanstalk/__init__.py +25 -25
- aws_cdk/aws_elasticloadbalancing/__init__.py +16 -16
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +1066 -102
- aws_cdk/aws_elasticloadbalancingv2_targets/__init__.py +86 -4
- aws_cdk/aws_elasticsearch/__init__.py +16 -16
- aws_cdk/aws_emr/__init__.py +74 -74
- aws_cdk/aws_emrcontainers/__init__.py +3 -3
- aws_cdk/aws_emrserverless/__init__.py +157 -14
- aws_cdk/aws_entityresolution/__init__.py +613 -35
- aws_cdk/aws_events/__init__.py +42 -42
- aws_cdk/aws_eventschemas/__init__.py +16 -16
- aws_cdk/aws_evidently/__init__.py +38 -38
- aws_cdk/aws_finspace/__init__.py +8 -8
- aws_cdk/aws_fis/__init__.py +12 -12
- aws_cdk/aws_fms/__init__.py +21 -21
- aws_cdk/aws_forecast/__init__.py +18 -11
- aws_cdk/aws_frauddetector/__init__.py +35 -35
- aws_cdk/aws_fsx/__init__.py +35 -35
- aws_cdk/aws_gamelift/__init__.py +103 -103
- aws_cdk/aws_globalaccelerator/__init__.py +46 -24
- aws_cdk/aws_glue/__init__.py +132 -139
- aws_cdk/aws_grafana/__init__.py +17 -17
- aws_cdk/aws_greengrass/__init__.py +48 -48
- aws_cdk/aws_greengrassv2/__init__.py +10 -10
- aws_cdk/aws_groundstation/__init__.py +16 -16
- aws_cdk/aws_guardduty/__init__.py +40 -38
- aws_cdk/aws_healthimaging/__init__.py +3 -3
- aws_cdk/aws_healthlake/__init__.py +6 -6
- aws_cdk/aws_iam/__init__.py +120 -122
- aws_cdk/aws_identitystore/__init__.py +6 -6
- aws_cdk/aws_imagebuilder/__init__.py +92 -92
- aws_cdk/aws_inspector/__init__.py +8 -8
- aws_cdk/aws_inspectorv2/__init__.py +102 -97
- aws_cdk/aws_internetmonitor/__init__.py +12 -12
- aws_cdk/aws_iot/__init__.py +141 -141
- aws_cdk/aws_iot1click/__init__.py +9 -9
- aws_cdk/aws_iotanalytics/__init__.py +21 -21
- aws_cdk/aws_iotcoredeviceadvisor/__init__.py +2 -2
- aws_cdk/aws_iotevents/__init__.py +20 -20
- aws_cdk/aws_iotfleethub/__init__.py +4 -4
- aws_cdk/aws_iotfleetwise/__init__.py +45 -45
- aws_cdk/aws_iotsitewise/__init__.py +40 -40
- aws_cdk/aws_iotthingsgraph/__init__.py +2 -2
- aws_cdk/aws_iottwinmaker/__init__.py +34 -34
- aws_cdk/aws_iotwireless/__init__.py +66 -66
- aws_cdk/aws_ivs/__init__.py +32 -32
- aws_cdk/aws_ivschat/__init__.py +9 -9
- aws_cdk/aws_kafkaconnect/__init__.py +22 -22
- aws_cdk/aws_kendra/__init__.py +28 -28
- aws_cdk/aws_kendraranking/__init__.py +4 -4
- aws_cdk/aws_kinesis/__init__.py +8 -8
- aws_cdk/aws_kinesisanalytics/__init__.py +23 -23
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +15 -15
- aws_cdk/aws_kinesisfirehose/__init__.py +677 -18
- aws_cdk/aws_kinesisvideo/__init__.py +10 -10
- aws_cdk/aws_kms/__init__.py +20 -20
- aws_cdk/aws_lakeformation/__init__.py +36 -36
- aws_cdk/aws_lambda/__init__.py +435 -227
- aws_cdk/aws_lambda_nodejs/__init__.py +23 -0
- aws_cdk/aws_launchwizard/__init__.py +508 -0
- aws_cdk/aws_lex/__init__.py +24 -24
- aws_cdk/aws_licensemanager/__init__.py +17 -17
- aws_cdk/aws_lightsail/__init__.py +90 -90
- aws_cdk/aws_location/__init__.py +41 -41
- aws_cdk/aws_logs/__init__.py +50 -50
- aws_cdk/aws_lookoutequipment/__init__.py +9 -9
- aws_cdk/aws_lookoutmetrics/__init__.py +10 -10
- aws_cdk/aws_lookoutvision/__init__.py +1 -1
- aws_cdk/aws_m2/__init__.py +20 -20
- aws_cdk/aws_macie/__init__.py +19 -19
- aws_cdk/aws_managedblockchain/__init__.py +10 -10
- aws_cdk/aws_mediaconnect/__init__.py +114 -77
- aws_cdk/aws_mediaconvert/__init__.py +20 -20
- aws_cdk/aws_medialive/__init__.py +44 -76
- aws_cdk/aws_mediapackage/__init__.py +38 -38
- aws_cdk/aws_mediapackagev2/__init__.py +178 -25
- aws_cdk/aws_mediastore/__init__.py +7 -7
- aws_cdk/aws_mediatailor/__init__.py +40 -40
- aws_cdk/aws_memorydb/__init__.py +41 -41
- aws_cdk/aws_msk/__init__.py +39 -39
- aws_cdk/aws_mwaa/__init__.py +25 -25
- aws_cdk/aws_neptune/__init__.py +55 -55
- aws_cdk/aws_neptunegraph/__init__.py +11 -11
- aws_cdk/aws_networkfirewall/__init__.py +36 -30
- aws_cdk/aws_networkmanager/__init__.py +1062 -91
- aws_cdk/aws_nimblestudio/__init__.py +31 -31
- aws_cdk/aws_oam/__init__.py +8 -8
- aws_cdk/aws_omics/__init__.py +36 -36
- aws_cdk/aws_opensearchserverless/__init__.py +25 -25
- aws_cdk/aws_opensearchservice/__init__.py +20 -20
- aws_cdk/aws_opsworks/__init__.py +87 -87
- aws_cdk/aws_opsworkscm/__init__.py +21 -21
- aws_cdk/aws_organizations/__init__.py +17 -17
- aws_cdk/aws_osis/__init__.py +122 -9
- aws_cdk/aws_panorama/__init__.py +27 -22
- aws_cdk/aws_paymentcryptography/__init__.py +7 -7
- aws_cdk/aws_pcaconnectorad/__init__.py +17 -17
- aws_cdk/aws_personalize/__init__.py +19 -19
- aws_cdk/aws_pinpoint/__init__.py +122 -122
- aws_cdk/aws_pinpointemail/__init__.py +16 -16
- aws_cdk/aws_pipes/__init__.py +14 -16
- aws_cdk/aws_proton/__init__.py +19 -19
- aws_cdk/aws_qbusiness/__init__.py +160 -45
- aws_cdk/aws_qldb/__init__.py +12 -12
- aws_cdk/aws_quicksight/__init__.py +91 -91
- aws_cdk/aws_ram/__init__.py +11 -11
- aws_cdk/aws_rds/__init__.py +365 -259
- aws_cdk/aws_redshift/__init__.py +136 -91
- aws_cdk/aws_redshiftserverless/__init__.py +27 -27
- aws_cdk/aws_refactorspaces/__init__.py +26 -26
- aws_cdk/aws_rekognition/__init__.py +16 -16
- aws_cdk/aws_resiliencehub/__init__.py +15 -15
- aws_cdk/aws_resourceexplorer2/__init__.py +8 -8
- aws_cdk/aws_resourcegroups/__init__.py +6 -6
- aws_cdk/aws_robomaker/__init__.py +25 -25
- aws_cdk/aws_rolesanywhere/__init__.py +67 -19
- aws_cdk/aws_route53/__init__.py +36 -36
- aws_cdk/aws_route53profiles/__init__.py +11 -11
- aws_cdk/aws_route53recoverycontrol/__init__.py +14 -14
- aws_cdk/aws_route53recoveryreadiness/__init__.py +13 -13
- aws_cdk/aws_route53resolver/__init__.py +123 -82
- aws_cdk/aws_rum/__init__.py +6 -6
- aws_cdk/aws_s3/__init__.py +136 -80
- aws_cdk/aws_s3_deployment/__init__.py +30 -24
- aws_cdk/aws_s3_notifications/__init__.py +3 -4
- aws_cdk/aws_s3express/__init__.py +5 -5
- aws_cdk/aws_s3objectlambda/__init__.py +6 -6
- aws_cdk/aws_s3outposts/__init__.py +16 -16
- aws_cdk/aws_sagemaker/__init__.py +2412 -280
- aws_cdk/aws_sam/__init__.py +101 -101
- aws_cdk/aws_scheduler/__init__.py +13 -13
- aws_cdk/aws_sdb/__init__.py +1 -1
- aws_cdk/aws_secretsmanager/__init__.py +20 -19
- aws_cdk/aws_securityhub/__init__.py +70 -57
- aws_cdk/aws_securitylake/__init__.py +341 -16
- aws_cdk/aws_servicecatalog/__init__.py +87 -87
- aws_cdk/aws_servicecatalogappregistry/__init__.py +12 -12
- aws_cdk/aws_servicediscovery/__init__.py +23 -23
- aws_cdk/aws_ses/__init__.py +12038 -5604
- aws_cdk/aws_shield/__init__.py +15 -15
- aws_cdk/aws_signer/__init__.py +9 -9
- aws_cdk/aws_simspaceweaver/__init__.py +5 -5
- aws_cdk/aws_sns/__init__.py +28 -28
- aws_cdk/aws_sqs/__init__.py +20 -20
- aws_cdk/aws_ssm/__init__.py +172 -101
- aws_cdk/aws_ssmcontacts/__init__.py +18 -18
- aws_cdk/aws_ssmincidents/__init__.py +11 -11
- aws_cdk/aws_sso/__init__.py +31 -31
- aws_cdk/aws_stepfunctions/__init__.py +370 -28
- aws_cdk/aws_supportapp/__init__.py +11 -11
- aws_cdk/aws_synthetics/__init__.py +18 -18
- aws_cdk/aws_systemsmanagersap/__init__.py +48 -7
- aws_cdk/aws_timestream/__init__.py +34 -34
- aws_cdk/aws_transfer/__init__.py +57 -57
- aws_cdk/aws_verifiedpermissions/__init__.py +11 -11
- aws_cdk/aws_voiceid/__init__.py +4 -4
- aws_cdk/aws_vpclattice/__init__.py +42 -42
- aws_cdk/aws_waf/__init__.py +17 -17
- aws_cdk/aws_wafregional/__init__.py +28 -28
- aws_cdk/aws_wafv2/__init__.py +39 -39
- aws_cdk/aws_wisdom/__init__.py +16 -16
- aws_cdk/aws_workspaces/__init__.py +18 -18
- aws_cdk/aws_workspacesthinclient/__init__.py +63 -9
- aws_cdk/aws_workspacesweb/__init__.py +87 -46
- aws_cdk/aws_xray/__init__.py +12 -12
- aws_cdk/cloud_assembly_schema/__init__.py +348 -239
- aws_cdk/custom_resources/__init__.py +283 -0
- aws_cdk/cx_api/__init__.py +15 -15
- aws_cdk/pipelines/__init__.py +172 -237
- aws_cdk/triggers/__init__.py +23 -0
- {aws_cdk_lib-2.152.0.dist-info → aws_cdk_lib-2.154.0.dist-info}/METADATA +3 -2
- aws_cdk_lib-2.154.0.dist-info/RECORD +292 -0
- aws_cdk_lib-2.152.0.dist-info/RECORD +0 -291
- {aws_cdk_lib-2.152.0.dist-info → aws_cdk_lib-2.154.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.152.0.dist-info → aws_cdk_lib-2.154.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.152.0.dist-info → aws_cdk_lib-2.154.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.152.0.dist-info → aws_cdk_lib-2.154.0.dist-info}/top_level.txt +0 -0
|
@@ -502,6 +502,7 @@ from ..aws_lambda import (
|
|
|
502
502
|
LogRetentionRetryOptions as _LogRetentionRetryOptions_ad797a7a,
|
|
503
503
|
LoggingFormat as _LoggingFormat_30be8e01,
|
|
504
504
|
ParamsAndSecretsLayerVersion as _ParamsAndSecretsLayerVersion_dce97f06,
|
|
505
|
+
RecursiveLoop as _RecursiveLoop_fc293827,
|
|
505
506
|
Runtime as _Runtime_b4eaa844,
|
|
506
507
|
RuntimeManagementMode as _RuntimeManagementMode_688c173b,
|
|
507
508
|
SnapStartConf as _SnapStartConf_2ffaa769,
|
|
@@ -1586,6 +1587,7 @@ class NodejsFunction(
|
|
|
1586
1587
|
params_and_secrets: typing.Optional[_ParamsAndSecretsLayerVersion_dce97f06] = None,
|
|
1587
1588
|
profiling: typing.Optional[builtins.bool] = None,
|
|
1588
1589
|
profiling_group: typing.Optional[_IProfilingGroup_0bba72c4] = None,
|
|
1590
|
+
recursive_loop: typing.Optional[_RecursiveLoop_fc293827] = None,
|
|
1589
1591
|
reserved_concurrent_executions: typing.Optional[jsii.Number] = None,
|
|
1590
1592
|
role: typing.Optional[_IRole_235f5d8e] = None,
|
|
1591
1593
|
runtime_management_mode: typing.Optional[_RuntimeManagementMode_688c173b] = None,
|
|
@@ -1645,6 +1647,7 @@ class NodejsFunction(
|
|
|
1645
1647
|
:param params_and_secrets: Specify the configuration of Parameters and Secrets Extension. Default: - No Parameters and Secrets Extension
|
|
1646
1648
|
:param profiling: Enable profiling. Default: - No profiling.
|
|
1647
1649
|
:param profiling_group: Profiling Group. Default: - A new profiling group will be created if ``profiling`` is set.
|
|
1650
|
+
:param recursive_loop: Sets the Recursive Loop Protection for Lambda Function. It lets Lambda detect and terminate unintended recusrive loops. Default: RecursiveLoop.Terminate
|
|
1648
1651
|
:param reserved_concurrent_executions: The maximum of concurrent executions you want to reserve for the function. Default: - No specific limit - account limit.
|
|
1649
1652
|
:param role: Lambda execution role. This is the role that will be assumed by the function upon execution. It controls the permissions that the function will have. The Role must be assumable by the 'lambda.amazonaws.com' service principal. The default Role automatically has permissions granted for Lambda execution. If you provide a Role, you must add the relevant AWS managed policies yourself. The relevant managed policies are "service-role/AWSLambdaBasicExecutionRole" and "service-role/AWSLambdaVPCAccessExecutionRole". Default: - A unique role will be generated for this lambda function. Both supplied and generated roles can always be changed by calling ``addToRolePolicy``.
|
|
1650
1653
|
:param runtime_management_mode: Sets the runtime management configuration for a function's version. Default: Auto
|
|
@@ -1706,6 +1709,7 @@ class NodejsFunction(
|
|
|
1706
1709
|
params_and_secrets=params_and_secrets,
|
|
1707
1710
|
profiling=profiling,
|
|
1708
1711
|
profiling_group=profiling_group,
|
|
1712
|
+
recursive_loop=recursive_loop,
|
|
1709
1713
|
reserved_concurrent_executions=reserved_concurrent_executions,
|
|
1710
1714
|
role=role,
|
|
1711
1715
|
runtime_management_mode=runtime_management_mode,
|
|
@@ -1766,6 +1770,7 @@ class NodejsFunction(
|
|
|
1766
1770
|
"params_and_secrets": "paramsAndSecrets",
|
|
1767
1771
|
"profiling": "profiling",
|
|
1768
1772
|
"profiling_group": "profilingGroup",
|
|
1773
|
+
"recursive_loop": "recursiveLoop",
|
|
1769
1774
|
"reserved_concurrent_executions": "reservedConcurrentExecutions",
|
|
1770
1775
|
"role": "role",
|
|
1771
1776
|
"runtime_management_mode": "runtimeManagementMode",
|
|
@@ -1827,6 +1832,7 @@ class NodejsFunctionProps(_FunctionOptions_328f4d39):
|
|
|
1827
1832
|
params_and_secrets: typing.Optional[_ParamsAndSecretsLayerVersion_dce97f06] = None,
|
|
1828
1833
|
profiling: typing.Optional[builtins.bool] = None,
|
|
1829
1834
|
profiling_group: typing.Optional[_IProfilingGroup_0bba72c4] = None,
|
|
1835
|
+
recursive_loop: typing.Optional[_RecursiveLoop_fc293827] = None,
|
|
1830
1836
|
reserved_concurrent_executions: typing.Optional[jsii.Number] = None,
|
|
1831
1837
|
role: typing.Optional[_IRole_235f5d8e] = None,
|
|
1832
1838
|
runtime_management_mode: typing.Optional[_RuntimeManagementMode_688c173b] = None,
|
|
@@ -1885,6 +1891,7 @@ class NodejsFunctionProps(_FunctionOptions_328f4d39):
|
|
|
1885
1891
|
:param params_and_secrets: Specify the configuration of Parameters and Secrets Extension. Default: - No Parameters and Secrets Extension
|
|
1886
1892
|
:param profiling: Enable profiling. Default: - No profiling.
|
|
1887
1893
|
:param profiling_group: Profiling Group. Default: - A new profiling group will be created if ``profiling`` is set.
|
|
1894
|
+
:param recursive_loop: Sets the Recursive Loop Protection for Lambda Function. It lets Lambda detect and terminate unintended recusrive loops. Default: RecursiveLoop.Terminate
|
|
1888
1895
|
:param reserved_concurrent_executions: The maximum of concurrent executions you want to reserve for the function. Default: - No specific limit - account limit.
|
|
1889
1896
|
:param role: Lambda execution role. This is the role that will be assumed by the function upon execution. It controls the permissions that the function will have. The Role must be assumable by the 'lambda.amazonaws.com' service principal. The default Role automatically has permissions granted for Lambda execution. If you provide a Role, you must add the relevant AWS managed policies yourself. The relevant managed policies are "service-role/AWSLambdaBasicExecutionRole" and "service-role/AWSLambdaVPCAccessExecutionRole". Default: - A unique role will be generated for this lambda function. Both supplied and generated roles can always be changed by calling ``addToRolePolicy``.
|
|
1890
1897
|
:param runtime_management_mode: Sets the runtime management configuration for a function's version. Default: Auto
|
|
@@ -1967,6 +1974,7 @@ class NodejsFunctionProps(_FunctionOptions_328f4d39):
|
|
|
1967
1974
|
check_type(argname="argument params_and_secrets", value=params_and_secrets, expected_type=type_hints["params_and_secrets"])
|
|
1968
1975
|
check_type(argname="argument profiling", value=profiling, expected_type=type_hints["profiling"])
|
|
1969
1976
|
check_type(argname="argument profiling_group", value=profiling_group, expected_type=type_hints["profiling_group"])
|
|
1977
|
+
check_type(argname="argument recursive_loop", value=recursive_loop, expected_type=type_hints["recursive_loop"])
|
|
1970
1978
|
check_type(argname="argument reserved_concurrent_executions", value=reserved_concurrent_executions, expected_type=type_hints["reserved_concurrent_executions"])
|
|
1971
1979
|
check_type(argname="argument role", value=role, expected_type=type_hints["role"])
|
|
1972
1980
|
check_type(argname="argument runtime_management_mode", value=runtime_management_mode, expected_type=type_hints["runtime_management_mode"])
|
|
@@ -2059,6 +2067,8 @@ class NodejsFunctionProps(_FunctionOptions_328f4d39):
|
|
|
2059
2067
|
self._values["profiling"] = profiling
|
|
2060
2068
|
if profiling_group is not None:
|
|
2061
2069
|
self._values["profiling_group"] = profiling_group
|
|
2070
|
+
if recursive_loop is not None:
|
|
2071
|
+
self._values["recursive_loop"] = recursive_loop
|
|
2062
2072
|
if reserved_concurrent_executions is not None:
|
|
2063
2073
|
self._values["reserved_concurrent_executions"] = reserved_concurrent_executions
|
|
2064
2074
|
if role is not None:
|
|
@@ -2529,6 +2539,17 @@ class NodejsFunctionProps(_FunctionOptions_328f4d39):
|
|
|
2529
2539
|
result = self._values.get("profiling_group")
|
|
2530
2540
|
return typing.cast(typing.Optional[_IProfilingGroup_0bba72c4], result)
|
|
2531
2541
|
|
|
2542
|
+
@builtins.property
|
|
2543
|
+
def recursive_loop(self) -> typing.Optional[_RecursiveLoop_fc293827]:
|
|
2544
|
+
'''Sets the Recursive Loop Protection for Lambda Function.
|
|
2545
|
+
|
|
2546
|
+
It lets Lambda detect and terminate unintended recusrive loops.
|
|
2547
|
+
|
|
2548
|
+
:default: RecursiveLoop.Terminate
|
|
2549
|
+
'''
|
|
2550
|
+
result = self._values.get("recursive_loop")
|
|
2551
|
+
return typing.cast(typing.Optional[_RecursiveLoop_fc293827], result)
|
|
2552
|
+
|
|
2532
2553
|
@builtins.property
|
|
2533
2554
|
def reserved_concurrent_executions(self) -> typing.Optional[jsii.Number]:
|
|
2534
2555
|
'''The maximum of concurrent executions you want to reserve for the function.
|
|
@@ -3016,6 +3037,7 @@ def _typecheckingstub__ece177829b26ef102d4080d730f168e29d7d310d1518738839cd3fc82
|
|
|
3016
3037
|
params_and_secrets: typing.Optional[_ParamsAndSecretsLayerVersion_dce97f06] = None,
|
|
3017
3038
|
profiling: typing.Optional[builtins.bool] = None,
|
|
3018
3039
|
profiling_group: typing.Optional[_IProfilingGroup_0bba72c4] = None,
|
|
3040
|
+
recursive_loop: typing.Optional[_RecursiveLoop_fc293827] = None,
|
|
3019
3041
|
reserved_concurrent_executions: typing.Optional[jsii.Number] = None,
|
|
3020
3042
|
role: typing.Optional[_IRole_235f5d8e] = None,
|
|
3021
3043
|
runtime_management_mode: typing.Optional[_RuntimeManagementMode_688c173b] = None,
|
|
@@ -3073,6 +3095,7 @@ def _typecheckingstub__2da45b394f0332be0f6d6b7468d9fb54961953d56265da69955d36ffa
|
|
|
3073
3095
|
params_and_secrets: typing.Optional[_ParamsAndSecretsLayerVersion_dce97f06] = None,
|
|
3074
3096
|
profiling: typing.Optional[builtins.bool] = None,
|
|
3075
3097
|
profiling_group: typing.Optional[_IProfilingGroup_0bba72c4] = None,
|
|
3098
|
+
recursive_loop: typing.Optional[_RecursiveLoop_fc293827] = None,
|
|
3076
3099
|
reserved_concurrent_executions: typing.Optional[jsii.Number] = None,
|
|
3077
3100
|
role: typing.Optional[_IRole_235f5d8e] = None,
|
|
3078
3101
|
runtime_management_mode: typing.Optional[_RuntimeManagementMode_688c173b] = None,
|
|
@@ -0,0 +1,508 @@
|
|
|
1
|
+
r'''
|
|
2
|
+
# AWS::LaunchWizard Construct Library
|
|
3
|
+
|
|
4
|
+
<!--BEGIN STABILITY BANNER-->---
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+

|
|
8
|
+
|
|
9
|
+
> All classes with the `Cfn` prefix in this module ([CFN Resources](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) are always stable and safe to use.
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
<!--END STABILITY BANNER-->
|
|
13
|
+
|
|
14
|
+
This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.
|
|
15
|
+
|
|
16
|
+
```python
|
|
17
|
+
import aws_cdk.aws_launchwizard as launchwizard
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
<!--BEGIN CFNONLY DISCLAIMER-->
|
|
21
|
+
|
|
22
|
+
There are no official hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet. Here are some suggestions on how to proceed:
|
|
23
|
+
|
|
24
|
+
* Search [Construct Hub for LaunchWizard construct libraries](https://constructs.dev/search?q=launchwizard)
|
|
25
|
+
* Use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, in the same way you would use [the CloudFormation AWS::LaunchWizard resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_LaunchWizard.html) directly.
|
|
26
|
+
|
|
27
|
+
<!--BEGIN CFNONLY DISCLAIMER-->
|
|
28
|
+
|
|
29
|
+
There are no hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet.
|
|
30
|
+
However, you can still use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, and use this service exactly as you would using CloudFormation directly.
|
|
31
|
+
|
|
32
|
+
For more information on the resources and properties available for this service, see the [CloudFormation documentation for AWS::LaunchWizard](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_LaunchWizard.html).
|
|
33
|
+
|
|
34
|
+
(Read the [CDK Contributing Guide](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and submit an RFC if you are interested in contributing to this construct library.)
|
|
35
|
+
|
|
36
|
+
<!--END CFNONLY DISCLAIMER-->
|
|
37
|
+
'''
|
|
38
|
+
from pkgutil import extend_path
|
|
39
|
+
__path__ = extend_path(__path__, __name__)
|
|
40
|
+
|
|
41
|
+
import abc
|
|
42
|
+
import builtins
|
|
43
|
+
import datetime
|
|
44
|
+
import enum
|
|
45
|
+
import typing
|
|
46
|
+
|
|
47
|
+
import jsii
|
|
48
|
+
import publication
|
|
49
|
+
import typing_extensions
|
|
50
|
+
|
|
51
|
+
from typeguard import check_type
|
|
52
|
+
|
|
53
|
+
from .._jsii import *
|
|
54
|
+
|
|
55
|
+
import constructs as _constructs_77d1e7e8
|
|
56
|
+
from .. import (
|
|
57
|
+
CfnResource as _CfnResource_9df397a6,
|
|
58
|
+
CfnTag as _CfnTag_f6864754,
|
|
59
|
+
IInspectable as _IInspectable_c2943556,
|
|
60
|
+
IResolvable as _IResolvable_da3f097b,
|
|
61
|
+
ITaggableV2 as _ITaggableV2_4e6798f8,
|
|
62
|
+
TagManager as _TagManager_0a598cb3,
|
|
63
|
+
TreeInspector as _TreeInspector_488e0dd5,
|
|
64
|
+
)
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
@jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
|
|
68
|
+
class CfnDeployment(
|
|
69
|
+
_CfnResource_9df397a6,
|
|
70
|
+
metaclass=jsii.JSIIMeta,
|
|
71
|
+
jsii_type="aws-cdk-lib.aws_launchwizard.CfnDeployment",
|
|
72
|
+
):
|
|
73
|
+
'''Creates a deployment for the given workload.
|
|
74
|
+
|
|
75
|
+
Deployments created by this operation are not available in the Launch Wizard console to use the ``Clone deployment`` action on.
|
|
76
|
+
|
|
77
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-launchwizard-deployment.html
|
|
78
|
+
:cloudformationResource: AWS::LaunchWizard::Deployment
|
|
79
|
+
:exampleMetadata: fixture=_generated
|
|
80
|
+
|
|
81
|
+
Example::
|
|
82
|
+
|
|
83
|
+
# The code below shows an example of how to instantiate this type.
|
|
84
|
+
# The values are placeholders you should change.
|
|
85
|
+
from aws_cdk import aws_launchwizard as launchwizard
|
|
86
|
+
|
|
87
|
+
cfn_deployment = launchwizard.CfnDeployment(self, "MyCfnDeployment",
|
|
88
|
+
deployment_pattern_name="deploymentPatternName",
|
|
89
|
+
name="name",
|
|
90
|
+
specifications={
|
|
91
|
+
"specifications_key": "specifications"
|
|
92
|
+
},
|
|
93
|
+
workload_name="workloadName",
|
|
94
|
+
|
|
95
|
+
# the properties below are optional
|
|
96
|
+
tags=[CfnTag(
|
|
97
|
+
key="key",
|
|
98
|
+
value="value"
|
|
99
|
+
)]
|
|
100
|
+
)
|
|
101
|
+
'''
|
|
102
|
+
|
|
103
|
+
def __init__(
|
|
104
|
+
self,
|
|
105
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
106
|
+
id: builtins.str,
|
|
107
|
+
*,
|
|
108
|
+
deployment_pattern_name: builtins.str,
|
|
109
|
+
name: builtins.str,
|
|
110
|
+
specifications: typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]],
|
|
111
|
+
workload_name: builtins.str,
|
|
112
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
113
|
+
) -> None:
|
|
114
|
+
'''
|
|
115
|
+
:param scope: Scope in which this resource is defined.
|
|
116
|
+
:param id: Construct identifier for this resource (unique in its scope).
|
|
117
|
+
:param deployment_pattern_name: The name of the deployment pattern.
|
|
118
|
+
:param name: The name of the deployment.
|
|
119
|
+
:param specifications: The settings specified for the deployment. These settings define how to deploy and configure your resources created by the deployment. For more information about the specifications required for creating a deployment for a SAP workload, see `SAP deployment specifications <https://docs.aws.amazon.com/launchwizard/latest/APIReference/launch-wizard-specifications-sap.html>`_ . To retrieve the specifications required to create a deployment for other workloads, use the ```GetWorkloadDeploymentPattern`` <https://docs.aws.amazon.com/launchwizard/latest/APIReference/API_GetWorkloadDeploymentPattern.html>`_ operation.
|
|
120
|
+
:param workload_name: The name of the workload.
|
|
121
|
+
:param tags: Information about the tags attached to a deployment.
|
|
122
|
+
'''
|
|
123
|
+
if __debug__:
|
|
124
|
+
type_hints = typing.get_type_hints(_typecheckingstub__fe77ed4e81ab71d948f0b03ed5f8780bcc2f324a23805bc45e7eef5f9137ded1)
|
|
125
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
126
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
127
|
+
props = CfnDeploymentProps(
|
|
128
|
+
deployment_pattern_name=deployment_pattern_name,
|
|
129
|
+
name=name,
|
|
130
|
+
specifications=specifications,
|
|
131
|
+
workload_name=workload_name,
|
|
132
|
+
tags=tags,
|
|
133
|
+
)
|
|
134
|
+
|
|
135
|
+
jsii.create(self.__class__, self, [scope, id, props])
|
|
136
|
+
|
|
137
|
+
@jsii.member(jsii_name="inspect")
|
|
138
|
+
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
139
|
+
'''Examines the CloudFormation resource and discloses attributes.
|
|
140
|
+
|
|
141
|
+
:param inspector: tree inspector to collect and process attributes.
|
|
142
|
+
'''
|
|
143
|
+
if __debug__:
|
|
144
|
+
type_hints = typing.get_type_hints(_typecheckingstub__d7f3e6794e1a2bf9096acd5b62e08b5fc91decb983d7f694ca0d44580c781e51)
|
|
145
|
+
check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
|
|
146
|
+
return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
|
|
147
|
+
|
|
148
|
+
@jsii.member(jsii_name="renderProperties")
|
|
149
|
+
def _render_properties(
|
|
150
|
+
self,
|
|
151
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
152
|
+
) -> typing.Mapping[builtins.str, typing.Any]:
|
|
153
|
+
'''
|
|
154
|
+
:param props: -
|
|
155
|
+
'''
|
|
156
|
+
if __debug__:
|
|
157
|
+
type_hints = typing.get_type_hints(_typecheckingstub__fcfcdfea35cf6cb8ac79e3e1ec3fcf3c8fe447be5f525eff497dbc69d38de67b)
|
|
158
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
159
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
|
|
160
|
+
|
|
161
|
+
@jsii.python.classproperty
|
|
162
|
+
@jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
|
|
163
|
+
def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
|
|
164
|
+
'''The CloudFormation resource type name for this resource class.'''
|
|
165
|
+
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
166
|
+
|
|
167
|
+
@builtins.property
|
|
168
|
+
@jsii.member(jsii_name="attrArn")
|
|
169
|
+
def attr_arn(self) -> builtins.str:
|
|
170
|
+
'''The Amazon Resource Name (ARN) of the deployment.
|
|
171
|
+
|
|
172
|
+
:cloudformationAttribute: Arn
|
|
173
|
+
'''
|
|
174
|
+
return typing.cast(builtins.str, jsii.get(self, "attrArn"))
|
|
175
|
+
|
|
176
|
+
@builtins.property
|
|
177
|
+
@jsii.member(jsii_name="attrCreatedAt")
|
|
178
|
+
def attr_created_at(self) -> builtins.str:
|
|
179
|
+
'''The time the deployment was created.
|
|
180
|
+
|
|
181
|
+
:cloudformationAttribute: CreatedAt
|
|
182
|
+
'''
|
|
183
|
+
return typing.cast(builtins.str, jsii.get(self, "attrCreatedAt"))
|
|
184
|
+
|
|
185
|
+
@builtins.property
|
|
186
|
+
@jsii.member(jsii_name="attrDeletedAt")
|
|
187
|
+
def attr_deleted_at(self) -> builtins.str:
|
|
188
|
+
'''The time the deployment was deleted.
|
|
189
|
+
|
|
190
|
+
:cloudformationAttribute: DeletedAt
|
|
191
|
+
'''
|
|
192
|
+
return typing.cast(builtins.str, jsii.get(self, "attrDeletedAt"))
|
|
193
|
+
|
|
194
|
+
@builtins.property
|
|
195
|
+
@jsii.member(jsii_name="attrDeploymentId")
|
|
196
|
+
def attr_deployment_id(self) -> builtins.str:
|
|
197
|
+
'''The ID of the deployment.
|
|
198
|
+
|
|
199
|
+
:cloudformationAttribute: DeploymentId
|
|
200
|
+
'''
|
|
201
|
+
return typing.cast(builtins.str, jsii.get(self, "attrDeploymentId"))
|
|
202
|
+
|
|
203
|
+
@builtins.property
|
|
204
|
+
@jsii.member(jsii_name="attrResourceGroup")
|
|
205
|
+
def attr_resource_group(self) -> builtins.str:
|
|
206
|
+
'''The resource group of the deployment.
|
|
207
|
+
|
|
208
|
+
:cloudformationAttribute: ResourceGroup
|
|
209
|
+
'''
|
|
210
|
+
return typing.cast(builtins.str, jsii.get(self, "attrResourceGroup"))
|
|
211
|
+
|
|
212
|
+
@builtins.property
|
|
213
|
+
@jsii.member(jsii_name="attrStatus")
|
|
214
|
+
def attr_status(self) -> builtins.str:
|
|
215
|
+
'''The status of the deployment.
|
|
216
|
+
|
|
217
|
+
:cloudformationAttribute: Status
|
|
218
|
+
'''
|
|
219
|
+
return typing.cast(builtins.str, jsii.get(self, "attrStatus"))
|
|
220
|
+
|
|
221
|
+
@builtins.property
|
|
222
|
+
@jsii.member(jsii_name="cdkTagManager")
|
|
223
|
+
def cdk_tag_manager(self) -> _TagManager_0a598cb3:
|
|
224
|
+
'''Tag Manager which manages the tags for this resource.'''
|
|
225
|
+
return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
|
|
226
|
+
|
|
227
|
+
@builtins.property
|
|
228
|
+
@jsii.member(jsii_name="cfnProperties")
|
|
229
|
+
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
230
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
231
|
+
|
|
232
|
+
@builtins.property
|
|
233
|
+
@jsii.member(jsii_name="deploymentPatternName")
|
|
234
|
+
def deployment_pattern_name(self) -> builtins.str:
|
|
235
|
+
'''The name of the deployment pattern.'''
|
|
236
|
+
return typing.cast(builtins.str, jsii.get(self, "deploymentPatternName"))
|
|
237
|
+
|
|
238
|
+
@deployment_pattern_name.setter
|
|
239
|
+
def deployment_pattern_name(self, value: builtins.str) -> None:
|
|
240
|
+
if __debug__:
|
|
241
|
+
type_hints = typing.get_type_hints(_typecheckingstub__04c6045841669ffb1a4272a23741926c40913ef41f644914958b8ffb8b0820be)
|
|
242
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
243
|
+
jsii.set(self, "deploymentPatternName", value) # pyright: ignore[reportArgumentType]
|
|
244
|
+
|
|
245
|
+
@builtins.property
|
|
246
|
+
@jsii.member(jsii_name="name")
|
|
247
|
+
def name(self) -> builtins.str:
|
|
248
|
+
'''The name of the deployment.'''
|
|
249
|
+
return typing.cast(builtins.str, jsii.get(self, "name"))
|
|
250
|
+
|
|
251
|
+
@name.setter
|
|
252
|
+
def name(self, value: builtins.str) -> None:
|
|
253
|
+
if __debug__:
|
|
254
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c0094e37b81e5d8f0b6e42001fe8da7cf6d149317e4ef32b73e5cef5a82aee61)
|
|
255
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
256
|
+
jsii.set(self, "name", value) # pyright: ignore[reportArgumentType]
|
|
257
|
+
|
|
258
|
+
@builtins.property
|
|
259
|
+
@jsii.member(jsii_name="specifications")
|
|
260
|
+
def specifications(
|
|
261
|
+
self,
|
|
262
|
+
) -> typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]:
|
|
263
|
+
'''The settings specified for the deployment.'''
|
|
264
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]], jsii.get(self, "specifications"))
|
|
265
|
+
|
|
266
|
+
@specifications.setter
|
|
267
|
+
def specifications(
|
|
268
|
+
self,
|
|
269
|
+
value: typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]],
|
|
270
|
+
) -> None:
|
|
271
|
+
if __debug__:
|
|
272
|
+
type_hints = typing.get_type_hints(_typecheckingstub__6343321573b3c3c84666431fb123811dbd97cb11a86c65d6c6d7d4c669c25d86)
|
|
273
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
274
|
+
jsii.set(self, "specifications", value) # pyright: ignore[reportArgumentType]
|
|
275
|
+
|
|
276
|
+
@builtins.property
|
|
277
|
+
@jsii.member(jsii_name="workloadName")
|
|
278
|
+
def workload_name(self) -> builtins.str:
|
|
279
|
+
'''The name of the workload.'''
|
|
280
|
+
return typing.cast(builtins.str, jsii.get(self, "workloadName"))
|
|
281
|
+
|
|
282
|
+
@workload_name.setter
|
|
283
|
+
def workload_name(self, value: builtins.str) -> None:
|
|
284
|
+
if __debug__:
|
|
285
|
+
type_hints = typing.get_type_hints(_typecheckingstub__4ddbc17d8abf4c6daba412028f139c421c42d9da86f2e5b12d5b5a149a84c309)
|
|
286
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
287
|
+
jsii.set(self, "workloadName", value) # pyright: ignore[reportArgumentType]
|
|
288
|
+
|
|
289
|
+
@builtins.property
|
|
290
|
+
@jsii.member(jsii_name="tags")
|
|
291
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
292
|
+
'''Information about the tags attached to a deployment.'''
|
|
293
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
|
|
294
|
+
|
|
295
|
+
@tags.setter
|
|
296
|
+
def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
|
|
297
|
+
if __debug__:
|
|
298
|
+
type_hints = typing.get_type_hints(_typecheckingstub__057665c8ffa5f5cdaedcf0301e727d15ee8b0244807853f59c72aadbb741357d)
|
|
299
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
300
|
+
jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
@jsii.data_type(
|
|
304
|
+
jsii_type="aws-cdk-lib.aws_launchwizard.CfnDeploymentProps",
|
|
305
|
+
jsii_struct_bases=[],
|
|
306
|
+
name_mapping={
|
|
307
|
+
"deployment_pattern_name": "deploymentPatternName",
|
|
308
|
+
"name": "name",
|
|
309
|
+
"specifications": "specifications",
|
|
310
|
+
"workload_name": "workloadName",
|
|
311
|
+
"tags": "tags",
|
|
312
|
+
},
|
|
313
|
+
)
|
|
314
|
+
class CfnDeploymentProps:
|
|
315
|
+
def __init__(
|
|
316
|
+
self,
|
|
317
|
+
*,
|
|
318
|
+
deployment_pattern_name: builtins.str,
|
|
319
|
+
name: builtins.str,
|
|
320
|
+
specifications: typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]],
|
|
321
|
+
workload_name: builtins.str,
|
|
322
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
323
|
+
) -> None:
|
|
324
|
+
'''Properties for defining a ``CfnDeployment``.
|
|
325
|
+
|
|
326
|
+
:param deployment_pattern_name: The name of the deployment pattern.
|
|
327
|
+
:param name: The name of the deployment.
|
|
328
|
+
:param specifications: The settings specified for the deployment. These settings define how to deploy and configure your resources created by the deployment. For more information about the specifications required for creating a deployment for a SAP workload, see `SAP deployment specifications <https://docs.aws.amazon.com/launchwizard/latest/APIReference/launch-wizard-specifications-sap.html>`_ . To retrieve the specifications required to create a deployment for other workloads, use the ```GetWorkloadDeploymentPattern`` <https://docs.aws.amazon.com/launchwizard/latest/APIReference/API_GetWorkloadDeploymentPattern.html>`_ operation.
|
|
329
|
+
:param workload_name: The name of the workload.
|
|
330
|
+
:param tags: Information about the tags attached to a deployment.
|
|
331
|
+
|
|
332
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-launchwizard-deployment.html
|
|
333
|
+
:exampleMetadata: fixture=_generated
|
|
334
|
+
|
|
335
|
+
Example::
|
|
336
|
+
|
|
337
|
+
# The code below shows an example of how to instantiate this type.
|
|
338
|
+
# The values are placeholders you should change.
|
|
339
|
+
from aws_cdk import aws_launchwizard as launchwizard
|
|
340
|
+
|
|
341
|
+
cfn_deployment_props = launchwizard.CfnDeploymentProps(
|
|
342
|
+
deployment_pattern_name="deploymentPatternName",
|
|
343
|
+
name="name",
|
|
344
|
+
specifications={
|
|
345
|
+
"specifications_key": "specifications"
|
|
346
|
+
},
|
|
347
|
+
workload_name="workloadName",
|
|
348
|
+
|
|
349
|
+
# the properties below are optional
|
|
350
|
+
tags=[CfnTag(
|
|
351
|
+
key="key",
|
|
352
|
+
value="value"
|
|
353
|
+
)]
|
|
354
|
+
)
|
|
355
|
+
'''
|
|
356
|
+
if __debug__:
|
|
357
|
+
type_hints = typing.get_type_hints(_typecheckingstub__a6e25238aa51033c6bfd52d31380bf8d8789e604e540fcfff33c0df8b15dcdcf)
|
|
358
|
+
check_type(argname="argument deployment_pattern_name", value=deployment_pattern_name, expected_type=type_hints["deployment_pattern_name"])
|
|
359
|
+
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
360
|
+
check_type(argname="argument specifications", value=specifications, expected_type=type_hints["specifications"])
|
|
361
|
+
check_type(argname="argument workload_name", value=workload_name, expected_type=type_hints["workload_name"])
|
|
362
|
+
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
363
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
364
|
+
"deployment_pattern_name": deployment_pattern_name,
|
|
365
|
+
"name": name,
|
|
366
|
+
"specifications": specifications,
|
|
367
|
+
"workload_name": workload_name,
|
|
368
|
+
}
|
|
369
|
+
if tags is not None:
|
|
370
|
+
self._values["tags"] = tags
|
|
371
|
+
|
|
372
|
+
@builtins.property
|
|
373
|
+
def deployment_pattern_name(self) -> builtins.str:
|
|
374
|
+
'''The name of the deployment pattern.
|
|
375
|
+
|
|
376
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-launchwizard-deployment.html#cfn-launchwizard-deployment-deploymentpatternname
|
|
377
|
+
'''
|
|
378
|
+
result = self._values.get("deployment_pattern_name")
|
|
379
|
+
assert result is not None, "Required property 'deployment_pattern_name' is missing"
|
|
380
|
+
return typing.cast(builtins.str, result)
|
|
381
|
+
|
|
382
|
+
@builtins.property
|
|
383
|
+
def name(self) -> builtins.str:
|
|
384
|
+
'''The name of the deployment.
|
|
385
|
+
|
|
386
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-launchwizard-deployment.html#cfn-launchwizard-deployment-name
|
|
387
|
+
'''
|
|
388
|
+
result = self._values.get("name")
|
|
389
|
+
assert result is not None, "Required property 'name' is missing"
|
|
390
|
+
return typing.cast(builtins.str, result)
|
|
391
|
+
|
|
392
|
+
@builtins.property
|
|
393
|
+
def specifications(
|
|
394
|
+
self,
|
|
395
|
+
) -> typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]:
|
|
396
|
+
'''The settings specified for the deployment.
|
|
397
|
+
|
|
398
|
+
These settings define how to deploy and configure your resources created by the deployment. For more information about the specifications required for creating a deployment for a SAP workload, see `SAP deployment specifications <https://docs.aws.amazon.com/launchwizard/latest/APIReference/launch-wizard-specifications-sap.html>`_ . To retrieve the specifications required to create a deployment for other workloads, use the ```GetWorkloadDeploymentPattern`` <https://docs.aws.amazon.com/launchwizard/latest/APIReference/API_GetWorkloadDeploymentPattern.html>`_ operation.
|
|
399
|
+
|
|
400
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-launchwizard-deployment.html#cfn-launchwizard-deployment-specifications
|
|
401
|
+
'''
|
|
402
|
+
result = self._values.get("specifications")
|
|
403
|
+
assert result is not None, "Required property 'specifications' is missing"
|
|
404
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]], result)
|
|
405
|
+
|
|
406
|
+
@builtins.property
|
|
407
|
+
def workload_name(self) -> builtins.str:
|
|
408
|
+
'''The name of the workload.
|
|
409
|
+
|
|
410
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-launchwizard-deployment.html#cfn-launchwizard-deployment-workloadname
|
|
411
|
+
'''
|
|
412
|
+
result = self._values.get("workload_name")
|
|
413
|
+
assert result is not None, "Required property 'workload_name' is missing"
|
|
414
|
+
return typing.cast(builtins.str, result)
|
|
415
|
+
|
|
416
|
+
@builtins.property
|
|
417
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
418
|
+
'''Information about the tags attached to a deployment.
|
|
419
|
+
|
|
420
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-launchwizard-deployment.html#cfn-launchwizard-deployment-tags
|
|
421
|
+
'''
|
|
422
|
+
result = self._values.get("tags")
|
|
423
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
|
|
424
|
+
|
|
425
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
426
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
427
|
+
|
|
428
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
429
|
+
return not (rhs == self)
|
|
430
|
+
|
|
431
|
+
def __repr__(self) -> str:
|
|
432
|
+
return "CfnDeploymentProps(%s)" % ", ".join(
|
|
433
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
434
|
+
)
|
|
435
|
+
|
|
436
|
+
|
|
437
|
+
__all__ = [
|
|
438
|
+
"CfnDeployment",
|
|
439
|
+
"CfnDeploymentProps",
|
|
440
|
+
]
|
|
441
|
+
|
|
442
|
+
publication.publish()
|
|
443
|
+
|
|
444
|
+
def _typecheckingstub__fe77ed4e81ab71d948f0b03ed5f8780bcc2f324a23805bc45e7eef5f9137ded1(
|
|
445
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
446
|
+
id: builtins.str,
|
|
447
|
+
*,
|
|
448
|
+
deployment_pattern_name: builtins.str,
|
|
449
|
+
name: builtins.str,
|
|
450
|
+
specifications: typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]],
|
|
451
|
+
workload_name: builtins.str,
|
|
452
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
453
|
+
) -> None:
|
|
454
|
+
"""Type checking stubs"""
|
|
455
|
+
pass
|
|
456
|
+
|
|
457
|
+
def _typecheckingstub__d7f3e6794e1a2bf9096acd5b62e08b5fc91decb983d7f694ca0d44580c781e51(
|
|
458
|
+
inspector: _TreeInspector_488e0dd5,
|
|
459
|
+
) -> None:
|
|
460
|
+
"""Type checking stubs"""
|
|
461
|
+
pass
|
|
462
|
+
|
|
463
|
+
def _typecheckingstub__fcfcdfea35cf6cb8ac79e3e1ec3fcf3c8fe447be5f525eff497dbc69d38de67b(
|
|
464
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
465
|
+
) -> None:
|
|
466
|
+
"""Type checking stubs"""
|
|
467
|
+
pass
|
|
468
|
+
|
|
469
|
+
def _typecheckingstub__04c6045841669ffb1a4272a23741926c40913ef41f644914958b8ffb8b0820be(
|
|
470
|
+
value: builtins.str,
|
|
471
|
+
) -> None:
|
|
472
|
+
"""Type checking stubs"""
|
|
473
|
+
pass
|
|
474
|
+
|
|
475
|
+
def _typecheckingstub__c0094e37b81e5d8f0b6e42001fe8da7cf6d149317e4ef32b73e5cef5a82aee61(
|
|
476
|
+
value: builtins.str,
|
|
477
|
+
) -> None:
|
|
478
|
+
"""Type checking stubs"""
|
|
479
|
+
pass
|
|
480
|
+
|
|
481
|
+
def _typecheckingstub__6343321573b3c3c84666431fb123811dbd97cb11a86c65d6c6d7d4c669c25d86(
|
|
482
|
+
value: typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]],
|
|
483
|
+
) -> None:
|
|
484
|
+
"""Type checking stubs"""
|
|
485
|
+
pass
|
|
486
|
+
|
|
487
|
+
def _typecheckingstub__4ddbc17d8abf4c6daba412028f139c421c42d9da86f2e5b12d5b5a149a84c309(
|
|
488
|
+
value: builtins.str,
|
|
489
|
+
) -> None:
|
|
490
|
+
"""Type checking stubs"""
|
|
491
|
+
pass
|
|
492
|
+
|
|
493
|
+
def _typecheckingstub__057665c8ffa5f5cdaedcf0301e727d15ee8b0244807853f59c72aadbb741357d(
|
|
494
|
+
value: typing.Optional[typing.List[_CfnTag_f6864754]],
|
|
495
|
+
) -> None:
|
|
496
|
+
"""Type checking stubs"""
|
|
497
|
+
pass
|
|
498
|
+
|
|
499
|
+
def _typecheckingstub__a6e25238aa51033c6bfd52d31380bf8d8789e604e540fcfff33c0df8b15dcdcf(
|
|
500
|
+
*,
|
|
501
|
+
deployment_pattern_name: builtins.str,
|
|
502
|
+
name: builtins.str,
|
|
503
|
+
specifications: typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]],
|
|
504
|
+
workload_name: builtins.str,
|
|
505
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
506
|
+
) -> None:
|
|
507
|
+
"""Type checking stubs"""
|
|
508
|
+
pass
|