aws-cdk-lib 2.137.0__py3-none-any.whl → 2.139.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 +8 -0
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.137.0.jsii.tgz → aws-cdk-lib@2.139.0.jsii.tgz} +0 -0
- aws_cdk/aws_amplify/__init__.py +29 -113
- aws_cdk/aws_apigateway/__init__.py +29 -16
- aws_cdk/aws_appconfig/__init__.py +315 -77
- aws_cdk/aws_appintegrations/__init__.py +55 -6
- aws_cdk/aws_apprunner/__init__.py +5 -2
- aws_cdk/aws_appsync/__init__.py +400 -13
- aws_cdk/aws_aps/__init__.py +64 -47
- aws_cdk/aws_autoscaling/__init__.py +62 -60
- aws_cdk/aws_b2bi/__init__.py +2 -6
- aws_cdk/aws_backup/__init__.py +53 -57
- aws_cdk/aws_batch/__init__.py +109 -0
- aws_cdk/aws_bcmdataexports/__init__.py +1114 -0
- aws_cdk/aws_bedrock/__init__.py +4144 -0
- aws_cdk/aws_chatbot/__init__.py +6 -4
- aws_cdk/aws_cleanrooms/__init__.py +526 -3
- aws_cdk/aws_cleanroomsml/__init__.py +960 -0
- aws_cdk/aws_cloudtrail/__init__.py +10 -10
- aws_cdk/aws_cloudwatch/__init__.py +244 -8
- aws_cdk/aws_codebuild/__init__.py +27 -22
- aws_cdk/aws_codeconnections/__init__.py +435 -0
- aws_cdk/aws_cognito/__init__.py +175 -79
- aws_cdk/aws_datazone/__init__.py +22 -0
- aws_cdk/aws_deadline/__init__.py +5394 -0
- aws_cdk/aws_dms/__init__.py +2 -4
- aws_cdk/aws_ec2/__init__.py +402 -247
- aws_cdk/aws_ecr/__init__.py +630 -0
- aws_cdk/aws_ecs/__init__.py +361 -20
- aws_cdk/aws_efs/__init__.py +594 -2
- aws_cdk/aws_elasticache/__init__.py +86 -32
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +75 -10
- aws_cdk/aws_emr/__init__.py +2 -2
- aws_cdk/aws_entityresolution/__init__.py +1982 -773
- aws_cdk/aws_events_targets/__init__.py +17 -4
- aws_cdk/aws_globalaccelerator/__init__.py +443 -0
- aws_cdk/aws_iam/__init__.py +1 -2
- aws_cdk/aws_internetmonitor/__init__.py +14 -6
- aws_cdk/aws_ivs/__init__.py +1273 -71
- aws_cdk/aws_kms/__init__.py +44 -0
- aws_cdk/aws_lambda/__init__.py +9 -0
- aws_cdk/aws_mediatailor/__init__.py +41 -0
- aws_cdk/aws_oam/__init__.py +204 -0
- aws_cdk/aws_personalize/__init__.py +8 -6
- aws_cdk/aws_pinpoint/__init__.py +5 -3
- aws_cdk/aws_pipes/__init__.py +5 -1
- aws_cdk/aws_quicksight/__init__.py +12 -6
- aws_cdk/aws_rds/__init__.py +370 -96
- aws_cdk/aws_redshiftserverless/__init__.py +157 -0
- aws_cdk/aws_route53/__init__.py +587 -14
- aws_cdk/aws_sagemaker/__init__.py +233 -2
- aws_cdk/aws_securityhub/__init__.py +4940 -102
- aws_cdk/aws_securitylake/__init__.py +1326 -89
- aws_cdk/aws_ses_actions/__init__.py +155 -0
- aws_cdk/aws_sns/__init__.py +61 -4
- aws_cdk/aws_ssm/__init__.py +5 -2
- aws_cdk/aws_ssmcontacts/__init__.py +11 -4
- aws_cdk/aws_stepfunctions/__init__.py +8 -16
- aws_cdk/aws_stepfunctions_tasks/__init__.py +676 -1
- aws_cdk/aws_timestream/__init__.py +1045 -0
- aws_cdk/aws_transfer/__init__.py +19 -10
- aws_cdk/aws_verifiedpermissions/__init__.py +114 -37
- aws_cdk/aws_wisdom/__init__.py +2 -2
- aws_cdk/aws_workspacesthinclient/__init__.py +8 -8
- aws_cdk/custom_resources/__init__.py +688 -26
- aws_cdk/cx_api/__init__.py +17 -0
- {aws_cdk_lib-2.137.0.dist-info → aws_cdk_lib-2.139.0.dist-info}/METADATA +3 -3
- {aws_cdk_lib-2.137.0.dist-info → aws_cdk_lib-2.139.0.dist-info}/RECORD +73 -69
- {aws_cdk_lib-2.137.0.dist-info → aws_cdk_lib-2.139.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.137.0.dist-info → aws_cdk_lib-2.139.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.137.0.dist-info → aws_cdk_lib-2.139.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.137.0.dist-info → aws_cdk_lib-2.139.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_aps/__init__.py
CHANGED
|
@@ -103,7 +103,7 @@ class CfnRuleGroupsNamespace(
|
|
|
103
103
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
104
104
|
:param data: The rules file used in the namespace. For more details about the rules file, see `Creating a rules file <https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-ruler-rulesfile.html>`_ in the *Amazon Managed Service for Prometheus User Guide* .
|
|
105
105
|
:param name: The name of the rule groups namespace.
|
|
106
|
-
:param workspace:
|
|
106
|
+
:param workspace: The ID of the workspace to add the rule groups namespace.
|
|
107
107
|
:param tags: The list of tag keys and values that are associated with the rule groups namespace.
|
|
108
108
|
'''
|
|
109
109
|
if __debug__:
|
|
@@ -197,7 +197,7 @@ class CfnRuleGroupsNamespace(
|
|
|
197
197
|
@builtins.property
|
|
198
198
|
@jsii.member(jsii_name="workspace")
|
|
199
199
|
def workspace(self) -> builtins.str:
|
|
200
|
-
'''
|
|
200
|
+
'''The ID of the workspace to add the rule groups namespace.'''
|
|
201
201
|
return typing.cast(builtins.str, jsii.get(self, "workspace"))
|
|
202
202
|
|
|
203
203
|
@workspace.setter
|
|
@@ -244,7 +244,7 @@ class CfnRuleGroupsNamespaceProps:
|
|
|
244
244
|
|
|
245
245
|
:param data: The rules file used in the namespace. For more details about the rules file, see `Creating a rules file <https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-ruler-rulesfile.html>`_ in the *Amazon Managed Service for Prometheus User Guide* .
|
|
246
246
|
:param name: The name of the rule groups namespace.
|
|
247
|
-
:param workspace:
|
|
247
|
+
:param workspace: The ID of the workspace to add the rule groups namespace.
|
|
248
248
|
:param tags: The list of tag keys and values that are associated with the rule groups namespace.
|
|
249
249
|
|
|
250
250
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-rulegroupsnamespace.html
|
|
@@ -306,7 +306,7 @@ class CfnRuleGroupsNamespaceProps:
|
|
|
306
306
|
|
|
307
307
|
@builtins.property
|
|
308
308
|
def workspace(self) -> builtins.str:
|
|
309
|
-
'''
|
|
309
|
+
'''The ID of the workspace to add the rule groups namespace.
|
|
310
310
|
|
|
311
311
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-rulegroupsnamespace.html#cfn-aps-rulegroupsnamespace-workspace
|
|
312
312
|
'''
|
|
@@ -341,7 +341,16 @@ class CfnScraper(
|
|
|
341
341
|
metaclass=jsii.JSIIMeta,
|
|
342
342
|
jsii_type="aws-cdk-lib.aws_aps.CfnScraper",
|
|
343
343
|
):
|
|
344
|
-
'''
|
|
344
|
+
'''A scraper is a fully-managed agentless collector that discovers and pulls metrics automatically.
|
|
345
|
+
|
|
346
|
+
A scraper pulls metrics from Prometheus-compatible sources within an Amazon EKS cluster, and sends them to your Amazon Managed Service for Prometheus workspace. Scrapers are flexible. You can configure the scraper to control what metrics are collected, the frequency of collection, what transformations are applied to the metrics, and more.
|
|
347
|
+
|
|
348
|
+
An IAM role will be created for you that Amazon Managed Service for Prometheus uses to access the metrics in your cluster. You must configure this role with a policy that allows it to scrape metrics from your cluster. For more information, see `Configuring your Amazon EKS cluster <https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-collector-how-to.html#AMP-collector-eks-setup>`_ in the *Amazon Managed Service for Prometheus User Guide* .
|
|
349
|
+
|
|
350
|
+
The ``scrapeConfiguration`` parameter contains the YAML configuration for the scraper.
|
|
351
|
+
.. epigraph::
|
|
352
|
+
|
|
353
|
+
For more information about collectors, including what metrics are collected, and how to configure the scraper, see `Using an AWS managed collector <https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-collector-how-to.html>`_ in the *Amazon Managed Service for Prometheus User Guide* .
|
|
345
354
|
|
|
346
355
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-scraper.html
|
|
347
356
|
:cloudformationResource: AWS::APS::Scraper
|
|
@@ -395,11 +404,11 @@ class CfnScraper(
|
|
|
395
404
|
'''
|
|
396
405
|
:param scope: Scope in which this resource is defined.
|
|
397
406
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
398
|
-
:param destination:
|
|
399
|
-
:param scrape_configuration:
|
|
400
|
-
:param source:
|
|
401
|
-
:param alias:
|
|
402
|
-
:param tags:
|
|
407
|
+
:param destination: The Amazon Managed Service for Prometheus workspace the scraper sends metrics to.
|
|
408
|
+
:param scrape_configuration: The configuration in use by the scraper.
|
|
409
|
+
:param source: The Amazon EKS cluster from which the scraper collects metrics.
|
|
410
|
+
:param alias: An optional user-assigned scraper alias.
|
|
411
|
+
:param tags: (Optional) The list of tag keys and values associated with the scraper.
|
|
403
412
|
'''
|
|
404
413
|
if __debug__:
|
|
405
414
|
type_hints = typing.get_type_hints(_typecheckingstub__4d4cb1653b22b80f73c5fa4972418519c1d58f8ac033d22184f1b74ee25bf2b0)
|
|
@@ -448,7 +457,9 @@ class CfnScraper(
|
|
|
448
457
|
@builtins.property
|
|
449
458
|
@jsii.member(jsii_name="attrArn")
|
|
450
459
|
def attr_arn(self) -> builtins.str:
|
|
451
|
-
'''
|
|
460
|
+
'''The Amazon Resource Name (ARN) of the scraper.
|
|
461
|
+
|
|
462
|
+
For example, ``arn:aws:aps:<region>:123456798012:scraper/s-example1-1234-abcd-5678-ef9012abcd34`` .
|
|
452
463
|
|
|
453
464
|
:cloudformationAttribute: Arn
|
|
454
465
|
'''
|
|
@@ -457,7 +468,9 @@ class CfnScraper(
|
|
|
457
468
|
@builtins.property
|
|
458
469
|
@jsii.member(jsii_name="attrRoleArn")
|
|
459
470
|
def attr_role_arn(self) -> builtins.str:
|
|
460
|
-
'''IAM role
|
|
471
|
+
'''The Amazon Resource Name (ARN) of the IAM role that provides permissions for the scraper to discover and collect metrics on your behalf.
|
|
472
|
+
|
|
473
|
+
For example, ``arn:aws:iam::123456789012:role/service-role/AmazonGrafanaServiceRole-12example`` .
|
|
461
474
|
|
|
462
475
|
:cloudformationAttribute: RoleArn
|
|
463
476
|
'''
|
|
@@ -466,7 +479,9 @@ class CfnScraper(
|
|
|
466
479
|
@builtins.property
|
|
467
480
|
@jsii.member(jsii_name="attrScraperId")
|
|
468
481
|
def attr_scraper_id(self) -> builtins.str:
|
|
469
|
-
'''
|
|
482
|
+
'''The ID of the scraper.
|
|
483
|
+
|
|
484
|
+
For example, ``s-example1-1234-abcd-5678-ef9012abcd34`` .
|
|
470
485
|
|
|
471
486
|
:cloudformationAttribute: ScraperId
|
|
472
487
|
'''
|
|
@@ -488,7 +503,7 @@ class CfnScraper(
|
|
|
488
503
|
def destination(
|
|
489
504
|
self,
|
|
490
505
|
) -> typing.Union[_IResolvable_da3f097b, "CfnScraper.DestinationProperty"]:
|
|
491
|
-
'''
|
|
506
|
+
'''The Amazon Managed Service for Prometheus workspace the scraper sends metrics to.'''
|
|
492
507
|
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnScraper.DestinationProperty"], jsii.get(self, "destination"))
|
|
493
508
|
|
|
494
509
|
@destination.setter
|
|
@@ -506,7 +521,7 @@ class CfnScraper(
|
|
|
506
521
|
def scrape_configuration(
|
|
507
522
|
self,
|
|
508
523
|
) -> typing.Union[_IResolvable_da3f097b, "CfnScraper.ScrapeConfigurationProperty"]:
|
|
509
|
-
'''
|
|
524
|
+
'''The configuration in use by the scraper.'''
|
|
510
525
|
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnScraper.ScrapeConfigurationProperty"], jsii.get(self, "scrapeConfiguration"))
|
|
511
526
|
|
|
512
527
|
@scrape_configuration.setter
|
|
@@ -524,7 +539,7 @@ class CfnScraper(
|
|
|
524
539
|
def source(
|
|
525
540
|
self,
|
|
526
541
|
) -> typing.Union[_IResolvable_da3f097b, "CfnScraper.SourceProperty"]:
|
|
527
|
-
'''
|
|
542
|
+
'''The Amazon EKS cluster from which the scraper collects metrics.'''
|
|
528
543
|
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnScraper.SourceProperty"], jsii.get(self, "source"))
|
|
529
544
|
|
|
530
545
|
@source.setter
|
|
@@ -540,7 +555,7 @@ class CfnScraper(
|
|
|
540
555
|
@builtins.property
|
|
541
556
|
@jsii.member(jsii_name="alias")
|
|
542
557
|
def alias(self) -> typing.Optional[builtins.str]:
|
|
543
|
-
'''
|
|
558
|
+
'''An optional user-assigned scraper alias.'''
|
|
544
559
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "alias"))
|
|
545
560
|
|
|
546
561
|
@alias.setter
|
|
@@ -553,7 +568,7 @@ class CfnScraper(
|
|
|
553
568
|
@builtins.property
|
|
554
569
|
@jsii.member(jsii_name="tags")
|
|
555
570
|
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
556
|
-
'''
|
|
571
|
+
'''(Optional) The list of tag keys and values associated with the scraper.'''
|
|
557
572
|
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
|
|
558
573
|
|
|
559
574
|
@tags.setter
|
|
@@ -570,9 +585,9 @@ class CfnScraper(
|
|
|
570
585
|
)
|
|
571
586
|
class AmpConfigurationProperty:
|
|
572
587
|
def __init__(self, *, workspace_arn: builtins.str) -> None:
|
|
573
|
-
'''
|
|
588
|
+
'''The ``AmpConfiguration`` structure defines the Amazon Managed Service for Prometheus instance a scraper should send metrics to.
|
|
574
589
|
|
|
575
|
-
:param workspace_arn: ARN of
|
|
590
|
+
:param workspace_arn: ARN of the Amazon Managed Service for Prometheus workspace.
|
|
576
591
|
|
|
577
592
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-scraper-ampconfiguration.html
|
|
578
593
|
:exampleMetadata: fixture=_generated
|
|
@@ -596,7 +611,7 @@ class CfnScraper(
|
|
|
596
611
|
|
|
597
612
|
@builtins.property
|
|
598
613
|
def workspace_arn(self) -> builtins.str:
|
|
599
|
-
'''ARN of
|
|
614
|
+
'''ARN of the Amazon Managed Service for Prometheus workspace.
|
|
600
615
|
|
|
601
616
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-scraper-ampconfiguration.html#cfn-aps-scraper-ampconfiguration-workspacearn
|
|
602
617
|
'''
|
|
@@ -626,9 +641,9 @@ class CfnScraper(
|
|
|
626
641
|
*,
|
|
627
642
|
amp_configuration: typing.Union[_IResolvable_da3f097b, typing.Union["CfnScraper.AmpConfigurationProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
628
643
|
) -> None:
|
|
629
|
-
'''
|
|
644
|
+
'''Where to send the metrics from a scraper.
|
|
630
645
|
|
|
631
|
-
:param amp_configuration:
|
|
646
|
+
:param amp_configuration: The Amazon Managed Service for Prometheus workspace to send metrics to.
|
|
632
647
|
|
|
633
648
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-scraper-destination.html
|
|
634
649
|
:exampleMetadata: fixture=_generated
|
|
@@ -656,7 +671,7 @@ class CfnScraper(
|
|
|
656
671
|
def amp_configuration(
|
|
657
672
|
self,
|
|
658
673
|
) -> typing.Union[_IResolvable_da3f097b, "CfnScraper.AmpConfigurationProperty"]:
|
|
659
|
-
'''
|
|
674
|
+
'''The Amazon Managed Service for Prometheus workspace to send metrics to.
|
|
660
675
|
|
|
661
676
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-scraper-destination.html#cfn-aps-scraper-destination-ampconfiguration
|
|
662
677
|
'''
|
|
@@ -692,11 +707,11 @@ class CfnScraper(
|
|
|
692
707
|
subnet_ids: typing.Sequence[builtins.str],
|
|
693
708
|
security_group_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
694
709
|
) -> None:
|
|
695
|
-
'''
|
|
710
|
+
'''The ``EksConfiguration`` structure describes the connection to the Amazon EKS cluster from which a scraper collects metrics.
|
|
696
711
|
|
|
697
|
-
:param cluster_arn: ARN of
|
|
698
|
-
:param subnet_ids:
|
|
699
|
-
:param security_group_ids:
|
|
712
|
+
:param cluster_arn: ARN of the Amazon EKS cluster.
|
|
713
|
+
:param subnet_ids: A list of subnet IDs for the Amazon EKS cluster VPC configuration.
|
|
714
|
+
:param security_group_ids: A list of the security group IDs for the Amazon EKS cluster VPC configuration.
|
|
700
715
|
|
|
701
716
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-scraper-eksconfiguration.html
|
|
702
717
|
:exampleMetadata: fixture=_generated
|
|
@@ -729,7 +744,7 @@ class CfnScraper(
|
|
|
729
744
|
|
|
730
745
|
@builtins.property
|
|
731
746
|
def cluster_arn(self) -> builtins.str:
|
|
732
|
-
'''ARN of
|
|
747
|
+
'''ARN of the Amazon EKS cluster.
|
|
733
748
|
|
|
734
749
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-scraper-eksconfiguration.html#cfn-aps-scraper-eksconfiguration-clusterarn
|
|
735
750
|
'''
|
|
@@ -739,7 +754,7 @@ class CfnScraper(
|
|
|
739
754
|
|
|
740
755
|
@builtins.property
|
|
741
756
|
def subnet_ids(self) -> typing.List[builtins.str]:
|
|
742
|
-
'''
|
|
757
|
+
'''A list of subnet IDs for the Amazon EKS cluster VPC configuration.
|
|
743
758
|
|
|
744
759
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-scraper-eksconfiguration.html#cfn-aps-scraper-eksconfiguration-subnetids
|
|
745
760
|
'''
|
|
@@ -749,7 +764,7 @@ class CfnScraper(
|
|
|
749
764
|
|
|
750
765
|
@builtins.property
|
|
751
766
|
def security_group_ids(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
752
|
-
'''
|
|
767
|
+
'''A list of the security group IDs for the Amazon EKS cluster VPC configuration.
|
|
753
768
|
|
|
754
769
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-scraper-eksconfiguration.html#cfn-aps-scraper-eksconfiguration-securitygroupids
|
|
755
770
|
'''
|
|
@@ -774,9 +789,11 @@ class CfnScraper(
|
|
|
774
789
|
)
|
|
775
790
|
class ScrapeConfigurationProperty:
|
|
776
791
|
def __init__(self, *, configuration_blob: builtins.str) -> None:
|
|
777
|
-
'''
|
|
792
|
+
'''A scrape configuration for a scraper, base 64 encoded.
|
|
793
|
+
|
|
794
|
+
For more information, see `Scraper configuration <https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-collector-how-to.html#AMP-collector-configuration>`_ in the *Amazon Managed Service for Prometheus User Guide* .
|
|
778
795
|
|
|
779
|
-
:param configuration_blob:
|
|
796
|
+
:param configuration_blob: The base 64 encoded scrape configuration file.
|
|
780
797
|
|
|
781
798
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-scraper-scrapeconfiguration.html
|
|
782
799
|
:exampleMetadata: fixture=_generated
|
|
@@ -800,7 +817,7 @@ class CfnScraper(
|
|
|
800
817
|
|
|
801
818
|
@builtins.property
|
|
802
819
|
def configuration_blob(self) -> builtins.str:
|
|
803
|
-
'''
|
|
820
|
+
'''The base 64 encoded scrape configuration file.
|
|
804
821
|
|
|
805
822
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-scraper-scrapeconfiguration.html#cfn-aps-scraper-scrapeconfiguration-configurationblob
|
|
806
823
|
'''
|
|
@@ -830,9 +847,9 @@ class CfnScraper(
|
|
|
830
847
|
*,
|
|
831
848
|
eks_configuration: typing.Union[_IResolvable_da3f097b, typing.Union["CfnScraper.EksConfigurationProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
832
849
|
) -> None:
|
|
833
|
-
'''
|
|
850
|
+
'''The source of collected metrics for a scraper.
|
|
834
851
|
|
|
835
|
-
:param eks_configuration:
|
|
852
|
+
:param eks_configuration: The Amazon EKS cluster from which a scraper collects metrics.
|
|
836
853
|
|
|
837
854
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-scraper-source.html
|
|
838
855
|
:exampleMetadata: fixture=_generated
|
|
@@ -864,7 +881,7 @@ class CfnScraper(
|
|
|
864
881
|
def eks_configuration(
|
|
865
882
|
self,
|
|
866
883
|
) -> typing.Union[_IResolvable_da3f097b, "CfnScraper.EksConfigurationProperty"]:
|
|
867
|
-
'''
|
|
884
|
+
'''The Amazon EKS cluster from which a scraper collects metrics.
|
|
868
885
|
|
|
869
886
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-scraper-source.html#cfn-aps-scraper-source-eksconfiguration
|
|
870
887
|
'''
|
|
@@ -907,11 +924,11 @@ class CfnScraperProps:
|
|
|
907
924
|
) -> None:
|
|
908
925
|
'''Properties for defining a ``CfnScraper``.
|
|
909
926
|
|
|
910
|
-
:param destination:
|
|
911
|
-
:param scrape_configuration:
|
|
912
|
-
:param source:
|
|
913
|
-
:param alias:
|
|
914
|
-
:param tags:
|
|
927
|
+
:param destination: The Amazon Managed Service for Prometheus workspace the scraper sends metrics to.
|
|
928
|
+
:param scrape_configuration: The configuration in use by the scraper.
|
|
929
|
+
:param source: The Amazon EKS cluster from which the scraper collects metrics.
|
|
930
|
+
:param alias: An optional user-assigned scraper alias.
|
|
931
|
+
:param tags: (Optional) The list of tag keys and values associated with the scraper.
|
|
915
932
|
|
|
916
933
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-scraper.html
|
|
917
934
|
:exampleMetadata: fixture=_generated
|
|
@@ -970,7 +987,7 @@ class CfnScraperProps:
|
|
|
970
987
|
def destination(
|
|
971
988
|
self,
|
|
972
989
|
) -> typing.Union[_IResolvable_da3f097b, CfnScraper.DestinationProperty]:
|
|
973
|
-
'''
|
|
990
|
+
'''The Amazon Managed Service for Prometheus workspace the scraper sends metrics to.
|
|
974
991
|
|
|
975
992
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-scraper.html#cfn-aps-scraper-destination
|
|
976
993
|
'''
|
|
@@ -982,7 +999,7 @@ class CfnScraperProps:
|
|
|
982
999
|
def scrape_configuration(
|
|
983
1000
|
self,
|
|
984
1001
|
) -> typing.Union[_IResolvable_da3f097b, CfnScraper.ScrapeConfigurationProperty]:
|
|
985
|
-
'''
|
|
1002
|
+
'''The configuration in use by the scraper.
|
|
986
1003
|
|
|
987
1004
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-scraper.html#cfn-aps-scraper-scrapeconfiguration
|
|
988
1005
|
'''
|
|
@@ -992,7 +1009,7 @@ class CfnScraperProps:
|
|
|
992
1009
|
|
|
993
1010
|
@builtins.property
|
|
994
1011
|
def source(self) -> typing.Union[_IResolvable_da3f097b, CfnScraper.SourceProperty]:
|
|
995
|
-
'''
|
|
1012
|
+
'''The Amazon EKS cluster from which the scraper collects metrics.
|
|
996
1013
|
|
|
997
1014
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-scraper.html#cfn-aps-scraper-source
|
|
998
1015
|
'''
|
|
@@ -1002,7 +1019,7 @@ class CfnScraperProps:
|
|
|
1002
1019
|
|
|
1003
1020
|
@builtins.property
|
|
1004
1021
|
def alias(self) -> typing.Optional[builtins.str]:
|
|
1005
|
-
'''
|
|
1022
|
+
'''An optional user-assigned scraper alias.
|
|
1006
1023
|
|
|
1007
1024
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-scraper.html#cfn-aps-scraper-alias
|
|
1008
1025
|
'''
|
|
@@ -1011,7 +1028,7 @@ class CfnScraperProps:
|
|
|
1011
1028
|
|
|
1012
1029
|
@builtins.property
|
|
1013
1030
|
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
1014
|
-
'''
|
|
1031
|
+
'''(Optional) The list of tag keys and values associated with the scraper.
|
|
1015
1032
|
|
|
1016
1033
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-scraper.html#cfn-aps-scraper-tags
|
|
1017
1034
|
'''
|