aws-cdk-lib 2.216.0__py3-none-any.whl → 2.218.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 +60 -28
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.216.0.jsii.tgz → aws-cdk-lib@2.218.0.jsii.tgz} +0 -0
- aws_cdk/aws_acmpca/__init__.py +1 -1
- aws_cdk/aws_amazonmq/__init__.py +87 -0
- aws_cdk/aws_amplify/__init__.py +8 -8
- aws_cdk/aws_apigateway/__init__.py +229 -6
- aws_cdk/aws_apigatewayv2/__init__.py +60 -2
- aws_cdk/aws_appconfig/__init__.py +145 -0
- aws_cdk/aws_appflow/__init__.py +116 -0
- aws_cdk/aws_appintegrations/__init__.py +116 -0
- aws_cdk/aws_appmesh/__init__.py +12 -12
- aws_cdk/aws_appstream/__init__.py +101 -4
- aws_cdk/aws_appsync/__init__.py +61 -3
- aws_cdk/aws_apptest/__init__.py +58 -0
- aws_cdk/aws_aps/__init__.py +459 -0
- aws_cdk/aws_athena/__init__.py +58 -0
- aws_cdk/aws_auditmanager/__init__.py +58 -0
- aws_cdk/aws_backup/__init__.py +145 -0
- aws_cdk/aws_batch/__init__.py +64 -2
- aws_cdk/aws_bedrock/__init__.py +277 -0
- aws_cdk/aws_bedrockagentcore/__init__.py +3178 -0
- aws_cdk/aws_cassandra/__init__.py +29 -0
- aws_cdk/aws_certificatemanager/__init__.py +38 -10
- aws_cdk/aws_cleanrooms/__init__.py +163 -0
- aws_cdk/aws_cloudformation/__init__.py +14 -14
- aws_cdk/aws_cloudfront/__init__.py +69 -8
- aws_cdk/aws_cloudfront_origins/__init__.py +87 -7
- aws_cdk/aws_cloudtrail/__init__.py +58 -0
- aws_cdk/aws_cloudwatch/__init__.py +145 -0
- aws_cdk/aws_codebuild/__init__.py +115 -12
- aws_cdk/aws_codedeploy/__init__.py +29 -0
- aws_cdk/aws_codeguruprofiler/__init__.py +58 -0
- aws_cdk/aws_codepipeline/__init__.py +29 -0
- aws_cdk/aws_cognito/__init__.py +89 -2
- aws_cdk/aws_config/__init__.py +58 -0
- aws_cdk/aws_connect/__init__.py +138 -10
- aws_cdk/aws_cur/__init__.py +86 -3
- aws_cdk/aws_customerprofiles/__init__.py +58 -0
- aws_cdk/aws_datapipeline/__init__.py +29 -0
- aws_cdk/aws_datasync/__init__.py +351 -0
- aws_cdk/aws_datazone/__init__.py +733 -2
- aws_cdk/aws_directoryservice/__init__.py +29 -0
- aws_cdk/aws_dms/__init__.py +58 -0
- aws_cdk/aws_docdb/__init__.py +153 -25
- aws_cdk/aws_dsql/__init__.py +29 -0
- aws_cdk/aws_dynamodb/__init__.py +181 -0
- aws_cdk/aws_ec2/__init__.py +2031 -10
- aws_cdk/aws_ecr/__init__.py +116 -0
- aws_cdk/aws_ecs/__init__.py +142 -12
- aws_cdk/aws_efs/__init__.py +116 -0
- aws_cdk/aws_eks/__init__.py +118 -0
- aws_cdk/aws_elasticache/__init__.py +261 -0
- aws_cdk/aws_elasticbeanstalk/__init__.py +29 -0
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +48 -0
- aws_cdk/aws_elasticsearch/__init__.py +2 -2
- aws_cdk/aws_emr/__init__.py +87 -0
- aws_cdk/aws_emrcontainers/__init__.py +58 -0
- aws_cdk/aws_emrserverless/__init__.py +58 -0
- aws_cdk/aws_entityresolution/__init__.py +145 -0
- aws_cdk/aws_events/__init__.py +290 -0
- aws_cdk/aws_evs/__init__.py +58 -4
- aws_cdk/aws_finspace/__init__.py +58 -0
- aws_cdk/aws_gamelift/__init__.py +507 -56
- aws_cdk/aws_glue/__init__.py +145 -0
- aws_cdk/aws_greengrass/__init__.py +464 -0
- aws_cdk/aws_groundstation/__init__.py +87 -0
- aws_cdk/aws_guardduty/__init__.py +87 -0
- aws_cdk/aws_healthimaging/__init__.py +58 -0
- aws_cdk/aws_healthlake/__init__.py +29 -0
- aws_cdk/aws_iam/__init__.py +1 -1
- aws_cdk/aws_internetmonitor/__init__.py +58 -0
- aws_cdk/aws_iot/__init__.py +957 -0
- aws_cdk/aws_iotanalytics/__init__.py +116 -0
- aws_cdk/aws_iotcoredeviceadvisor/__init__.py +93 -38
- aws_cdk/aws_iotevents/__init__.py +87 -0
- aws_cdk/aws_iotfleethub/__init__.py +58 -0
- aws_cdk/aws_iotfleetwise/__init__.py +116 -0
- aws_cdk/aws_iotsitewise/__init__.py +568 -111
- aws_cdk/aws_iottwinmaker/__init__.py +145 -0
- aws_cdk/aws_iotwireless/__init__.py +464 -0
- aws_cdk/aws_kendra/__init__.py +116 -0
- aws_cdk/aws_kinesis/__init__.py +58 -0
- aws_cdk/aws_kinesisanalytics/__init__.py +31 -0
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +29 -0
- aws_cdk/aws_kinesisfirehose/__init__.py +58 -0
- aws_cdk/aws_kinesisvideo/__init__.py +29 -0
- aws_cdk/aws_kms/__init__.py +68 -2
- aws_cdk/aws_lambda/__init__.py +104 -0
- aws_cdk/aws_lex/__init__.py +29 -0
- aws_cdk/aws_location/__init__.py +348 -0
- aws_cdk/aws_logs/__init__.py +232 -0
- aws_cdk/aws_lookoutequipment/__init__.py +29 -0
- aws_cdk/aws_lookoutvision/__init__.py +58 -0
- aws_cdk/aws_managedblockchain/__init__.py +145 -0
- aws_cdk/aws_medialive/__init__.py +562 -0
- aws_cdk/aws_mediapackage/__init__.py +2 -2
- aws_cdk/aws_mediatailor/__init__.py +174 -0
- aws_cdk/aws_memorydb/__init__.py +203 -0
- aws_cdk/aws_mwaa/__init__.py +58 -0
- aws_cdk/aws_networkfirewall/__init__.py +10 -10
- aws_cdk/aws_networkmanager/__init__.py +92 -0
- aws_cdk/aws_nimblestudio/__init__.py +29 -0
- aws_cdk/aws_odb/__init__.py +2082 -195
- aws_cdk/aws_omics/__init__.py +1520 -103
- aws_cdk/aws_opensearchserverless/__init__.py +222 -21
- aws_cdk/aws_opensearchservice/__init__.py +5 -4
- aws_cdk/aws_opsworks/__init__.py +29 -0
- aws_cdk/aws_opsworkscm/__init__.py +29 -0
- aws_cdk/aws_organizations/__init__.py +116 -0
- aws_cdk/aws_panorama/__init__.py +116 -0
- aws_cdk/aws_pcs/__init__.py +9 -9
- aws_cdk/aws_pinpoint/__init__.py +116 -0
- aws_cdk/aws_qbusiness/__init__.py +232 -0
- aws_cdk/aws_qldb/__init__.py +29 -0
- aws_cdk/aws_quicksight/__init__.py +295 -3
- aws_cdk/aws_rds/__init__.py +402 -58
- aws_cdk/aws_redshift/__init__.py +29 -0
- aws_cdk/aws_rekognition/__init__.py +87 -0
- aws_cdk/aws_resourcegroups/__init__.py +58 -0
- aws_cdk/aws_rolesanywhere/__init__.py +145 -0
- aws_cdk/aws_route53recoveryreadiness/__init__.py +58 -0
- aws_cdk/aws_route53resolver/__init__.py +29 -0
- aws_cdk/aws_s3/__init__.py +116 -0
- aws_cdk/aws_s3express/__init__.py +116 -0
- aws_cdk/aws_sagemaker/__init__.py +715 -1
- aws_cdk/aws_scheduler/__init__.py +29 -0
- aws_cdk/aws_secretsmanager/__init__.py +29 -0
- aws_cdk/aws_servicecatalog/__init__.py +191 -154
- aws_cdk/aws_servicecatalogappregistry/__init__.py +116 -0
- aws_cdk/aws_servicediscovery/__init__.py +58 -0
- aws_cdk/aws_ses/__init__.py +261 -0
- aws_cdk/aws_simspaceweaver/__init__.py +29 -0
- aws_cdk/aws_smsvoice/__init__.py +5218 -0
- aws_cdk/aws_ssm/__init__.py +87 -0
- aws_cdk/aws_synthetics/__init__.py +29 -0
- aws_cdk/aws_timestream/__init__.py +87 -0
- aws_cdk/aws_transfer/__init__.py +274 -12
- aws_cdk/aws_verifiedpermissions/__init__.py +59 -1
- aws_cdk/aws_voiceid/__init__.py +29 -0
- aws_cdk/aws_wisdom/__init__.py +232 -0
- aws_cdk/aws_workspaces/__init__.py +58 -0
- aws_cdk/aws_workspacesinstances/__init__.py +670 -2
- aws_cdk/aws_workspacesthinclient/__init__.py +58 -0
- aws_cdk/pipelines/__init__.py +5 -1
- {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.218.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.218.0.dist-info}/RECORD +151 -149
- {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.218.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.218.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.218.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.218.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_aps/__init__.py
CHANGED
|
@@ -268,6 +268,7 @@ class CfnRuleGroupsNamespaceProps:
|
|
|
268
268
|
"source": "source",
|
|
269
269
|
"alias": "alias",
|
|
270
270
|
"role_configuration": "roleConfiguration",
|
|
271
|
+
"scraper_logging_configuration": "scraperLoggingConfiguration",
|
|
271
272
|
"tags": "tags",
|
|
272
273
|
},
|
|
273
274
|
)
|
|
@@ -280,6 +281,7 @@ class CfnScraperProps:
|
|
|
280
281
|
source: typing.Union[_IResolvable_da3f097b, typing.Union["CfnScraper.SourceProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
281
282
|
alias: typing.Optional[builtins.str] = None,
|
|
282
283
|
role_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnScraper.RoleConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
284
|
+
scraper_logging_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnScraper.ScraperLoggingConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
283
285
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
284
286
|
) -> None:
|
|
285
287
|
'''Properties for defining a ``CfnScraper``.
|
|
@@ -289,6 +291,7 @@ class CfnScraperProps:
|
|
|
289
291
|
:param source: The Amazon EKS cluster from which the scraper collects metrics.
|
|
290
292
|
:param alias: An optional user-assigned scraper alias.
|
|
291
293
|
:param role_configuration: The role configuration in an Amazon Managed Service for Prometheus scraper.
|
|
294
|
+
:param scraper_logging_configuration: The definition of logging configuration in an Amazon Managed Service for Prometheus workspace.
|
|
292
295
|
:param tags: (Optional) The list of tag keys and values associated with the scraper.
|
|
293
296
|
|
|
294
297
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-scraper.html
|
|
@@ -325,6 +328,23 @@ class CfnScraperProps:
|
|
|
325
328
|
source_role_arn="sourceRoleArn",
|
|
326
329
|
target_role_arn="targetRoleArn"
|
|
327
330
|
),
|
|
331
|
+
scraper_logging_configuration=aps.CfnScraper.ScraperLoggingConfigurationProperty(
|
|
332
|
+
logging_destination=aps.CfnScraper.ScraperLoggingDestinationProperty(
|
|
333
|
+
cloud_watch_logs=aps.CfnScraper.CloudWatchLogDestinationProperty(
|
|
334
|
+
log_group_arn="logGroupArn"
|
|
335
|
+
)
|
|
336
|
+
),
|
|
337
|
+
scraper_components=[aps.CfnScraper.ScraperComponentProperty(
|
|
338
|
+
type="type",
|
|
339
|
+
|
|
340
|
+
# the properties below are optional
|
|
341
|
+
config=aps.CfnScraper.ComponentConfigProperty(
|
|
342
|
+
options={
|
|
343
|
+
"options_key": "options"
|
|
344
|
+
}
|
|
345
|
+
)
|
|
346
|
+
)]
|
|
347
|
+
),
|
|
328
348
|
tags=[CfnTag(
|
|
329
349
|
key="key",
|
|
330
350
|
value="value"
|
|
@@ -338,6 +358,7 @@ class CfnScraperProps:
|
|
|
338
358
|
check_type(argname="argument source", value=source, expected_type=type_hints["source"])
|
|
339
359
|
check_type(argname="argument alias", value=alias, expected_type=type_hints["alias"])
|
|
340
360
|
check_type(argname="argument role_configuration", value=role_configuration, expected_type=type_hints["role_configuration"])
|
|
361
|
+
check_type(argname="argument scraper_logging_configuration", value=scraper_logging_configuration, expected_type=type_hints["scraper_logging_configuration"])
|
|
341
362
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
342
363
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
343
364
|
"destination": destination,
|
|
@@ -348,6 +369,8 @@ class CfnScraperProps:
|
|
|
348
369
|
self._values["alias"] = alias
|
|
349
370
|
if role_configuration is not None:
|
|
350
371
|
self._values["role_configuration"] = role_configuration
|
|
372
|
+
if scraper_logging_configuration is not None:
|
|
373
|
+
self._values["scraper_logging_configuration"] = scraper_logging_configuration
|
|
351
374
|
if tags is not None:
|
|
352
375
|
self._values["tags"] = tags
|
|
353
376
|
|
|
@@ -407,6 +430,17 @@ class CfnScraperProps:
|
|
|
407
430
|
result = self._values.get("role_configuration")
|
|
408
431
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnScraper.RoleConfigurationProperty"]], result)
|
|
409
432
|
|
|
433
|
+
@builtins.property
|
|
434
|
+
def scraper_logging_configuration(
|
|
435
|
+
self,
|
|
436
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnScraper.ScraperLoggingConfigurationProperty"]]:
|
|
437
|
+
'''The definition of logging configuration in an Amazon Managed Service for Prometheus workspace.
|
|
438
|
+
|
|
439
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-scraper.html#cfn-aps-scraper-scraperloggingconfiguration
|
|
440
|
+
'''
|
|
441
|
+
result = self._values.get("scraper_logging_configuration")
|
|
442
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnScraper.ScraperLoggingConfigurationProperty"]], result)
|
|
443
|
+
|
|
410
444
|
@builtins.property
|
|
411
445
|
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
412
446
|
'''(Optional) The list of tag keys and values associated with the scraper.
|
|
@@ -1328,6 +1362,23 @@ class CfnScraper(
|
|
|
1328
1362
|
source_role_arn="sourceRoleArn",
|
|
1329
1363
|
target_role_arn="targetRoleArn"
|
|
1330
1364
|
),
|
|
1365
|
+
scraper_logging_configuration=aps.CfnScraper.ScraperLoggingConfigurationProperty(
|
|
1366
|
+
logging_destination=aps.CfnScraper.ScraperLoggingDestinationProperty(
|
|
1367
|
+
cloud_watch_logs=aps.CfnScraper.CloudWatchLogDestinationProperty(
|
|
1368
|
+
log_group_arn="logGroupArn"
|
|
1369
|
+
)
|
|
1370
|
+
),
|
|
1371
|
+
scraper_components=[aps.CfnScraper.ScraperComponentProperty(
|
|
1372
|
+
type="type",
|
|
1373
|
+
|
|
1374
|
+
# the properties below are optional
|
|
1375
|
+
config=aps.CfnScraper.ComponentConfigProperty(
|
|
1376
|
+
options={
|
|
1377
|
+
"options_key": "options"
|
|
1378
|
+
}
|
|
1379
|
+
)
|
|
1380
|
+
)]
|
|
1381
|
+
),
|
|
1331
1382
|
tags=[CfnTag(
|
|
1332
1383
|
key="key",
|
|
1333
1384
|
value="value"
|
|
@@ -1345,6 +1396,7 @@ class CfnScraper(
|
|
|
1345
1396
|
source: typing.Union[_IResolvable_da3f097b, typing.Union["CfnScraper.SourceProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
1346
1397
|
alias: typing.Optional[builtins.str] = None,
|
|
1347
1398
|
role_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnScraper.RoleConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1399
|
+
scraper_logging_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnScraper.ScraperLoggingConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1348
1400
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1349
1401
|
) -> None:
|
|
1350
1402
|
'''
|
|
@@ -1355,6 +1407,7 @@ class CfnScraper(
|
|
|
1355
1407
|
:param source: The Amazon EKS cluster from which the scraper collects metrics.
|
|
1356
1408
|
:param alias: An optional user-assigned scraper alias.
|
|
1357
1409
|
:param role_configuration: The role configuration in an Amazon Managed Service for Prometheus scraper.
|
|
1410
|
+
:param scraper_logging_configuration: The definition of logging configuration in an Amazon Managed Service for Prometheus workspace.
|
|
1358
1411
|
:param tags: (Optional) The list of tag keys and values associated with the scraper.
|
|
1359
1412
|
'''
|
|
1360
1413
|
if __debug__:
|
|
@@ -1367,6 +1420,7 @@ class CfnScraper(
|
|
|
1367
1420
|
source=source,
|
|
1368
1421
|
alias=alias,
|
|
1369
1422
|
role_configuration=role_configuration,
|
|
1423
|
+
scraper_logging_configuration=scraper_logging_configuration,
|
|
1370
1424
|
tags=tags,
|
|
1371
1425
|
)
|
|
1372
1426
|
|
|
@@ -1537,6 +1591,24 @@ class CfnScraper(
|
|
|
1537
1591
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1538
1592
|
jsii.set(self, "roleConfiguration", value) # pyright: ignore[reportArgumentType]
|
|
1539
1593
|
|
|
1594
|
+
@builtins.property
|
|
1595
|
+
@jsii.member(jsii_name="scraperLoggingConfiguration")
|
|
1596
|
+
def scraper_logging_configuration(
|
|
1597
|
+
self,
|
|
1598
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnScraper.ScraperLoggingConfigurationProperty"]]:
|
|
1599
|
+
'''The definition of logging configuration in an Amazon Managed Service for Prometheus workspace.'''
|
|
1600
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnScraper.ScraperLoggingConfigurationProperty"]], jsii.get(self, "scraperLoggingConfiguration"))
|
|
1601
|
+
|
|
1602
|
+
@scraper_logging_configuration.setter
|
|
1603
|
+
def scraper_logging_configuration(
|
|
1604
|
+
self,
|
|
1605
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnScraper.ScraperLoggingConfigurationProperty"]],
|
|
1606
|
+
) -> None:
|
|
1607
|
+
if __debug__:
|
|
1608
|
+
type_hints = typing.get_type_hints(_typecheckingstub__98c937c38a5c278540b0a6d9654c4dc0d8dbc46a2f3145fd9275f2a8fd9ce000)
|
|
1609
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1610
|
+
jsii.set(self, "scraperLoggingConfiguration", value) # pyright: ignore[reportArgumentType]
|
|
1611
|
+
|
|
1540
1612
|
@builtins.property
|
|
1541
1613
|
@jsii.member(jsii_name="tags")
|
|
1542
1614
|
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
@@ -1602,6 +1674,120 @@ class CfnScraper(
|
|
|
1602
1674
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
1603
1675
|
)
|
|
1604
1676
|
|
|
1677
|
+
@jsii.data_type(
|
|
1678
|
+
jsii_type="aws-cdk-lib.aws_aps.CfnScraper.CloudWatchLogDestinationProperty",
|
|
1679
|
+
jsii_struct_bases=[],
|
|
1680
|
+
name_mapping={"log_group_arn": "logGroupArn"},
|
|
1681
|
+
)
|
|
1682
|
+
class CloudWatchLogDestinationProperty:
|
|
1683
|
+
def __init__(
|
|
1684
|
+
self,
|
|
1685
|
+
*,
|
|
1686
|
+
log_group_arn: typing.Optional[builtins.str] = None,
|
|
1687
|
+
) -> None:
|
|
1688
|
+
'''Represents a cloudwatch logs destination for scraper logging.
|
|
1689
|
+
|
|
1690
|
+
:param log_group_arn: ARN of the CloudWatch log group.
|
|
1691
|
+
|
|
1692
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-scraper-cloudwatchlogdestination.html
|
|
1693
|
+
:exampleMetadata: fixture=_generated
|
|
1694
|
+
|
|
1695
|
+
Example::
|
|
1696
|
+
|
|
1697
|
+
# The code below shows an example of how to instantiate this type.
|
|
1698
|
+
# The values are placeholders you should change.
|
|
1699
|
+
from aws_cdk import aws_aps as aps
|
|
1700
|
+
|
|
1701
|
+
cloud_watch_log_destination_property = aps.CfnScraper.CloudWatchLogDestinationProperty(
|
|
1702
|
+
log_group_arn="logGroupArn"
|
|
1703
|
+
)
|
|
1704
|
+
'''
|
|
1705
|
+
if __debug__:
|
|
1706
|
+
type_hints = typing.get_type_hints(_typecheckingstub__d4d1b8a234d9b0461189ac94d16b7043b8e40fc1a62680a811ba8396bc54a5d6)
|
|
1707
|
+
check_type(argname="argument log_group_arn", value=log_group_arn, expected_type=type_hints["log_group_arn"])
|
|
1708
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
1709
|
+
if log_group_arn is not None:
|
|
1710
|
+
self._values["log_group_arn"] = log_group_arn
|
|
1711
|
+
|
|
1712
|
+
@builtins.property
|
|
1713
|
+
def log_group_arn(self) -> typing.Optional[builtins.str]:
|
|
1714
|
+
'''ARN of the CloudWatch log group.
|
|
1715
|
+
|
|
1716
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-scraper-cloudwatchlogdestination.html#cfn-aps-scraper-cloudwatchlogdestination-loggrouparn
|
|
1717
|
+
'''
|
|
1718
|
+
result = self._values.get("log_group_arn")
|
|
1719
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1720
|
+
|
|
1721
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1722
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1723
|
+
|
|
1724
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1725
|
+
return not (rhs == self)
|
|
1726
|
+
|
|
1727
|
+
def __repr__(self) -> str:
|
|
1728
|
+
return "CloudWatchLogDestinationProperty(%s)" % ", ".join(
|
|
1729
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1730
|
+
)
|
|
1731
|
+
|
|
1732
|
+
@jsii.data_type(
|
|
1733
|
+
jsii_type="aws-cdk-lib.aws_aps.CfnScraper.ComponentConfigProperty",
|
|
1734
|
+
jsii_struct_bases=[],
|
|
1735
|
+
name_mapping={"options": "options"},
|
|
1736
|
+
)
|
|
1737
|
+
class ComponentConfigProperty:
|
|
1738
|
+
def __init__(
|
|
1739
|
+
self,
|
|
1740
|
+
*,
|
|
1741
|
+
options: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
|
|
1742
|
+
) -> None:
|
|
1743
|
+
'''Configuration settings for a scraper component.
|
|
1744
|
+
|
|
1745
|
+
:param options: Configuration options for the scraper component.
|
|
1746
|
+
|
|
1747
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-scraper-componentconfig.html
|
|
1748
|
+
:exampleMetadata: fixture=_generated
|
|
1749
|
+
|
|
1750
|
+
Example::
|
|
1751
|
+
|
|
1752
|
+
# The code below shows an example of how to instantiate this type.
|
|
1753
|
+
# The values are placeholders you should change.
|
|
1754
|
+
from aws_cdk import aws_aps as aps
|
|
1755
|
+
|
|
1756
|
+
component_config_property = aps.CfnScraper.ComponentConfigProperty(
|
|
1757
|
+
options={
|
|
1758
|
+
"options_key": "options"
|
|
1759
|
+
}
|
|
1760
|
+
)
|
|
1761
|
+
'''
|
|
1762
|
+
if __debug__:
|
|
1763
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c81abd8a9526f73204a9bfa774d69e9b3ec81f7592dafabd756679cc66dcb1e1)
|
|
1764
|
+
check_type(argname="argument options", value=options, expected_type=type_hints["options"])
|
|
1765
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
1766
|
+
if options is not None:
|
|
1767
|
+
self._values["options"] = options
|
|
1768
|
+
|
|
1769
|
+
@builtins.property
|
|
1770
|
+
def options(
|
|
1771
|
+
self,
|
|
1772
|
+
) -> typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]]:
|
|
1773
|
+
'''Configuration options for the scraper component.
|
|
1774
|
+
|
|
1775
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-scraper-componentconfig.html#cfn-aps-scraper-componentconfig-options
|
|
1776
|
+
'''
|
|
1777
|
+
result = self._values.get("options")
|
|
1778
|
+
return typing.cast(typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]], result)
|
|
1779
|
+
|
|
1780
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1781
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1782
|
+
|
|
1783
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1784
|
+
return not (rhs == self)
|
|
1785
|
+
|
|
1786
|
+
def __repr__(self) -> str:
|
|
1787
|
+
return "ComponentConfigProperty(%s)" % ", ".join(
|
|
1788
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1789
|
+
)
|
|
1790
|
+
|
|
1605
1791
|
@jsii.data_type(
|
|
1606
1792
|
jsii_type="aws-cdk-lib.aws_aps.CfnScraper.DestinationProperty",
|
|
1607
1793
|
jsii_struct_bases=[],
|
|
@@ -1881,6 +2067,234 @@ class CfnScraper(
|
|
|
1881
2067
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
1882
2068
|
)
|
|
1883
2069
|
|
|
2070
|
+
@jsii.data_type(
|
|
2071
|
+
jsii_type="aws-cdk-lib.aws_aps.CfnScraper.ScraperComponentProperty",
|
|
2072
|
+
jsii_struct_bases=[],
|
|
2073
|
+
name_mapping={"type": "type", "config": "config"},
|
|
2074
|
+
)
|
|
2075
|
+
class ScraperComponentProperty:
|
|
2076
|
+
def __init__(
|
|
2077
|
+
self,
|
|
2078
|
+
*,
|
|
2079
|
+
type: builtins.str,
|
|
2080
|
+
config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnScraper.ComponentConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2081
|
+
) -> None:
|
|
2082
|
+
'''A component of a Amazon Managed Service for Prometheus scraper that can be configured for logging.
|
|
2083
|
+
|
|
2084
|
+
:param type: The type of the scraper component.
|
|
2085
|
+
:param config: The configuration settings for the scraper component.
|
|
2086
|
+
|
|
2087
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-scraper-scrapercomponent.html
|
|
2088
|
+
:exampleMetadata: fixture=_generated
|
|
2089
|
+
|
|
2090
|
+
Example::
|
|
2091
|
+
|
|
2092
|
+
# The code below shows an example of how to instantiate this type.
|
|
2093
|
+
# The values are placeholders you should change.
|
|
2094
|
+
from aws_cdk import aws_aps as aps
|
|
2095
|
+
|
|
2096
|
+
scraper_component_property = aps.CfnScraper.ScraperComponentProperty(
|
|
2097
|
+
type="type",
|
|
2098
|
+
|
|
2099
|
+
# the properties below are optional
|
|
2100
|
+
config=aps.CfnScraper.ComponentConfigProperty(
|
|
2101
|
+
options={
|
|
2102
|
+
"options_key": "options"
|
|
2103
|
+
}
|
|
2104
|
+
)
|
|
2105
|
+
)
|
|
2106
|
+
'''
|
|
2107
|
+
if __debug__:
|
|
2108
|
+
type_hints = typing.get_type_hints(_typecheckingstub__be259f573540cfe3fb130cbc10c656811dffac0fb6663b27b9f4982549990b6a)
|
|
2109
|
+
check_type(argname="argument type", value=type, expected_type=type_hints["type"])
|
|
2110
|
+
check_type(argname="argument config", value=config, expected_type=type_hints["config"])
|
|
2111
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2112
|
+
"type": type,
|
|
2113
|
+
}
|
|
2114
|
+
if config is not None:
|
|
2115
|
+
self._values["config"] = config
|
|
2116
|
+
|
|
2117
|
+
@builtins.property
|
|
2118
|
+
def type(self) -> builtins.str:
|
|
2119
|
+
'''The type of the scraper component.
|
|
2120
|
+
|
|
2121
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-scraper-scrapercomponent.html#cfn-aps-scraper-scrapercomponent-type
|
|
2122
|
+
'''
|
|
2123
|
+
result = self._values.get("type")
|
|
2124
|
+
assert result is not None, "Required property 'type' is missing"
|
|
2125
|
+
return typing.cast(builtins.str, result)
|
|
2126
|
+
|
|
2127
|
+
@builtins.property
|
|
2128
|
+
def config(
|
|
2129
|
+
self,
|
|
2130
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnScraper.ComponentConfigProperty"]]:
|
|
2131
|
+
'''The configuration settings for the scraper component.
|
|
2132
|
+
|
|
2133
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-scraper-scrapercomponent.html#cfn-aps-scraper-scrapercomponent-config
|
|
2134
|
+
'''
|
|
2135
|
+
result = self._values.get("config")
|
|
2136
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnScraper.ComponentConfigProperty"]], result)
|
|
2137
|
+
|
|
2138
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2139
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2140
|
+
|
|
2141
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2142
|
+
return not (rhs == self)
|
|
2143
|
+
|
|
2144
|
+
def __repr__(self) -> str:
|
|
2145
|
+
return "ScraperComponentProperty(%s)" % ", ".join(
|
|
2146
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2147
|
+
)
|
|
2148
|
+
|
|
2149
|
+
@jsii.data_type(
|
|
2150
|
+
jsii_type="aws-cdk-lib.aws_aps.CfnScraper.ScraperLoggingConfigurationProperty",
|
|
2151
|
+
jsii_struct_bases=[],
|
|
2152
|
+
name_mapping={
|
|
2153
|
+
"logging_destination": "loggingDestination",
|
|
2154
|
+
"scraper_components": "scraperComponents",
|
|
2155
|
+
},
|
|
2156
|
+
)
|
|
2157
|
+
class ScraperLoggingConfigurationProperty:
|
|
2158
|
+
def __init__(
|
|
2159
|
+
self,
|
|
2160
|
+
*,
|
|
2161
|
+
logging_destination: typing.Union[_IResolvable_da3f097b, typing.Union["CfnScraper.ScraperLoggingDestinationProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
2162
|
+
scraper_components: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnScraper.ScraperComponentProperty", typing.Dict[builtins.str, typing.Any]]]]],
|
|
2163
|
+
) -> None:
|
|
2164
|
+
'''Configuration for scraper logging.
|
|
2165
|
+
|
|
2166
|
+
:param logging_destination: Destination for scraper logging.
|
|
2167
|
+
:param scraper_components:
|
|
2168
|
+
|
|
2169
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-scraper-scraperloggingconfiguration.html
|
|
2170
|
+
:exampleMetadata: fixture=_generated
|
|
2171
|
+
|
|
2172
|
+
Example::
|
|
2173
|
+
|
|
2174
|
+
# The code below shows an example of how to instantiate this type.
|
|
2175
|
+
# The values are placeholders you should change.
|
|
2176
|
+
from aws_cdk import aws_aps as aps
|
|
2177
|
+
|
|
2178
|
+
scraper_logging_configuration_property = aps.CfnScraper.ScraperLoggingConfigurationProperty(
|
|
2179
|
+
logging_destination=aps.CfnScraper.ScraperLoggingDestinationProperty(
|
|
2180
|
+
cloud_watch_logs=aps.CfnScraper.CloudWatchLogDestinationProperty(
|
|
2181
|
+
log_group_arn="logGroupArn"
|
|
2182
|
+
)
|
|
2183
|
+
),
|
|
2184
|
+
scraper_components=[aps.CfnScraper.ScraperComponentProperty(
|
|
2185
|
+
type="type",
|
|
2186
|
+
|
|
2187
|
+
# the properties below are optional
|
|
2188
|
+
config=aps.CfnScraper.ComponentConfigProperty(
|
|
2189
|
+
options={
|
|
2190
|
+
"options_key": "options"
|
|
2191
|
+
}
|
|
2192
|
+
)
|
|
2193
|
+
)]
|
|
2194
|
+
)
|
|
2195
|
+
'''
|
|
2196
|
+
if __debug__:
|
|
2197
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ea5221003b2ff43404935c67045669a8a84790d807c849eadd6df28ea9b60feb)
|
|
2198
|
+
check_type(argname="argument logging_destination", value=logging_destination, expected_type=type_hints["logging_destination"])
|
|
2199
|
+
check_type(argname="argument scraper_components", value=scraper_components, expected_type=type_hints["scraper_components"])
|
|
2200
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2201
|
+
"logging_destination": logging_destination,
|
|
2202
|
+
"scraper_components": scraper_components,
|
|
2203
|
+
}
|
|
2204
|
+
|
|
2205
|
+
@builtins.property
|
|
2206
|
+
def logging_destination(
|
|
2207
|
+
self,
|
|
2208
|
+
) -> typing.Union[_IResolvable_da3f097b, "CfnScraper.ScraperLoggingDestinationProperty"]:
|
|
2209
|
+
'''Destination for scraper logging.
|
|
2210
|
+
|
|
2211
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-scraper-scraperloggingconfiguration.html#cfn-aps-scraper-scraperloggingconfiguration-loggingdestination
|
|
2212
|
+
'''
|
|
2213
|
+
result = self._values.get("logging_destination")
|
|
2214
|
+
assert result is not None, "Required property 'logging_destination' is missing"
|
|
2215
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnScraper.ScraperLoggingDestinationProperty"], result)
|
|
2216
|
+
|
|
2217
|
+
@builtins.property
|
|
2218
|
+
def scraper_components(
|
|
2219
|
+
self,
|
|
2220
|
+
) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnScraper.ScraperComponentProperty"]]]:
|
|
2221
|
+
'''
|
|
2222
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-scraper-scraperloggingconfiguration.html#cfn-aps-scraper-scraperloggingconfiguration-scrapercomponents
|
|
2223
|
+
'''
|
|
2224
|
+
result = self._values.get("scraper_components")
|
|
2225
|
+
assert result is not None, "Required property 'scraper_components' is missing"
|
|
2226
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnScraper.ScraperComponentProperty"]]], result)
|
|
2227
|
+
|
|
2228
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2229
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2230
|
+
|
|
2231
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2232
|
+
return not (rhs == self)
|
|
2233
|
+
|
|
2234
|
+
def __repr__(self) -> str:
|
|
2235
|
+
return "ScraperLoggingConfigurationProperty(%s)" % ", ".join(
|
|
2236
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2237
|
+
)
|
|
2238
|
+
|
|
2239
|
+
@jsii.data_type(
|
|
2240
|
+
jsii_type="aws-cdk-lib.aws_aps.CfnScraper.ScraperLoggingDestinationProperty",
|
|
2241
|
+
jsii_struct_bases=[],
|
|
2242
|
+
name_mapping={"cloud_watch_logs": "cloudWatchLogs"},
|
|
2243
|
+
)
|
|
2244
|
+
class ScraperLoggingDestinationProperty:
|
|
2245
|
+
def __init__(
|
|
2246
|
+
self,
|
|
2247
|
+
*,
|
|
2248
|
+
cloud_watch_logs: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnScraper.CloudWatchLogDestinationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2249
|
+
) -> None:
|
|
2250
|
+
'''The destination where scraper logs are sent.
|
|
2251
|
+
|
|
2252
|
+
:param cloud_watch_logs: The CloudWatch Logs configuration for the scraper logging destination.
|
|
2253
|
+
|
|
2254
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-scraper-scraperloggingdestination.html
|
|
2255
|
+
:exampleMetadata: fixture=_generated
|
|
2256
|
+
|
|
2257
|
+
Example::
|
|
2258
|
+
|
|
2259
|
+
# The code below shows an example of how to instantiate this type.
|
|
2260
|
+
# The values are placeholders you should change.
|
|
2261
|
+
from aws_cdk import aws_aps as aps
|
|
2262
|
+
|
|
2263
|
+
scraper_logging_destination_property = aps.CfnScraper.ScraperLoggingDestinationProperty(
|
|
2264
|
+
cloud_watch_logs=aps.CfnScraper.CloudWatchLogDestinationProperty(
|
|
2265
|
+
log_group_arn="logGroupArn"
|
|
2266
|
+
)
|
|
2267
|
+
)
|
|
2268
|
+
'''
|
|
2269
|
+
if __debug__:
|
|
2270
|
+
type_hints = typing.get_type_hints(_typecheckingstub__63a27055fededd95d1bc1fba74349c5f0f37894ed254d1e1ce3d670ded2f515f)
|
|
2271
|
+
check_type(argname="argument cloud_watch_logs", value=cloud_watch_logs, expected_type=type_hints["cloud_watch_logs"])
|
|
2272
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
2273
|
+
if cloud_watch_logs is not None:
|
|
2274
|
+
self._values["cloud_watch_logs"] = cloud_watch_logs
|
|
2275
|
+
|
|
2276
|
+
@builtins.property
|
|
2277
|
+
def cloud_watch_logs(
|
|
2278
|
+
self,
|
|
2279
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnScraper.CloudWatchLogDestinationProperty"]]:
|
|
2280
|
+
'''The CloudWatch Logs configuration for the scraper logging destination.
|
|
2281
|
+
|
|
2282
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-scraper-scraperloggingdestination.html#cfn-aps-scraper-scraperloggingdestination-cloudwatchlogs
|
|
2283
|
+
'''
|
|
2284
|
+
result = self._values.get("cloud_watch_logs")
|
|
2285
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnScraper.CloudWatchLogDestinationProperty"]], result)
|
|
2286
|
+
|
|
2287
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2288
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2289
|
+
|
|
2290
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2291
|
+
return not (rhs == self)
|
|
2292
|
+
|
|
2293
|
+
def __repr__(self) -> str:
|
|
2294
|
+
return "ScraperLoggingDestinationProperty(%s)" % ", ".join(
|
|
2295
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2296
|
+
)
|
|
2297
|
+
|
|
1884
2298
|
@jsii.data_type(
|
|
1885
2299
|
jsii_type="aws-cdk-lib.aws_aps.CfnScraper.SourceProperty",
|
|
1886
2300
|
jsii_struct_bases=[],
|
|
@@ -2876,6 +3290,7 @@ def _typecheckingstub__f302dfc2aa92636b313e32f5d91a0ccfd79ebde0259b977f6291d4c83
|
|
|
2876
3290
|
source: typing.Union[_IResolvable_da3f097b, typing.Union[CfnScraper.SourceProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
2877
3291
|
alias: typing.Optional[builtins.str] = None,
|
|
2878
3292
|
role_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnScraper.RoleConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3293
|
+
scraper_logging_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnScraper.ScraperLoggingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2879
3294
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2880
3295
|
) -> None:
|
|
2881
3296
|
"""Type checking stubs"""
|
|
@@ -3013,6 +3428,7 @@ def _typecheckingstub__4d4cb1653b22b80f73c5fa4972418519c1d58f8ac033d22184f1b74ee
|
|
|
3013
3428
|
source: typing.Union[_IResolvable_da3f097b, typing.Union[CfnScraper.SourceProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
3014
3429
|
alias: typing.Optional[builtins.str] = None,
|
|
3015
3430
|
role_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnScraper.RoleConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3431
|
+
scraper_logging_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnScraper.ScraperLoggingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3016
3432
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3017
3433
|
) -> None:
|
|
3018
3434
|
"""Type checking stubs"""
|
|
@@ -3060,6 +3476,12 @@ def _typecheckingstub__a8492f7c00f66de3309f136730786a3ad81d27f787146130fdb2b6191
|
|
|
3060
3476
|
"""Type checking stubs"""
|
|
3061
3477
|
pass
|
|
3062
3478
|
|
|
3479
|
+
def _typecheckingstub__98c937c38a5c278540b0a6d9654c4dc0d8dbc46a2f3145fd9275f2a8fd9ce000(
|
|
3480
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnScraper.ScraperLoggingConfigurationProperty]],
|
|
3481
|
+
) -> None:
|
|
3482
|
+
"""Type checking stubs"""
|
|
3483
|
+
pass
|
|
3484
|
+
|
|
3063
3485
|
def _typecheckingstub__265ada3fe1d3014c11a5af4d87c8e4b691d29a917e8643b804a82b7c3223573f(
|
|
3064
3486
|
value: typing.Optional[typing.List[_CfnTag_f6864754]],
|
|
3065
3487
|
) -> None:
|
|
@@ -3073,6 +3495,20 @@ def _typecheckingstub__02c8f0a43ed30375a3d1b283c2450f310915b0f0fcff6103d168cb18a
|
|
|
3073
3495
|
"""Type checking stubs"""
|
|
3074
3496
|
pass
|
|
3075
3497
|
|
|
3498
|
+
def _typecheckingstub__d4d1b8a234d9b0461189ac94d16b7043b8e40fc1a62680a811ba8396bc54a5d6(
|
|
3499
|
+
*,
|
|
3500
|
+
log_group_arn: typing.Optional[builtins.str] = None,
|
|
3501
|
+
) -> None:
|
|
3502
|
+
"""Type checking stubs"""
|
|
3503
|
+
pass
|
|
3504
|
+
|
|
3505
|
+
def _typecheckingstub__c81abd8a9526f73204a9bfa774d69e9b3ec81f7592dafabd756679cc66dcb1e1(
|
|
3506
|
+
*,
|
|
3507
|
+
options: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
|
|
3508
|
+
) -> None:
|
|
3509
|
+
"""Type checking stubs"""
|
|
3510
|
+
pass
|
|
3511
|
+
|
|
3076
3512
|
def _typecheckingstub__e9dfeb013903b3b566e12e34ac903da7aaad96412ee8622e798d0f4931b78c31(
|
|
3077
3513
|
*,
|
|
3078
3514
|
amp_configuration: typing.Union[_IResolvable_da3f097b, typing.Union[CfnScraper.AmpConfigurationProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
@@ -3104,6 +3540,29 @@ def _typecheckingstub__61507a1463486662c27c8fec99a5cb181f22e5f346b7bb6d10823ad9b
|
|
|
3104
3540
|
"""Type checking stubs"""
|
|
3105
3541
|
pass
|
|
3106
3542
|
|
|
3543
|
+
def _typecheckingstub__be259f573540cfe3fb130cbc10c656811dffac0fb6663b27b9f4982549990b6a(
|
|
3544
|
+
*,
|
|
3545
|
+
type: builtins.str,
|
|
3546
|
+
config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnScraper.ComponentConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3547
|
+
) -> None:
|
|
3548
|
+
"""Type checking stubs"""
|
|
3549
|
+
pass
|
|
3550
|
+
|
|
3551
|
+
def _typecheckingstub__ea5221003b2ff43404935c67045669a8a84790d807c849eadd6df28ea9b60feb(
|
|
3552
|
+
*,
|
|
3553
|
+
logging_destination: typing.Union[_IResolvable_da3f097b, typing.Union[CfnScraper.ScraperLoggingDestinationProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
3554
|
+
scraper_components: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnScraper.ScraperComponentProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
3555
|
+
) -> None:
|
|
3556
|
+
"""Type checking stubs"""
|
|
3557
|
+
pass
|
|
3558
|
+
|
|
3559
|
+
def _typecheckingstub__63a27055fededd95d1bc1fba74349c5f0f37894ed254d1e1ce3d670ded2f515f(
|
|
3560
|
+
*,
|
|
3561
|
+
cloud_watch_logs: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnScraper.CloudWatchLogDestinationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3562
|
+
) -> None:
|
|
3563
|
+
"""Type checking stubs"""
|
|
3564
|
+
pass
|
|
3565
|
+
|
|
3107
3566
|
def _typecheckingstub__655e83ac40d7d6fcc3362aa2c25fcfadc0beb5744ef393de105d7d152821a330(
|
|
3108
3567
|
*,
|
|
3109
3568
|
eks_configuration: typing.Union[_IResolvable_da3f097b, typing.Union[CfnScraper.EksConfigurationProperty, typing.Dict[builtins.str, typing.Any]]],
|
aws_cdk/aws_athena/__init__.py
CHANGED
|
@@ -1781,6 +1781,27 @@ class CfnDataCatalog(
|
|
|
1781
1781
|
|
|
1782
1782
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
1783
1783
|
|
|
1784
|
+
@jsii.member(jsii_name="fromDataCatalogName")
|
|
1785
|
+
@builtins.classmethod
|
|
1786
|
+
def from_data_catalog_name(
|
|
1787
|
+
cls,
|
|
1788
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
1789
|
+
id: builtins.str,
|
|
1790
|
+
data_catalog_name: builtins.str,
|
|
1791
|
+
) -> IDataCatalogRef:
|
|
1792
|
+
'''Creates a new IDataCatalogRef from a dataCatalogName.
|
|
1793
|
+
|
|
1794
|
+
:param scope: -
|
|
1795
|
+
:param id: -
|
|
1796
|
+
:param data_catalog_name: -
|
|
1797
|
+
'''
|
|
1798
|
+
if __debug__:
|
|
1799
|
+
type_hints = typing.get_type_hints(_typecheckingstub__d5d2a0246fafbbc6a693f337ada29b85155f59962e79d7c642084d44652d0f2e)
|
|
1800
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
1801
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
1802
|
+
check_type(argname="argument data_catalog_name", value=data_catalog_name, expected_type=type_hints["data_catalog_name"])
|
|
1803
|
+
return typing.cast(IDataCatalogRef, jsii.sinvoke(cls, "fromDataCatalogName", [scope, id, data_catalog_name]))
|
|
1804
|
+
|
|
1784
1805
|
@jsii.member(jsii_name="inspect")
|
|
1785
1806
|
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
1786
1807
|
'''Examines the CloudFormation resource and discloses attributes.
|
|
@@ -2418,6 +2439,27 @@ class CfnWorkGroup(
|
|
|
2418
2439
|
|
|
2419
2440
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
2420
2441
|
|
|
2442
|
+
@jsii.member(jsii_name="fromWorkGroupName")
|
|
2443
|
+
@builtins.classmethod
|
|
2444
|
+
def from_work_group_name(
|
|
2445
|
+
cls,
|
|
2446
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
2447
|
+
id: builtins.str,
|
|
2448
|
+
work_group_name: builtins.str,
|
|
2449
|
+
) -> IWorkGroupRef:
|
|
2450
|
+
'''Creates a new IWorkGroupRef from a workGroupName.
|
|
2451
|
+
|
|
2452
|
+
:param scope: -
|
|
2453
|
+
:param id: -
|
|
2454
|
+
:param work_group_name: -
|
|
2455
|
+
'''
|
|
2456
|
+
if __debug__:
|
|
2457
|
+
type_hints = typing.get_type_hints(_typecheckingstub__be43a8d87adff5435c9f23ab60a2b7d950366fdde534d2500f7e413d6b588f9f)
|
|
2458
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
2459
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
2460
|
+
check_type(argname="argument work_group_name", value=work_group_name, expected_type=type_hints["work_group_name"])
|
|
2461
|
+
return typing.cast(IWorkGroupRef, jsii.sinvoke(cls, "fromWorkGroupName", [scope, id, work_group_name]))
|
|
2462
|
+
|
|
2421
2463
|
@jsii.member(jsii_name="inspect")
|
|
2422
2464
|
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
2423
2465
|
'''Examines the CloudFormation resource and discloses attributes.
|
|
@@ -4075,6 +4117,14 @@ def _typecheckingstub__05023d61a95576869568bc095d9889b971a9d8c061cba5833a71f4423
|
|
|
4075
4117
|
"""Type checking stubs"""
|
|
4076
4118
|
pass
|
|
4077
4119
|
|
|
4120
|
+
def _typecheckingstub__d5d2a0246fafbbc6a693f337ada29b85155f59962e79d7c642084d44652d0f2e(
|
|
4121
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
4122
|
+
id: builtins.str,
|
|
4123
|
+
data_catalog_name: builtins.str,
|
|
4124
|
+
) -> None:
|
|
4125
|
+
"""Type checking stubs"""
|
|
4126
|
+
pass
|
|
4127
|
+
|
|
4078
4128
|
def _typecheckingstub__70484df33f57719ba2197f7ae86dd846651ec89bd9dc9853fbc4fff3bb342b5e(
|
|
4079
4129
|
inspector: _TreeInspector_488e0dd5,
|
|
4080
4130
|
) -> None:
|
|
@@ -4253,6 +4303,14 @@ def _typecheckingstub__be0f7d9e26f77f516ae56dabfd6aae7d4d7e7404767cea86eb51dbe5a
|
|
|
4253
4303
|
"""Type checking stubs"""
|
|
4254
4304
|
pass
|
|
4255
4305
|
|
|
4306
|
+
def _typecheckingstub__be43a8d87adff5435c9f23ab60a2b7d950366fdde534d2500f7e413d6b588f9f(
|
|
4307
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
4308
|
+
id: builtins.str,
|
|
4309
|
+
work_group_name: builtins.str,
|
|
4310
|
+
) -> None:
|
|
4311
|
+
"""Type checking stubs"""
|
|
4312
|
+
pass
|
|
4313
|
+
|
|
4256
4314
|
def _typecheckingstub__a89351b058fb473aa673ca436e54b399faeed90f862768d495efb059a3875b1c(
|
|
4257
4315
|
inspector: _TreeInspector_488e0dd5,
|
|
4258
4316
|
) -> None:
|