aws-cdk-lib 2.181.0__py3-none-any.whl → 2.182.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 +292 -8
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.181.0.jsii.tgz → aws-cdk-lib@2.182.0.jsii.tgz} +0 -0
- aws_cdk/assertions/__init__.py +59 -0
- aws_cdk/aws_apigateway/__init__.py +122 -66
- aws_cdk/aws_applicationautoscaling/__init__.py +4 -0
- aws_cdk/aws_appsync/__init__.py +30 -4
- aws_cdk/aws_autoscaling/__init__.py +409 -36
- aws_cdk/aws_batch/__init__.py +629 -11
- aws_cdk/aws_bedrock/__init__.py +204 -0
- aws_cdk/aws_certificatemanager/__init__.py +24 -0
- aws_cdk/aws_cloudformation/__init__.py +284 -2
- aws_cdk/aws_cloudfront/__init__.py +1 -0
- aws_cdk/aws_cloudtrail/__init__.py +4 -4
- aws_cdk/aws_datazone/__init__.py +82 -0
- aws_cdk/aws_ec2/__init__.py +32 -12
- aws_cdk/aws_ecr/__init__.py +10 -4
- aws_cdk/aws_ecs/__init__.py +58 -9
- aws_cdk/aws_eks/__init__.py +32 -3
- aws_cdk/aws_fsx/__init__.py +2 -0
- aws_cdk/aws_guardduty/__init__.py +38 -26
- aws_cdk/aws_iam/__init__.py +5 -2
- aws_cdk/aws_inspector/__init__.py +176 -0
- aws_cdk/aws_iotsitewise/__init__.py +2 -3
- aws_cdk/aws_kinesisfirehose/__init__.py +6 -0
- aws_cdk/aws_lambda/__init__.py +8 -0
- aws_cdk/aws_logs/__init__.py +2 -0
- aws_cdk/aws_mediapackagev2/__init__.py +22 -14
- aws_cdk/aws_opensearchservice/__init__.py +261 -1
- aws_cdk/aws_pcaconnectorad/__init__.py +30 -4
- aws_cdk/aws_pipes/__init__.py +6 -2
- aws_cdk/aws_quicksight/__init__.py +225 -451
- aws_cdk/aws_rds/__init__.py +50 -13
- aws_cdk/aws_s3/__init__.py +8 -0
- aws_cdk/aws_sagemaker/__init__.py +68 -13
- aws_cdk/aws_sns/__init__.py +76 -1
- aws_cdk/aws_vpclattice/__init__.py +144 -9
- aws_cdk/aws_wafv2/__init__.py +702 -0
- aws_cdk/aws_wisdom/__init__.py +3 -110
- aws_cdk/aws_workspacesthinclient/__init__.py +4 -4
- aws_cdk/aws_workspacesweb/__init__.py +179 -2
- aws_cdk/cloud_assembly_schema/__init__.py +224 -4
- aws_cdk/cx_api/__init__.py +2 -1
- {aws_cdk_lib-2.181.0.dist-info → aws_cdk_lib-2.182.0.dist-info}/METADATA +2 -2
- {aws_cdk_lib-2.181.0.dist-info → aws_cdk_lib-2.182.0.dist-info}/RECORD +49 -49
- {aws_cdk_lib-2.181.0.dist-info → aws_cdk_lib-2.182.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.181.0.dist-info → aws_cdk_lib-2.182.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.181.0.dist-info → aws_cdk_lib-2.182.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.181.0.dist-info → aws_cdk_lib-2.182.0.dist-info}/top_level.txt +0 -0
|
@@ -6606,6 +6606,10 @@ class ServiceNamespace(enum.Enum):
|
|
|
6606
6606
|
'''ElastiCache.'''
|
|
6607
6607
|
NEPTUNE = "NEPTUNE"
|
|
6608
6608
|
'''Neptune.'''
|
|
6609
|
+
CASSANDRA = "CASSANDRA"
|
|
6610
|
+
'''Cassandra.'''
|
|
6611
|
+
WORKSPACES = "WORKSPACES"
|
|
6612
|
+
'''Workspaces.'''
|
|
6609
6613
|
|
|
6610
6614
|
|
|
6611
6615
|
class StepScalingAction(
|
aws_cdk/aws_appsync/__init__.py
CHANGED
|
@@ -939,8 +939,7 @@ api = appsync.GraphqlApi(self, "OwnerContact",
|
|
|
939
939
|
|
|
940
940
|
### Example
|
|
941
941
|
|
|
942
|
-
AWS AppSync Events lets you create secure and performant serverless WebSocket APIs that can broadcast real-time event data to millions of subscribers,
|
|
943
|
-
without you having to manage connections or resource scaling.
|
|
942
|
+
AWS AppSync Events lets you create secure and performant serverless WebSocket APIs that can broadcast real-time event data to millions of subscribers, without you having to manage connections or resource scaling.
|
|
944
943
|
|
|
945
944
|
```python
|
|
946
945
|
api_key_provider = appsync.AppSyncAuthProvider(
|
|
@@ -961,6 +960,8 @@ api = appsync.EventApi(self, "api",
|
|
|
961
960
|
]
|
|
962
961
|
)
|
|
963
962
|
)
|
|
963
|
+
|
|
964
|
+
api.add_channel_namespace("default")
|
|
964
965
|
```
|
|
965
966
|
|
|
966
967
|
### Authorization
|
|
@@ -1016,6 +1017,8 @@ api = appsync.EventApi(self, "api",
|
|
|
1016
1017
|
]
|
|
1017
1018
|
)
|
|
1018
1019
|
)
|
|
1020
|
+
|
|
1021
|
+
api.add_channel_namespace("default")
|
|
1019
1022
|
```
|
|
1020
1023
|
|
|
1021
1024
|
If you don't specify any overrides for the `connectionAuthModeTypes`, `defaultPublishAuthModeTypes`, and `defaultSubscribeAuthModeTypes` parameters then all `authProviders` defined are included as default authorization mode types for connection, publish, and subscribe.
|
|
@@ -1045,6 +1048,8 @@ api = appsync.EventApi(self, "api",
|
|
|
1045
1048
|
]
|
|
1046
1049
|
)
|
|
1047
1050
|
)
|
|
1051
|
+
|
|
1052
|
+
api.add_channel_namespace("default")
|
|
1048
1053
|
```
|
|
1049
1054
|
|
|
1050
1055
|
### Custom Domain Names
|
|
@@ -1086,6 +1091,8 @@ api = appsync.EventApi(self, "api",
|
|
|
1086
1091
|
)
|
|
1087
1092
|
)
|
|
1088
1093
|
|
|
1094
|
+
api.add_channel_namespace("default")
|
|
1095
|
+
|
|
1089
1096
|
# You can get custom HTTP/Realtime endpoint
|
|
1090
1097
|
CfnOutput(self, "AWS AppSync Events HTTP endpoint", value=api.custom_http_endpoint)
|
|
1091
1098
|
CfnOutput(self, "AWS AppSync Events Realtime endpoint", value=api.custom_realtime_endpoint)
|
|
@@ -1129,6 +1136,8 @@ api = appsync.EventApi(self, "api",
|
|
|
1129
1136
|
retention=logs.RetentionDays.ONE_WEEK
|
|
1130
1137
|
)
|
|
1131
1138
|
)
|
|
1139
|
+
|
|
1140
|
+
api.add_channel_namespace("default")
|
|
1132
1141
|
```
|
|
1133
1142
|
|
|
1134
1143
|
### WAF Protection
|
|
@@ -1173,8 +1182,7 @@ api.add_channel_namespace("AnotherNameSpace")
|
|
|
1173
1182
|
```
|
|
1174
1183
|
|
|
1175
1184
|
The API's publishing and subscribing authorization configuration is automatically applied to all namespaces.
|
|
1176
|
-
You can override this configuration at the namespace level. **Note**: the authorization type you select as
|
|
1177
|
-
overviews, must be defined as an authorization provider at the API level.
|
|
1185
|
+
You can override this configuration at the namespace level. **Note**: the authorization type you select for a namespace must be defined as an authorization provider at the API level.
|
|
1178
1186
|
|
|
1179
1187
|
```python
|
|
1180
1188
|
# api: appsync.EventApi
|
|
@@ -1532,6 +1540,8 @@ class AppSyncAuthProvider:
|
|
|
1532
1540
|
retention=logs.RetentionDays.ONE_WEEK
|
|
1533
1541
|
)
|
|
1534
1542
|
)
|
|
1543
|
+
|
|
1544
|
+
api.add_channel_namespace("default")
|
|
1535
1545
|
'''
|
|
1536
1546
|
if isinstance(api_key_config, dict):
|
|
1537
1547
|
api_key_config = AppSyncApiKeyConfig(**api_key_config)
|
|
@@ -1653,6 +1663,8 @@ class AppSyncAuthorizationType(enum.Enum):
|
|
|
1653
1663
|
retention=logs.RetentionDays.ONE_WEEK
|
|
1654
1664
|
)
|
|
1655
1665
|
)
|
|
1666
|
+
|
|
1667
|
+
api.add_channel_namespace("default")
|
|
1656
1668
|
'''
|
|
1657
1669
|
|
|
1658
1670
|
API_KEY = "API_KEY"
|
|
@@ -1795,6 +1807,8 @@ class AppSyncDomainOptions:
|
|
|
1795
1807
|
)
|
|
1796
1808
|
)
|
|
1797
1809
|
|
|
1810
|
+
api.add_channel_namespace("default")
|
|
1811
|
+
|
|
1798
1812
|
# You can get custom HTTP/Realtime endpoint
|
|
1799
1813
|
CfnOutput(self, "AWS AppSync Events HTTP endpoint", value=api.custom_http_endpoint)
|
|
1800
1814
|
CfnOutput(self, "AWS AppSync Events Realtime endpoint", value=api.custom_realtime_endpoint)
|
|
@@ -1932,6 +1946,8 @@ class AppSyncFieldLogLevel(enum.Enum):
|
|
|
1932
1946
|
retention=logs.RetentionDays.ONE_WEEK
|
|
1933
1947
|
)
|
|
1934
1948
|
)
|
|
1949
|
+
|
|
1950
|
+
api.add_channel_namespace("default")
|
|
1935
1951
|
'''
|
|
1936
1952
|
|
|
1937
1953
|
NONE = "NONE"
|
|
@@ -2010,6 +2026,8 @@ class AppSyncLambdaAuthorizerConfig:
|
|
|
2010
2026
|
]
|
|
2011
2027
|
)
|
|
2012
2028
|
)
|
|
2029
|
+
|
|
2030
|
+
api.add_channel_namespace("default")
|
|
2013
2031
|
'''
|
|
2014
2032
|
if __debug__:
|
|
2015
2033
|
type_hints = typing.get_type_hints(_typecheckingstub__ec6bd8f4268e6a0d65ad536fb91ce695d8d7bc9f41974b0537b04963028247a7)
|
|
@@ -2121,6 +2139,8 @@ class AppSyncLogConfig:
|
|
|
2121
2139
|
retention=logs.RetentionDays.ONE_WEEK
|
|
2122
2140
|
)
|
|
2123
2141
|
)
|
|
2142
|
+
|
|
2143
|
+
api.add_channel_namespace("default")
|
|
2124
2144
|
'''
|
|
2125
2145
|
if __debug__:
|
|
2126
2146
|
type_hints = typing.get_type_hints(_typecheckingstub__1f071c5d78b2c37c516b5230a27a665e8b9516682c1dc9b40977c1312f55cd98)
|
|
@@ -13563,6 +13583,8 @@ class EventApiAuthConfig:
|
|
|
13563
13583
|
retention=logs.RetentionDays.ONE_WEEK
|
|
13564
13584
|
)
|
|
13565
13585
|
)
|
|
13586
|
+
|
|
13587
|
+
api.add_channel_namespace("default")
|
|
13566
13588
|
'''
|
|
13567
13589
|
if __debug__:
|
|
13568
13590
|
type_hints = typing.get_type_hints(_typecheckingstub__192fc5424749f85ed1ee2692d853ac32c97f7d5e4cfa77cd954931426885c04f)
|
|
@@ -13692,6 +13714,8 @@ class EventApiProps:
|
|
|
13692
13714
|
retention=logs.RetentionDays.ONE_WEEK
|
|
13693
13715
|
)
|
|
13694
13716
|
)
|
|
13717
|
+
|
|
13718
|
+
api.add_channel_namespace("default")
|
|
13695
13719
|
'''
|
|
13696
13720
|
if isinstance(authorization_config, dict):
|
|
13697
13721
|
authorization_config = EventApiAuthConfig(**authorization_config)
|
|
@@ -22082,6 +22106,8 @@ class EventApi(
|
|
|
22082
22106
|
retention=logs.RetentionDays.ONE_WEEK
|
|
22083
22107
|
)
|
|
22084
22108
|
)
|
|
22109
|
+
|
|
22110
|
+
api.add_channel_namespace("default")
|
|
22085
22111
|
'''
|
|
22086
22112
|
|
|
22087
22113
|
def __init__(
|