aws-cdk-lib 2.132.1__py3-none-any.whl → 2.134.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 +9 -1
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.132.1.jsii.tgz → aws-cdk-lib@2.134.0.jsii.tgz} +0 -0
- aws_cdk/aws_amplify/__init__.py +12 -10
- aws_cdk/aws_apigatewayv2/__init__.py +112 -6
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +155 -3
- aws_cdk/aws_appconfig/__init__.py +186 -8
- aws_cdk/aws_appintegrations/__init__.py +551 -0
- aws_cdk/aws_applicationautoscaling/__init__.py +6 -6
- aws_cdk/aws_appsync/__init__.py +71 -0
- aws_cdk/aws_autoscaling/__init__.py +10 -14
- aws_cdk/aws_b2bi/__init__.py +2 -42
- aws_cdk/aws_backup/__init__.py +23 -12
- aws_cdk/aws_batch/__init__.py +2150 -1078
- aws_cdk/aws_bedrock/__init__.py +197 -2
- aws_cdk/aws_cloudformation/__init__.py +1 -1
- aws_cdk/aws_cloudfront/__init__.py +4 -4
- aws_cdk/aws_cloudtrail/__init__.py +44 -14
- aws_cdk/aws_cloudwatch/__init__.py +20 -4
- aws_cdk/aws_codeartifact/__init__.py +812 -2
- aws_cdk/aws_codebuild/__init__.py +32 -10
- aws_cdk/aws_codepipeline/__init__.py +33 -11
- aws_cdk/aws_cognito/__init__.py +49 -44
- aws_cdk/aws_connect/__init__.py +256 -0
- aws_cdk/aws_controltower/__init__.py +4 -4
- aws_cdk/aws_datasync/__init__.py +393 -13
- aws_cdk/aws_dlm/__init__.py +2 -2
- aws_cdk/aws_docdbelastic/__init__.py +117 -0
- aws_cdk/aws_dynamodb/__init__.py +416 -5
- aws_cdk/aws_ec2/__init__.py +590 -134
- aws_cdk/aws_ecs/__init__.py +29 -20
- aws_cdk/aws_ecs_patterns/__init__.py +52 -12
- aws_cdk/aws_eks/__init__.py +27 -25
- aws_cdk/aws_elasticloadbalancing/__init__.py +6 -9
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +363 -62
- aws_cdk/aws_emr/__init__.py +7 -4
- aws_cdk/aws_entityresolution/__init__.py +91 -64
- aws_cdk/aws_fsx/__init__.py +7 -7
- aws_cdk/aws_glue/__init__.py +137 -3
- aws_cdk/aws_iam/__init__.py +9 -10
- aws_cdk/aws_internetmonitor/__init__.py +85 -0
- aws_cdk/aws_iotsitewise/__init__.py +208 -198
- aws_cdk/aws_iotwireless/__init__.py +6 -5
- aws_cdk/aws_kafkaconnect/__init__.py +1237 -162
- aws_cdk/aws_kendra/__init__.py +34 -24
- aws_cdk/aws_kinesisanalytics/__init__.py +37 -37
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +37 -37
- aws_cdk/aws_kinesisfirehose/__init__.py +6 -2
- aws_cdk/aws_lambda/__init__.py +16 -16
- aws_cdk/aws_msk/__init__.py +88 -0
- aws_cdk/aws_opensearchservice/__init__.py +61 -18
- aws_cdk/aws_pinpoint/__init__.py +42 -0
- aws_cdk/aws_rds/__init__.py +1292 -216
- aws_cdk/aws_redshift/__init__.py +6 -3
- aws_cdk/aws_redshiftserverless/__init__.py +0 -157
- aws_cdk/aws_sagemaker/__init__.py +29 -9
- aws_cdk/aws_shield/__init__.py +7 -8
- aws_cdk/aws_ssm/__init__.py +15 -12
- aws_cdk/aws_stepfunctions_tasks/__init__.py +476 -0
- aws_cdk/aws_synthetics/__init__.py +74 -14
- aws_cdk/aws_transfer/__init__.py +4 -3
- aws_cdk/aws_wafv2/__init__.py +516 -42
- aws_cdk/cx_api/__init__.py +34 -0
- {aws_cdk_lib-2.132.1.dist-info → aws_cdk_lib-2.134.0.dist-info}/METADATA +2 -2
- {aws_cdk_lib-2.132.1.dist-info → aws_cdk_lib-2.134.0.dist-info}/RECORD +69 -69
- {aws_cdk_lib-2.132.1.dist-info → aws_cdk_lib-2.134.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.132.1.dist-info → aws_cdk_lib-2.134.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.132.1.dist-info → aws_cdk_lib-2.134.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.132.1.dist-info → aws_cdk_lib-2.134.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_glue/__init__.py
CHANGED
|
@@ -1474,6 +1474,10 @@ class CfnCrawler(
|
|
|
1474
1474
|
crawler_security_configuration="crawlerSecurityConfiguration",
|
|
1475
1475
|
database_name="databaseName",
|
|
1476
1476
|
description="description",
|
|
1477
|
+
lake_formation_configuration=glue.CfnCrawler.LakeFormationConfigurationProperty(
|
|
1478
|
+
account_id="accountId",
|
|
1479
|
+
use_lake_formation_credentials=False
|
|
1480
|
+
),
|
|
1477
1481
|
name="name",
|
|
1478
1482
|
recrawl_policy=glue.CfnCrawler.RecrawlPolicyProperty(
|
|
1479
1483
|
recrawl_behavior="recrawlBehavior"
|
|
@@ -1502,6 +1506,7 @@ class CfnCrawler(
|
|
|
1502
1506
|
crawler_security_configuration: typing.Optional[builtins.str] = None,
|
|
1503
1507
|
database_name: typing.Optional[builtins.str] = None,
|
|
1504
1508
|
description: typing.Optional[builtins.str] = None,
|
|
1509
|
+
lake_formation_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCrawler.LakeFormationConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1505
1510
|
name: typing.Optional[builtins.str] = None,
|
|
1506
1511
|
recrawl_policy: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCrawler.RecrawlPolicyProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1507
1512
|
schedule: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCrawler.ScheduleProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -1519,6 +1524,7 @@ class CfnCrawler(
|
|
|
1519
1524
|
:param crawler_security_configuration: The name of the ``SecurityConfiguration`` structure to be used by this crawler.
|
|
1520
1525
|
:param database_name: The name of the database in which the crawler's output is stored.
|
|
1521
1526
|
:param description: A description of the crawler.
|
|
1527
|
+
:param lake_formation_configuration:
|
|
1522
1528
|
:param name: The name of the crawler.
|
|
1523
1529
|
:param recrawl_policy: A policy that specifies whether to crawl the entire dataset again, or to crawl only folders that were added since the last crawler run.
|
|
1524
1530
|
:param schedule: For scheduled crawlers, the schedule when the crawler runs.
|
|
@@ -1538,6 +1544,7 @@ class CfnCrawler(
|
|
|
1538
1544
|
crawler_security_configuration=crawler_security_configuration,
|
|
1539
1545
|
database_name=database_name,
|
|
1540
1546
|
description=description,
|
|
1547
|
+
lake_formation_configuration=lake_formation_configuration,
|
|
1541
1548
|
name=name,
|
|
1542
1549
|
recrawl_policy=recrawl_policy,
|
|
1543
1550
|
schedule=schedule,
|
|
@@ -1696,6 +1703,23 @@ class CfnCrawler(
|
|
|
1696
1703
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1697
1704
|
jsii.set(self, "description", value)
|
|
1698
1705
|
|
|
1706
|
+
@builtins.property
|
|
1707
|
+
@jsii.member(jsii_name="lakeFormationConfiguration")
|
|
1708
|
+
def lake_formation_configuration(
|
|
1709
|
+
self,
|
|
1710
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCrawler.LakeFormationConfigurationProperty"]]:
|
|
1711
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCrawler.LakeFormationConfigurationProperty"]], jsii.get(self, "lakeFormationConfiguration"))
|
|
1712
|
+
|
|
1713
|
+
@lake_formation_configuration.setter
|
|
1714
|
+
def lake_formation_configuration(
|
|
1715
|
+
self,
|
|
1716
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCrawler.LakeFormationConfigurationProperty"]],
|
|
1717
|
+
) -> None:
|
|
1718
|
+
if __debug__:
|
|
1719
|
+
type_hints = typing.get_type_hints(_typecheckingstub__e64ccabfbbc601ee6cf62caf919ec0f9d3c9ee5004117fe31886a6aa08cd135c)
|
|
1720
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1721
|
+
jsii.set(self, "lakeFormationConfiguration", value)
|
|
1722
|
+
|
|
1699
1723
|
@builtins.property
|
|
1700
1724
|
@jsii.member(jsii_name="name")
|
|
1701
1725
|
def name(self) -> typing.Optional[builtins.str]:
|
|
@@ -2272,6 +2296,78 @@ class CfnCrawler(
|
|
|
2272
2296
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
2273
2297
|
)
|
|
2274
2298
|
|
|
2299
|
+
@jsii.data_type(
|
|
2300
|
+
jsii_type="aws-cdk-lib.aws_glue.CfnCrawler.LakeFormationConfigurationProperty",
|
|
2301
|
+
jsii_struct_bases=[],
|
|
2302
|
+
name_mapping={
|
|
2303
|
+
"account_id": "accountId",
|
|
2304
|
+
"use_lake_formation_credentials": "useLakeFormationCredentials",
|
|
2305
|
+
},
|
|
2306
|
+
)
|
|
2307
|
+
class LakeFormationConfigurationProperty:
|
|
2308
|
+
def __init__(
|
|
2309
|
+
self,
|
|
2310
|
+
*,
|
|
2311
|
+
account_id: typing.Optional[builtins.str] = None,
|
|
2312
|
+
use_lake_formation_credentials: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
2313
|
+
) -> None:
|
|
2314
|
+
'''
|
|
2315
|
+
:param account_id:
|
|
2316
|
+
:param use_lake_formation_credentials:
|
|
2317
|
+
|
|
2318
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-crawler-lakeformationconfiguration.html
|
|
2319
|
+
:exampleMetadata: fixture=_generated
|
|
2320
|
+
|
|
2321
|
+
Example::
|
|
2322
|
+
|
|
2323
|
+
# The code below shows an example of how to instantiate this type.
|
|
2324
|
+
# The values are placeholders you should change.
|
|
2325
|
+
from aws_cdk import aws_glue as glue
|
|
2326
|
+
|
|
2327
|
+
lake_formation_configuration_property = glue.CfnCrawler.LakeFormationConfigurationProperty(
|
|
2328
|
+
account_id="accountId",
|
|
2329
|
+
use_lake_formation_credentials=False
|
|
2330
|
+
)
|
|
2331
|
+
'''
|
|
2332
|
+
if __debug__:
|
|
2333
|
+
type_hints = typing.get_type_hints(_typecheckingstub__00e61f68ec488853de383150c03873ed82cc7c24780e8804ee029b82e3540cb6)
|
|
2334
|
+
check_type(argname="argument account_id", value=account_id, expected_type=type_hints["account_id"])
|
|
2335
|
+
check_type(argname="argument use_lake_formation_credentials", value=use_lake_formation_credentials, expected_type=type_hints["use_lake_formation_credentials"])
|
|
2336
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
2337
|
+
if account_id is not None:
|
|
2338
|
+
self._values["account_id"] = account_id
|
|
2339
|
+
if use_lake_formation_credentials is not None:
|
|
2340
|
+
self._values["use_lake_formation_credentials"] = use_lake_formation_credentials
|
|
2341
|
+
|
|
2342
|
+
@builtins.property
|
|
2343
|
+
def account_id(self) -> typing.Optional[builtins.str]:
|
|
2344
|
+
'''
|
|
2345
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-crawler-lakeformationconfiguration.html#cfn-glue-crawler-lakeformationconfiguration-accountid
|
|
2346
|
+
'''
|
|
2347
|
+
result = self._values.get("account_id")
|
|
2348
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2349
|
+
|
|
2350
|
+
@builtins.property
|
|
2351
|
+
def use_lake_formation_credentials(
|
|
2352
|
+
self,
|
|
2353
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
2354
|
+
'''
|
|
2355
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-crawler-lakeformationconfiguration.html#cfn-glue-crawler-lakeformationconfiguration-uselakeformationcredentials
|
|
2356
|
+
'''
|
|
2357
|
+
result = self._values.get("use_lake_formation_credentials")
|
|
2358
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
2359
|
+
|
|
2360
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2361
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2362
|
+
|
|
2363
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2364
|
+
return not (rhs == self)
|
|
2365
|
+
|
|
2366
|
+
def __repr__(self) -> str:
|
|
2367
|
+
return "LakeFormationConfigurationProperty(%s)" % ", ".join(
|
|
2368
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2369
|
+
)
|
|
2370
|
+
|
|
2275
2371
|
@jsii.data_type(
|
|
2276
2372
|
jsii_type="aws-cdk-lib.aws_glue.CfnCrawler.MongoDBTargetProperty",
|
|
2277
2373
|
jsii_struct_bases=[],
|
|
@@ -2905,6 +3001,7 @@ class CfnCrawler(
|
|
|
2905
3001
|
"crawler_security_configuration": "crawlerSecurityConfiguration",
|
|
2906
3002
|
"database_name": "databaseName",
|
|
2907
3003
|
"description": "description",
|
|
3004
|
+
"lake_formation_configuration": "lakeFormationConfiguration",
|
|
2908
3005
|
"name": "name",
|
|
2909
3006
|
"recrawl_policy": "recrawlPolicy",
|
|
2910
3007
|
"schedule": "schedule",
|
|
@@ -2924,6 +3021,7 @@ class CfnCrawlerProps:
|
|
|
2924
3021
|
crawler_security_configuration: typing.Optional[builtins.str] = None,
|
|
2925
3022
|
database_name: typing.Optional[builtins.str] = None,
|
|
2926
3023
|
description: typing.Optional[builtins.str] = None,
|
|
3024
|
+
lake_formation_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCrawler.LakeFormationConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2927
3025
|
name: typing.Optional[builtins.str] = None,
|
|
2928
3026
|
recrawl_policy: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCrawler.RecrawlPolicyProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2929
3027
|
schedule: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCrawler.ScheduleProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -2940,6 +3038,7 @@ class CfnCrawlerProps:
|
|
|
2940
3038
|
:param crawler_security_configuration: The name of the ``SecurityConfiguration`` structure to be used by this crawler.
|
|
2941
3039
|
:param database_name: The name of the database in which the crawler's output is stored.
|
|
2942
3040
|
:param description: A description of the crawler.
|
|
3041
|
+
:param lake_formation_configuration:
|
|
2943
3042
|
:param name: The name of the crawler.
|
|
2944
3043
|
:param recrawl_policy: A policy that specifies whether to crawl the entire dataset again, or to crawl only folders that were added since the last crawler run.
|
|
2945
3044
|
:param schedule: For scheduled crawlers, the schedule when the crawler runs.
|
|
@@ -3008,6 +3107,10 @@ class CfnCrawlerProps:
|
|
|
3008
3107
|
crawler_security_configuration="crawlerSecurityConfiguration",
|
|
3009
3108
|
database_name="databaseName",
|
|
3010
3109
|
description="description",
|
|
3110
|
+
lake_formation_configuration=glue.CfnCrawler.LakeFormationConfigurationProperty(
|
|
3111
|
+
account_id="accountId",
|
|
3112
|
+
use_lake_formation_credentials=False
|
|
3113
|
+
),
|
|
3011
3114
|
name="name",
|
|
3012
3115
|
recrawl_policy=glue.CfnCrawler.RecrawlPolicyProperty(
|
|
3013
3116
|
recrawl_behavior="recrawlBehavior"
|
|
@@ -3032,6 +3135,7 @@ class CfnCrawlerProps:
|
|
|
3032
3135
|
check_type(argname="argument crawler_security_configuration", value=crawler_security_configuration, expected_type=type_hints["crawler_security_configuration"])
|
|
3033
3136
|
check_type(argname="argument database_name", value=database_name, expected_type=type_hints["database_name"])
|
|
3034
3137
|
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
3138
|
+
check_type(argname="argument lake_formation_configuration", value=lake_formation_configuration, expected_type=type_hints["lake_formation_configuration"])
|
|
3035
3139
|
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
3036
3140
|
check_type(argname="argument recrawl_policy", value=recrawl_policy, expected_type=type_hints["recrawl_policy"])
|
|
3037
3141
|
check_type(argname="argument schedule", value=schedule, expected_type=type_hints["schedule"])
|
|
@@ -3052,6 +3156,8 @@ class CfnCrawlerProps:
|
|
|
3052
3156
|
self._values["database_name"] = database_name
|
|
3053
3157
|
if description is not None:
|
|
3054
3158
|
self._values["description"] = description
|
|
3159
|
+
if lake_formation_configuration is not None:
|
|
3160
|
+
self._values["lake_formation_configuration"] = lake_formation_configuration
|
|
3055
3161
|
if name is not None:
|
|
3056
3162
|
self._values["name"] = name
|
|
3057
3163
|
if recrawl_policy is not None:
|
|
@@ -3134,6 +3240,16 @@ class CfnCrawlerProps:
|
|
|
3134
3240
|
result = self._values.get("description")
|
|
3135
3241
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
3136
3242
|
|
|
3243
|
+
@builtins.property
|
|
3244
|
+
def lake_formation_configuration(
|
|
3245
|
+
self,
|
|
3246
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnCrawler.LakeFormationConfigurationProperty]]:
|
|
3247
|
+
'''
|
|
3248
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-crawler.html#cfn-glue-crawler-lakeformationconfiguration
|
|
3249
|
+
'''
|
|
3250
|
+
result = self._values.get("lake_formation_configuration")
|
|
3251
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnCrawler.LakeFormationConfigurationProperty]], result)
|
|
3252
|
+
|
|
3137
3253
|
@builtins.property
|
|
3138
3254
|
def name(self) -> typing.Optional[builtins.str]:
|
|
3139
3255
|
'''The name of the crawler.
|
|
@@ -13121,7 +13237,7 @@ class CfnTableOptimizer(
|
|
|
13121
13237
|
:param catalog_id: The catalog ID of the table.
|
|
13122
13238
|
:param database_name: The name of the database. For Hive compatibility, this is folded to lowercase when it is stored.
|
|
13123
13239
|
:param table_name: The table name. For Hive compatibility, this must be entirely lowercase.
|
|
13124
|
-
:param table_optimizer_configuration:
|
|
13240
|
+
:param table_optimizer_configuration: Specifies configuration details of a table optimizer.
|
|
13125
13241
|
:param type: The type of table optimizer. Currently, the only valid value is compaction.
|
|
13126
13242
|
'''
|
|
13127
13243
|
if __debug__:
|
|
@@ -13225,6 +13341,7 @@ class CfnTableOptimizer(
|
|
|
13225
13341
|
def table_optimizer_configuration(
|
|
13226
13342
|
self,
|
|
13227
13343
|
) -> typing.Union[_IResolvable_da3f097b, "CfnTableOptimizer.TableOptimizerConfigurationProperty"]:
|
|
13344
|
+
'''Specifies configuration details of a table optimizer.'''
|
|
13228
13345
|
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnTableOptimizer.TableOptimizerConfigurationProperty"], jsii.get(self, "tableOptimizerConfiguration"))
|
|
13229
13346
|
|
|
13230
13347
|
@table_optimizer_configuration.setter
|
|
@@ -13348,7 +13465,7 @@ class CfnTableOptimizerProps:
|
|
|
13348
13465
|
:param catalog_id: The catalog ID of the table.
|
|
13349
13466
|
:param database_name: The name of the database. For Hive compatibility, this is folded to lowercase when it is stored.
|
|
13350
13467
|
:param table_name: The table name. For Hive compatibility, this must be entirely lowercase.
|
|
13351
|
-
:param table_optimizer_configuration:
|
|
13468
|
+
:param table_optimizer_configuration: Specifies configuration details of a table optimizer.
|
|
13352
13469
|
:param type: The type of table optimizer. Currently, the only valid value is compaction.
|
|
13353
13470
|
|
|
13354
13471
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-tableoptimizer.html
|
|
@@ -13424,7 +13541,8 @@ class CfnTableOptimizerProps:
|
|
|
13424
13541
|
def table_optimizer_configuration(
|
|
13425
13542
|
self,
|
|
13426
13543
|
) -> typing.Union[_IResolvable_da3f097b, CfnTableOptimizer.TableOptimizerConfigurationProperty]:
|
|
13427
|
-
'''
|
|
13544
|
+
'''Specifies configuration details of a table optimizer.
|
|
13545
|
+
|
|
13428
13546
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-tableoptimizer.html#cfn-glue-tableoptimizer-tableoptimizerconfiguration
|
|
13429
13547
|
'''
|
|
13430
13548
|
result = self._values.get("table_optimizer_configuration")
|
|
@@ -15208,6 +15326,7 @@ def _typecheckingstub__ff9e598239ccebeecff8b5e3f5f0458f9de0c5c407db27837fb3122ad
|
|
|
15208
15326
|
crawler_security_configuration: typing.Optional[builtins.str] = None,
|
|
15209
15327
|
database_name: typing.Optional[builtins.str] = None,
|
|
15210
15328
|
description: typing.Optional[builtins.str] = None,
|
|
15329
|
+
lake_formation_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCrawler.LakeFormationConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15211
15330
|
name: typing.Optional[builtins.str] = None,
|
|
15212
15331
|
recrawl_policy: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCrawler.RecrawlPolicyProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15213
15332
|
schedule: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCrawler.ScheduleProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -15272,6 +15391,12 @@ def _typecheckingstub__55e97c90536e63620917a74b9e753f3ef37d2ba4cc78a367b3c2692a6
|
|
|
15272
15391
|
"""Type checking stubs"""
|
|
15273
15392
|
pass
|
|
15274
15393
|
|
|
15394
|
+
def _typecheckingstub__e64ccabfbbc601ee6cf62caf919ec0f9d3c9ee5004117fe31886a6aa08cd135c(
|
|
15395
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnCrawler.LakeFormationConfigurationProperty]],
|
|
15396
|
+
) -> None:
|
|
15397
|
+
"""Type checking stubs"""
|
|
15398
|
+
pass
|
|
15399
|
+
|
|
15275
15400
|
def _typecheckingstub__35986739065f4f5528fa36a3a4743b76eb0937d555e5d7ad917e107db84e9d92(
|
|
15276
15401
|
value: typing.Optional[builtins.str],
|
|
15277
15402
|
) -> None:
|
|
@@ -15355,6 +15480,14 @@ def _typecheckingstub__9cb27c7db73a5c6fa3740f2d4726f453641d40911229d3bb39f26c440
|
|
|
15355
15480
|
"""Type checking stubs"""
|
|
15356
15481
|
pass
|
|
15357
15482
|
|
|
15483
|
+
def _typecheckingstub__00e61f68ec488853de383150c03873ed82cc7c24780e8804ee029b82e3540cb6(
|
|
15484
|
+
*,
|
|
15485
|
+
account_id: typing.Optional[builtins.str] = None,
|
|
15486
|
+
use_lake_formation_credentials: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
15487
|
+
) -> None:
|
|
15488
|
+
"""Type checking stubs"""
|
|
15489
|
+
pass
|
|
15490
|
+
|
|
15358
15491
|
def _typecheckingstub__b27a374f7da5948658852ac367f177b833b9e06c48e0a246c211a7d7ede3af94(
|
|
15359
15492
|
*,
|
|
15360
15493
|
connection_name: typing.Optional[builtins.str] = None,
|
|
@@ -15419,6 +15552,7 @@ def _typecheckingstub__51125dcaf0f55fdaefa50d6b9c05a6e431008538b8ab24abc0fbe126f
|
|
|
15419
15552
|
crawler_security_configuration: typing.Optional[builtins.str] = None,
|
|
15420
15553
|
database_name: typing.Optional[builtins.str] = None,
|
|
15421
15554
|
description: typing.Optional[builtins.str] = None,
|
|
15555
|
+
lake_formation_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCrawler.LakeFormationConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15422
15556
|
name: typing.Optional[builtins.str] = None,
|
|
15423
15557
|
recrawl_policy: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCrawler.RecrawlPolicyProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15424
15558
|
schedule: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCrawler.ScheduleProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
aws_cdk/aws_iam/__init__.py
CHANGED
|
@@ -2294,7 +2294,7 @@ class CfnManagedPolicy(
|
|
|
2294
2294
|
:param description: A friendly description of the policy. Typically used to store information about the permissions defined in the policy. For example, "Grants access to production DynamoDB tables." The policy description is immutable. After a value is assigned, it cannot be changed.
|
|
2295
2295
|
:param groups: The name (friendly name, not ARN) of the group to attach the policy to. This parameter allows (through its `regex pattern <https://docs.aws.amazon.com/http://wikipedia.org/wiki/regex>`_ ) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
|
|
2296
2296
|
:param managed_policy_name: The friendly name of the policy. .. epigraph:: If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name. If you specify a name, you must specify the ``CAPABILITY_NAMED_IAM`` value to acknowledge your template's capabilities. For more information, see `Acknowledging IAM Resources in AWS CloudFormation Templates <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-template.html#using-iam-capabilities>`_ . .. epigraph:: Naming an IAM resource can cause an unrecoverable error if you reuse the same template in multiple Regions. To prevent this, we recommend using ``Fn::Join`` and ``AWS::Region`` to create a Region-specific name, as in the following example: ``{"Fn::Join": ["", [{"Ref": "AWS::Region"}, {"Ref": "MyResourceName"}]]}`` .
|
|
2297
|
-
:param path: The path for the policy. For more information about paths, see `IAM identifiers <https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html>`_ in the *IAM User Guide* . This parameter is optional. If it is not included, it defaults to a slash (/). This parameter allows (through its `regex pattern <https://docs.aws.amazon.com/http://wikipedia.org/wiki/regex>`_ ) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes. In addition, it can contain any ASCII character from the ! ( ``\\u0021`` ) through the DEL character ( ``\\u007F`` ), including most punctuation characters, digits, and upper and lowercased letters. .. epigraph:: You cannot use an asterisk (*) in the path name.
|
|
2297
|
+
:param path: The path for the policy. For more information about paths, see `IAM identifiers <https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html>`_ in the *IAM User Guide* . This parameter is optional. If it is not included, it defaults to a slash (/). This parameter allows (through its `regex pattern <https://docs.aws.amazon.com/http://wikipedia.org/wiki/regex>`_ ) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes. In addition, it can contain any ASCII character from the ! ( ``\\u0021`` ) through the DEL character ( ``\\u007F`` ), including most punctuation characters, digits, and upper and lowercased letters. .. epigraph:: You cannot use an asterisk (*) in the path name. Default: - "/"
|
|
2298
2298
|
:param roles: The name (friendly name, not ARN) of the role to attach the policy to. This parameter allows (per its `regex pattern <https://docs.aws.amazon.com/http://wikipedia.org/wiki/regex>`_ ) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@- .. epigraph:: If an external policy (such as ``AWS::IAM::Policy`` or ``AWS::IAM::ManagedPolicy`` ) has a ``Ref`` to a role and if a resource (such as ``AWS::ECS::Service`` ) also has a ``Ref`` to the same role, add a ``DependsOn`` attribute to the resource to make the resource depend on the external policy. This dependency ensures that the role's policy is available throughout the resource's lifecycle. For example, when you delete a stack with an ``AWS::ECS::Service`` resource, the ``DependsOn`` attribute ensures that AWS CloudFormation deletes the ``AWS::ECS::Service`` resource before deleting its role's policy.
|
|
2299
2299
|
:param users: The name (friendly name, not ARN) of the IAM user to attach the policy to. This parameter allows (through its `regex pattern <https://docs.aws.amazon.com/http://wikipedia.org/wiki/regex>`_ ) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
|
|
2300
2300
|
'''
|
|
@@ -2552,7 +2552,7 @@ class CfnManagedPolicyProps:
|
|
|
2552
2552
|
:param description: A friendly description of the policy. Typically used to store information about the permissions defined in the policy. For example, "Grants access to production DynamoDB tables." The policy description is immutable. After a value is assigned, it cannot be changed.
|
|
2553
2553
|
:param groups: The name (friendly name, not ARN) of the group to attach the policy to. This parameter allows (through its `regex pattern <https://docs.aws.amazon.com/http://wikipedia.org/wiki/regex>`_ ) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
|
|
2554
2554
|
:param managed_policy_name: The friendly name of the policy. .. epigraph:: If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name. If you specify a name, you must specify the ``CAPABILITY_NAMED_IAM`` value to acknowledge your template's capabilities. For more information, see `Acknowledging IAM Resources in AWS CloudFormation Templates <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-template.html#using-iam-capabilities>`_ . .. epigraph:: Naming an IAM resource can cause an unrecoverable error if you reuse the same template in multiple Regions. To prevent this, we recommend using ``Fn::Join`` and ``AWS::Region`` to create a Region-specific name, as in the following example: ``{"Fn::Join": ["", [{"Ref": "AWS::Region"}, {"Ref": "MyResourceName"}]]}`` .
|
|
2555
|
-
:param path: The path for the policy. For more information about paths, see `IAM identifiers <https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html>`_ in the *IAM User Guide* . This parameter is optional. If it is not included, it defaults to a slash (/). This parameter allows (through its `regex pattern <https://docs.aws.amazon.com/http://wikipedia.org/wiki/regex>`_ ) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes. In addition, it can contain any ASCII character from the ! ( ``\\u0021`` ) through the DEL character ( ``\\u007F`` ), including most punctuation characters, digits, and upper and lowercased letters. .. epigraph:: You cannot use an asterisk (*) in the path name.
|
|
2555
|
+
:param path: The path for the policy. For more information about paths, see `IAM identifiers <https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html>`_ in the *IAM User Guide* . This parameter is optional. If it is not included, it defaults to a slash (/). This parameter allows (through its `regex pattern <https://docs.aws.amazon.com/http://wikipedia.org/wiki/regex>`_ ) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes. In addition, it can contain any ASCII character from the ! ( ``\\u0021`` ) through the DEL character ( ``\\u007F`` ), including most punctuation characters, digits, and upper and lowercased letters. .. epigraph:: You cannot use an asterisk (*) in the path name. Default: - "/"
|
|
2556
2556
|
:param roles: The name (friendly name, not ARN) of the role to attach the policy to. This parameter allows (per its `regex pattern <https://docs.aws.amazon.com/http://wikipedia.org/wiki/regex>`_ ) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@- .. epigraph:: If an external policy (such as ``AWS::IAM::Policy`` or ``AWS::IAM::ManagedPolicy`` ) has a ``Ref`` to a role and if a resource (such as ``AWS::ECS::Service`` ) also has a ``Ref`` to the same role, add a ``DependsOn`` attribute to the resource to make the resource depend on the external policy. This dependency ensures that the role's policy is available throughout the resource's lifecycle. For example, when you delete a stack with an ``AWS::ECS::Service`` resource, the ``DependsOn`` attribute ensures that AWS CloudFormation deletes the ``AWS::ECS::Service`` resource before deleting its role's policy.
|
|
2557
2557
|
:param users: The name (friendly name, not ARN) of the IAM user to attach the policy to. This parameter allows (through its `regex pattern <https://docs.aws.amazon.com/http://wikipedia.org/wiki/regex>`_ ) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
|
|
2558
2558
|
|
|
@@ -2681,6 +2681,8 @@ class CfnManagedPolicyProps:
|
|
|
2681
2681
|
|
|
2682
2682
|
You cannot use an asterisk (*) in the path name.
|
|
2683
2683
|
|
|
2684
|
+
:default: - "/"
|
|
2685
|
+
|
|
2684
2686
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-managedpolicy.html#cfn-iam-managedpolicy-path
|
|
2685
2687
|
'''
|
|
2686
2688
|
result = self._values.get("path")
|
|
@@ -9253,11 +9255,7 @@ class Policy(
|
|
|
9253
9255
|
metaclass=jsii.JSIIMeta,
|
|
9254
9256
|
jsii_type="aws-cdk-lib.aws_iam.Policy",
|
|
9255
9257
|
):
|
|
9256
|
-
'''The AWS::IAM::Policy resource associates an IAM policy with IAM users, roles, or groups.
|
|
9257
|
-
|
|
9258
|
-
For more information about IAM policies, see `Overview of IAM
|
|
9259
|
-
Policies <http://docs.aws.amazon.com/IAM/latest/UserGuide/policies_overview.html>`_
|
|
9260
|
-
in the IAM User Guide guide.
|
|
9258
|
+
'''The AWS::IAM::Policy resource associates an `inline <https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#inline>`_ IAM policy with IAM users, roles, or groups. For more information about IAM policies, see `Overview of IAM Policies <http://docs.aws.amazon.com/IAM/latest/UserGuide/policies_overview.html>`_ in the IAM User Guide guide.
|
|
9261
9259
|
|
|
9262
9260
|
:exampleMetadata: infused
|
|
9263
9261
|
|
|
@@ -9298,7 +9296,7 @@ class Policy(
|
|
|
9298
9296
|
:param scope: -
|
|
9299
9297
|
:param id: -
|
|
9300
9298
|
:param document: Initial PolicyDocument to use for this Policy. If omited, any ``PolicyStatement`` provided in the ``statements`` property will be applied against the empty default ``PolicyDocument``. Default: - An empty policy.
|
|
9301
|
-
:param force: Force creation of an ``AWS::IAM::Policy``. Unless set to ``true``, this ``Policy`` construct will not materialize to an ``AWS::IAM::Policy`` CloudFormation resource in case it would have no effect (for example, if it remains unattached to an IAM identity or if it has no statements). This is generally desired behavior, since it prevents creating invalid--and hence undeployable--CloudFormation templates. In cases where you know the policy must be created and it is actually an error if no statements have been added to it, you can set this to ``true``. Default: false
|
|
9299
|
+
:param force: Force creation of an ``AWS::IAM::Policy``. Unless set to ``true``, this ``Policy`` construct will not materialize to an ``AWS::IAM::Policy`` CloudFormation resource in case it would have no effect (for example, if it remains unattached to an IAM identity or if it has no statements). This is generally desired behavior, since it prevents creating invalid--and hence undeployable--CloudFormation templates. In cases where you know the policy must be created and it is actually an error if no statements have been added to it or it remains unattached to an IAM identity, you can set this to ``true``. Default: false
|
|
9302
9300
|
:param groups: Groups to attach this policy to. You can also use ``attachToGroup(group)`` to attach this policy to a group. Default: - No groups.
|
|
9303
9301
|
:param policy_name: The name of the policy. If you specify multiple policies for an entity, specify unique names. For example, if you specify a list of policies for an IAM role, each policy must have a unique name. Default: - Uses the logical ID of the policy resource, which is ensured to be unique within the stack.
|
|
9304
9302
|
:param roles: Roles to attach this policy to. You can also use ``attachToRole(role)`` to attach this policy to a role. Default: - No roles.
|
|
@@ -9705,7 +9703,7 @@ class PolicyProps:
|
|
|
9705
9703
|
'''Properties for defining an IAM inline policy document.
|
|
9706
9704
|
|
|
9707
9705
|
:param document: Initial PolicyDocument to use for this Policy. If omited, any ``PolicyStatement`` provided in the ``statements`` property will be applied against the empty default ``PolicyDocument``. Default: - An empty policy.
|
|
9708
|
-
:param force: Force creation of an ``AWS::IAM::Policy``. Unless set to ``true``, this ``Policy`` construct will not materialize to an ``AWS::IAM::Policy`` CloudFormation resource in case it would have no effect (for example, if it remains unattached to an IAM identity or if it has no statements). This is generally desired behavior, since it prevents creating invalid--and hence undeployable--CloudFormation templates. In cases where you know the policy must be created and it is actually an error if no statements have been added to it, you can set this to ``true``. Default: false
|
|
9706
|
+
:param force: Force creation of an ``AWS::IAM::Policy``. Unless set to ``true``, this ``Policy`` construct will not materialize to an ``AWS::IAM::Policy`` CloudFormation resource in case it would have no effect (for example, if it remains unattached to an IAM identity or if it has no statements). This is generally desired behavior, since it prevents creating invalid--and hence undeployable--CloudFormation templates. In cases where you know the policy must be created and it is actually an error if no statements have been added to it or it remains unattached to an IAM identity, you can set this to ``true``. Default: false
|
|
9709
9707
|
:param groups: Groups to attach this policy to. You can also use ``attachToGroup(group)`` to attach this policy to a group. Default: - No groups.
|
|
9710
9708
|
:param policy_name: The name of the policy. If you specify multiple policies for an entity, specify unique names. For example, if you specify a list of policies for an IAM role, each policy must have a unique name. Default: - Uses the logical ID of the policy resource, which is ensured to be unique within the stack.
|
|
9711
9709
|
:param roles: Roles to attach this policy to. You can also use ``attachToRole(role)`` to attach this policy to a role. Default: - No roles.
|
|
@@ -9783,7 +9781,8 @@ class PolicyProps:
|
|
|
9783
9781
|
creating invalid--and hence undeployable--CloudFormation templates.
|
|
9784
9782
|
|
|
9785
9783
|
In cases where you know the policy must be created and it is actually
|
|
9786
|
-
an error if no statements have been added to it
|
|
9784
|
+
an error if no statements have been added to it or it remains unattached to
|
|
9785
|
+
an IAM identity, you can set this to ``true``.
|
|
9787
9786
|
|
|
9788
9787
|
:default: false
|
|
9789
9788
|
'''
|
|
@@ -93,6 +93,7 @@ class CfnMonitor(
|
|
|
93
93
|
),
|
|
94
94
|
performance_score_threshold=123
|
|
95
95
|
),
|
|
96
|
+
include_linked_accounts=False,
|
|
96
97
|
internet_measurements_log_delivery=internetmonitor.CfnMonitor.InternetMeasurementsLogDeliveryProperty(
|
|
97
98
|
s3_config=internetmonitor.CfnMonitor.S3ConfigProperty(
|
|
98
99
|
bucket_name="bucketName",
|
|
@@ -100,6 +101,7 @@ class CfnMonitor(
|
|
|
100
101
|
log_delivery_status="logDeliveryStatus"
|
|
101
102
|
)
|
|
102
103
|
),
|
|
104
|
+
linked_account_id="linkedAccountId",
|
|
103
105
|
max_city_networks_to_monitor=123,
|
|
104
106
|
resources=["resources"],
|
|
105
107
|
resources_to_add=["resourcesToAdd"],
|
|
@@ -120,7 +122,9 @@ class CfnMonitor(
|
|
|
120
122
|
*,
|
|
121
123
|
monitor_name: builtins.str,
|
|
122
124
|
health_events_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnMonitor.HealthEventsConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
125
|
+
include_linked_accounts: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
123
126
|
internet_measurements_log_delivery: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnMonitor.InternetMeasurementsLogDeliveryProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
127
|
+
linked_account_id: typing.Optional[builtins.str] = None,
|
|
124
128
|
max_city_networks_to_monitor: typing.Optional[jsii.Number] = None,
|
|
125
129
|
resources: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
126
130
|
resources_to_add: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -134,7 +138,9 @@ class CfnMonitor(
|
|
|
134
138
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
135
139
|
:param monitor_name: The name of the monitor. A monitor name can contain only alphanumeric characters, dashes (-), periods (.), and underscores (_).
|
|
136
140
|
:param health_events_config: A complex type with the configuration information that determines the threshold and other conditions for when Internet Monitor creates a health event for an overall performance or availability issue, across an application's geographies. Defines the percentages, for overall performance scores and availability scores for an application, that are the thresholds for when Amazon CloudWatch Internet Monitor creates a health event. You can override the defaults to set a custom threshold for overall performance or availability scores, or both. You can also set thresholds for local health scores,, where Internet Monitor creates a health event when scores cross a threshold for one or more city-networks, in addition to creating an event when an overall score crosses a threshold. If you don't set a health event threshold, the default value is 95%. For local thresholds, you also set a minimum percentage of overall traffic that is impacted by an issue before Internet Monitor creates an event. In addition, you can disable local thresholds, for performance scores, availability scores, or both. For more information, see `Change health event thresholds <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-IM-overview.html#IMUpdateThresholdFromOverview>`_ in the Internet Monitor section of the *CloudWatch User Guide* .
|
|
141
|
+
:param include_linked_accounts:
|
|
137
142
|
:param internet_measurements_log_delivery: Publish internet measurements for a monitor for all city-networks (up to the 500,000 service limit) to another location, such as an Amazon S3 bucket. Measurements are also published to Amazon CloudWatch Logs for the first 500 (by traffic volume) city-networks (client locations and ASNs, typically internet service providers or ISPs).
|
|
143
|
+
:param linked_account_id:
|
|
138
144
|
:param max_city_networks_to_monitor: The maximum number of city-networks to monitor for your resources. A city-network is the location (city) where clients access your application resources from and the network, such as an internet service provider, that clients access the resources through. For more information, see `Choosing a city-network maximum value <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/IMCityNetworksMaximum.html>`_ in *Using Amazon CloudWatch Internet Monitor* .
|
|
139
145
|
:param resources: The resources that have been added for the monitor, listed by their Amazon Resource Names (ARNs). Use this option to add or remove resources when making an update. .. epigraph:: Be aware that if you include content in the ``Resources`` field when you update a monitor, the ``ResourcesToAdd`` and ``ResourcesToRemove`` fields must be empty.
|
|
140
146
|
:param resources_to_add: The resources to include in a monitor, which you provide as a set of Amazon Resource Names (ARNs). Resources can be Amazon Virtual Private Cloud VPCs, Network Load Balancers (NLBs), Amazon CloudFront distributions, or Amazon WorkSpaces directories. You can add a combination of VPCs and CloudFront distributions, or you can add WorkSpaces directories, or you can add NLBs. You can't add NLBs or WorkSpaces directories together with any other resources. If you add only VPC resources, at least one VPC must have an Internet Gateway attached to it, to make sure that it has internet connectivity. .. epigraph:: You can specify this field for a monitor update only if the ``Resources`` field is empty.
|
|
@@ -150,7 +156,9 @@ class CfnMonitor(
|
|
|
150
156
|
props = CfnMonitorProps(
|
|
151
157
|
monitor_name=monitor_name,
|
|
152
158
|
health_events_config=health_events_config,
|
|
159
|
+
include_linked_accounts=include_linked_accounts,
|
|
153
160
|
internet_measurements_log_delivery=internet_measurements_log_delivery,
|
|
161
|
+
linked_account_id=linked_account_id,
|
|
154
162
|
max_city_networks_to_monitor=max_city_networks_to_monitor,
|
|
155
163
|
resources=resources,
|
|
156
164
|
resources_to_add=resources_to_add,
|
|
@@ -281,6 +289,23 @@ class CfnMonitor(
|
|
|
281
289
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
282
290
|
jsii.set(self, "healthEventsConfig", value)
|
|
283
291
|
|
|
292
|
+
@builtins.property
|
|
293
|
+
@jsii.member(jsii_name="includeLinkedAccounts")
|
|
294
|
+
def include_linked_accounts(
|
|
295
|
+
self,
|
|
296
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
297
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], jsii.get(self, "includeLinkedAccounts"))
|
|
298
|
+
|
|
299
|
+
@include_linked_accounts.setter
|
|
300
|
+
def include_linked_accounts(
|
|
301
|
+
self,
|
|
302
|
+
value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
|
|
303
|
+
) -> None:
|
|
304
|
+
if __debug__:
|
|
305
|
+
type_hints = typing.get_type_hints(_typecheckingstub__80a74cd4b87837dd8170028ab147883219b1546ce841f056d4ef2aa4f1fd501b)
|
|
306
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
307
|
+
jsii.set(self, "includeLinkedAccounts", value)
|
|
308
|
+
|
|
284
309
|
@builtins.property
|
|
285
310
|
@jsii.member(jsii_name="internetMeasurementsLogDelivery")
|
|
286
311
|
def internet_measurements_log_delivery(
|
|
@@ -299,6 +324,18 @@ class CfnMonitor(
|
|
|
299
324
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
300
325
|
jsii.set(self, "internetMeasurementsLogDelivery", value)
|
|
301
326
|
|
|
327
|
+
@builtins.property
|
|
328
|
+
@jsii.member(jsii_name="linkedAccountId")
|
|
329
|
+
def linked_account_id(self) -> typing.Optional[builtins.str]:
|
|
330
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "linkedAccountId"))
|
|
331
|
+
|
|
332
|
+
@linked_account_id.setter
|
|
333
|
+
def linked_account_id(self, value: typing.Optional[builtins.str]) -> None:
|
|
334
|
+
if __debug__:
|
|
335
|
+
type_hints = typing.get_type_hints(_typecheckingstub__d352b84b30decfade63d633da845bdcbfabe043a48b4897bbe891f6584cf0e2b)
|
|
336
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
337
|
+
jsii.set(self, "linkedAccountId", value)
|
|
338
|
+
|
|
302
339
|
@builtins.property
|
|
303
340
|
@jsii.member(jsii_name="maxCityNetworksToMonitor")
|
|
304
341
|
def max_city_networks_to_monitor(self) -> typing.Optional[jsii.Number]:
|
|
@@ -786,7 +823,9 @@ class CfnMonitor(
|
|
|
786
823
|
name_mapping={
|
|
787
824
|
"monitor_name": "monitorName",
|
|
788
825
|
"health_events_config": "healthEventsConfig",
|
|
826
|
+
"include_linked_accounts": "includeLinkedAccounts",
|
|
789
827
|
"internet_measurements_log_delivery": "internetMeasurementsLogDelivery",
|
|
828
|
+
"linked_account_id": "linkedAccountId",
|
|
790
829
|
"max_city_networks_to_monitor": "maxCityNetworksToMonitor",
|
|
791
830
|
"resources": "resources",
|
|
792
831
|
"resources_to_add": "resourcesToAdd",
|
|
@@ -802,7 +841,9 @@ class CfnMonitorProps:
|
|
|
802
841
|
*,
|
|
803
842
|
monitor_name: builtins.str,
|
|
804
843
|
health_events_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnMonitor.HealthEventsConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
844
|
+
include_linked_accounts: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
805
845
|
internet_measurements_log_delivery: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnMonitor.InternetMeasurementsLogDeliveryProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
846
|
+
linked_account_id: typing.Optional[builtins.str] = None,
|
|
806
847
|
max_city_networks_to_monitor: typing.Optional[jsii.Number] = None,
|
|
807
848
|
resources: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
808
849
|
resources_to_add: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -815,7 +856,9 @@ class CfnMonitorProps:
|
|
|
815
856
|
|
|
816
857
|
:param monitor_name: The name of the monitor. A monitor name can contain only alphanumeric characters, dashes (-), periods (.), and underscores (_).
|
|
817
858
|
:param health_events_config: A complex type with the configuration information that determines the threshold and other conditions for when Internet Monitor creates a health event for an overall performance or availability issue, across an application's geographies. Defines the percentages, for overall performance scores and availability scores for an application, that are the thresholds for when Amazon CloudWatch Internet Monitor creates a health event. You can override the defaults to set a custom threshold for overall performance or availability scores, or both. You can also set thresholds for local health scores,, where Internet Monitor creates a health event when scores cross a threshold for one or more city-networks, in addition to creating an event when an overall score crosses a threshold. If you don't set a health event threshold, the default value is 95%. For local thresholds, you also set a minimum percentage of overall traffic that is impacted by an issue before Internet Monitor creates an event. In addition, you can disable local thresholds, for performance scores, availability scores, or both. For more information, see `Change health event thresholds <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-IM-overview.html#IMUpdateThresholdFromOverview>`_ in the Internet Monitor section of the *CloudWatch User Guide* .
|
|
859
|
+
:param include_linked_accounts:
|
|
818
860
|
:param internet_measurements_log_delivery: Publish internet measurements for a monitor for all city-networks (up to the 500,000 service limit) to another location, such as an Amazon S3 bucket. Measurements are also published to Amazon CloudWatch Logs for the first 500 (by traffic volume) city-networks (client locations and ASNs, typically internet service providers or ISPs).
|
|
861
|
+
:param linked_account_id:
|
|
819
862
|
:param max_city_networks_to_monitor: The maximum number of city-networks to monitor for your resources. A city-network is the location (city) where clients access your application resources from and the network, such as an internet service provider, that clients access the resources through. For more information, see `Choosing a city-network maximum value <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/IMCityNetworksMaximum.html>`_ in *Using Amazon CloudWatch Internet Monitor* .
|
|
820
863
|
:param resources: The resources that have been added for the monitor, listed by their Amazon Resource Names (ARNs). Use this option to add or remove resources when making an update. .. epigraph:: Be aware that if you include content in the ``Resources`` field when you update a monitor, the ``ResourcesToAdd`` and ``ResourcesToRemove`` fields must be empty.
|
|
821
864
|
:param resources_to_add: The resources to include in a monitor, which you provide as a set of Amazon Resource Names (ARNs). Resources can be Amazon Virtual Private Cloud VPCs, Network Load Balancers (NLBs), Amazon CloudFront distributions, or Amazon WorkSpaces directories. You can add a combination of VPCs and CloudFront distributions, or you can add WorkSpaces directories, or you can add NLBs. You can't add NLBs or WorkSpaces directories together with any other resources. If you add only VPC resources, at least one VPC must have an Internet Gateway attached to it, to make sure that it has internet connectivity. .. epigraph:: You can specify this field for a monitor update only if the ``Resources`` field is empty.
|
|
@@ -851,6 +894,7 @@ class CfnMonitorProps:
|
|
|
851
894
|
),
|
|
852
895
|
performance_score_threshold=123
|
|
853
896
|
),
|
|
897
|
+
include_linked_accounts=False,
|
|
854
898
|
internet_measurements_log_delivery=internetmonitor.CfnMonitor.InternetMeasurementsLogDeliveryProperty(
|
|
855
899
|
s3_config=internetmonitor.CfnMonitor.S3ConfigProperty(
|
|
856
900
|
bucket_name="bucketName",
|
|
@@ -858,6 +902,7 @@ class CfnMonitorProps:
|
|
|
858
902
|
log_delivery_status="logDeliveryStatus"
|
|
859
903
|
)
|
|
860
904
|
),
|
|
905
|
+
linked_account_id="linkedAccountId",
|
|
861
906
|
max_city_networks_to_monitor=123,
|
|
862
907
|
resources=["resources"],
|
|
863
908
|
resources_to_add=["resourcesToAdd"],
|
|
@@ -874,7 +919,9 @@ class CfnMonitorProps:
|
|
|
874
919
|
type_hints = typing.get_type_hints(_typecheckingstub__a592873878a3205128bdbf7757cbce3b6e97783b1a68d0a1b5510ffc9f9f1fd8)
|
|
875
920
|
check_type(argname="argument monitor_name", value=monitor_name, expected_type=type_hints["monitor_name"])
|
|
876
921
|
check_type(argname="argument health_events_config", value=health_events_config, expected_type=type_hints["health_events_config"])
|
|
922
|
+
check_type(argname="argument include_linked_accounts", value=include_linked_accounts, expected_type=type_hints["include_linked_accounts"])
|
|
877
923
|
check_type(argname="argument internet_measurements_log_delivery", value=internet_measurements_log_delivery, expected_type=type_hints["internet_measurements_log_delivery"])
|
|
924
|
+
check_type(argname="argument linked_account_id", value=linked_account_id, expected_type=type_hints["linked_account_id"])
|
|
878
925
|
check_type(argname="argument max_city_networks_to_monitor", value=max_city_networks_to_monitor, expected_type=type_hints["max_city_networks_to_monitor"])
|
|
879
926
|
check_type(argname="argument resources", value=resources, expected_type=type_hints["resources"])
|
|
880
927
|
check_type(argname="argument resources_to_add", value=resources_to_add, expected_type=type_hints["resources_to_add"])
|
|
@@ -887,8 +934,12 @@ class CfnMonitorProps:
|
|
|
887
934
|
}
|
|
888
935
|
if health_events_config is not None:
|
|
889
936
|
self._values["health_events_config"] = health_events_config
|
|
937
|
+
if include_linked_accounts is not None:
|
|
938
|
+
self._values["include_linked_accounts"] = include_linked_accounts
|
|
890
939
|
if internet_measurements_log_delivery is not None:
|
|
891
940
|
self._values["internet_measurements_log_delivery"] = internet_measurements_log_delivery
|
|
941
|
+
if linked_account_id is not None:
|
|
942
|
+
self._values["linked_account_id"] = linked_account_id
|
|
892
943
|
if max_city_networks_to_monitor is not None:
|
|
893
944
|
self._values["max_city_networks_to_monitor"] = max_city_networks_to_monitor
|
|
894
945
|
if resources is not None:
|
|
@@ -937,6 +988,16 @@ class CfnMonitorProps:
|
|
|
937
988
|
result = self._values.get("health_events_config")
|
|
938
989
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnMonitor.HealthEventsConfigProperty]], result)
|
|
939
990
|
|
|
991
|
+
@builtins.property
|
|
992
|
+
def include_linked_accounts(
|
|
993
|
+
self,
|
|
994
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
995
|
+
'''
|
|
996
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-internetmonitor-monitor.html#cfn-internetmonitor-monitor-includelinkedaccounts
|
|
997
|
+
'''
|
|
998
|
+
result = self._values.get("include_linked_accounts")
|
|
999
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
1000
|
+
|
|
940
1001
|
@builtins.property
|
|
941
1002
|
def internet_measurements_log_delivery(
|
|
942
1003
|
self,
|
|
@@ -950,6 +1011,14 @@ class CfnMonitorProps:
|
|
|
950
1011
|
result = self._values.get("internet_measurements_log_delivery")
|
|
951
1012
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnMonitor.InternetMeasurementsLogDeliveryProperty]], result)
|
|
952
1013
|
|
|
1014
|
+
@builtins.property
|
|
1015
|
+
def linked_account_id(self) -> typing.Optional[builtins.str]:
|
|
1016
|
+
'''
|
|
1017
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-internetmonitor-monitor.html#cfn-internetmonitor-monitor-linkedaccountid
|
|
1018
|
+
'''
|
|
1019
|
+
result = self._values.get("linked_account_id")
|
|
1020
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1021
|
+
|
|
953
1022
|
@builtins.property
|
|
954
1023
|
def max_city_networks_to_monitor(self) -> typing.Optional[jsii.Number]:
|
|
955
1024
|
'''The maximum number of city-networks to monitor for your resources.
|
|
@@ -1064,7 +1133,9 @@ def _typecheckingstub__b49625d902a7236b204a8a96b68b35647ded5da14fa0241503fe8aed7
|
|
|
1064
1133
|
*,
|
|
1065
1134
|
monitor_name: builtins.str,
|
|
1066
1135
|
health_events_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnMonitor.HealthEventsConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1136
|
+
include_linked_accounts: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
1067
1137
|
internet_measurements_log_delivery: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnMonitor.InternetMeasurementsLogDeliveryProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1138
|
+
linked_account_id: typing.Optional[builtins.str] = None,
|
|
1068
1139
|
max_city_networks_to_monitor: typing.Optional[jsii.Number] = None,
|
|
1069
1140
|
resources: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
1070
1141
|
resources_to_add: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -1100,12 +1171,24 @@ def _typecheckingstub__1fcad87a381a34c71141a2be73ac8e81c442bd9d4616b8a8a55279c77
|
|
|
1100
1171
|
"""Type checking stubs"""
|
|
1101
1172
|
pass
|
|
1102
1173
|
|
|
1174
|
+
def _typecheckingstub__80a74cd4b87837dd8170028ab147883219b1546ce841f056d4ef2aa4f1fd501b(
|
|
1175
|
+
value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
|
|
1176
|
+
) -> None:
|
|
1177
|
+
"""Type checking stubs"""
|
|
1178
|
+
pass
|
|
1179
|
+
|
|
1103
1180
|
def _typecheckingstub__edd584d7d64cd02983ca8858b15c31728e9294c416931001fc1a9ce5732ebad9(
|
|
1104
1181
|
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnMonitor.InternetMeasurementsLogDeliveryProperty]],
|
|
1105
1182
|
) -> None:
|
|
1106
1183
|
"""Type checking stubs"""
|
|
1107
1184
|
pass
|
|
1108
1185
|
|
|
1186
|
+
def _typecheckingstub__d352b84b30decfade63d633da845bdcbfabe043a48b4897bbe891f6584cf0e2b(
|
|
1187
|
+
value: typing.Optional[builtins.str],
|
|
1188
|
+
) -> None:
|
|
1189
|
+
"""Type checking stubs"""
|
|
1190
|
+
pass
|
|
1191
|
+
|
|
1109
1192
|
def _typecheckingstub__44b26920fe092fdfabe5783619b4c150b5a44928ea63b71966ac31bfc9220c93(
|
|
1110
1193
|
value: typing.Optional[jsii.Number],
|
|
1111
1194
|
) -> None:
|
|
@@ -1187,7 +1270,9 @@ def _typecheckingstub__a592873878a3205128bdbf7757cbce3b6e97783b1a68d0a1b5510ffc9
|
|
|
1187
1270
|
*,
|
|
1188
1271
|
monitor_name: builtins.str,
|
|
1189
1272
|
health_events_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnMonitor.HealthEventsConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1273
|
+
include_linked_accounts: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
1190
1274
|
internet_measurements_log_delivery: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnMonitor.InternetMeasurementsLogDeliveryProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1275
|
+
linked_account_id: typing.Optional[builtins.str] = None,
|
|
1191
1276
|
max_city_networks_to_monitor: typing.Optional[jsii.Number] = None,
|
|
1192
1277
|
resources: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
1193
1278
|
resources_to_add: typing.Optional[typing.Sequence[builtins.str]] = None,
|