aws-cdk-lib 2.176.0__py3-none-any.whl → 2.178.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 +106 -62
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.176.0.jsii.tgz → aws-cdk-lib@2.178.0.jsii.tgz} +0 -0
- aws_cdk/aws_amplifyuibuilder/__init__.py +8 -8
- aws_cdk/aws_apigateway/__init__.py +97 -97
- aws_cdk/aws_apigatewayv2/__init__.py +35 -10
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +2 -2
- aws_cdk/aws_appconfig/__init__.py +10 -10
- aws_cdk/aws_appflow/__init__.py +20 -20
- aws_cdk/aws_applicationsignals/__init__.py +8 -8
- aws_cdk/aws_appmesh/__init__.py +8 -8
- aws_cdk/aws_appsync/__init__.py +10387 -7038
- aws_cdk/aws_apptest/__init__.py +4 -4
- aws_cdk/aws_aps/__init__.py +135 -0
- aws_cdk/aws_athena/__init__.py +10 -10
- aws_cdk/aws_backup/__init__.py +14 -14
- aws_cdk/aws_batch/__init__.py +189 -24
- aws_cdk/aws_bcmdataexports/__init__.py +4 -4
- aws_cdk/aws_bedrock/__init__.py +5494 -2518
- aws_cdk/aws_certificatemanager/__init__.py +15 -14
- aws_cdk/aws_chatbot/__init__.py +4 -4
- aws_cdk/aws_cloudformation/__init__.py +22 -18
- aws_cdk/aws_cloudfront/__init__.py +686 -9
- aws_cdk/aws_cloudfront_origins/__init__.py +73 -2
- aws_cdk/aws_cloudtrail/__init__.py +4 -4
- aws_cdk/aws_cloudwatch/__init__.py +53 -53
- aws_cdk/aws_codedeploy/__init__.py +2 -2
- aws_cdk/aws_codepipeline/__init__.py +59 -6
- aws_cdk/aws_codepipeline_actions/__init__.py +2 -2
- aws_cdk/aws_cognito/__init__.py +204 -159
- aws_cdk/aws_connect/__init__.py +4 -4
- aws_cdk/aws_customerprofiles/__init__.py +6 -4
- aws_cdk/aws_databrew/__init__.py +16 -16
- aws_cdk/aws_datasync/__init__.py +14 -11
- aws_cdk/aws_datazone/__init__.py +199 -129
- aws_cdk/aws_dms/__init__.py +4 -4
- aws_cdk/aws_dynamodb/__init__.py +267 -25
- aws_cdk/aws_ec2/__init__.py +1142 -184
- aws_cdk/aws_ecs/__init__.py +767 -124
- aws_cdk/aws_ecs_patterns/__init__.py +49 -0
- aws_cdk/aws_efs/__init__.py +8 -8
- aws_cdk/aws_eks/__init__.py +55 -35
- aws_cdk/aws_elasticache/__init__.py +10 -10
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +47 -18
- aws_cdk/aws_elasticsearch/__init__.py +10 -10
- aws_cdk/aws_emr/__init__.py +16 -16
- aws_cdk/aws_emrserverless/__init__.py +93 -4
- aws_cdk/aws_entityresolution/__init__.py +31 -17
- aws_cdk/aws_events/__init__.py +12 -12
- aws_cdk/aws_fis/__init__.py +16 -16
- aws_cdk/aws_fms/__init__.py +46 -0
- aws_cdk/aws_gamelift/__init__.py +8 -10
- aws_cdk/aws_glue/__init__.py +1326 -7
- aws_cdk/aws_greengrassv2/__init__.py +8 -8
- aws_cdk/aws_guardduty/__init__.py +521 -0
- aws_cdk/aws_healthlake/__init__.py +10 -2
- aws_cdk/aws_iam/__init__.py +8 -0
- aws_cdk/aws_imagebuilder/__init__.py +88 -74
- aws_cdk/aws_iot/__init__.py +40 -40
- aws_cdk/aws_iotanalytics/__init__.py +4 -4
- aws_cdk/aws_iotfleetwise/__init__.py +424 -10
- aws_cdk/aws_iotsitewise/__init__.py +84 -13
- aws_cdk/aws_iottwinmaker/__init__.py +18 -18
- aws_cdk/aws_iotwireless/__init__.py +4 -4
- aws_cdk/aws_kafkaconnect/__init__.py +10 -10
- aws_cdk/aws_kendra/__init__.py +0 -10
- aws_cdk/aws_kinesisanalytics/__init__.py +4 -4
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +4 -4
- aws_cdk/aws_kinesisfirehose/__init__.py +4544 -183
- aws_cdk/aws_kms/__init__.py +11 -10
- aws_cdk/aws_lambda/__init__.py +47 -4
- aws_cdk/aws_lambda_nodejs/__init__.py +24 -5
- aws_cdk/aws_launchwizard/__init__.py +10 -10
- aws_cdk/aws_logs/__init__.py +78 -74
- aws_cdk/aws_mediaconnect/__init__.py +509 -12
- aws_cdk/aws_medialive/__init__.py +16 -16
- aws_cdk/aws_mediatailor/__init__.py +10 -10
- aws_cdk/aws_networkfirewall/__init__.py +12 -12
- aws_cdk/aws_notifications/__init__.py +1927 -0
- aws_cdk/aws_notificationscontacts/__init__.py +593 -0
- aws_cdk/aws_omics/__init__.py +4 -4
- aws_cdk/aws_opensearchservice/__init__.py +10 -10
- aws_cdk/aws_opsworks/__init__.py +58 -58
- aws_cdk/aws_personalize/__init__.py +8 -8
- aws_cdk/aws_pipes/__init__.py +20 -20
- aws_cdk/aws_qbusiness/__init__.py +119 -0
- aws_cdk/aws_quicksight/__init__.py +247 -92
- aws_cdk/aws_rds/__init__.py +37 -37
- aws_cdk/aws_redshift/__init__.py +19 -15
- aws_cdk/aws_resiliencehub/__init__.py +0 -41
- aws_cdk/aws_route53/__init__.py +10 -4
- aws_cdk/aws_route53_targets/__init__.py +15 -15
- aws_cdk/aws_rum/__init__.py +4 -4
- aws_cdk/aws_s3/__init__.py +801 -2
- aws_cdk/aws_s3_notifications/__init__.py +5 -5
- aws_cdk/aws_s3tables/__init__.py +2 -2
- aws_cdk/aws_sagemaker/__init__.py +84 -60
- aws_cdk/aws_sam/__init__.py +48 -48
- aws_cdk/aws_secretsmanager/__init__.py +30 -14
- aws_cdk/aws_securityhub/__init__.py +12 -12
- aws_cdk/aws_sns/__init__.py +137 -12
- aws_cdk/aws_ssm/__init__.py +5 -5
- aws_cdk/aws_ssmquicksetup/__init__.py +10 -10
- aws_cdk/aws_stepfunctions/__init__.py +13207 -4740
- aws_cdk/aws_stepfunctions_tasks/__init__.py +77615 -22817
- aws_cdk/aws_synthetics/__init__.py +109 -36
- aws_cdk/aws_timestream/__init__.py +41 -0
- aws_cdk/aws_transfer/__init__.py +9 -10
- aws_cdk/aws_wafv2/__init__.py +24 -22
- aws_cdk/aws_wisdom/__init__.py +8 -8
- aws_cdk/aws_workspacesweb/__init__.py +60 -60
- aws_cdk/aws_xray/__init__.py +8 -8
- aws_cdk/cloud_assembly_schema/__init__.py +63 -4
- aws_cdk/cx_api/__init__.py +62 -4
- {aws_cdk_lib-2.176.0.dist-info → aws_cdk_lib-2.178.0.dist-info}/METADATA +3 -3
- {aws_cdk_lib-2.176.0.dist-info → aws_cdk_lib-2.178.0.dist-info}/RECORD +120 -118
- {aws_cdk_lib-2.176.0.dist-info → aws_cdk_lib-2.178.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.176.0.dist-info → aws_cdk_lib-2.178.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.176.0.dist-info → aws_cdk_lib-2.178.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.176.0.dist-info → aws_cdk_lib-2.178.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_kms/__init__.py
CHANGED
|
@@ -2234,18 +2234,19 @@ class Key(
|
|
|
2234
2234
|
|
|
2235
2235
|
Example::
|
|
2236
2236
|
|
|
2237
|
-
|
|
2237
|
+
# vpc: ec2.Vpc
|
|
2238
2238
|
|
|
2239
|
+
engine = rds.DatabaseInstanceEngine.postgres(version=rds.PostgresEngineVersion.VER_16_3)
|
|
2240
|
+
my_key = kms.Key(self, "MyKey")
|
|
2239
2241
|
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
origin=origins.S3BucketOrigin.with_origin_access_control(my_bucket)
|
|
2242
|
+
rds.DatabaseInstance(self, "InstanceWithCustomizedSecret",
|
|
2243
|
+
engine=engine,
|
|
2244
|
+
vpc=vpc,
|
|
2245
|
+
credentials=rds.Credentials.from_generated_secret("postgres",
|
|
2246
|
+
secret_name="my-cool-name",
|
|
2247
|
+
encryption_key=my_key,
|
|
2248
|
+
exclude_characters="!&*^#@()",
|
|
2249
|
+
replica_regions=[secretsmanager.ReplicaRegion(region="eu-west-1"), secretsmanager.ReplicaRegion(region="eu-west-2")]
|
|
2249
2250
|
)
|
|
2250
2251
|
)
|
|
2251
2252
|
'''
|
aws_cdk/aws_lambda/__init__.py
CHANGED
|
@@ -11,6 +11,19 @@ fn = lambda_.Function(self, "MyFunction",
|
|
|
11
11
|
)
|
|
12
12
|
```
|
|
13
13
|
|
|
14
|
+
When deployed, this construct creates or updates an existing
|
|
15
|
+
`AWS::Lambda::Function` resource. When updating, AWS CloudFormation calls the
|
|
16
|
+
[UpdateFunctionConfiguration](https://docs.aws.amazon.com/lambda/latest/api/API_UpdateFunctionConfiguration.html)
|
|
17
|
+
and [UpdateFunctionCode](https://docs.aws.amazon.com/lambda/latest/api/API_UpdateFunctionCode.html)
|
|
18
|
+
Lambda APIs under the hood. Because these calls happen sequentially, and
|
|
19
|
+
invocations can happen between these calls, your function may encounter errors
|
|
20
|
+
in the time between the calls. For example, if you update an existing Lambda
|
|
21
|
+
function by removing an environment variable and the code that references that
|
|
22
|
+
environment variable in the same CDK deployment, you may see invocation errors
|
|
23
|
+
related to a missing environment variable. To work around this, you can invoke
|
|
24
|
+
your function against a version or alias by default, rather than the `$LATEST`
|
|
25
|
+
version.
|
|
26
|
+
|
|
14
27
|
## Handler Code
|
|
15
28
|
|
|
16
29
|
The `lambda.Code` class includes static convenience methods for various types of
|
|
@@ -1805,6 +1818,12 @@ class AdotLambdaLayerGenericVersion(
|
|
|
1805
1818
|
'''Version 0.102.1.'''
|
|
1806
1819
|
return typing.cast("AdotLambdaLayerGenericVersion", jsii.sget(cls, "V0_102_1"))
|
|
1807
1820
|
|
|
1821
|
+
@jsii.python.classproperty
|
|
1822
|
+
@jsii.member(jsii_name="V0_115_0")
|
|
1823
|
+
def V0_115_0(cls) -> "AdotLambdaLayerGenericVersion":
|
|
1824
|
+
'''Version 0.115.0.'''
|
|
1825
|
+
return typing.cast("AdotLambdaLayerGenericVersion", jsii.sget(cls, "V0_115_0"))
|
|
1826
|
+
|
|
1808
1827
|
@jsii.python.classproperty
|
|
1809
1828
|
@jsii.member(jsii_name="V0_62_1")
|
|
1810
1829
|
def V0_62_1(cls) -> "AdotLambdaLayerGenericVersion":
|
|
@@ -1921,6 +1940,12 @@ class AdotLambdaLayerJavaAutoInstrumentationVersion(
|
|
|
1921
1940
|
'''Version 1.32.0.'''
|
|
1922
1941
|
return typing.cast("AdotLambdaLayerJavaAutoInstrumentationVersion", jsii.sget(cls, "V1_32_0"))
|
|
1923
1942
|
|
|
1943
|
+
@jsii.python.classproperty
|
|
1944
|
+
@jsii.member(jsii_name="V1_32_0_1")
|
|
1945
|
+
def V1_32_0_1(cls) -> "AdotLambdaLayerJavaAutoInstrumentationVersion":
|
|
1946
|
+
'''Version 1.32.0.'''
|
|
1947
|
+
return typing.cast("AdotLambdaLayerJavaAutoInstrumentationVersion", jsii.sget(cls, "V1_32_0_1"))
|
|
1948
|
+
|
|
1924
1949
|
@builtins.property
|
|
1925
1950
|
@jsii.member(jsii_name="layerVersion")
|
|
1926
1951
|
def _layer_version(self) -> builtins.str:
|
|
@@ -2002,6 +2027,12 @@ class AdotLambdaLayerJavaScriptSdkVersion(
|
|
|
2002
2027
|
'''Version 1.18.1.'''
|
|
2003
2028
|
return typing.cast("AdotLambdaLayerJavaScriptSdkVersion", jsii.sget(cls, "V1_18_1"))
|
|
2004
2029
|
|
|
2030
|
+
@jsii.python.classproperty
|
|
2031
|
+
@jsii.member(jsii_name="V1_30_0")
|
|
2032
|
+
def V1_30_0(cls) -> "AdotLambdaLayerJavaScriptSdkVersion":
|
|
2033
|
+
'''Version 1.30.0.'''
|
|
2034
|
+
return typing.cast("AdotLambdaLayerJavaScriptSdkVersion", jsii.sget(cls, "V1_30_0"))
|
|
2035
|
+
|
|
2005
2036
|
@jsii.python.classproperty
|
|
2006
2037
|
@jsii.member(jsii_name="V1_7_0")
|
|
2007
2038
|
def V1_7_0(cls) -> "AdotLambdaLayerJavaScriptSdkVersion":
|
|
@@ -2086,6 +2117,12 @@ class AdotLambdaLayerJavaSdkVersion(
|
|
|
2086
2117
|
'''Version 1.32.0.'''
|
|
2087
2118
|
return typing.cast("AdotLambdaLayerJavaSdkVersion", jsii.sget(cls, "V1_32_0"))
|
|
2088
2119
|
|
|
2120
|
+
@jsii.python.classproperty
|
|
2121
|
+
@jsii.member(jsii_name="V1_32_0_1")
|
|
2122
|
+
def V1_32_0_1(cls) -> "AdotLambdaLayerJavaSdkVersion":
|
|
2123
|
+
'''Version 1.32.0.'''
|
|
2124
|
+
return typing.cast("AdotLambdaLayerJavaSdkVersion", jsii.sget(cls, "V1_32_0_1"))
|
|
2125
|
+
|
|
2089
2126
|
@builtins.property
|
|
2090
2127
|
@jsii.member(jsii_name="layerVersion")
|
|
2091
2128
|
def _layer_version(self) -> builtins.str:
|
|
@@ -2208,6 +2245,12 @@ class AdotLambdaLayerPythonSdkVersion(
|
|
|
2208
2245
|
'''Version 1.25.0.'''
|
|
2209
2246
|
return typing.cast("AdotLambdaLayerPythonSdkVersion", jsii.sget(cls, "V1_25_0"))
|
|
2210
2247
|
|
|
2248
|
+
@jsii.python.classproperty
|
|
2249
|
+
@jsii.member(jsii_name="V1_29_0")
|
|
2250
|
+
def V1_29_0(cls) -> "AdotLambdaLayerPythonSdkVersion":
|
|
2251
|
+
'''Version 1.29.0.'''
|
|
2252
|
+
return typing.cast("AdotLambdaLayerPythonSdkVersion", jsii.sget(cls, "V1_29_0"))
|
|
2253
|
+
|
|
2211
2254
|
@builtins.property
|
|
2212
2255
|
@jsii.member(jsii_name="layerVersion")
|
|
2213
2256
|
def _layer_version(self) -> builtins.str:
|
|
@@ -7599,7 +7642,7 @@ class CfnFunction(
|
|
|
7599
7642
|
def __init__(
|
|
7600
7643
|
self,
|
|
7601
7644
|
*,
|
|
7602
|
-
variables: typing.Optional[typing.Union[
|
|
7645
|
+
variables: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
|
|
7603
7646
|
) -> None:
|
|
7604
7647
|
'''A function's environment variable settings.
|
|
7605
7648
|
|
|
@@ -7632,7 +7675,7 @@ class CfnFunction(
|
|
|
7632
7675
|
@builtins.property
|
|
7633
7676
|
def variables(
|
|
7634
7677
|
self,
|
|
7635
|
-
) -> typing.Optional[typing.Union[
|
|
7678
|
+
) -> typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]]:
|
|
7636
7679
|
'''Environment variable key-value pairs. For more information, see `Using Lambda environment variables <https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html>`_ .
|
|
7637
7680
|
|
|
7638
7681
|
If the value of the environment variable is a time or a duration, enclose the value in quotes.
|
|
@@ -7640,7 +7683,7 @@ class CfnFunction(
|
|
|
7640
7683
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-environment.html#cfn-lambda-function-environment-variables
|
|
7641
7684
|
'''
|
|
7642
7685
|
result = self._values.get("variables")
|
|
7643
|
-
return typing.cast(typing.Optional[typing.Union[
|
|
7686
|
+
return typing.cast(typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]], result)
|
|
7644
7687
|
|
|
7645
7688
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
7646
7689
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
@@ -30040,7 +30083,7 @@ def _typecheckingstub__a812f89a4720ebfd342e2bae3205898204a71a6d7c463a024623d8c6b
|
|
|
30040
30083
|
|
|
30041
30084
|
def _typecheckingstub__1e6acbe5ce51d5a0f4abaff5a4e2373a76927c34b3ec39525f796932f708bde1(
|
|
30042
30085
|
*,
|
|
30043
|
-
variables: typing.Optional[typing.Union[
|
|
30086
|
+
variables: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
|
|
30044
30087
|
) -> None:
|
|
30045
30088
|
"""Type checking stubs"""
|
|
30046
30089
|
pass
|
|
@@ -1938,11 +1938,30 @@ class NodejsFunctionProps(_FunctionOptions_328f4d39):
|
|
|
1938
1938
|
|
|
1939
1939
|
nodejs.NodejsFunction(self, "my-handler",
|
|
1940
1940
|
bundling=nodejs.BundlingOptions(
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1941
|
+
minify=True, # minify code, defaults to false
|
|
1942
|
+
source_map=True, # include source map, defaults to false
|
|
1943
|
+
source_map_mode=nodejs.SourceMapMode.INLINE, # defaults to SourceMapMode.DEFAULT
|
|
1944
|
+
sources_content=False, # do not include original source into source map, defaults to true
|
|
1945
|
+
target="es2020", # target environment for the generated JavaScript code
|
|
1946
|
+
loader={ # Use the 'dataurl' loader for '.png' files
|
|
1947
|
+
".png": "dataurl"},
|
|
1948
|
+
define={ # Replace strings during build time
|
|
1949
|
+
"process.env.API_KEY": JSON.stringify("xxx-xxxx-xxx"),
|
|
1950
|
+
"process.env.PRODUCTION": JSON.stringify(True),
|
|
1951
|
+
"process.env.NUMBER": JSON.stringify(123)},
|
|
1952
|
+
log_level=nodejs.LogLevel.ERROR, # defaults to LogLevel.WARNING
|
|
1953
|
+
keep_names=True, # defaults to false
|
|
1954
|
+
tsconfig="custom-tsconfig.json", # use custom-tsconfig.json instead of default,
|
|
1955
|
+
metafile=True, # include meta file, defaults to false
|
|
1956
|
+
banner="/* comments */", # requires esbuild >= 0.9.0, defaults to none
|
|
1957
|
+
footer="/* comments */", # requires esbuild >= 0.9.0, defaults to none
|
|
1958
|
+
charset=nodejs.Charset.UTF8, # do not escape non-ASCII characters, defaults to Charset.ASCII
|
|
1959
|
+
format=nodejs.OutputFormat.ESM, # ECMAScript module output format, defaults to OutputFormat.CJS (OutputFormat.ESM requires Node.js >= 14)
|
|
1960
|
+
main_fields=["module", "main"], # prefer ECMAScript versions of dependencies
|
|
1961
|
+
inject=["./my-shim.js", "./other-shim.js"], # allows to automatically replace a global variable with an import from another file
|
|
1962
|
+
esbuild_args={ # Pass additional arguments to esbuild
|
|
1963
|
+
"--log-limit": "0",
|
|
1964
|
+
"--splitting": True}
|
|
1946
1965
|
)
|
|
1947
1966
|
)
|
|
1948
1967
|
'''
|
|
@@ -122,7 +122,7 @@ class CfnDeployment(
|
|
|
122
122
|
*,
|
|
123
123
|
deployment_pattern_name: builtins.str,
|
|
124
124
|
name: builtins.str,
|
|
125
|
-
specifications: typing.Union[
|
|
125
|
+
specifications: typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b],
|
|
126
126
|
workload_name: builtins.str,
|
|
127
127
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
128
128
|
) -> None:
|
|
@@ -274,14 +274,14 @@ class CfnDeployment(
|
|
|
274
274
|
@jsii.member(jsii_name="specifications")
|
|
275
275
|
def specifications(
|
|
276
276
|
self,
|
|
277
|
-
) -> typing.Union[
|
|
277
|
+
) -> typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]:
|
|
278
278
|
'''The settings specified for the deployment.'''
|
|
279
|
-
return typing.cast(typing.Union[
|
|
279
|
+
return typing.cast(typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b], jsii.get(self, "specifications"))
|
|
280
280
|
|
|
281
281
|
@specifications.setter
|
|
282
282
|
def specifications(
|
|
283
283
|
self,
|
|
284
|
-
value: typing.Union[
|
|
284
|
+
value: typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b],
|
|
285
285
|
) -> None:
|
|
286
286
|
if __debug__:
|
|
287
287
|
type_hints = typing.get_type_hints(_typecheckingstub__6343321573b3c3c84666431fb123811dbd97cb11a86c65d6c6d7d4c669c25d86)
|
|
@@ -332,7 +332,7 @@ class CfnDeploymentProps:
|
|
|
332
332
|
*,
|
|
333
333
|
deployment_pattern_name: builtins.str,
|
|
334
334
|
name: builtins.str,
|
|
335
|
-
specifications: typing.Union[
|
|
335
|
+
specifications: typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b],
|
|
336
336
|
workload_name: builtins.str,
|
|
337
337
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
338
338
|
) -> None:
|
|
@@ -407,7 +407,7 @@ class CfnDeploymentProps:
|
|
|
407
407
|
@builtins.property
|
|
408
408
|
def specifications(
|
|
409
409
|
self,
|
|
410
|
-
) -> typing.Union[
|
|
410
|
+
) -> typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]:
|
|
411
411
|
'''The settings specified for the deployment.
|
|
412
412
|
|
|
413
413
|
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.
|
|
@@ -416,7 +416,7 @@ class CfnDeploymentProps:
|
|
|
416
416
|
'''
|
|
417
417
|
result = self._values.get("specifications")
|
|
418
418
|
assert result is not None, "Required property 'specifications' is missing"
|
|
419
|
-
return typing.cast(typing.Union[
|
|
419
|
+
return typing.cast(typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b], result)
|
|
420
420
|
|
|
421
421
|
@builtins.property
|
|
422
422
|
def workload_name(self) -> builtins.str:
|
|
@@ -462,7 +462,7 @@ def _typecheckingstub__fe77ed4e81ab71d948f0b03ed5f8780bcc2f324a23805bc45e7eef5f9
|
|
|
462
462
|
*,
|
|
463
463
|
deployment_pattern_name: builtins.str,
|
|
464
464
|
name: builtins.str,
|
|
465
|
-
specifications: typing.Union[
|
|
465
|
+
specifications: typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b],
|
|
466
466
|
workload_name: builtins.str,
|
|
467
467
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
468
468
|
) -> None:
|
|
@@ -494,7 +494,7 @@ def _typecheckingstub__c0094e37b81e5d8f0b6e42001fe8da7cf6d149317e4ef32b73e5cef5a
|
|
|
494
494
|
pass
|
|
495
495
|
|
|
496
496
|
def _typecheckingstub__6343321573b3c3c84666431fb123811dbd97cb11a86c65d6c6d7d4c669c25d86(
|
|
497
|
-
value: typing.Union[
|
|
497
|
+
value: typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b],
|
|
498
498
|
) -> None:
|
|
499
499
|
"""Type checking stubs"""
|
|
500
500
|
pass
|
|
@@ -515,7 +515,7 @@ def _typecheckingstub__a6e25238aa51033c6bfd52d31380bf8d8789e604e540fcfff33c0df8b
|
|
|
515
515
|
*,
|
|
516
516
|
deployment_pattern_name: builtins.str,
|
|
517
517
|
name: builtins.str,
|
|
518
|
-
specifications: typing.Union[
|
|
518
|
+
specifications: typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b],
|
|
519
519
|
workload_name: builtins.str,
|
|
520
520
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
521
521
|
) -> None:
|