aws-cdk-lib 2.125.0__py3-none-any.whl → 2.127.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 +0 -2
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.125.0.jsii.tgz → aws-cdk-lib@2.127.0.jsii.tgz} +0 -0
- aws_cdk/aws_acmpca/__init__.py +18 -6
- aws_cdk/aws_amazonmq/__init__.py +3 -2
- aws_cdk/aws_amplifyuibuilder/__init__.py +1212 -666
- aws_cdk/aws_apigateway/__init__.py +7 -3
- aws_cdk/aws_appconfig/__init__.py +108 -19
- aws_cdk/aws_appsync/__init__.py +43 -0
- aws_cdk/aws_autoscaling/__init__.py +37 -14
- aws_cdk/aws_cassandra/__init__.py +810 -4
- aws_cdk/aws_cloudfront/__init__.py +35 -37
- aws_cdk/aws_cloudfront/experimental/__init__.py +21 -0
- aws_cdk/aws_codebuild/__init__.py +43 -3
- aws_cdk/aws_codecommit/__init__.py +1 -0
- aws_cdk/aws_codepipeline/__init__.py +7 -3
- aws_cdk/aws_codepipeline_actions/__init__.py +11 -1
- aws_cdk/aws_codestarnotifications/__init__.py +24 -15
- aws_cdk/aws_cognito/__init__.py +180 -116
- aws_cdk/aws_datasync/__init__.py +8 -4
- aws_cdk/aws_dynamodb/__init__.py +80 -11
- aws_cdk/aws_ec2/__init__.py +207 -45
- aws_cdk/aws_ecs/__init__.py +171 -78
- aws_cdk/aws_ecs_patterns/__init__.py +24 -0
- aws_cdk/aws_efs/__init__.py +64 -8
- aws_cdk/aws_eks/__init__.py +52 -41
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +12 -9
- aws_cdk/aws_fis/__init__.py +32 -12
- aws_cdk/aws_fsx/__init__.py +61 -43
- aws_cdk/aws_glue/__init__.py +449 -0
- aws_cdk/aws_guardduty/__init__.py +0 -8
- aws_cdk/aws_iam/__init__.py +3 -3
- aws_cdk/aws_inspectorv2/__init__.py +989 -0
- aws_cdk/aws_internetmonitor/__init__.py +10 -12
- aws_cdk/aws_iot/__init__.py +112 -0
- aws_cdk/aws_iotwireless/__init__.py +32 -19
- aws_cdk/aws_lambda/__init__.py +129 -32
- aws_cdk/aws_lambda_event_sources/__init__.py +95 -4
- aws_cdk/aws_lambda_nodejs/__init__.py +21 -0
- aws_cdk/aws_location/__init__.py +8 -2
- aws_cdk/aws_logs/__init__.py +7 -3
- aws_cdk/aws_networkmanager/__init__.py +1 -1
- aws_cdk/aws_opensearchserverless/__init__.py +4 -4
- aws_cdk/aws_osis/__init__.py +13 -13
- aws_cdk/aws_personalize/__init__.py +1 -1
- aws_cdk/aws_pinpoint/__init__.py +5 -5
- aws_cdk/aws_pipes/__init__.py +7 -10
- aws_cdk/aws_rds/__init__.py +449 -8
- aws_cdk/aws_redshiftserverless/__init__.py +282 -0
- aws_cdk/aws_rolesanywhere/__init__.py +53 -41
- aws_cdk/aws_route53/__init__.py +282 -0
- aws_cdk/aws_s3/__init__.py +11 -6
- aws_cdk/aws_sagemaker/__init__.py +1398 -39
- aws_cdk/aws_sns/__init__.py +56 -13
- aws_cdk/aws_sqs/__init__.py +13 -10
- aws_cdk/aws_stepfunctions/__init__.py +3612 -1395
- aws_cdk/aws_stepfunctions_tasks/__init__.py +267 -181
- aws_cdk/aws_transfer/__init__.py +1 -1
- aws_cdk/aws_verifiedpermissions/__init__.py +55 -55
- aws_cdk/aws_workspacesweb/__init__.py +6 -3
- aws_cdk/cx_api/__init__.py +17 -0
- aws_cdk/triggers/__init__.py +21 -0
- {aws_cdk_lib-2.125.0.dist-info → aws_cdk_lib-2.127.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.125.0.dist-info → aws_cdk_lib-2.127.0.dist-info}/RECORD +68 -69
- aws_cdk/aws_ssmguiconnect/__init__.py +0 -540
- {aws_cdk_lib-2.125.0.dist-info → aws_cdk_lib-2.127.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.125.0.dist-info → aws_cdk_lib-2.127.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.125.0.dist-info → aws_cdk_lib-2.127.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.125.0.dist-info → aws_cdk_lib-2.127.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_glue/__init__.py
CHANGED
|
@@ -13040,6 +13040,379 @@ class CfnTable(
|
|
|
13040
13040
|
)
|
|
13041
13041
|
|
|
13042
13042
|
|
|
13043
|
+
@jsii.implements(_IInspectable_c2943556)
|
|
13044
|
+
class CfnTableOptimizer(
|
|
13045
|
+
_CfnResource_9df397a6,
|
|
13046
|
+
metaclass=jsii.JSIIMeta,
|
|
13047
|
+
jsii_type="aws-cdk-lib.aws_glue.CfnTableOptimizer",
|
|
13048
|
+
):
|
|
13049
|
+
'''Resource Type definition for AWS::Glue::TableOptimizer.
|
|
13050
|
+
|
|
13051
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-tableoptimizer.html
|
|
13052
|
+
:cloudformationResource: AWS::Glue::TableOptimizer
|
|
13053
|
+
:exampleMetadata: fixture=_generated
|
|
13054
|
+
|
|
13055
|
+
Example::
|
|
13056
|
+
|
|
13057
|
+
# The code below shows an example of how to instantiate this type.
|
|
13058
|
+
# The values are placeholders you should change.
|
|
13059
|
+
from aws_cdk import aws_glue as glue
|
|
13060
|
+
|
|
13061
|
+
cfn_table_optimizer = glue.CfnTableOptimizer(self, "MyCfnTableOptimizer",
|
|
13062
|
+
catalog_id="catalogId",
|
|
13063
|
+
database_name="databaseName",
|
|
13064
|
+
table_name="tableName",
|
|
13065
|
+
table_optimizer_configuration=glue.CfnTableOptimizer.TableOptimizerConfigurationProperty(
|
|
13066
|
+
enabled=False,
|
|
13067
|
+
role_arn="roleArn"
|
|
13068
|
+
),
|
|
13069
|
+
type="type"
|
|
13070
|
+
)
|
|
13071
|
+
'''
|
|
13072
|
+
|
|
13073
|
+
def __init__(
|
|
13074
|
+
self,
|
|
13075
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
13076
|
+
id: builtins.str,
|
|
13077
|
+
*,
|
|
13078
|
+
catalog_id: builtins.str,
|
|
13079
|
+
database_name: builtins.str,
|
|
13080
|
+
table_name: builtins.str,
|
|
13081
|
+
table_optimizer_configuration: typing.Union[_IResolvable_da3f097b, typing.Union["CfnTableOptimizer.TableOptimizerConfigurationProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
13082
|
+
type: builtins.str,
|
|
13083
|
+
) -> None:
|
|
13084
|
+
'''
|
|
13085
|
+
:param scope: Scope in which this resource is defined.
|
|
13086
|
+
:param id: Construct identifier for this resource (unique in its scope).
|
|
13087
|
+
:param catalog_id:
|
|
13088
|
+
:param database_name: The name of the database. For Hive compatibility, this is folded to lowercase when it is stored.
|
|
13089
|
+
:param table_name: The table name. For Hive compatibility, this must be entirely lowercase.
|
|
13090
|
+
:param table_optimizer_configuration:
|
|
13091
|
+
:param type:
|
|
13092
|
+
'''
|
|
13093
|
+
if __debug__:
|
|
13094
|
+
type_hints = typing.get_type_hints(_typecheckingstub__b4e894dd19e24d3b1945f7e3626cca9af994eb9445db78ad5465965094995567)
|
|
13095
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
13096
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
13097
|
+
props = CfnTableOptimizerProps(
|
|
13098
|
+
catalog_id=catalog_id,
|
|
13099
|
+
database_name=database_name,
|
|
13100
|
+
table_name=table_name,
|
|
13101
|
+
table_optimizer_configuration=table_optimizer_configuration,
|
|
13102
|
+
type=type,
|
|
13103
|
+
)
|
|
13104
|
+
|
|
13105
|
+
jsii.create(self.__class__, self, [scope, id, props])
|
|
13106
|
+
|
|
13107
|
+
@jsii.member(jsii_name="inspect")
|
|
13108
|
+
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
13109
|
+
'''Examines the CloudFormation resource and discloses attributes.
|
|
13110
|
+
|
|
13111
|
+
:param inspector: tree inspector to collect and process attributes.
|
|
13112
|
+
'''
|
|
13113
|
+
if __debug__:
|
|
13114
|
+
type_hints = typing.get_type_hints(_typecheckingstub__d700611fa218622715d366ef2028e76f353a44f5389864842f0903ab64e6f8c3)
|
|
13115
|
+
check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
|
|
13116
|
+
return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
|
|
13117
|
+
|
|
13118
|
+
@jsii.member(jsii_name="renderProperties")
|
|
13119
|
+
def _render_properties(
|
|
13120
|
+
self,
|
|
13121
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
13122
|
+
) -> typing.Mapping[builtins.str, typing.Any]:
|
|
13123
|
+
'''
|
|
13124
|
+
:param props: -
|
|
13125
|
+
'''
|
|
13126
|
+
if __debug__:
|
|
13127
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c3be7b44b4827c2cb0b8f7e3c5ca5426b618a78914087b6bfdd96ddb7b5df294)
|
|
13128
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
13129
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
|
|
13130
|
+
|
|
13131
|
+
@jsii.python.classproperty
|
|
13132
|
+
@jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
|
|
13133
|
+
def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
|
|
13134
|
+
'''The CloudFormation resource type name for this resource class.'''
|
|
13135
|
+
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
13136
|
+
|
|
13137
|
+
@builtins.property
|
|
13138
|
+
@jsii.member(jsii_name="attrId")
|
|
13139
|
+
def attr_id(self) -> builtins.str:
|
|
13140
|
+
'''
|
|
13141
|
+
:cloudformationAttribute: Id
|
|
13142
|
+
'''
|
|
13143
|
+
return typing.cast(builtins.str, jsii.get(self, "attrId"))
|
|
13144
|
+
|
|
13145
|
+
@builtins.property
|
|
13146
|
+
@jsii.member(jsii_name="cfnProperties")
|
|
13147
|
+
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
13148
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
13149
|
+
|
|
13150
|
+
@builtins.property
|
|
13151
|
+
@jsii.member(jsii_name="catalogId")
|
|
13152
|
+
def catalog_id(self) -> builtins.str:
|
|
13153
|
+
return typing.cast(builtins.str, jsii.get(self, "catalogId"))
|
|
13154
|
+
|
|
13155
|
+
@catalog_id.setter
|
|
13156
|
+
def catalog_id(self, value: builtins.str) -> None:
|
|
13157
|
+
if __debug__:
|
|
13158
|
+
type_hints = typing.get_type_hints(_typecheckingstub__38a4902d6acd7240fb573cee400a9005e51ed6a7139e4ffec623e90ef9f80b7b)
|
|
13159
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
13160
|
+
jsii.set(self, "catalogId", value)
|
|
13161
|
+
|
|
13162
|
+
@builtins.property
|
|
13163
|
+
@jsii.member(jsii_name="databaseName")
|
|
13164
|
+
def database_name(self) -> builtins.str:
|
|
13165
|
+
'''The name of the database.'''
|
|
13166
|
+
return typing.cast(builtins.str, jsii.get(self, "databaseName"))
|
|
13167
|
+
|
|
13168
|
+
@database_name.setter
|
|
13169
|
+
def database_name(self, value: builtins.str) -> None:
|
|
13170
|
+
if __debug__:
|
|
13171
|
+
type_hints = typing.get_type_hints(_typecheckingstub__2136c1b15f3acb4923d5a3c98713d4269f7960c9ea95d2b0b9e79a1dcff66f11)
|
|
13172
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
13173
|
+
jsii.set(self, "databaseName", value)
|
|
13174
|
+
|
|
13175
|
+
@builtins.property
|
|
13176
|
+
@jsii.member(jsii_name="tableName")
|
|
13177
|
+
def table_name(self) -> builtins.str:
|
|
13178
|
+
'''The table name.'''
|
|
13179
|
+
return typing.cast(builtins.str, jsii.get(self, "tableName"))
|
|
13180
|
+
|
|
13181
|
+
@table_name.setter
|
|
13182
|
+
def table_name(self, value: builtins.str) -> None:
|
|
13183
|
+
if __debug__:
|
|
13184
|
+
type_hints = typing.get_type_hints(_typecheckingstub__76dd7277449acba77614351258ef37ddea39ba2f2bf12b01c0f9e43abf920ba4)
|
|
13185
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
13186
|
+
jsii.set(self, "tableName", value)
|
|
13187
|
+
|
|
13188
|
+
@builtins.property
|
|
13189
|
+
@jsii.member(jsii_name="tableOptimizerConfiguration")
|
|
13190
|
+
def table_optimizer_configuration(
|
|
13191
|
+
self,
|
|
13192
|
+
) -> typing.Union[_IResolvable_da3f097b, "CfnTableOptimizer.TableOptimizerConfigurationProperty"]:
|
|
13193
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnTableOptimizer.TableOptimizerConfigurationProperty"], jsii.get(self, "tableOptimizerConfiguration"))
|
|
13194
|
+
|
|
13195
|
+
@table_optimizer_configuration.setter
|
|
13196
|
+
def table_optimizer_configuration(
|
|
13197
|
+
self,
|
|
13198
|
+
value: typing.Union[_IResolvable_da3f097b, "CfnTableOptimizer.TableOptimizerConfigurationProperty"],
|
|
13199
|
+
) -> None:
|
|
13200
|
+
if __debug__:
|
|
13201
|
+
type_hints = typing.get_type_hints(_typecheckingstub__562d507c6dc6935356281ca6483af893bfd21a84121b3cc3637c6dc9f955b055)
|
|
13202
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
13203
|
+
jsii.set(self, "tableOptimizerConfiguration", value)
|
|
13204
|
+
|
|
13205
|
+
@builtins.property
|
|
13206
|
+
@jsii.member(jsii_name="type")
|
|
13207
|
+
def type(self) -> builtins.str:
|
|
13208
|
+
return typing.cast(builtins.str, jsii.get(self, "type"))
|
|
13209
|
+
|
|
13210
|
+
@type.setter
|
|
13211
|
+
def type(self, value: builtins.str) -> None:
|
|
13212
|
+
if __debug__:
|
|
13213
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ed41a967c471f3fd661f6d5f9a4dc138f08aae636c030322c2e80ced1b41c718)
|
|
13214
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
13215
|
+
jsii.set(self, "type", value)
|
|
13216
|
+
|
|
13217
|
+
@jsii.data_type(
|
|
13218
|
+
jsii_type="aws-cdk-lib.aws_glue.CfnTableOptimizer.TableOptimizerConfigurationProperty",
|
|
13219
|
+
jsii_struct_bases=[],
|
|
13220
|
+
name_mapping={"enabled": "enabled", "role_arn": "roleArn"},
|
|
13221
|
+
)
|
|
13222
|
+
class TableOptimizerConfigurationProperty:
|
|
13223
|
+
def __init__(
|
|
13224
|
+
self,
|
|
13225
|
+
*,
|
|
13226
|
+
enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
13227
|
+
role_arn: typing.Optional[builtins.str] = None,
|
|
13228
|
+
) -> None:
|
|
13229
|
+
'''
|
|
13230
|
+
:param enabled:
|
|
13231
|
+
:param role_arn:
|
|
13232
|
+
|
|
13233
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-tableoptimizer-tableoptimizerconfiguration.html
|
|
13234
|
+
:exampleMetadata: fixture=_generated
|
|
13235
|
+
|
|
13236
|
+
Example::
|
|
13237
|
+
|
|
13238
|
+
# The code below shows an example of how to instantiate this type.
|
|
13239
|
+
# The values are placeholders you should change.
|
|
13240
|
+
from aws_cdk import aws_glue as glue
|
|
13241
|
+
|
|
13242
|
+
table_optimizer_configuration_property = glue.CfnTableOptimizer.TableOptimizerConfigurationProperty(
|
|
13243
|
+
enabled=False,
|
|
13244
|
+
role_arn="roleArn"
|
|
13245
|
+
)
|
|
13246
|
+
'''
|
|
13247
|
+
if __debug__:
|
|
13248
|
+
type_hints = typing.get_type_hints(_typecheckingstub__666694d6c0728808477673b52278e31d95b87b4226552b0f2f91addb33aeed3e)
|
|
13249
|
+
check_type(argname="argument enabled", value=enabled, expected_type=type_hints["enabled"])
|
|
13250
|
+
check_type(argname="argument role_arn", value=role_arn, expected_type=type_hints["role_arn"])
|
|
13251
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
13252
|
+
if enabled is not None:
|
|
13253
|
+
self._values["enabled"] = enabled
|
|
13254
|
+
if role_arn is not None:
|
|
13255
|
+
self._values["role_arn"] = role_arn
|
|
13256
|
+
|
|
13257
|
+
@builtins.property
|
|
13258
|
+
def enabled(
|
|
13259
|
+
self,
|
|
13260
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
13261
|
+
'''
|
|
13262
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-tableoptimizer-tableoptimizerconfiguration.html#cfn-glue-tableoptimizer-tableoptimizerconfiguration-enabled
|
|
13263
|
+
'''
|
|
13264
|
+
result = self._values.get("enabled")
|
|
13265
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
13266
|
+
|
|
13267
|
+
@builtins.property
|
|
13268
|
+
def role_arn(self) -> typing.Optional[builtins.str]:
|
|
13269
|
+
'''
|
|
13270
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-tableoptimizer-tableoptimizerconfiguration.html#cfn-glue-tableoptimizer-tableoptimizerconfiguration-rolearn
|
|
13271
|
+
'''
|
|
13272
|
+
result = self._values.get("role_arn")
|
|
13273
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
13274
|
+
|
|
13275
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
13276
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
13277
|
+
|
|
13278
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
13279
|
+
return not (rhs == self)
|
|
13280
|
+
|
|
13281
|
+
def __repr__(self) -> str:
|
|
13282
|
+
return "TableOptimizerConfigurationProperty(%s)" % ", ".join(
|
|
13283
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
13284
|
+
)
|
|
13285
|
+
|
|
13286
|
+
|
|
13287
|
+
@jsii.data_type(
|
|
13288
|
+
jsii_type="aws-cdk-lib.aws_glue.CfnTableOptimizerProps",
|
|
13289
|
+
jsii_struct_bases=[],
|
|
13290
|
+
name_mapping={
|
|
13291
|
+
"catalog_id": "catalogId",
|
|
13292
|
+
"database_name": "databaseName",
|
|
13293
|
+
"table_name": "tableName",
|
|
13294
|
+
"table_optimizer_configuration": "tableOptimizerConfiguration",
|
|
13295
|
+
"type": "type",
|
|
13296
|
+
},
|
|
13297
|
+
)
|
|
13298
|
+
class CfnTableOptimizerProps:
|
|
13299
|
+
def __init__(
|
|
13300
|
+
self,
|
|
13301
|
+
*,
|
|
13302
|
+
catalog_id: builtins.str,
|
|
13303
|
+
database_name: builtins.str,
|
|
13304
|
+
table_name: builtins.str,
|
|
13305
|
+
table_optimizer_configuration: typing.Union[_IResolvable_da3f097b, typing.Union[CfnTableOptimizer.TableOptimizerConfigurationProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
13306
|
+
type: builtins.str,
|
|
13307
|
+
) -> None:
|
|
13308
|
+
'''Properties for defining a ``CfnTableOptimizer``.
|
|
13309
|
+
|
|
13310
|
+
:param catalog_id:
|
|
13311
|
+
:param database_name: The name of the database. For Hive compatibility, this is folded to lowercase when it is stored.
|
|
13312
|
+
:param table_name: The table name. For Hive compatibility, this must be entirely lowercase.
|
|
13313
|
+
:param table_optimizer_configuration:
|
|
13314
|
+
:param type:
|
|
13315
|
+
|
|
13316
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-tableoptimizer.html
|
|
13317
|
+
:exampleMetadata: fixture=_generated
|
|
13318
|
+
|
|
13319
|
+
Example::
|
|
13320
|
+
|
|
13321
|
+
# The code below shows an example of how to instantiate this type.
|
|
13322
|
+
# The values are placeholders you should change.
|
|
13323
|
+
from aws_cdk import aws_glue as glue
|
|
13324
|
+
|
|
13325
|
+
cfn_table_optimizer_props = glue.CfnTableOptimizerProps(
|
|
13326
|
+
catalog_id="catalogId",
|
|
13327
|
+
database_name="databaseName",
|
|
13328
|
+
table_name="tableName",
|
|
13329
|
+
table_optimizer_configuration=glue.CfnTableOptimizer.TableOptimizerConfigurationProperty(
|
|
13330
|
+
enabled=False,
|
|
13331
|
+
role_arn="roleArn"
|
|
13332
|
+
),
|
|
13333
|
+
type="type"
|
|
13334
|
+
)
|
|
13335
|
+
'''
|
|
13336
|
+
if __debug__:
|
|
13337
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c8dd5d49d631318c682325da8d285b928ebf3e95c47c438bf8527ad0ad1c24f4)
|
|
13338
|
+
check_type(argname="argument catalog_id", value=catalog_id, expected_type=type_hints["catalog_id"])
|
|
13339
|
+
check_type(argname="argument database_name", value=database_name, expected_type=type_hints["database_name"])
|
|
13340
|
+
check_type(argname="argument table_name", value=table_name, expected_type=type_hints["table_name"])
|
|
13341
|
+
check_type(argname="argument table_optimizer_configuration", value=table_optimizer_configuration, expected_type=type_hints["table_optimizer_configuration"])
|
|
13342
|
+
check_type(argname="argument type", value=type, expected_type=type_hints["type"])
|
|
13343
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
13344
|
+
"catalog_id": catalog_id,
|
|
13345
|
+
"database_name": database_name,
|
|
13346
|
+
"table_name": table_name,
|
|
13347
|
+
"table_optimizer_configuration": table_optimizer_configuration,
|
|
13348
|
+
"type": type,
|
|
13349
|
+
}
|
|
13350
|
+
|
|
13351
|
+
@builtins.property
|
|
13352
|
+
def catalog_id(self) -> builtins.str:
|
|
13353
|
+
'''
|
|
13354
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-tableoptimizer.html#cfn-glue-tableoptimizer-catalogid
|
|
13355
|
+
'''
|
|
13356
|
+
result = self._values.get("catalog_id")
|
|
13357
|
+
assert result is not None, "Required property 'catalog_id' is missing"
|
|
13358
|
+
return typing.cast(builtins.str, result)
|
|
13359
|
+
|
|
13360
|
+
@builtins.property
|
|
13361
|
+
def database_name(self) -> builtins.str:
|
|
13362
|
+
'''The name of the database.
|
|
13363
|
+
|
|
13364
|
+
For Hive compatibility, this is folded to lowercase when it is stored.
|
|
13365
|
+
|
|
13366
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-tableoptimizer.html#cfn-glue-tableoptimizer-databasename
|
|
13367
|
+
'''
|
|
13368
|
+
result = self._values.get("database_name")
|
|
13369
|
+
assert result is not None, "Required property 'database_name' is missing"
|
|
13370
|
+
return typing.cast(builtins.str, result)
|
|
13371
|
+
|
|
13372
|
+
@builtins.property
|
|
13373
|
+
def table_name(self) -> builtins.str:
|
|
13374
|
+
'''The table name.
|
|
13375
|
+
|
|
13376
|
+
For Hive compatibility, this must be entirely lowercase.
|
|
13377
|
+
|
|
13378
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-tableoptimizer.html#cfn-glue-tableoptimizer-tablename
|
|
13379
|
+
'''
|
|
13380
|
+
result = self._values.get("table_name")
|
|
13381
|
+
assert result is not None, "Required property 'table_name' is missing"
|
|
13382
|
+
return typing.cast(builtins.str, result)
|
|
13383
|
+
|
|
13384
|
+
@builtins.property
|
|
13385
|
+
def table_optimizer_configuration(
|
|
13386
|
+
self,
|
|
13387
|
+
) -> typing.Union[_IResolvable_da3f097b, CfnTableOptimizer.TableOptimizerConfigurationProperty]:
|
|
13388
|
+
'''
|
|
13389
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-tableoptimizer.html#cfn-glue-tableoptimizer-tableoptimizerconfiguration
|
|
13390
|
+
'''
|
|
13391
|
+
result = self._values.get("table_optimizer_configuration")
|
|
13392
|
+
assert result is not None, "Required property 'table_optimizer_configuration' is missing"
|
|
13393
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, CfnTableOptimizer.TableOptimizerConfigurationProperty], result)
|
|
13394
|
+
|
|
13395
|
+
@builtins.property
|
|
13396
|
+
def type(self) -> builtins.str:
|
|
13397
|
+
'''
|
|
13398
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-tableoptimizer.html#cfn-glue-tableoptimizer-type
|
|
13399
|
+
'''
|
|
13400
|
+
result = self._values.get("type")
|
|
13401
|
+
assert result is not None, "Required property 'type' is missing"
|
|
13402
|
+
return typing.cast(builtins.str, result)
|
|
13403
|
+
|
|
13404
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
13405
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
13406
|
+
|
|
13407
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
13408
|
+
return not (rhs == self)
|
|
13409
|
+
|
|
13410
|
+
def __repr__(self) -> str:
|
|
13411
|
+
return "CfnTableOptimizerProps(%s)" % ", ".join(
|
|
13412
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
13413
|
+
)
|
|
13414
|
+
|
|
13415
|
+
|
|
13043
13416
|
@jsii.data_type(
|
|
13044
13417
|
jsii_type="aws-cdk-lib.aws_glue.CfnTableProps",
|
|
13045
13418
|
jsii_struct_bases=[],
|
|
@@ -14608,6 +14981,8 @@ __all__ = [
|
|
|
14608
14981
|
"CfnSecurityConfiguration",
|
|
14609
14982
|
"CfnSecurityConfigurationProps",
|
|
14610
14983
|
"CfnTable",
|
|
14984
|
+
"CfnTableOptimizer",
|
|
14985
|
+
"CfnTableOptimizerProps",
|
|
14611
14986
|
"CfnTableProps",
|
|
14612
14987
|
"CfnTrigger",
|
|
14613
14988
|
"CfnTriggerProps",
|
|
@@ -16482,6 +16857,80 @@ def _typecheckingstub__2cd7cfcabe0becfeb1771268e35d45d44b6f88db622d180509f833411
|
|
|
16482
16857
|
"""Type checking stubs"""
|
|
16483
16858
|
pass
|
|
16484
16859
|
|
|
16860
|
+
def _typecheckingstub__b4e894dd19e24d3b1945f7e3626cca9af994eb9445db78ad5465965094995567(
|
|
16861
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
16862
|
+
id: builtins.str,
|
|
16863
|
+
*,
|
|
16864
|
+
catalog_id: builtins.str,
|
|
16865
|
+
database_name: builtins.str,
|
|
16866
|
+
table_name: builtins.str,
|
|
16867
|
+
table_optimizer_configuration: typing.Union[_IResolvable_da3f097b, typing.Union[CfnTableOptimizer.TableOptimizerConfigurationProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
16868
|
+
type: builtins.str,
|
|
16869
|
+
) -> None:
|
|
16870
|
+
"""Type checking stubs"""
|
|
16871
|
+
pass
|
|
16872
|
+
|
|
16873
|
+
def _typecheckingstub__d700611fa218622715d366ef2028e76f353a44f5389864842f0903ab64e6f8c3(
|
|
16874
|
+
inspector: _TreeInspector_488e0dd5,
|
|
16875
|
+
) -> None:
|
|
16876
|
+
"""Type checking stubs"""
|
|
16877
|
+
pass
|
|
16878
|
+
|
|
16879
|
+
def _typecheckingstub__c3be7b44b4827c2cb0b8f7e3c5ca5426b618a78914087b6bfdd96ddb7b5df294(
|
|
16880
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
16881
|
+
) -> None:
|
|
16882
|
+
"""Type checking stubs"""
|
|
16883
|
+
pass
|
|
16884
|
+
|
|
16885
|
+
def _typecheckingstub__38a4902d6acd7240fb573cee400a9005e51ed6a7139e4ffec623e90ef9f80b7b(
|
|
16886
|
+
value: builtins.str,
|
|
16887
|
+
) -> None:
|
|
16888
|
+
"""Type checking stubs"""
|
|
16889
|
+
pass
|
|
16890
|
+
|
|
16891
|
+
def _typecheckingstub__2136c1b15f3acb4923d5a3c98713d4269f7960c9ea95d2b0b9e79a1dcff66f11(
|
|
16892
|
+
value: builtins.str,
|
|
16893
|
+
) -> None:
|
|
16894
|
+
"""Type checking stubs"""
|
|
16895
|
+
pass
|
|
16896
|
+
|
|
16897
|
+
def _typecheckingstub__76dd7277449acba77614351258ef37ddea39ba2f2bf12b01c0f9e43abf920ba4(
|
|
16898
|
+
value: builtins.str,
|
|
16899
|
+
) -> None:
|
|
16900
|
+
"""Type checking stubs"""
|
|
16901
|
+
pass
|
|
16902
|
+
|
|
16903
|
+
def _typecheckingstub__562d507c6dc6935356281ca6483af893bfd21a84121b3cc3637c6dc9f955b055(
|
|
16904
|
+
value: typing.Union[_IResolvable_da3f097b, CfnTableOptimizer.TableOptimizerConfigurationProperty],
|
|
16905
|
+
) -> None:
|
|
16906
|
+
"""Type checking stubs"""
|
|
16907
|
+
pass
|
|
16908
|
+
|
|
16909
|
+
def _typecheckingstub__ed41a967c471f3fd661f6d5f9a4dc138f08aae636c030322c2e80ced1b41c718(
|
|
16910
|
+
value: builtins.str,
|
|
16911
|
+
) -> None:
|
|
16912
|
+
"""Type checking stubs"""
|
|
16913
|
+
pass
|
|
16914
|
+
|
|
16915
|
+
def _typecheckingstub__666694d6c0728808477673b52278e31d95b87b4226552b0f2f91addb33aeed3e(
|
|
16916
|
+
*,
|
|
16917
|
+
enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
16918
|
+
role_arn: typing.Optional[builtins.str] = None,
|
|
16919
|
+
) -> None:
|
|
16920
|
+
"""Type checking stubs"""
|
|
16921
|
+
pass
|
|
16922
|
+
|
|
16923
|
+
def _typecheckingstub__c8dd5d49d631318c682325da8d285b928ebf3e95c47c438bf8527ad0ad1c24f4(
|
|
16924
|
+
*,
|
|
16925
|
+
catalog_id: builtins.str,
|
|
16926
|
+
database_name: builtins.str,
|
|
16927
|
+
table_name: builtins.str,
|
|
16928
|
+
table_optimizer_configuration: typing.Union[_IResolvable_da3f097b, typing.Union[CfnTableOptimizer.TableOptimizerConfigurationProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
16929
|
+
type: builtins.str,
|
|
16930
|
+
) -> None:
|
|
16931
|
+
"""Type checking stubs"""
|
|
16932
|
+
pass
|
|
16933
|
+
|
|
16485
16934
|
def _typecheckingstub__1fa7a95b739eec87307cf104cf3e05eef39d32fd60cc53851b43bd980ef557e0(
|
|
16486
16935
|
*,
|
|
16487
16936
|
catalog_id: builtins.str,
|
|
@@ -1186,14 +1186,6 @@ class CfnFilter(
|
|
|
1186
1186
|
'''The CloudFormation resource type name for this resource class.'''
|
|
1187
1187
|
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
1188
1188
|
|
|
1189
|
-
@builtins.property
|
|
1190
|
-
@jsii.member(jsii_name="attrId")
|
|
1191
|
-
def attr_id(self) -> builtins.str:
|
|
1192
|
-
'''
|
|
1193
|
-
:cloudformationAttribute: Id
|
|
1194
|
-
'''
|
|
1195
|
-
return typing.cast(builtins.str, jsii.get(self, "attrId"))
|
|
1196
|
-
|
|
1197
1189
|
@builtins.property
|
|
1198
1190
|
@jsii.member(jsii_name="cfnProperties")
|
|
1199
1191
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
aws_cdk/aws_iam/__init__.py
CHANGED
|
@@ -13742,7 +13742,7 @@ class ArnPrincipal(
|
|
|
13742
13742
|
Example::
|
|
13743
13743
|
|
|
13744
13744
|
# Option 2: create your custom mastersRole with scoped assumeBy arn as the Cluster prop. Switch to this role from the AWS console.
|
|
13745
|
-
from aws_cdk.
|
|
13745
|
+
from aws_cdk.lambda_layer_kubectl_v29 import KubectlV29Layer
|
|
13746
13746
|
# vpc: ec2.Vpc
|
|
13747
13747
|
|
|
13748
13748
|
|
|
@@ -13752,8 +13752,8 @@ class ArnPrincipal(
|
|
|
13752
13752
|
|
|
13753
13753
|
cluster = eks.Cluster(self, "EksCluster",
|
|
13754
13754
|
vpc=vpc,
|
|
13755
|
-
version=eks.KubernetesVersion.
|
|
13756
|
-
kubectl_layer=
|
|
13755
|
+
version=eks.KubernetesVersion.V1_29,
|
|
13756
|
+
kubectl_layer=KubectlV29Layer(self, "KubectlLayer"),
|
|
13757
13757
|
masters_role=masters_role
|
|
13758
13758
|
)
|
|
13759
13759
|
|