aws-cdk-lib 2.137.0__py3-none-any.whl → 2.138.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.138.0.jsii.tgz} +0 -0
- aws_cdk/aws_amplify/__init__.py +29 -113
- aws_cdk/aws_appconfig/__init__.py +26 -33
- 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_b2bi/__init__.py +2 -6
- aws_cdk/aws_backup/__init__.py +27 -23
- aws_cdk/aws_batch/__init__.py +103 -0
- aws_cdk/aws_bcmdataexports/__init__.py +1114 -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 +124 -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_deadline/__init__.py +5394 -0
- aws_cdk/aws_ec2/__init__.py +279 -163
- aws_cdk/aws_ecs/__init__.py +240 -1
- aws_cdk/aws_efs/__init__.py +2 -2
- aws_cdk/aws_elasticache/__init__.py +86 -32
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +52 -2
- aws_cdk/aws_emr/__init__.py +2 -2
- aws_cdk/aws_entityresolution/__init__.py +1982 -773
- 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_mediatailor/__init__.py +41 -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 +355 -85
- 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 +1237 -55
- aws_cdk/aws_sns/__init__.py +61 -4
- 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_transfer/__init__.py +4 -4
- aws_cdk/aws_verifiedpermissions/__init__.py +114 -37
- aws_cdk/aws_workspacesthinclient/__init__.py +8 -8
- aws_cdk/custom_resources/__init__.py +248 -26
- {aws_cdk_lib-2.137.0.dist-info → aws_cdk_lib-2.138.0.dist-info}/METADATA +3 -3
- {aws_cdk_lib-2.137.0.dist-info → aws_cdk_lib-2.138.0.dist-info}/RECORD +56 -52
- {aws_cdk_lib-2.137.0.dist-info → aws_cdk_lib-2.138.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.137.0.dist-info → aws_cdk_lib-2.138.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.137.0.dist-info → aws_cdk_lib-2.138.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.137.0.dist-info → aws_cdk_lib-2.138.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
|
'''
|
aws_cdk/aws_b2bi/__init__.py
CHANGED
|
@@ -657,7 +657,7 @@ class CfnCapability(
|
|
|
657
657
|
) -> None:
|
|
658
658
|
'''
|
|
659
659
|
:param transaction_set: Returns an enumerated type where each value identifies an X12 transaction set. Transaction sets are maintained by the X12 Accredited Standards Committee.
|
|
660
|
-
:param version: Returns the version to use for the specified X12 transaction set.
|
|
660
|
+
:param version: Returns the version to use for the specified X12 transaction set.
|
|
661
661
|
|
|
662
662
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-capability-x12details.html
|
|
663
663
|
:exampleMetadata: fixture=_generated
|
|
@@ -698,8 +698,6 @@ class CfnCapability(
|
|
|
698
698
|
def version(self) -> typing.Optional[builtins.str]:
|
|
699
699
|
'''Returns the version to use for the specified X12 transaction set.
|
|
700
700
|
|
|
701
|
-
Supported versions are ``4010`` , ``4030`` , and ``5010`` .
|
|
702
|
-
|
|
703
701
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-capability-x12details.html#cfn-b2bi-capability-x12details-version
|
|
704
702
|
'''
|
|
705
703
|
result = self._values.get("version")
|
|
@@ -1974,7 +1972,7 @@ class CfnTransformer(
|
|
|
1974
1972
|
If an EDI input file contains more than one transaction, each transaction must have the same transaction set and version, for example 214/4010. If not, the transformer cannot parse the file.
|
|
1975
1973
|
|
|
1976
1974
|
:param transaction_set: Returns an enumerated type where each value identifies an X12 transaction set. Transaction sets are maintained by the X12 Accredited Standards Committee.
|
|
1977
|
-
:param version: Returns the version to use for the specified X12 transaction set.
|
|
1975
|
+
:param version: Returns the version to use for the specified X12 transaction set.
|
|
1978
1976
|
|
|
1979
1977
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-x12details.html
|
|
1980
1978
|
:exampleMetadata: fixture=_generated
|
|
@@ -2015,8 +2013,6 @@ class CfnTransformer(
|
|
|
2015
2013
|
def version(self) -> typing.Optional[builtins.str]:
|
|
2016
2014
|
'''Returns the version to use for the specified X12 transaction set.
|
|
2017
2015
|
|
|
2018
|
-
Supported versions are ``4010`` , ``4030`` , and ``5010`` .
|
|
2019
|
-
|
|
2020
2016
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-x12details.html#cfn-b2bi-transformer-x12details-version
|
|
2021
2017
|
'''
|
|
2022
2018
|
result = self._values.get("version")
|
aws_cdk/aws_backup/__init__.py
CHANGED
|
@@ -3457,7 +3457,7 @@ class CfnBackupVault(
|
|
|
3457
3457
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
3458
3458
|
:param backup_vault_name: The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the AWS Region where they are created. They consist of lowercase letters, numbers, and hyphens.
|
|
3459
3459
|
:param access_policy: A resource-based policy that is used to manage access permissions on the target backup vault.
|
|
3460
|
-
:param backup_vault_tags: Metadata that you can assign to help organize
|
|
3460
|
+
:param backup_vault_tags: Metadata that you can assign to help organize your backup vaults. Each tag is a key-value pair.
|
|
3461
3461
|
:param encryption_key_arn: A server-side encryption key you can specify to encrypt your backups from services that support full AWS Backup management; for example, ``arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab`` . If you specify a key, you must specify its ARN, not its alias. If you do not specify a key, AWS Backup creates a KMS key for you by default. To learn which AWS Backup services support full AWS Backup management and how AWS Backup handles encryption for backups from services that do not yet support full AWS Backup , see `Encryption for backups in AWS Backup <https://docs.aws.amazon.com/aws-backup/latest/devguide/encryption.html>`_
|
|
3462
3462
|
:param lock_configuration: Configuration for `AWS Backup Vault Lock <https://docs.aws.amazon.com/aws-backup/latest/devguide/vault-lock.html>`_ .
|
|
3463
3463
|
:param notifications: The SNS event notifications for the specified backup vault.
|
|
@@ -3571,7 +3571,7 @@ class CfnBackupVault(
|
|
|
3571
3571
|
def backup_vault_tags(
|
|
3572
3572
|
self,
|
|
3573
3573
|
) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
3574
|
-
'''Metadata that you can assign to help organize
|
|
3574
|
+
'''Metadata that you can assign to help organize your backup vaults.'''
|
|
3575
3575
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], jsii.get(self, "backupVaultTags"))
|
|
3576
3576
|
|
|
3577
3577
|
@backup_vault_tags.setter
|
|
@@ -3851,7 +3851,7 @@ class CfnBackupVaultProps:
|
|
|
3851
3851
|
|
|
3852
3852
|
:param backup_vault_name: The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the AWS Region where they are created. They consist of lowercase letters, numbers, and hyphens.
|
|
3853
3853
|
:param access_policy: A resource-based policy that is used to manage access permissions on the target backup vault.
|
|
3854
|
-
:param backup_vault_tags: Metadata that you can assign to help organize
|
|
3854
|
+
:param backup_vault_tags: Metadata that you can assign to help organize your backup vaults. Each tag is a key-value pair.
|
|
3855
3855
|
:param encryption_key_arn: A server-side encryption key you can specify to encrypt your backups from services that support full AWS Backup management; for example, ``arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab`` . If you specify a key, you must specify its ARN, not its alias. If you do not specify a key, AWS Backup creates a KMS key for you by default. To learn which AWS Backup services support full AWS Backup management and how AWS Backup handles encryption for backups from services that do not yet support full AWS Backup , see `Encryption for backups in AWS Backup <https://docs.aws.amazon.com/aws-backup/latest/devguide/encryption.html>`_
|
|
3856
3856
|
:param lock_configuration: Configuration for `AWS Backup Vault Lock <https://docs.aws.amazon.com/aws-backup/latest/devguide/vault-lock.html>`_ .
|
|
3857
3857
|
:param notifications: The SNS event notifications for the specified backup vault.
|
|
@@ -3936,7 +3936,7 @@ class CfnBackupVaultProps:
|
|
|
3936
3936
|
def backup_vault_tags(
|
|
3937
3937
|
self,
|
|
3938
3938
|
) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
3939
|
-
'''Metadata that you can assign to help organize
|
|
3939
|
+
'''Metadata that you can assign to help organize your backup vaults.
|
|
3940
3940
|
|
|
3941
3941
|
Each tag is a key-value pair.
|
|
3942
3942
|
|
|
@@ -4054,7 +4054,7 @@ class CfnFramework(
|
|
|
4054
4054
|
:param framework_controls: Contains detailed information about all of the controls of a framework. Each framework must contain at least one control.
|
|
4055
4055
|
:param framework_description: An optional description of the framework with a maximum 1,024 characters.
|
|
4056
4056
|
:param framework_name: The unique name of a framework. This name is between 1 and 256 characters, starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and underscores (_).
|
|
4057
|
-
:param framework_tags:
|
|
4057
|
+
:param framework_tags: The tags to add your framework.
|
|
4058
4058
|
'''
|
|
4059
4059
|
if __debug__:
|
|
4060
4060
|
type_hints = typing.get_type_hints(_typecheckingstub__762b6f2cf173ed987e2f05e55b691e4e8e14552591e05b26b7f7f4e08e3c739d)
|
|
@@ -4197,7 +4197,7 @@ class CfnFramework(
|
|
|
4197
4197
|
@builtins.property
|
|
4198
4198
|
@jsii.member(jsii_name="frameworkTags")
|
|
4199
4199
|
def framework_tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
4200
|
-
'''
|
|
4200
|
+
'''The tags to add your framework.'''
|
|
4201
4201
|
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "frameworkTags"))
|
|
4202
4202
|
|
|
4203
4203
|
@framework_tags.setter
|
|
@@ -4521,7 +4521,7 @@ class CfnFrameworkProps:
|
|
|
4521
4521
|
:param framework_controls: Contains detailed information about all of the controls of a framework. Each framework must contain at least one control.
|
|
4522
4522
|
:param framework_description: An optional description of the framework with a maximum 1,024 characters.
|
|
4523
4523
|
:param framework_name: The unique name of a framework. This name is between 1 and 256 characters, starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and underscores (_).
|
|
4524
|
-
:param framework_tags:
|
|
4524
|
+
:param framework_tags: The tags to add your framework.
|
|
4525
4525
|
|
|
4526
4526
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backup-framework.html
|
|
4527
4527
|
:exampleMetadata: fixture=_generated
|
|
@@ -4607,7 +4607,7 @@ class CfnFrameworkProps:
|
|
|
4607
4607
|
|
|
4608
4608
|
@builtins.property
|
|
4609
4609
|
def framework_tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
4610
|
-
'''
|
|
4610
|
+
'''The tags to add your framework.
|
|
4611
4611
|
|
|
4612
4612
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backup-framework.html#cfn-backup-framework-frameworktags
|
|
4613
4613
|
'''
|
|
@@ -5425,13 +5425,23 @@ class CfnRestoreTestingPlan(
|
|
|
5425
5425
|
exclude_vaults: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
5426
5426
|
selection_window_days: typing.Optional[jsii.Number] = None,
|
|
5427
5427
|
) -> None:
|
|
5428
|
-
'''
|
|
5428
|
+
'''``RecoveryPointSelection`` has five parameters (three required and two optional).
|
|
5429
5429
|
|
|
5430
|
-
|
|
5430
|
+
The values you specify determine which recovery point is included in the restore test. You must indicate with ``Algorithm`` if you want the latest recovery point within your ``SelectionWindowDays`` or if you want a random recovery point, and you must indicate through ``IncludeVaults`` from which vaults the recovery points can be chosen.
|
|
5431
|
+
|
|
5432
|
+
``Algorithm`` ( *required* ) Valid values: " ``LATEST_WITHIN_WINDOW`` " or " ``RANDOM_WITHIN_WINDOW`` ".
|
|
5433
|
+
|
|
5434
|
+
``Recovery point types`` ( *required* ) Valid values: " ``SNAPSHOT`` " and/or " ``CONTINUOUS`` ". Include ``SNAPSHOT`` to restore only snapshot recovery points; include ``CONTINUOUS`` to restore continuous recovery points (point in time restore / PITR); use both to restore either a snapshot or a continuous recovery point. The recovery point will be determined by the value for ``Algorithm`` .
|
|
5435
|
+
|
|
5436
|
+
``IncludeVaults`` ( *required* ). You must include one or more backup vaults. Use the wildcard ["*"] or specific ARNs.
|
|
5437
|
+
|
|
5438
|
+
``SelectionWindowDays`` ( *optional* ) Value must be an integer (in days) from 1 to 365. If not included, the value defaults to ``30`` .
|
|
5439
|
+
|
|
5440
|
+
``ExcludeVaults`` ( *optional* ). You can choose to input one or more specific backup vault ARNs to exclude those vaults' contents from restore eligibility. Or, you can include a list of selectors. If this parameter and its value are not included, it defaults to empty list.
|
|
5431
5441
|
|
|
5432
5442
|
:param algorithm: Acceptable values include "LATEST_WITHIN_WINDOW" or "RANDOM_WITHIN_WINDOW".
|
|
5433
5443
|
:param include_vaults: Accepted values include wildcard ["*"] or by specific ARNs or ARN wilcard replacement ["arn:aws:backup:us-west-2:123456789012:backup-vault:asdf", ...] ["arn:aws:backup:*:*:backup-vault:asdf-*", ...].
|
|
5434
|
-
:param recovery_point_types: These are the types of recovery points.
|
|
5444
|
+
:param recovery_point_types: These are the types of recovery points. Include ``SNAPSHOT`` to restore only snapshot recovery points; include ``CONTINUOUS`` to restore continuous recovery points (point in time restore / PITR); use both to restore either a snapshot or a continuous recovery point. The recovery point will be determined by the value for ``Algorithm`` .
|
|
5435
5445
|
:param exclude_vaults: Accepted values include specific ARNs or list of selectors. Defaults to empty list if not listed.
|
|
5436
5446
|
:param selection_window_days: Accepted values are integers from 1 to 365.
|
|
5437
5447
|
|
|
@@ -5495,6 +5505,8 @@ class CfnRestoreTestingPlan(
|
|
|
5495
5505
|
def recovery_point_types(self) -> typing.List[builtins.str]:
|
|
5496
5506
|
'''These are the types of recovery points.
|
|
5497
5507
|
|
|
5508
|
+
Include ``SNAPSHOT`` to restore only snapshot recovery points; include ``CONTINUOUS`` to restore continuous recovery points (point in time restore / PITR); use both to restore either a snapshot or a continuous recovery point. The recovery point will be determined by the value for ``Algorithm`` .
|
|
5509
|
+
|
|
5498
5510
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-restoretestingplan-restoretestingrecoverypointselection.html#cfn-backup-restoretestingplan-restoretestingrecoverypointselection-recoverypointtypes
|
|
5499
5511
|
'''
|
|
5500
5512
|
result = self._values.get("recovery_point_types")
|
|
@@ -5957,8 +5969,8 @@ class CfnRestoreTestingSelection(
|
|
|
5957
5969
|
|
|
5958
5970
|
Allowed characters are letters, white space, and numbers that can be represented in UTF-8 and the following characters: ``+ - = . _ : /``
|
|
5959
5971
|
|
|
5960
|
-
:param key: The tag key
|
|
5961
|
-
:param value: The value
|
|
5972
|
+
:param key: The tag key.
|
|
5973
|
+
:param value: The tag value.
|
|
5962
5974
|
|
|
5963
5975
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-restoretestingselection-keyvalue.html
|
|
5964
5976
|
:exampleMetadata: fixture=_generated
|
|
@@ -5985,11 +5997,7 @@ class CfnRestoreTestingSelection(
|
|
|
5985
5997
|
|
|
5986
5998
|
@builtins.property
|
|
5987
5999
|
def key(self) -> builtins.str:
|
|
5988
|
-
'''The tag key
|
|
5989
|
-
|
|
5990
|
-
Length Constraints: Minimum length of 1. Maximum length of 128.
|
|
5991
|
-
|
|
5992
|
-
Pattern: ``^(?![aA]{1}[wW]{1}[sS]{1}:)([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]+)$``
|
|
6000
|
+
'''The tag key.
|
|
5993
6001
|
|
|
5994
6002
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-restoretestingselection-keyvalue.html#cfn-backup-restoretestingselection-keyvalue-key
|
|
5995
6003
|
'''
|
|
@@ -5999,11 +6007,7 @@ class CfnRestoreTestingSelection(
|
|
|
5999
6007
|
|
|
6000
6008
|
@builtins.property
|
|
6001
6009
|
def value(self) -> builtins.str:
|
|
6002
|
-
'''The value
|
|
6003
|
-
|
|
6004
|
-
Length Constraints: Maximum length of 256.
|
|
6005
|
-
|
|
6006
|
-
Pattern: ``^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$``
|
|
6010
|
+
'''The tag value.
|
|
6007
6011
|
|
|
6008
6012
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-restoretestingselection-keyvalue.html#cfn-backup-restoretestingselection-keyvalue-value
|
|
6009
6013
|
'''
|