aws-cdk-lib 2.189.0__py3-none-any.whl → 2.190.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 +16 -2
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.189.0.jsii.tgz → aws-cdk-lib@2.190.0.jsii.tgz} +0 -0
- aws_cdk/aws_acmpca/__init__.py +6 -6
- aws_cdk/aws_apigatewayv2/__init__.py +374 -6
- aws_cdk/aws_applicationautoscaling/__init__.py +16 -10
- aws_cdk/aws_applicationsignals/__init__.py +204 -31
- aws_cdk/aws_backup/__init__.py +0 -41
- aws_cdk/aws_batch/__init__.py +215 -0
- aws_cdk/aws_bedrock/__init__.py +287 -0
- aws_cdk/aws_cleanrooms/__init__.py +1392 -78
- aws_cdk/aws_cloudfront/__init__.py +1 -0
- aws_cdk/aws_cloudtrail/__init__.py +24 -26
- aws_cdk/aws_codebuild/__init__.py +59 -7
- aws_cdk/aws_dms/__init__.py +43 -0
- aws_cdk/aws_ec2/__init__.py +364 -30
- aws_cdk/aws_ecs/__init__.py +36 -5
- aws_cdk/aws_eks/__init__.py +2 -100
- aws_cdk/aws_elasticache/__init__.py +6 -11
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +341 -0
- aws_cdk/aws_events/__init__.py +67 -13
- aws_cdk/aws_fsx/__init__.py +9 -21
- aws_cdk/aws_iam/__init__.py +1 -1
- aws_cdk/aws_iot/__init__.py +6 -6
- aws_cdk/aws_kafkaconnect/__init__.py +2 -2
- aws_cdk/aws_kinesis/__init__.py +44 -0
- aws_cdk/aws_lex/__init__.py +615 -39
- aws_cdk/aws_location/__init__.py +4 -4
- aws_cdk/aws_macie/__init__.py +14 -3
- aws_cdk/aws_memorydb/__init__.py +87 -0
- aws_cdk/aws_msk/__init__.py +226 -127
- aws_cdk/aws_neptune/__init__.py +0 -8
- aws_cdk/aws_opensearchservice/__init__.py +64 -56
- aws_cdk/aws_paymentcryptography/__init__.py +41 -0
- aws_cdk/aws_qbusiness/__init__.py +175 -3
- aws_cdk/aws_quicksight/__init__.py +393 -0
- aws_cdk/aws_rds/__init__.py +113 -120
- aws_cdk/aws_redshiftserverless/__init__.py +4 -14
- aws_cdk/aws_route53resolver/__init__.py +60 -9
- aws_cdk/aws_s3/__init__.py +34 -1
- aws_cdk/aws_s3_deployment/__init__.py +202 -5
- aws_cdk/aws_sagemaker/__init__.py +40 -40
- aws_cdk/aws_ssmquicksetup/__init__.py +3 -3
- aws_cdk/aws_stepfunctions/__init__.py +720 -45
- aws_cdk/aws_transfer/__init__.py +55 -2
- aws_cdk/custom_resources/__init__.py +5 -5
- aws_cdk/pipelines/__init__.py +1 -2
- {aws_cdk_lib-2.189.0.dist-info → aws_cdk_lib-2.190.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.189.0.dist-info → aws_cdk_lib-2.190.0.dist-info}/RECORD +53 -53
- {aws_cdk_lib-2.189.0.dist-info → aws_cdk_lib-2.190.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.189.0.dist-info → aws_cdk_lib-2.190.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.189.0.dist-info → aws_cdk_lib-2.190.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.189.0.dist-info → aws_cdk_lib-2.190.0.dist-info}/top_level.txt +0 -0
|
@@ -361,6 +361,31 @@ resource handler.
|
|
|
361
361
|
> NOTE: a new AWS Lambda handler will be created in your stack for each combination
|
|
362
362
|
> of memory and storage size.
|
|
363
363
|
|
|
364
|
+
## JSON-Aware Source Processing
|
|
365
|
+
|
|
366
|
+
When using `Source.jsonData` with CDK Tokens (references to construct properties), you may need to enable the escaping option. This is particularly important when the referenced properties might contain special characters that require proper JSON escaping (like double quotes, line breaks, etc.).
|
|
367
|
+
|
|
368
|
+
```python
|
|
369
|
+
# bucket: s3.Bucket
|
|
370
|
+
# param: ssm.StringParameter
|
|
371
|
+
|
|
372
|
+
|
|
373
|
+
# Example with a secret value that contains double quotes
|
|
374
|
+
deployment = s3deploy.BucketDeployment(self, "JsonDeployment",
|
|
375
|
+
sources=[
|
|
376
|
+
s3deploy.Source.json_data("config.json", {
|
|
377
|
+
"api_endpoint": "https://api.example.com",
|
|
378
|
+
"secret_value": param.string_value, # value with double quotes
|
|
379
|
+
"config": {
|
|
380
|
+
"enabled": True,
|
|
381
|
+
"features": ["feature1", "feature2"]
|
|
382
|
+
}
|
|
383
|
+
}, escape=True)
|
|
384
|
+
],
|
|
385
|
+
destination_bucket=bucket
|
|
386
|
+
)
|
|
387
|
+
```
|
|
388
|
+
|
|
364
389
|
## EFS Support
|
|
365
390
|
|
|
366
391
|
If your workflow needs more disk space than default (512 MB) disk space, you may attach an EFS storage to underlying
|
|
@@ -1872,6 +1897,119 @@ class _ISourceProxy:
|
|
|
1872
1897
|
typing.cast(typing.Any, ISource).__jsii_proxy_class__ = lambda : _ISourceProxy
|
|
1873
1898
|
|
|
1874
1899
|
|
|
1900
|
+
@jsii.data_type(
|
|
1901
|
+
jsii_type="aws-cdk-lib.aws_s3_deployment.JsonProcessingOptions",
|
|
1902
|
+
jsii_struct_bases=[],
|
|
1903
|
+
name_mapping={"escape": "escape"},
|
|
1904
|
+
)
|
|
1905
|
+
class JsonProcessingOptions:
|
|
1906
|
+
def __init__(self, *, escape: typing.Optional[builtins.bool] = None) -> None:
|
|
1907
|
+
'''Define options which can be passed using the method ``Source.jsonData()``.
|
|
1908
|
+
|
|
1909
|
+
:param escape: If set to ``true``, the marker substitution will make sure the value inserted in the file will be a valid JSON string. Default: - false
|
|
1910
|
+
|
|
1911
|
+
:exampleMetadata: infused
|
|
1912
|
+
|
|
1913
|
+
Example::
|
|
1914
|
+
|
|
1915
|
+
# bucket: s3.Bucket
|
|
1916
|
+
# param: ssm.StringParameter
|
|
1917
|
+
|
|
1918
|
+
|
|
1919
|
+
# Example with a secret value that contains double quotes
|
|
1920
|
+
deployment = s3deploy.BucketDeployment(self, "JsonDeployment",
|
|
1921
|
+
sources=[
|
|
1922
|
+
s3deploy.Source.json_data("config.json", {
|
|
1923
|
+
"api_endpoint": "https://api.example.com",
|
|
1924
|
+
"secret_value": param.string_value, # value with double quotes
|
|
1925
|
+
"config": {
|
|
1926
|
+
"enabled": True,
|
|
1927
|
+
"features": ["feature1", "feature2"]
|
|
1928
|
+
}
|
|
1929
|
+
}, escape=True)
|
|
1930
|
+
],
|
|
1931
|
+
destination_bucket=bucket
|
|
1932
|
+
)
|
|
1933
|
+
'''
|
|
1934
|
+
if __debug__:
|
|
1935
|
+
type_hints = typing.get_type_hints(_typecheckingstub__fd3ea1f1e2f77d50d09982cb82214db60db317cbfc5d9891f173d39c88e742ff)
|
|
1936
|
+
check_type(argname="argument escape", value=escape, expected_type=type_hints["escape"])
|
|
1937
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
1938
|
+
if escape is not None:
|
|
1939
|
+
self._values["escape"] = escape
|
|
1940
|
+
|
|
1941
|
+
@builtins.property
|
|
1942
|
+
def escape(self) -> typing.Optional[builtins.bool]:
|
|
1943
|
+
'''If set to ``true``, the marker substitution will make sure the value inserted in the file will be a valid JSON string.
|
|
1944
|
+
|
|
1945
|
+
:default: - false
|
|
1946
|
+
'''
|
|
1947
|
+
result = self._values.get("escape")
|
|
1948
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
1949
|
+
|
|
1950
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1951
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1952
|
+
|
|
1953
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1954
|
+
return not (rhs == self)
|
|
1955
|
+
|
|
1956
|
+
def __repr__(self) -> str:
|
|
1957
|
+
return "JsonProcessingOptions(%s)" % ", ".join(
|
|
1958
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1959
|
+
)
|
|
1960
|
+
|
|
1961
|
+
|
|
1962
|
+
@jsii.data_type(
|
|
1963
|
+
jsii_type="aws-cdk-lib.aws_s3_deployment.MarkersConfig",
|
|
1964
|
+
jsii_struct_bases=[],
|
|
1965
|
+
name_mapping={"json_escape": "jsonEscape"},
|
|
1966
|
+
)
|
|
1967
|
+
class MarkersConfig:
|
|
1968
|
+
def __init__(self, *, json_escape: typing.Optional[builtins.bool] = None) -> None:
|
|
1969
|
+
'''A configuration for markers substitution strategy.
|
|
1970
|
+
|
|
1971
|
+
:param json_escape: If set to ``true``, the marker substitution will make ure the value inserted in the file will be a valid JSON string. Default: - false
|
|
1972
|
+
|
|
1973
|
+
:exampleMetadata: fixture=_generated
|
|
1974
|
+
|
|
1975
|
+
Example::
|
|
1976
|
+
|
|
1977
|
+
# The code below shows an example of how to instantiate this type.
|
|
1978
|
+
# The values are placeholders you should change.
|
|
1979
|
+
from aws_cdk import aws_s3_deployment as s3_deployment
|
|
1980
|
+
|
|
1981
|
+
markers_config = s3_deployment.MarkersConfig(
|
|
1982
|
+
json_escape=False
|
|
1983
|
+
)
|
|
1984
|
+
'''
|
|
1985
|
+
if __debug__:
|
|
1986
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c22b4c70cadefb9701fc5773d5fda6fec94ecfa3854d7d72003b50084bc4d20e)
|
|
1987
|
+
check_type(argname="argument json_escape", value=json_escape, expected_type=type_hints["json_escape"])
|
|
1988
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
1989
|
+
if json_escape is not None:
|
|
1990
|
+
self._values["json_escape"] = json_escape
|
|
1991
|
+
|
|
1992
|
+
@builtins.property
|
|
1993
|
+
def json_escape(self) -> typing.Optional[builtins.bool]:
|
|
1994
|
+
'''If set to ``true``, the marker substitution will make ure the value inserted in the file will be a valid JSON string.
|
|
1995
|
+
|
|
1996
|
+
:default: - false
|
|
1997
|
+
'''
|
|
1998
|
+
result = self._values.get("json_escape")
|
|
1999
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
2000
|
+
|
|
2001
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2002
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2003
|
+
|
|
2004
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2005
|
+
return not (rhs == self)
|
|
2006
|
+
|
|
2007
|
+
def __repr__(self) -> str:
|
|
2008
|
+
return "MarkersConfig(%s)" % ", ".join(
|
|
2009
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2010
|
+
)
|
|
2011
|
+
|
|
2012
|
+
|
|
1875
2013
|
@jsii.enum(jsii_type="aws-cdk-lib.aws_s3_deployment.ServerSideEncryption")
|
|
1876
2014
|
class ServerSideEncryption(enum.Enum):
|
|
1877
2015
|
'''Indicates whether server-side encryption is enabled for the object, and whether that encryption is from the AWS Key Management Service (AWS KMS) or from Amazon S3 managed encryption (SSE-S3).
|
|
@@ -2038,7 +2176,13 @@ class Source(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_s3_deployment.S
|
|
|
2038
2176
|
|
|
2039
2177
|
@jsii.member(jsii_name="data")
|
|
2040
2178
|
@builtins.classmethod
|
|
2041
|
-
def data(
|
|
2179
|
+
def data(
|
|
2180
|
+
cls,
|
|
2181
|
+
object_key: builtins.str,
|
|
2182
|
+
data: builtins.str,
|
|
2183
|
+
*,
|
|
2184
|
+
json_escape: typing.Optional[builtins.bool] = None,
|
|
2185
|
+
) -> ISource:
|
|
2042
2186
|
'''Deploys an object with the specified string contents into the bucket.
|
|
2043
2187
|
|
|
2044
2188
|
The
|
|
@@ -2050,16 +2194,25 @@ class Source(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_s3_deployment.S
|
|
|
2050
2194
|
|
|
2051
2195
|
:param object_key: The destination S3 object key (relative to the root of the S3 deployment).
|
|
2052
2196
|
:param data: The data to be stored in the object.
|
|
2197
|
+
:param json_escape: If set to ``true``, the marker substitution will make ure the value inserted in the file will be a valid JSON string. Default: - false
|
|
2053
2198
|
'''
|
|
2054
2199
|
if __debug__:
|
|
2055
2200
|
type_hints = typing.get_type_hints(_typecheckingstub__798b55b643d389adf599acde4d214b0b843e07f8c7984ea0e848f2da7c62822c)
|
|
2056
2201
|
check_type(argname="argument object_key", value=object_key, expected_type=type_hints["object_key"])
|
|
2057
2202
|
check_type(argname="argument data", value=data, expected_type=type_hints["data"])
|
|
2058
|
-
|
|
2203
|
+
markers_config = MarkersConfig(json_escape=json_escape)
|
|
2204
|
+
|
|
2205
|
+
return typing.cast(ISource, jsii.sinvoke(cls, "data", [object_key, data, markers_config]))
|
|
2059
2206
|
|
|
2060
2207
|
@jsii.member(jsii_name="jsonData")
|
|
2061
2208
|
@builtins.classmethod
|
|
2062
|
-
def json_data(
|
|
2209
|
+
def json_data(
|
|
2210
|
+
cls,
|
|
2211
|
+
object_key: builtins.str,
|
|
2212
|
+
obj: typing.Any,
|
|
2213
|
+
*,
|
|
2214
|
+
escape: typing.Optional[builtins.bool] = None,
|
|
2215
|
+
) -> ISource:
|
|
2063
2216
|
'''Deploys an object with the specified JSON object into the bucket.
|
|
2064
2217
|
|
|
2065
2218
|
The
|
|
@@ -2068,12 +2221,15 @@ class Source(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_s3_deployment.S
|
|
|
2068
2221
|
|
|
2069
2222
|
:param object_key: The destination S3 object key (relative to the root of the S3 deployment).
|
|
2070
2223
|
:param obj: A JSON object.
|
|
2224
|
+
:param escape: If set to ``true``, the marker substitution will make sure the value inserted in the file will be a valid JSON string. Default: - false
|
|
2071
2225
|
'''
|
|
2072
2226
|
if __debug__:
|
|
2073
2227
|
type_hints = typing.get_type_hints(_typecheckingstub__34bf47f9cf16464b2d85173fbce8786a1afe889c23001b8c7575c49e0bf93ff9)
|
|
2074
2228
|
check_type(argname="argument object_key", value=object_key, expected_type=type_hints["object_key"])
|
|
2075
2229
|
check_type(argname="argument obj", value=obj, expected_type=type_hints["obj"])
|
|
2076
|
-
|
|
2230
|
+
json_processing_options = JsonProcessingOptions(escape=escape)
|
|
2231
|
+
|
|
2232
|
+
return typing.cast(ISource, jsii.sinvoke(cls, "jsonData", [object_key, obj, json_processing_options]))
|
|
2077
2233
|
|
|
2078
2234
|
@jsii.member(jsii_name="yamlData")
|
|
2079
2235
|
@builtins.classmethod
|
|
@@ -2100,6 +2256,7 @@ class Source(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_s3_deployment.S
|
|
|
2100
2256
|
"bucket": "bucket",
|
|
2101
2257
|
"zip_object_key": "zipObjectKey",
|
|
2102
2258
|
"markers": "markers",
|
|
2259
|
+
"markers_config": "markersConfig",
|
|
2103
2260
|
},
|
|
2104
2261
|
)
|
|
2105
2262
|
class SourceConfig:
|
|
@@ -2109,12 +2266,14 @@ class SourceConfig:
|
|
|
2109
2266
|
bucket: _IBucket_42e086fd,
|
|
2110
2267
|
zip_object_key: builtins.str,
|
|
2111
2268
|
markers: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
2269
|
+
markers_config: typing.Optional[typing.Union[MarkersConfig, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
2112
2270
|
) -> None:
|
|
2113
2271
|
'''Source information.
|
|
2114
2272
|
|
|
2115
2273
|
:param bucket: The source bucket to deploy from.
|
|
2116
2274
|
:param zip_object_key: An S3 object key in the source bucket that points to a zip file.
|
|
2117
2275
|
:param markers: A set of markers to substitute in the source content. Default: - no markers
|
|
2276
|
+
:param markers_config: A configuration for markers substitution strategy. Default: - no configuration
|
|
2118
2277
|
|
|
2119
2278
|
:exampleMetadata: fixture=_generated
|
|
2120
2279
|
|
|
@@ -2135,20 +2294,28 @@ class SourceConfig:
|
|
|
2135
2294
|
# the properties below are optional
|
|
2136
2295
|
markers={
|
|
2137
2296
|
"markers_key": markers
|
|
2138
|
-
}
|
|
2297
|
+
},
|
|
2298
|
+
markers_config=s3_deployment.MarkersConfig(
|
|
2299
|
+
json_escape=False
|
|
2300
|
+
)
|
|
2139
2301
|
)
|
|
2140
2302
|
'''
|
|
2303
|
+
if isinstance(markers_config, dict):
|
|
2304
|
+
markers_config = MarkersConfig(**markers_config)
|
|
2141
2305
|
if __debug__:
|
|
2142
2306
|
type_hints = typing.get_type_hints(_typecheckingstub__dafa1619bb92595ec0ff7aa95e55221719ed81eb6d2f7d44a84193d810c4265c)
|
|
2143
2307
|
check_type(argname="argument bucket", value=bucket, expected_type=type_hints["bucket"])
|
|
2144
2308
|
check_type(argname="argument zip_object_key", value=zip_object_key, expected_type=type_hints["zip_object_key"])
|
|
2145
2309
|
check_type(argname="argument markers", value=markers, expected_type=type_hints["markers"])
|
|
2310
|
+
check_type(argname="argument markers_config", value=markers_config, expected_type=type_hints["markers_config"])
|
|
2146
2311
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2147
2312
|
"bucket": bucket,
|
|
2148
2313
|
"zip_object_key": zip_object_key,
|
|
2149
2314
|
}
|
|
2150
2315
|
if markers is not None:
|
|
2151
2316
|
self._values["markers"] = markers
|
|
2317
|
+
if markers_config is not None:
|
|
2318
|
+
self._values["markers_config"] = markers_config
|
|
2152
2319
|
|
|
2153
2320
|
@builtins.property
|
|
2154
2321
|
def bucket(self) -> _IBucket_42e086fd:
|
|
@@ -2173,6 +2340,15 @@ class SourceConfig:
|
|
|
2173
2340
|
result = self._values.get("markers")
|
|
2174
2341
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, typing.Any]], result)
|
|
2175
2342
|
|
|
2343
|
+
@builtins.property
|
|
2344
|
+
def markers_config(self) -> typing.Optional[MarkersConfig]:
|
|
2345
|
+
'''A configuration for markers substitution strategy.
|
|
2346
|
+
|
|
2347
|
+
:default: - no configuration
|
|
2348
|
+
'''
|
|
2349
|
+
result = self._values.get("markers_config")
|
|
2350
|
+
return typing.cast(typing.Optional[MarkersConfig], result)
|
|
2351
|
+
|
|
2176
2352
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2177
2353
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2178
2354
|
|
|
@@ -2278,6 +2454,8 @@ __all__ = [
|
|
|
2278
2454
|
"DeployTimeSubstitutedFileProps",
|
|
2279
2455
|
"DeploymentSourceContext",
|
|
2280
2456
|
"ISource",
|
|
2457
|
+
"JsonProcessingOptions",
|
|
2458
|
+
"MarkersConfig",
|
|
2281
2459
|
"ServerSideEncryption",
|
|
2282
2460
|
"Source",
|
|
2283
2461
|
"SourceConfig",
|
|
@@ -2442,6 +2620,20 @@ def _typecheckingstub__09970416699f317cf422c30f785da12ff6ed72f1358bc0e3e4adcf6e6
|
|
|
2442
2620
|
"""Type checking stubs"""
|
|
2443
2621
|
pass
|
|
2444
2622
|
|
|
2623
|
+
def _typecheckingstub__fd3ea1f1e2f77d50d09982cb82214db60db317cbfc5d9891f173d39c88e742ff(
|
|
2624
|
+
*,
|
|
2625
|
+
escape: typing.Optional[builtins.bool] = None,
|
|
2626
|
+
) -> None:
|
|
2627
|
+
"""Type checking stubs"""
|
|
2628
|
+
pass
|
|
2629
|
+
|
|
2630
|
+
def _typecheckingstub__c22b4c70cadefb9701fc5773d5fda6fec94ecfa3854d7d72003b50084bc4d20e(
|
|
2631
|
+
*,
|
|
2632
|
+
json_escape: typing.Optional[builtins.bool] = None,
|
|
2633
|
+
) -> None:
|
|
2634
|
+
"""Type checking stubs"""
|
|
2635
|
+
pass
|
|
2636
|
+
|
|
2445
2637
|
def _typecheckingstub__fc877c69568cee7364ec77003356fc6818118602dda64adf3dbf38ff7eec10b2(
|
|
2446
2638
|
path: builtins.str,
|
|
2447
2639
|
*,
|
|
@@ -2469,6 +2661,8 @@ def _typecheckingstub__bcaba123a95f1aa9d99f9f5af319da23dd5f345454e757ba925736432
|
|
|
2469
2661
|
def _typecheckingstub__798b55b643d389adf599acde4d214b0b843e07f8c7984ea0e848f2da7c62822c(
|
|
2470
2662
|
object_key: builtins.str,
|
|
2471
2663
|
data: builtins.str,
|
|
2664
|
+
*,
|
|
2665
|
+
json_escape: typing.Optional[builtins.bool] = None,
|
|
2472
2666
|
) -> None:
|
|
2473
2667
|
"""Type checking stubs"""
|
|
2474
2668
|
pass
|
|
@@ -2476,6 +2670,8 @@ def _typecheckingstub__798b55b643d389adf599acde4d214b0b843e07f8c7984ea0e848f2da7
|
|
|
2476
2670
|
def _typecheckingstub__34bf47f9cf16464b2d85173fbce8786a1afe889c23001b8c7575c49e0bf93ff9(
|
|
2477
2671
|
object_key: builtins.str,
|
|
2478
2672
|
obj: typing.Any,
|
|
2673
|
+
*,
|
|
2674
|
+
escape: typing.Optional[builtins.bool] = None,
|
|
2479
2675
|
) -> None:
|
|
2480
2676
|
"""Type checking stubs"""
|
|
2481
2677
|
pass
|
|
@@ -2492,6 +2688,7 @@ def _typecheckingstub__dafa1619bb92595ec0ff7aa95e55221719ed81eb6d2f7d44a84193d81
|
|
|
2492
2688
|
bucket: _IBucket_42e086fd,
|
|
2493
2689
|
zip_object_key: builtins.str,
|
|
2494
2690
|
markers: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
2691
|
+
markers_config: typing.Optional[typing.Union[MarkersConfig, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
2495
2692
|
) -> None:
|
|
2496
2693
|
"""Type checking stubs"""
|
|
2497
2694
|
pass
|
|
@@ -42023,7 +42023,9 @@ class CfnPartnerApp(
|
|
|
42023
42023
|
metaclass=jsii.JSIIMeta,
|
|
42024
42024
|
jsii_type="aws-cdk-lib.aws_sagemaker.CfnPartnerApp",
|
|
42025
42025
|
):
|
|
42026
|
-
'''
|
|
42026
|
+
'''The ``AWS::SageMaker::PartnerApp`` resource creates an Amazon SageMaker Partner AI App.
|
|
42027
|
+
|
|
42028
|
+
For more information, see `Partner AI Apps <https://docs.aws.amazon.com/sagemaker/latest/dg/partner-apps.html>`_ .
|
|
42027
42029
|
|
|
42028
42030
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-partnerapp.html
|
|
42029
42031
|
:cloudformationResource: AWS::SageMaker::PartnerApp
|
|
@@ -42082,12 +42084,12 @@ class CfnPartnerApp(
|
|
|
42082
42084
|
'''
|
|
42083
42085
|
:param scope: Scope in which this resource is defined.
|
|
42084
42086
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
42085
|
-
:param auth_type:
|
|
42086
|
-
:param execution_role_arn: The
|
|
42087
|
-
:param name: The name of the
|
|
42088
|
-
:param tier: The tier of the
|
|
42089
|
-
:param type:
|
|
42090
|
-
:param application_config:
|
|
42087
|
+
:param auth_type: Defines the authentication type used for the Partner AI App.
|
|
42088
|
+
:param execution_role_arn: The Amazon Resource Name (ARN) of the IAM role of the user.
|
|
42089
|
+
:param name: The name of the Partner AI App. This name must be unique within your account and region.
|
|
42090
|
+
:param tier: Specifies the tier or level of the Partner AI App. The tier size impacts the speed and capabilities of the application. For more information, see `Set up Partner AI Apps <https://docs.aws.amazon.com/sagemaker/latest/dg/partner-app-onboard.html>`_ .
|
|
42091
|
+
:param type: Specifies the type of Partner AI App being created.
|
|
42092
|
+
:param application_config: Configuration settings for the Partner AI App.
|
|
42091
42093
|
:param client_token: (deprecated) The client token for the PartnerApp.
|
|
42092
42094
|
:param enable_iam_session_based_identity: Enables IAM Session based Identity for PartnerApp.
|
|
42093
42095
|
:param kms_key_id: The AWS KMS customer managed key used to encrypt the data associated with the PartnerApp.
|
|
@@ -42147,7 +42149,7 @@ class CfnPartnerApp(
|
|
|
42147
42149
|
@builtins.property
|
|
42148
42150
|
@jsii.member(jsii_name="attrArn")
|
|
42149
42151
|
def attr_arn(self) -> builtins.str:
|
|
42150
|
-
'''The ARN of the
|
|
42152
|
+
'''The Amazon Resource Name (ARN) of the created PartnerApp.
|
|
42151
42153
|
|
|
42152
42154
|
:cloudformationAttribute: Arn
|
|
42153
42155
|
'''
|
|
@@ -42176,7 +42178,7 @@ class CfnPartnerApp(
|
|
|
42176
42178
|
@builtins.property
|
|
42177
42179
|
@jsii.member(jsii_name="authType")
|
|
42178
42180
|
def auth_type(self) -> builtins.str:
|
|
42179
|
-
'''
|
|
42181
|
+
'''Defines the authentication type used for the Partner AI App.'''
|
|
42180
42182
|
return typing.cast(builtins.str, jsii.get(self, "authType"))
|
|
42181
42183
|
|
|
42182
42184
|
@auth_type.setter
|
|
@@ -42189,7 +42191,7 @@ class CfnPartnerApp(
|
|
|
42189
42191
|
@builtins.property
|
|
42190
42192
|
@jsii.member(jsii_name="executionRoleArn")
|
|
42191
42193
|
def execution_role_arn(self) -> builtins.str:
|
|
42192
|
-
'''The
|
|
42194
|
+
'''The Amazon Resource Name (ARN) of the IAM role of the user.'''
|
|
42193
42195
|
return typing.cast(builtins.str, jsii.get(self, "executionRoleArn"))
|
|
42194
42196
|
|
|
42195
42197
|
@execution_role_arn.setter
|
|
@@ -42202,7 +42204,7 @@ class CfnPartnerApp(
|
|
|
42202
42204
|
@builtins.property
|
|
42203
42205
|
@jsii.member(jsii_name="name")
|
|
42204
42206
|
def name(self) -> builtins.str:
|
|
42205
|
-
'''The name of the
|
|
42207
|
+
'''The name of the Partner AI App.'''
|
|
42206
42208
|
return typing.cast(builtins.str, jsii.get(self, "name"))
|
|
42207
42209
|
|
|
42208
42210
|
@name.setter
|
|
@@ -42215,7 +42217,7 @@ class CfnPartnerApp(
|
|
|
42215
42217
|
@builtins.property
|
|
42216
42218
|
@jsii.member(jsii_name="tier")
|
|
42217
42219
|
def tier(self) -> builtins.str:
|
|
42218
|
-
'''
|
|
42220
|
+
'''Specifies the tier or level of the Partner AI App.'''
|
|
42219
42221
|
return typing.cast(builtins.str, jsii.get(self, "tier"))
|
|
42220
42222
|
|
|
42221
42223
|
@tier.setter
|
|
@@ -42228,7 +42230,7 @@ class CfnPartnerApp(
|
|
|
42228
42230
|
@builtins.property
|
|
42229
42231
|
@jsii.member(jsii_name="type")
|
|
42230
42232
|
def type(self) -> builtins.str:
|
|
42231
|
-
'''
|
|
42233
|
+
'''Specifies the type of Partner AI App being created.'''
|
|
42232
42234
|
return typing.cast(builtins.str, jsii.get(self, "type"))
|
|
42233
42235
|
|
|
42234
42236
|
@type.setter
|
|
@@ -42243,7 +42245,7 @@ class CfnPartnerApp(
|
|
|
42243
42245
|
def application_config(
|
|
42244
42246
|
self,
|
|
42245
42247
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPartnerApp.PartnerAppConfigProperty"]]:
|
|
42246
|
-
'''
|
|
42248
|
+
'''Configuration settings for the Partner AI App.'''
|
|
42247
42249
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPartnerApp.PartnerAppConfigProperty"]], jsii.get(self, "applicationConfig"))
|
|
42248
42250
|
|
|
42249
42251
|
@application_config.setter
|
|
@@ -42348,10 +42350,10 @@ class CfnPartnerApp(
|
|
|
42348
42350
|
admin_users: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
42349
42351
|
arguments: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
|
|
42350
42352
|
) -> None:
|
|
42351
|
-
'''
|
|
42353
|
+
'''A collection of configuration settings for the PartnerApp.
|
|
42352
42354
|
|
|
42353
|
-
:param admin_users:
|
|
42354
|
-
:param arguments:
|
|
42355
|
+
:param admin_users: A list of users that will have administrative access to the Partner AI App.
|
|
42356
|
+
:param arguments: Additional arguments passed to the Partner AI App during initialization or runtime.
|
|
42355
42357
|
|
|
42356
42358
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-partnerapp-partnerappconfig.html
|
|
42357
42359
|
:exampleMetadata: fixture=_generated
|
|
@@ -42381,7 +42383,7 @@ class CfnPartnerApp(
|
|
|
42381
42383
|
|
|
42382
42384
|
@builtins.property
|
|
42383
42385
|
def admin_users(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
42384
|
-
'''
|
|
42386
|
+
'''A list of users that will have administrative access to the Partner AI App.
|
|
42385
42387
|
|
|
42386
42388
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-partnerapp-partnerappconfig.html#cfn-sagemaker-partnerapp-partnerappconfig-adminusers
|
|
42387
42389
|
'''
|
|
@@ -42392,9 +42394,7 @@ class CfnPartnerApp(
|
|
|
42392
42394
|
def arguments(
|
|
42393
42395
|
self,
|
|
42394
42396
|
) -> typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]]:
|
|
42395
|
-
'''
|
|
42396
|
-
|
|
42397
|
-
Based on the application type, the map is populated with a key and value pair that is specific to the user and application.
|
|
42397
|
+
'''Additional arguments passed to the Partner AI App during initialization or runtime.
|
|
42398
42398
|
|
|
42399
42399
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-partnerapp-partnerappconfig.html#cfn-sagemaker-partnerapp-partnerappconfig-arguments
|
|
42400
42400
|
'''
|
|
@@ -42419,9 +42419,9 @@ class CfnPartnerApp(
|
|
|
42419
42419
|
)
|
|
42420
42420
|
class PartnerAppMaintenanceConfigProperty:
|
|
42421
42421
|
def __init__(self, *, maintenance_window_start: builtins.str) -> None:
|
|
42422
|
-
'''
|
|
42422
|
+
'''A collection of settings that specify the maintenance schedule for the PartnerApp.
|
|
42423
42423
|
|
|
42424
|
-
:param maintenance_window_start: The
|
|
42424
|
+
:param maintenance_window_start: The maintenance window start day and time for the PartnerApp.
|
|
42425
42425
|
|
|
42426
42426
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-partnerapp-partnerappmaintenanceconfig.html
|
|
42427
42427
|
:exampleMetadata: fixture=_generated
|
|
@@ -42445,9 +42445,7 @@ class CfnPartnerApp(
|
|
|
42445
42445
|
|
|
42446
42446
|
@builtins.property
|
|
42447
42447
|
def maintenance_window_start(self) -> builtins.str:
|
|
42448
|
-
'''The day and time
|
|
42449
|
-
|
|
42450
|
-
This value must take the following format: ``3-letter-day:24-h-hour:minute`` . For example: ``TUE:03:30`` .
|
|
42448
|
+
'''The maintenance window start day and time for the PartnerApp.
|
|
42451
42449
|
|
|
42452
42450
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-partnerapp-partnerappmaintenanceconfig.html#cfn-sagemaker-partnerapp-partnerappmaintenanceconfig-maintenancewindowstart
|
|
42453
42451
|
'''
|
|
@@ -42502,12 +42500,12 @@ class CfnPartnerAppProps:
|
|
|
42502
42500
|
) -> None:
|
|
42503
42501
|
'''Properties for defining a ``CfnPartnerApp``.
|
|
42504
42502
|
|
|
42505
|
-
:param auth_type:
|
|
42506
|
-
:param execution_role_arn: The
|
|
42507
|
-
:param name: The name of the
|
|
42508
|
-
:param tier: The tier of the
|
|
42509
|
-
:param type:
|
|
42510
|
-
:param application_config:
|
|
42503
|
+
:param auth_type: Defines the authentication type used for the Partner AI App.
|
|
42504
|
+
:param execution_role_arn: The Amazon Resource Name (ARN) of the IAM role of the user.
|
|
42505
|
+
:param name: The name of the Partner AI App. This name must be unique within your account and region.
|
|
42506
|
+
:param tier: Specifies the tier or level of the Partner AI App. The tier size impacts the speed and capabilities of the application. For more information, see `Set up Partner AI Apps <https://docs.aws.amazon.com/sagemaker/latest/dg/partner-app-onboard.html>`_ .
|
|
42507
|
+
:param type: Specifies the type of Partner AI App being created.
|
|
42508
|
+
:param application_config: Configuration settings for the Partner AI App.
|
|
42511
42509
|
:param client_token: (deprecated) The client token for the PartnerApp.
|
|
42512
42510
|
:param enable_iam_session_based_identity: Enables IAM Session based Identity for PartnerApp.
|
|
42513
42511
|
:param kms_key_id: The AWS KMS customer managed key used to encrypt the data associated with the PartnerApp.
|
|
@@ -42584,7 +42582,7 @@ class CfnPartnerAppProps:
|
|
|
42584
42582
|
|
|
42585
42583
|
@builtins.property
|
|
42586
42584
|
def auth_type(self) -> builtins.str:
|
|
42587
|
-
'''
|
|
42585
|
+
'''Defines the authentication type used for the Partner AI App.
|
|
42588
42586
|
|
|
42589
42587
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-partnerapp.html#cfn-sagemaker-partnerapp-authtype
|
|
42590
42588
|
'''
|
|
@@ -42594,7 +42592,7 @@ class CfnPartnerAppProps:
|
|
|
42594
42592
|
|
|
42595
42593
|
@builtins.property
|
|
42596
42594
|
def execution_role_arn(self) -> builtins.str:
|
|
42597
|
-
'''The
|
|
42595
|
+
'''The Amazon Resource Name (ARN) of the IAM role of the user.
|
|
42598
42596
|
|
|
42599
42597
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-partnerapp.html#cfn-sagemaker-partnerapp-executionrolearn
|
|
42600
42598
|
'''
|
|
@@ -42604,7 +42602,9 @@ class CfnPartnerAppProps:
|
|
|
42604
42602
|
|
|
42605
42603
|
@builtins.property
|
|
42606
42604
|
def name(self) -> builtins.str:
|
|
42607
|
-
'''The name of the
|
|
42605
|
+
'''The name of the Partner AI App.
|
|
42606
|
+
|
|
42607
|
+
This name must be unique within your account and region.
|
|
42608
42608
|
|
|
42609
42609
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-partnerapp.html#cfn-sagemaker-partnerapp-name
|
|
42610
42610
|
'''
|
|
@@ -42614,7 +42614,9 @@ class CfnPartnerAppProps:
|
|
|
42614
42614
|
|
|
42615
42615
|
@builtins.property
|
|
42616
42616
|
def tier(self) -> builtins.str:
|
|
42617
|
-
'''
|
|
42617
|
+
'''Specifies the tier or level of the Partner AI App.
|
|
42618
|
+
|
|
42619
|
+
The tier size impacts the speed and capabilities of the application. For more information, see `Set up Partner AI Apps <https://docs.aws.amazon.com/sagemaker/latest/dg/partner-app-onboard.html>`_ .
|
|
42618
42620
|
|
|
42619
42621
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-partnerapp.html#cfn-sagemaker-partnerapp-tier
|
|
42620
42622
|
'''
|
|
@@ -42624,9 +42626,7 @@ class CfnPartnerAppProps:
|
|
|
42624
42626
|
|
|
42625
42627
|
@builtins.property
|
|
42626
42628
|
def type(self) -> builtins.str:
|
|
42627
|
-
'''
|
|
42628
|
-
|
|
42629
|
-
Must be one of the following: ``lakera-guard`` , ``comet`` , ``deepchecks-llm-evaluation`` , or ``fiddler`` .
|
|
42629
|
+
'''Specifies the type of Partner AI App being created.
|
|
42630
42630
|
|
|
42631
42631
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-partnerapp.html#cfn-sagemaker-partnerapp-type
|
|
42632
42632
|
'''
|
|
@@ -42638,7 +42638,7 @@ class CfnPartnerAppProps:
|
|
|
42638
42638
|
def application_config(
|
|
42639
42639
|
self,
|
|
42640
42640
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnPartnerApp.PartnerAppConfigProperty]]:
|
|
42641
|
-
'''
|
|
42641
|
+
'''Configuration settings for the Partner AI App.
|
|
42642
42642
|
|
|
42643
42643
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-partnerapp.html#cfn-sagemaker-partnerapp-applicationconfig
|
|
42644
42644
|
'''
|