aws-solutions-constructs.core 2.69.0__tar.gz → 2.71.0__tar.gz
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.
- {aws_solutions_constructs_core-2.69.0/src/aws_solutions_constructs.core.egg-info → aws_solutions_constructs_core-2.71.0}/PKG-INFO +3 -3
- {aws_solutions_constructs_core-2.69.0 → aws_solutions_constructs_core-2.71.0}/setup.py +4 -4
- {aws_solutions_constructs_core-2.69.0 → aws_solutions_constructs_core-2.71.0}/src/aws_solutions_constructs/core/__init__.py +229 -2
- {aws_solutions_constructs_core-2.69.0 → aws_solutions_constructs_core-2.71.0}/src/aws_solutions_constructs/core/_jsii/__init__.py +1 -1
- aws_solutions_constructs_core-2.71.0/src/aws_solutions_constructs/core/_jsii/core@2.71.0.jsii.tgz +0 -0
- {aws_solutions_constructs_core-2.69.0 → aws_solutions_constructs_core-2.71.0/src/aws_solutions_constructs.core.egg-info}/PKG-INFO +3 -3
- {aws_solutions_constructs_core-2.69.0 → aws_solutions_constructs_core-2.71.0}/src/aws_solutions_constructs.core.egg-info/SOURCES.txt +1 -1
- {aws_solutions_constructs_core-2.69.0 → aws_solutions_constructs_core-2.71.0}/src/aws_solutions_constructs.core.egg-info/requires.txt +2 -2
- aws_solutions_constructs_core-2.69.0/src/aws_solutions_constructs/core/_jsii/core@2.69.0.jsii.tgz +0 -0
- {aws_solutions_constructs_core-2.69.0 → aws_solutions_constructs_core-2.71.0}/LICENSE +0 -0
- {aws_solutions_constructs_core-2.69.0 → aws_solutions_constructs_core-2.71.0}/MANIFEST.in +0 -0
- {aws_solutions_constructs_core-2.69.0 → aws_solutions_constructs_core-2.71.0}/README.md +0 -0
- {aws_solutions_constructs_core-2.69.0 → aws_solutions_constructs_core-2.71.0}/pyproject.toml +0 -0
- {aws_solutions_constructs_core-2.69.0 → aws_solutions_constructs_core-2.71.0}/setup.cfg +0 -0
- {aws_solutions_constructs_core-2.69.0 → aws_solutions_constructs_core-2.71.0}/src/aws_solutions_constructs/core/py.typed +0 -0
- {aws_solutions_constructs_core-2.69.0 → aws_solutions_constructs_core-2.71.0}/src/aws_solutions_constructs.core.egg-info/dependency_links.txt +0 -0
- {aws_solutions_constructs_core-2.69.0 → aws_solutions_constructs_core-2.71.0}/src/aws_solutions_constructs.core.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: aws-solutions-constructs.core
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.71.0
|
|
4
4
|
Summary: Core CDK Construct for patterns library
|
|
5
5
|
Home-page: https://github.com/awslabs/aws-solutions-constructs.git
|
|
6
6
|
Author: Amazon Web Services
|
|
@@ -19,8 +19,8 @@ Classifier: License :: OSI Approved
|
|
|
19
19
|
Requires-Python: ~=3.8
|
|
20
20
|
Description-Content-Type: text/markdown
|
|
21
21
|
License-File: LICENSE
|
|
22
|
-
Requires-Dist: aws-cdk-lib<3.0.0,>=2.
|
|
23
|
-
Requires-Dist: aws-cdk.integ-tests-alpha==2.
|
|
22
|
+
Requires-Dist: aws-cdk-lib<3.0.0,>=2.160.0
|
|
23
|
+
Requires-Dist: aws-cdk.integ-tests-alpha==2.160.0.a0
|
|
24
24
|
Requires-Dist: constructs<11.0.0,>=10.0.0
|
|
25
25
|
Requires-Dist: jsii<2.0.0,>=1.103.1
|
|
26
26
|
Requires-Dist: publication>=0.0.3
|
|
@@ -5,7 +5,7 @@ kwargs = json.loads(
|
|
|
5
5
|
"""
|
|
6
6
|
{
|
|
7
7
|
"name": "aws-solutions-constructs.core",
|
|
8
|
-
"version": "2.
|
|
8
|
+
"version": "2.71.0",
|
|
9
9
|
"description": "Core CDK Construct for patterns library",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"url": "https://github.com/awslabs/aws-solutions-constructs.git",
|
|
@@ -26,7 +26,7 @@ kwargs = json.loads(
|
|
|
26
26
|
],
|
|
27
27
|
"package_data": {
|
|
28
28
|
"aws_solutions_constructs.core._jsii": [
|
|
29
|
-
"core@2.
|
|
29
|
+
"core@2.71.0.jsii.tgz"
|
|
30
30
|
],
|
|
31
31
|
"aws_solutions_constructs.core": [
|
|
32
32
|
"py.typed"
|
|
@@ -34,8 +34,8 @@ kwargs = json.loads(
|
|
|
34
34
|
},
|
|
35
35
|
"python_requires": "~=3.8",
|
|
36
36
|
"install_requires": [
|
|
37
|
-
"aws-cdk-lib>=2.
|
|
38
|
-
"aws-cdk.integ-tests-alpha==2.
|
|
37
|
+
"aws-cdk-lib>=2.160.0, <3.0.0",
|
|
38
|
+
"aws-cdk.integ-tests-alpha==2.160.0.a0",
|
|
39
39
|
"constructs>=10.0.0, <11.0.0",
|
|
40
40
|
"jsii>=1.103.1, <2.0.0",
|
|
41
41
|
"publication>=0.0.3",
|
|
@@ -119,6 +119,7 @@ import aws_cdk as _aws_cdk_ceddda9d
|
|
|
119
119
|
import aws_cdk.aws_apigateway as _aws_cdk_aws_apigateway_ceddda9d
|
|
120
120
|
import aws_cdk.aws_apigatewayv2 as _aws_cdk_aws_apigatewayv2_ceddda9d
|
|
121
121
|
import aws_cdk.aws_cloudfront as _aws_cdk_aws_cloudfront_ceddda9d
|
|
122
|
+
import aws_cdk.aws_cloudwatch as _aws_cdk_aws_cloudwatch_ceddda9d
|
|
122
123
|
import aws_cdk.aws_cognito as _aws_cdk_aws_cognito_ceddda9d
|
|
123
124
|
import aws_cdk.aws_dynamodb as _aws_cdk_aws_dynamodb_ceddda9d
|
|
124
125
|
import aws_cdk.aws_ec2 as _aws_cdk_aws_ec2_ceddda9d
|
|
@@ -2269,7 +2270,11 @@ class BuildSagemakerNotebookResponse:
|
|
|
2269
2270
|
@jsii.data_type(
|
|
2270
2271
|
jsii_type="@aws-solutions-constructs/core.BuildStateMachineResponse",
|
|
2271
2272
|
jsii_struct_bases=[],
|
|
2272
|
-
name_mapping={
|
|
2273
|
+
name_mapping={
|
|
2274
|
+
"log_group": "logGroup",
|
|
2275
|
+
"state_machine": "stateMachine",
|
|
2276
|
+
"cloud_watch_alarms": "cloudWatchAlarms",
|
|
2277
|
+
},
|
|
2273
2278
|
)
|
|
2274
2279
|
class BuildStateMachineResponse:
|
|
2275
2280
|
def __init__(
|
|
@@ -2277,19 +2282,24 @@ class BuildStateMachineResponse:
|
|
|
2277
2282
|
*,
|
|
2278
2283
|
log_group: _aws_cdk_aws_logs_ceddda9d.ILogGroup,
|
|
2279
2284
|
state_machine: _aws_cdk_aws_stepfunctions_ceddda9d.StateMachine,
|
|
2285
|
+
cloud_watch_alarms: typing.Optional[typing.Sequence[_aws_cdk_aws_cloudwatch_ceddda9d.Alarm]] = None,
|
|
2280
2286
|
) -> None:
|
|
2281
2287
|
'''
|
|
2282
2288
|
:param log_group: -
|
|
2283
2289
|
:param state_machine: -
|
|
2290
|
+
:param cloud_watch_alarms: -
|
|
2284
2291
|
'''
|
|
2285
2292
|
if __debug__:
|
|
2286
2293
|
type_hints = typing.get_type_hints(_typecheckingstub__59bc37dbb01994ff547e71caebd074472187780f69d4ea13ee1b5dcb608c782b)
|
|
2287
2294
|
check_type(argname="argument log_group", value=log_group, expected_type=type_hints["log_group"])
|
|
2288
2295
|
check_type(argname="argument state_machine", value=state_machine, expected_type=type_hints["state_machine"])
|
|
2296
|
+
check_type(argname="argument cloud_watch_alarms", value=cloud_watch_alarms, expected_type=type_hints["cloud_watch_alarms"])
|
|
2289
2297
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2290
2298
|
"log_group": log_group,
|
|
2291
2299
|
"state_machine": state_machine,
|
|
2292
2300
|
}
|
|
2301
|
+
if cloud_watch_alarms is not None:
|
|
2302
|
+
self._values["cloud_watch_alarms"] = cloud_watch_alarms
|
|
2293
2303
|
|
|
2294
2304
|
@builtins.property
|
|
2295
2305
|
def log_group(self) -> _aws_cdk_aws_logs_ceddda9d.ILogGroup:
|
|
@@ -2303,6 +2313,13 @@ class BuildStateMachineResponse:
|
|
|
2303
2313
|
assert result is not None, "Required property 'state_machine' is missing"
|
|
2304
2314
|
return typing.cast(_aws_cdk_aws_stepfunctions_ceddda9d.StateMachine, result)
|
|
2305
2315
|
|
|
2316
|
+
@builtins.property
|
|
2317
|
+
def cloud_watch_alarms(
|
|
2318
|
+
self,
|
|
2319
|
+
) -> typing.Optional[typing.List[_aws_cdk_aws_cloudwatch_ceddda9d.Alarm]]:
|
|
2320
|
+
result = self._values.get("cloud_watch_alarms")
|
|
2321
|
+
return typing.cast(typing.Optional[typing.List[_aws_cdk_aws_cloudwatch_ceddda9d.Alarm]], result)
|
|
2322
|
+
|
|
2306
2323
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2307
2324
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2308
2325
|
|
|
@@ -2315,6 +2332,88 @@ class BuildStateMachineResponse:
|
|
|
2315
2332
|
)
|
|
2316
2333
|
|
|
2317
2334
|
|
|
2335
|
+
@jsii.data_type(
|
|
2336
|
+
jsii_type="@aws-solutions-constructs/core.BuildStateMacineProps",
|
|
2337
|
+
jsii_struct_bases=[],
|
|
2338
|
+
name_mapping={
|
|
2339
|
+
"state_machine_props": "stateMachineProps",
|
|
2340
|
+
"cloud_watch_alarms_prefix": "cloudWatchAlarmsPrefix",
|
|
2341
|
+
"create_cloud_watch_alarms": "createCloudWatchAlarms",
|
|
2342
|
+
"log_group_props": "logGroupProps",
|
|
2343
|
+
},
|
|
2344
|
+
)
|
|
2345
|
+
class BuildStateMacineProps:
|
|
2346
|
+
def __init__(
|
|
2347
|
+
self,
|
|
2348
|
+
*,
|
|
2349
|
+
state_machine_props: typing.Union[_aws_cdk_aws_stepfunctions_ceddda9d.StateMachineProps, typing.Dict[builtins.str, typing.Any]],
|
|
2350
|
+
cloud_watch_alarms_prefix: typing.Optional[builtins.str] = None,
|
|
2351
|
+
create_cloud_watch_alarms: typing.Optional[builtins.bool] = None,
|
|
2352
|
+
log_group_props: typing.Optional[typing.Union[_aws_cdk_aws_logs_ceddda9d.LogGroupProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
2353
|
+
) -> None:
|
|
2354
|
+
'''
|
|
2355
|
+
:param state_machine_props: -
|
|
2356
|
+
:param cloud_watch_alarms_prefix: -
|
|
2357
|
+
:param create_cloud_watch_alarms: -
|
|
2358
|
+
:param log_group_props: -
|
|
2359
|
+
'''
|
|
2360
|
+
if isinstance(state_machine_props, dict):
|
|
2361
|
+
state_machine_props = _aws_cdk_aws_stepfunctions_ceddda9d.StateMachineProps(**state_machine_props)
|
|
2362
|
+
if isinstance(log_group_props, dict):
|
|
2363
|
+
log_group_props = _aws_cdk_aws_logs_ceddda9d.LogGroupProps(**log_group_props)
|
|
2364
|
+
if __debug__:
|
|
2365
|
+
type_hints = typing.get_type_hints(_typecheckingstub__6e78bd1545f469b1567fb005116ef638ef143767a1d14a5b9953fef0ade4bc44)
|
|
2366
|
+
check_type(argname="argument state_machine_props", value=state_machine_props, expected_type=type_hints["state_machine_props"])
|
|
2367
|
+
check_type(argname="argument cloud_watch_alarms_prefix", value=cloud_watch_alarms_prefix, expected_type=type_hints["cloud_watch_alarms_prefix"])
|
|
2368
|
+
check_type(argname="argument create_cloud_watch_alarms", value=create_cloud_watch_alarms, expected_type=type_hints["create_cloud_watch_alarms"])
|
|
2369
|
+
check_type(argname="argument log_group_props", value=log_group_props, expected_type=type_hints["log_group_props"])
|
|
2370
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2371
|
+
"state_machine_props": state_machine_props,
|
|
2372
|
+
}
|
|
2373
|
+
if cloud_watch_alarms_prefix is not None:
|
|
2374
|
+
self._values["cloud_watch_alarms_prefix"] = cloud_watch_alarms_prefix
|
|
2375
|
+
if create_cloud_watch_alarms is not None:
|
|
2376
|
+
self._values["create_cloud_watch_alarms"] = create_cloud_watch_alarms
|
|
2377
|
+
if log_group_props is not None:
|
|
2378
|
+
self._values["log_group_props"] = log_group_props
|
|
2379
|
+
|
|
2380
|
+
@builtins.property
|
|
2381
|
+
def state_machine_props(
|
|
2382
|
+
self,
|
|
2383
|
+
) -> _aws_cdk_aws_stepfunctions_ceddda9d.StateMachineProps:
|
|
2384
|
+
result = self._values.get("state_machine_props")
|
|
2385
|
+
assert result is not None, "Required property 'state_machine_props' is missing"
|
|
2386
|
+
return typing.cast(_aws_cdk_aws_stepfunctions_ceddda9d.StateMachineProps, result)
|
|
2387
|
+
|
|
2388
|
+
@builtins.property
|
|
2389
|
+
def cloud_watch_alarms_prefix(self) -> typing.Optional[builtins.str]:
|
|
2390
|
+
result = self._values.get("cloud_watch_alarms_prefix")
|
|
2391
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2392
|
+
|
|
2393
|
+
@builtins.property
|
|
2394
|
+
def create_cloud_watch_alarms(self) -> typing.Optional[builtins.bool]:
|
|
2395
|
+
result = self._values.get("create_cloud_watch_alarms")
|
|
2396
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
2397
|
+
|
|
2398
|
+
@builtins.property
|
|
2399
|
+
def log_group_props(
|
|
2400
|
+
self,
|
|
2401
|
+
) -> typing.Optional[_aws_cdk_aws_logs_ceddda9d.LogGroupProps]:
|
|
2402
|
+
result = self._values.get("log_group_props")
|
|
2403
|
+
return typing.cast(typing.Optional[_aws_cdk_aws_logs_ceddda9d.LogGroupProps], result)
|
|
2404
|
+
|
|
2405
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2406
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2407
|
+
|
|
2408
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2409
|
+
return not (rhs == self)
|
|
2410
|
+
|
|
2411
|
+
def __repr__(self) -> str:
|
|
2412
|
+
return "BuildStateMacineProps(%s)" % ", ".join(
|
|
2413
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2414
|
+
)
|
|
2415
|
+
|
|
2416
|
+
|
|
2318
2417
|
@jsii.data_type(
|
|
2319
2418
|
jsii_type="@aws-solutions-constructs/core.BuildTopicProps",
|
|
2320
2419
|
jsii_struct_bases=[],
|
|
@@ -4845,6 +4944,7 @@ class S3OacOrigin(
|
|
|
4845
4944
|
connection_attempts: typing.Optional[jsii.Number] = None,
|
|
4846
4945
|
connection_timeout: typing.Optional[_aws_cdk_ceddda9d.Duration] = None,
|
|
4847
4946
|
custom_headers: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
4947
|
+
origin_access_control_id: typing.Optional[builtins.str] = None,
|
|
4848
4948
|
origin_id: typing.Optional[builtins.str] = None,
|
|
4849
4949
|
origin_shield_enabled: typing.Optional[builtins.bool] = None,
|
|
4850
4950
|
origin_shield_region: typing.Optional[builtins.str] = None,
|
|
@@ -4856,6 +4956,7 @@ class S3OacOrigin(
|
|
|
4856
4956
|
:param connection_attempts: The number of times that CloudFront attempts to connect to the origin; valid values are 1, 2, or 3 attempts. Default: 3
|
|
4857
4957
|
:param connection_timeout: The number of seconds that CloudFront waits when trying to establish a connection to the origin. Valid values are 1-10 seconds, inclusive. Default: Duration.seconds(10)
|
|
4858
4958
|
:param custom_headers: A list of HTTP header names and values that CloudFront adds to requests it sends to the origin. Default: {}
|
|
4959
|
+
:param origin_access_control_id: The unique identifier of an origin access control for this origin. Default: - no origin access control
|
|
4859
4960
|
:param origin_id: A unique identifier for the origin. This value must be unique within the distribution. Default: - an originid will be generated for you
|
|
4860
4961
|
:param origin_shield_enabled: Origin Shield is enabled by setting originShieldRegion to a valid region, after this to disable Origin Shield again you must set this flag to false. Default: - true
|
|
4861
4962
|
:param origin_shield_region: When you enable Origin Shield in the AWS Region that has the lowest latency to your origin, you can get better network performance. Default: - origin shield not enabled
|
|
@@ -4869,6 +4970,7 @@ class S3OacOrigin(
|
|
|
4869
4970
|
connection_attempts=connection_attempts,
|
|
4870
4971
|
connection_timeout=connection_timeout,
|
|
4871
4972
|
custom_headers=custom_headers,
|
|
4973
|
+
origin_access_control_id=origin_access_control_id,
|
|
4872
4974
|
origin_id=origin_id,
|
|
4873
4975
|
origin_shield_enabled=origin_shield_enabled,
|
|
4874
4976
|
origin_shield_region=origin_shield_region,
|
|
@@ -4882,17 +4984,19 @@ class S3OacOrigin(
|
|
|
4882
4984
|
scope: _constructs_77d1e7e8.Construct,
|
|
4883
4985
|
*,
|
|
4884
4986
|
origin_id: builtins.str,
|
|
4987
|
+
distribution_id: typing.Optional[builtins.str] = None,
|
|
4885
4988
|
) -> _aws_cdk_aws_cloudfront_ceddda9d.OriginBindConfig:
|
|
4886
4989
|
'''The method called when a given Origin is added (for the first time) to a Distribution.
|
|
4887
4990
|
|
|
4888
4991
|
:param scope: -
|
|
4889
4992
|
:param origin_id: The identifier of this Origin, as assigned by the Distribution this Origin has been used added to.
|
|
4993
|
+
:param distribution_id: The identifier of the Distribution this Origin is used for. This is used to grant origin access permissions to the distribution for origin access control. Default: - no distribution id
|
|
4890
4994
|
'''
|
|
4891
4995
|
if __debug__:
|
|
4892
4996
|
type_hints = typing.get_type_hints(_typecheckingstub__62b0973bdb62c2264b514644e251318ac9dcde1b359c646d66b5a8a10db79f8b)
|
|
4893
4997
|
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
4894
4998
|
options = _aws_cdk_aws_cloudfront_ceddda9d.OriginBindOptions(
|
|
4895
|
-
origin_id=origin_id
|
|
4999
|
+
origin_id=origin_id, distribution_id=distribution_id
|
|
4896
5000
|
)
|
|
4897
5001
|
|
|
4898
5002
|
return typing.cast(_aws_cdk_aws_cloudfront_ceddda9d.OriginBindConfig, jsii.invoke(self, "bind", [scope, options]))
|
|
@@ -4905,6 +5009,7 @@ class S3OacOrigin(
|
|
|
4905
5009
|
"connection_attempts": "connectionAttempts",
|
|
4906
5010
|
"connection_timeout": "connectionTimeout",
|
|
4907
5011
|
"custom_headers": "customHeaders",
|
|
5012
|
+
"origin_access_control_id": "originAccessControlId",
|
|
4908
5013
|
"origin_id": "originId",
|
|
4909
5014
|
"origin_shield_enabled": "originShieldEnabled",
|
|
4910
5015
|
"origin_shield_region": "originShieldRegion",
|
|
@@ -4919,6 +5024,7 @@ class S3OacOriginProps(_aws_cdk_aws_cloudfront_ceddda9d.OriginProps):
|
|
|
4919
5024
|
connection_attempts: typing.Optional[jsii.Number] = None,
|
|
4920
5025
|
connection_timeout: typing.Optional[_aws_cdk_ceddda9d.Duration] = None,
|
|
4921
5026
|
custom_headers: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
5027
|
+
origin_access_control_id: typing.Optional[builtins.str] = None,
|
|
4922
5028
|
origin_id: typing.Optional[builtins.str] = None,
|
|
4923
5029
|
origin_shield_enabled: typing.Optional[builtins.bool] = None,
|
|
4924
5030
|
origin_shield_region: typing.Optional[builtins.str] = None,
|
|
@@ -4930,6 +5036,7 @@ class S3OacOriginProps(_aws_cdk_aws_cloudfront_ceddda9d.OriginProps):
|
|
|
4930
5036
|
:param connection_attempts: The number of times that CloudFront attempts to connect to the origin; valid values are 1, 2, or 3 attempts. Default: 3
|
|
4931
5037
|
:param connection_timeout: The number of seconds that CloudFront waits when trying to establish a connection to the origin. Valid values are 1-10 seconds, inclusive. Default: Duration.seconds(10)
|
|
4932
5038
|
:param custom_headers: A list of HTTP header names and values that CloudFront adds to requests it sends to the origin. Default: {}
|
|
5039
|
+
:param origin_access_control_id: The unique identifier of an origin access control for this origin. Default: - no origin access control
|
|
4933
5040
|
:param origin_id: A unique identifier for the origin. This value must be unique within the distribution. Default: - an originid will be generated for you
|
|
4934
5041
|
:param origin_shield_enabled: Origin Shield is enabled by setting originShieldRegion to a valid region, after this to disable Origin Shield again you must set this flag to false. Default: - true
|
|
4935
5042
|
:param origin_shield_region: When you enable Origin Shield in the AWS Region that has the lowest latency to your origin, you can get better network performance. Default: - origin shield not enabled
|
|
@@ -4941,6 +5048,7 @@ class S3OacOriginProps(_aws_cdk_aws_cloudfront_ceddda9d.OriginProps):
|
|
|
4941
5048
|
check_type(argname="argument connection_attempts", value=connection_attempts, expected_type=type_hints["connection_attempts"])
|
|
4942
5049
|
check_type(argname="argument connection_timeout", value=connection_timeout, expected_type=type_hints["connection_timeout"])
|
|
4943
5050
|
check_type(argname="argument custom_headers", value=custom_headers, expected_type=type_hints["custom_headers"])
|
|
5051
|
+
check_type(argname="argument origin_access_control_id", value=origin_access_control_id, expected_type=type_hints["origin_access_control_id"])
|
|
4944
5052
|
check_type(argname="argument origin_id", value=origin_id, expected_type=type_hints["origin_id"])
|
|
4945
5053
|
check_type(argname="argument origin_shield_enabled", value=origin_shield_enabled, expected_type=type_hints["origin_shield_enabled"])
|
|
4946
5054
|
check_type(argname="argument origin_shield_region", value=origin_shield_region, expected_type=type_hints["origin_shield_region"])
|
|
@@ -4953,6 +5061,8 @@ class S3OacOriginProps(_aws_cdk_aws_cloudfront_ceddda9d.OriginProps):
|
|
|
4953
5061
|
self._values["connection_timeout"] = connection_timeout
|
|
4954
5062
|
if custom_headers is not None:
|
|
4955
5063
|
self._values["custom_headers"] = custom_headers
|
|
5064
|
+
if origin_access_control_id is not None:
|
|
5065
|
+
self._values["origin_access_control_id"] = origin_access_control_id
|
|
4956
5066
|
if origin_id is not None:
|
|
4957
5067
|
self._values["origin_id"] = origin_id
|
|
4958
5068
|
if origin_shield_enabled is not None:
|
|
@@ -4997,6 +5107,15 @@ class S3OacOriginProps(_aws_cdk_aws_cloudfront_ceddda9d.OriginProps):
|
|
|
4997
5107
|
result = self._values.get("custom_headers")
|
|
4998
5108
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
|
|
4999
5109
|
|
|
5110
|
+
@builtins.property
|
|
5111
|
+
def origin_access_control_id(self) -> typing.Optional[builtins.str]:
|
|
5112
|
+
'''The unique identifier of an origin access control for this origin.
|
|
5113
|
+
|
|
5114
|
+
:default: - no origin access control
|
|
5115
|
+
'''
|
|
5116
|
+
result = self._values.get("origin_access_control_id")
|
|
5117
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
5118
|
+
|
|
5000
5119
|
@builtins.property
|
|
5001
5120
|
def origin_id(self) -> typing.Optional[builtins.str]:
|
|
5002
5121
|
'''A unique identifier for the origin.
|
|
@@ -5675,6 +5794,88 @@ class SqsProps:
|
|
|
5675
5794
|
)
|
|
5676
5795
|
|
|
5677
5796
|
|
|
5797
|
+
@jsii.data_type(
|
|
5798
|
+
jsii_type="@aws-solutions-constructs/core.StateMachineProps",
|
|
5799
|
+
jsii_struct_bases=[],
|
|
5800
|
+
name_mapping={
|
|
5801
|
+
"state_machine_props": "stateMachineProps",
|
|
5802
|
+
"cloud_watch_alarms_prefix": "cloudWatchAlarmsPrefix",
|
|
5803
|
+
"create_cloud_watch_alarms": "createCloudWatchAlarms",
|
|
5804
|
+
"log_group_props": "logGroupProps",
|
|
5805
|
+
},
|
|
5806
|
+
)
|
|
5807
|
+
class StateMachineProps:
|
|
5808
|
+
def __init__(
|
|
5809
|
+
self,
|
|
5810
|
+
*,
|
|
5811
|
+
state_machine_props: typing.Union[_aws_cdk_aws_stepfunctions_ceddda9d.StateMachineProps, typing.Dict[builtins.str, typing.Any]],
|
|
5812
|
+
cloud_watch_alarms_prefix: typing.Optional[builtins.str] = None,
|
|
5813
|
+
create_cloud_watch_alarms: typing.Optional[builtins.bool] = None,
|
|
5814
|
+
log_group_props: typing.Optional[typing.Union[_aws_cdk_aws_logs_ceddda9d.LogGroupProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
5815
|
+
) -> None:
|
|
5816
|
+
'''
|
|
5817
|
+
:param state_machine_props: -
|
|
5818
|
+
:param cloud_watch_alarms_prefix: -
|
|
5819
|
+
:param create_cloud_watch_alarms: -
|
|
5820
|
+
:param log_group_props: -
|
|
5821
|
+
'''
|
|
5822
|
+
if isinstance(state_machine_props, dict):
|
|
5823
|
+
state_machine_props = _aws_cdk_aws_stepfunctions_ceddda9d.StateMachineProps(**state_machine_props)
|
|
5824
|
+
if isinstance(log_group_props, dict):
|
|
5825
|
+
log_group_props = _aws_cdk_aws_logs_ceddda9d.LogGroupProps(**log_group_props)
|
|
5826
|
+
if __debug__:
|
|
5827
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f08646452b145e569da8f0e193b37ccb2f89096eac1b603e02a301d09490fcf9)
|
|
5828
|
+
check_type(argname="argument state_machine_props", value=state_machine_props, expected_type=type_hints["state_machine_props"])
|
|
5829
|
+
check_type(argname="argument cloud_watch_alarms_prefix", value=cloud_watch_alarms_prefix, expected_type=type_hints["cloud_watch_alarms_prefix"])
|
|
5830
|
+
check_type(argname="argument create_cloud_watch_alarms", value=create_cloud_watch_alarms, expected_type=type_hints["create_cloud_watch_alarms"])
|
|
5831
|
+
check_type(argname="argument log_group_props", value=log_group_props, expected_type=type_hints["log_group_props"])
|
|
5832
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
5833
|
+
"state_machine_props": state_machine_props,
|
|
5834
|
+
}
|
|
5835
|
+
if cloud_watch_alarms_prefix is not None:
|
|
5836
|
+
self._values["cloud_watch_alarms_prefix"] = cloud_watch_alarms_prefix
|
|
5837
|
+
if create_cloud_watch_alarms is not None:
|
|
5838
|
+
self._values["create_cloud_watch_alarms"] = create_cloud_watch_alarms
|
|
5839
|
+
if log_group_props is not None:
|
|
5840
|
+
self._values["log_group_props"] = log_group_props
|
|
5841
|
+
|
|
5842
|
+
@builtins.property
|
|
5843
|
+
def state_machine_props(
|
|
5844
|
+
self,
|
|
5845
|
+
) -> _aws_cdk_aws_stepfunctions_ceddda9d.StateMachineProps:
|
|
5846
|
+
result = self._values.get("state_machine_props")
|
|
5847
|
+
assert result is not None, "Required property 'state_machine_props' is missing"
|
|
5848
|
+
return typing.cast(_aws_cdk_aws_stepfunctions_ceddda9d.StateMachineProps, result)
|
|
5849
|
+
|
|
5850
|
+
@builtins.property
|
|
5851
|
+
def cloud_watch_alarms_prefix(self) -> typing.Optional[builtins.str]:
|
|
5852
|
+
result = self._values.get("cloud_watch_alarms_prefix")
|
|
5853
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
5854
|
+
|
|
5855
|
+
@builtins.property
|
|
5856
|
+
def create_cloud_watch_alarms(self) -> typing.Optional[builtins.bool]:
|
|
5857
|
+
result = self._values.get("create_cloud_watch_alarms")
|
|
5858
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
5859
|
+
|
|
5860
|
+
@builtins.property
|
|
5861
|
+
def log_group_props(
|
|
5862
|
+
self,
|
|
5863
|
+
) -> typing.Optional[_aws_cdk_aws_logs_ceddda9d.LogGroupProps]:
|
|
5864
|
+
result = self._values.get("log_group_props")
|
|
5865
|
+
return typing.cast(typing.Optional[_aws_cdk_aws_logs_ceddda9d.LogGroupProps], result)
|
|
5866
|
+
|
|
5867
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
5868
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
5869
|
+
|
|
5870
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
5871
|
+
return not (rhs == self)
|
|
5872
|
+
|
|
5873
|
+
def __repr__(self) -> str:
|
|
5874
|
+
return "StateMachineProps(%s)" % ", ".join(
|
|
5875
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
5876
|
+
)
|
|
5877
|
+
|
|
5878
|
+
|
|
5678
5879
|
@jsii.data_type(
|
|
5679
5880
|
jsii_type="@aws-solutions-constructs/core.VpcPropsSet",
|
|
5680
5881
|
jsii_struct_bases=[],
|
|
@@ -5820,6 +6021,7 @@ __all__ = [
|
|
|
5820
6021
|
"BuildSagemakerNotebookProps",
|
|
5821
6022
|
"BuildSagemakerNotebookResponse",
|
|
5822
6023
|
"BuildStateMachineResponse",
|
|
6024
|
+
"BuildStateMacineProps",
|
|
5823
6025
|
"BuildTopicProps",
|
|
5824
6026
|
"BuildTopicResponse",
|
|
5825
6027
|
"BuildVpcProps",
|
|
@@ -5866,6 +6068,7 @@ __all__ = [
|
|
|
5866
6068
|
"SinkStoreType",
|
|
5867
6069
|
"SnsProps",
|
|
5868
6070
|
"SqsProps",
|
|
6071
|
+
"StateMachineProps",
|
|
5869
6072
|
"VpcPropsSet",
|
|
5870
6073
|
"WafWebAclProps",
|
|
5871
6074
|
]
|
|
@@ -6126,6 +6329,17 @@ def _typecheckingstub__59bc37dbb01994ff547e71caebd074472187780f69d4ea13ee1b5dcb6
|
|
|
6126
6329
|
*,
|
|
6127
6330
|
log_group: _aws_cdk_aws_logs_ceddda9d.ILogGroup,
|
|
6128
6331
|
state_machine: _aws_cdk_aws_stepfunctions_ceddda9d.StateMachine,
|
|
6332
|
+
cloud_watch_alarms: typing.Optional[typing.Sequence[_aws_cdk_aws_cloudwatch_ceddda9d.Alarm]] = None,
|
|
6333
|
+
) -> None:
|
|
6334
|
+
"""Type checking stubs"""
|
|
6335
|
+
pass
|
|
6336
|
+
|
|
6337
|
+
def _typecheckingstub__6e78bd1545f469b1567fb005116ef638ef143767a1d14a5b9953fef0ade4bc44(
|
|
6338
|
+
*,
|
|
6339
|
+
state_machine_props: typing.Union[_aws_cdk_aws_stepfunctions_ceddda9d.StateMachineProps, typing.Dict[builtins.str, typing.Any]],
|
|
6340
|
+
cloud_watch_alarms_prefix: typing.Optional[builtins.str] = None,
|
|
6341
|
+
create_cloud_watch_alarms: typing.Optional[builtins.bool] = None,
|
|
6342
|
+
log_group_props: typing.Optional[typing.Union[_aws_cdk_aws_logs_ceddda9d.LogGroupProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
6129
6343
|
) -> None:
|
|
6130
6344
|
"""Type checking stubs"""
|
|
6131
6345
|
pass
|
|
@@ -6470,6 +6684,7 @@ def _typecheckingstub__44846869b9ecaeab140b843e216e72ede263e14e7846fdeed302ad40e
|
|
|
6470
6684
|
connection_attempts: typing.Optional[jsii.Number] = None,
|
|
6471
6685
|
connection_timeout: typing.Optional[_aws_cdk_ceddda9d.Duration] = None,
|
|
6472
6686
|
custom_headers: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
6687
|
+
origin_access_control_id: typing.Optional[builtins.str] = None,
|
|
6473
6688
|
origin_id: typing.Optional[builtins.str] = None,
|
|
6474
6689
|
origin_shield_enabled: typing.Optional[builtins.bool] = None,
|
|
6475
6690
|
origin_shield_region: typing.Optional[builtins.str] = None,
|
|
@@ -6481,6 +6696,7 @@ def _typecheckingstub__62b0973bdb62c2264b514644e251318ac9dcde1b359c646d66b5a8a10
|
|
|
6481
6696
|
scope: _constructs_77d1e7e8.Construct,
|
|
6482
6697
|
*,
|
|
6483
6698
|
origin_id: builtins.str,
|
|
6699
|
+
distribution_id: typing.Optional[builtins.str] = None,
|
|
6484
6700
|
) -> None:
|
|
6485
6701
|
"""Type checking stubs"""
|
|
6486
6702
|
pass
|
|
@@ -6490,6 +6706,7 @@ def _typecheckingstub__f4727907366b00308bea7c2d08561f315c9f243b37d0b3a99db676ce6
|
|
|
6490
6706
|
connection_attempts: typing.Optional[jsii.Number] = None,
|
|
6491
6707
|
connection_timeout: typing.Optional[_aws_cdk_ceddda9d.Duration] = None,
|
|
6492
6708
|
custom_headers: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
6709
|
+
origin_access_control_id: typing.Optional[builtins.str] = None,
|
|
6493
6710
|
origin_id: typing.Optional[builtins.str] = None,
|
|
6494
6711
|
origin_shield_enabled: typing.Optional[builtins.bool] = None,
|
|
6495
6712
|
origin_shield_region: typing.Optional[builtins.str] = None,
|
|
@@ -6569,6 +6786,16 @@ def _typecheckingstub__3536696b3fd1fdb7ce43c98c85cb8881b09b6c0b3f129c94eba978621
|
|
|
6569
6786
|
"""Type checking stubs"""
|
|
6570
6787
|
pass
|
|
6571
6788
|
|
|
6789
|
+
def _typecheckingstub__f08646452b145e569da8f0e193b37ccb2f89096eac1b603e02a301d09490fcf9(
|
|
6790
|
+
*,
|
|
6791
|
+
state_machine_props: typing.Union[_aws_cdk_aws_stepfunctions_ceddda9d.StateMachineProps, typing.Dict[builtins.str, typing.Any]],
|
|
6792
|
+
cloud_watch_alarms_prefix: typing.Optional[builtins.str] = None,
|
|
6793
|
+
create_cloud_watch_alarms: typing.Optional[builtins.bool] = None,
|
|
6794
|
+
log_group_props: typing.Optional[typing.Union[_aws_cdk_aws_logs_ceddda9d.LogGroupProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
6795
|
+
) -> None:
|
|
6796
|
+
"""Type checking stubs"""
|
|
6797
|
+
pass
|
|
6798
|
+
|
|
6572
6799
|
def _typecheckingstub__61e2cfb976c78d7138f30cbe00e80016d7751fe28f01cfc46671c7ac62704821(
|
|
6573
6800
|
*,
|
|
6574
6801
|
deploy_vpc: typing.Optional[builtins.bool] = None,
|
|
@@ -33,7 +33,7 @@ import aws_cdk.integ_tests_alpha._jsii
|
|
|
33
33
|
import constructs._jsii
|
|
34
34
|
|
|
35
35
|
__jsii_assembly__ = jsii.JSIIAssembly.load(
|
|
36
|
-
"@aws-solutions-constructs/core", "2.
|
|
36
|
+
"@aws-solutions-constructs/core", "2.71.0", __name__[0:-6], "core@2.71.0.jsii.tgz"
|
|
37
37
|
)
|
|
38
38
|
|
|
39
39
|
__all__ = [
|
aws_solutions_constructs_core-2.71.0/src/aws_solutions_constructs/core/_jsii/core@2.71.0.jsii.tgz
ADDED
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: aws-solutions-constructs.core
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.71.0
|
|
4
4
|
Summary: Core CDK Construct for patterns library
|
|
5
5
|
Home-page: https://github.com/awslabs/aws-solutions-constructs.git
|
|
6
6
|
Author: Amazon Web Services
|
|
@@ -19,8 +19,8 @@ Classifier: License :: OSI Approved
|
|
|
19
19
|
Requires-Python: ~=3.8
|
|
20
20
|
Description-Content-Type: text/markdown
|
|
21
21
|
License-File: LICENSE
|
|
22
|
-
Requires-Dist: aws-cdk-lib<3.0.0,>=2.
|
|
23
|
-
Requires-Dist: aws-cdk.integ-tests-alpha==2.
|
|
22
|
+
Requires-Dist: aws-cdk-lib<3.0.0,>=2.160.0
|
|
23
|
+
Requires-Dist: aws-cdk.integ-tests-alpha==2.160.0.a0
|
|
24
24
|
Requires-Dist: constructs<11.0.0,>=10.0.0
|
|
25
25
|
Requires-Dist: jsii<2.0.0,>=1.103.1
|
|
26
26
|
Requires-Dist: publication>=0.0.3
|
|
@@ -11,4 +11,4 @@ src/aws_solutions_constructs.core.egg-info/top_level.txt
|
|
|
11
11
|
src/aws_solutions_constructs/core/__init__.py
|
|
12
12
|
src/aws_solutions_constructs/core/py.typed
|
|
13
13
|
src/aws_solutions_constructs/core/_jsii/__init__.py
|
|
14
|
-
src/aws_solutions_constructs/core/_jsii/core@2.
|
|
14
|
+
src/aws_solutions_constructs/core/_jsii/core@2.71.0.jsii.tgz
|
aws_solutions_constructs_core-2.69.0/src/aws_solutions_constructs/core/_jsii/core@2.69.0.jsii.tgz
DELETED
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{aws_solutions_constructs_core-2.69.0 → aws_solutions_constructs_core-2.71.0}/pyproject.toml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|