aws-cdk-lib 2.167.2__py3-none-any.whl → 2.168.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.

Files changed (44) hide show
  1. aws_cdk/__init__.py +2081 -0
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.167.2.jsii.tgz → aws-cdk-lib@2.168.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_applicationautoscaling/__init__.py +1691 -95
  5. aws_cdk/aws_applicationinsights/__init__.py +41 -0
  6. aws_cdk/aws_applicationsignals/__init__.py +117 -0
  7. aws_cdk/aws_autoscaling/__init__.py +441 -6
  8. aws_cdk/aws_batch/__init__.py +202 -5
  9. aws_cdk/aws_bedrock/__init__.py +12 -12
  10. aws_cdk/aws_cleanrooms/__init__.py +17 -8
  11. aws_cdk/aws_cloudformation/__init__.py +2571 -492
  12. aws_cdk/aws_cloudfront/__init__.py +231 -0
  13. aws_cdk/aws_cloudfront/experimental/__init__.py +5 -0
  14. aws_cdk/aws_cloudfront_origins/__init__.py +714 -132
  15. aws_cdk/aws_cloudtrail/__init__.py +52 -14
  16. aws_cdk/aws_codebuild/__init__.py +668 -2
  17. aws_cdk/aws_connectcampaignsv2/__init__.py +3376 -0
  18. aws_cdk/aws_dynamodb/__init__.py +332 -11
  19. aws_cdk/aws_ec2/__init__.py +13 -4
  20. aws_cdk/aws_ecs/__init__.py +213 -0
  21. aws_cdk/aws_elasticloadbalancingv2/__init__.py +160 -11
  22. aws_cdk/aws_fis/__init__.py +495 -0
  23. aws_cdk/aws_gamelift/__init__.py +3101 -1135
  24. aws_cdk/aws_kinesisfirehose/__init__.py +696 -5
  25. aws_cdk/aws_lambda/__init__.py +634 -259
  26. aws_cdk/aws_lambda_destinations/__init__.py +73 -0
  27. aws_cdk/aws_lambda_event_sources/__init__.py +102 -2
  28. aws_cdk/aws_location/__init__.py +18 -18
  29. aws_cdk/aws_mediastore/__init__.py +22 -10
  30. aws_cdk/aws_opensearchservice/__init__.py +6 -0
  31. aws_cdk/aws_quicksight/__init__.py +35 -19
  32. aws_cdk/aws_rds/__init__.py +51 -3
  33. aws_cdk/aws_securityhub/__init__.py +11 -14
  34. aws_cdk/aws_ses/__init__.py +58 -5
  35. aws_cdk/aws_stepfunctions_tasks/__init__.py +1601 -8
  36. aws_cdk/aws_transfer/__init__.py +0 -8
  37. aws_cdk/aws_vpclattice/__init__.py +39 -0
  38. aws_cdk/aws_wisdom/__init__.py +134 -85
  39. {aws_cdk_lib-2.167.2.dist-info → aws_cdk_lib-2.168.0.dist-info}/METADATA +1 -1
  40. {aws_cdk_lib-2.167.2.dist-info → aws_cdk_lib-2.168.0.dist-info}/RECORD +44 -43
  41. {aws_cdk_lib-2.167.2.dist-info → aws_cdk_lib-2.168.0.dist-info}/LICENSE +0 -0
  42. {aws_cdk_lib-2.167.2.dist-info → aws_cdk_lib-2.168.0.dist-info}/NOTICE +0 -0
  43. {aws_cdk_lib-2.167.2.dist-info → aws_cdk_lib-2.168.0.dist-info}/WHEEL +0 -0
  44. {aws_cdk_lib-2.167.2.dist-info → aws_cdk_lib-2.168.0.dist-info}/top_level.txt +0 -0
@@ -146,6 +146,25 @@ class CfnExperimentTemplate(
146
146
  account_targeting="accountTargeting",
147
147
  empty_target_resolution_mode="emptyTargetResolutionMode"
148
148
  ),
149
+ experiment_report_configuration=fis.CfnExperimentTemplate.ExperimentTemplateExperimentReportConfigurationProperty(
150
+ data_sources=fis.CfnExperimentTemplate.DataSourcesProperty(
151
+ cloud_watch_dashboards=[fis.CfnExperimentTemplate.CloudWatchDashboardProperty(
152
+ dashboard_identifier="dashboardIdentifier"
153
+ )]
154
+ ),
155
+ outputs=fis.CfnExperimentTemplate.OutputsProperty(
156
+ experiment_report_s3_configuration=fis.CfnExperimentTemplate.ExperimentReportS3ConfigurationProperty(
157
+ bucket_name="bucketName",
158
+
159
+ # the properties below are optional
160
+ prefix="prefix"
161
+ )
162
+ ),
163
+
164
+ # the properties below are optional
165
+ post_experiment_duration="postExperimentDuration",
166
+ pre_experiment_duration="preExperimentDuration"
167
+ ),
149
168
  log_configuration=fis.CfnExperimentTemplate.ExperimentTemplateLogConfigurationProperty(
150
169
  log_schema_version=123,
151
170
 
@@ -170,6 +189,7 @@ class CfnExperimentTemplate(
170
189
  targets: typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Union[_IResolvable_da3f097b, typing.Union["CfnExperimentTemplate.ExperimentTemplateTargetProperty", typing.Dict[builtins.str, typing.Any]]]]],
171
190
  actions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Union[_IResolvable_da3f097b, typing.Union["CfnExperimentTemplate.ExperimentTemplateActionProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
172
191
  experiment_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnExperimentTemplate.ExperimentTemplateExperimentOptionsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
192
+ experiment_report_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnExperimentTemplate.ExperimentTemplateExperimentReportConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
173
193
  log_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnExperimentTemplate.ExperimentTemplateLogConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
174
194
  tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
175
195
  ) -> None:
@@ -182,6 +202,7 @@ class CfnExperimentTemplate(
182
202
  :param targets: The targets for the experiment.
183
203
  :param actions: The actions for the experiment.
184
204
  :param experiment_options: The experiment options for an experiment template.
205
+ :param experiment_report_configuration: Describes the report configuration for the experiment template.
185
206
  :param log_configuration: The configuration for experiment logging.
186
207
  :param tags: The tags for the experiment template.
187
208
  '''
@@ -196,6 +217,7 @@ class CfnExperimentTemplate(
196
217
  targets=targets,
197
218
  actions=actions,
198
219
  experiment_options=experiment_options,
220
+ experiment_report_configuration=experiment_report_configuration,
199
221
  log_configuration=log_configuration,
200
222
  tags=tags,
201
223
  )
@@ -350,6 +372,24 @@ class CfnExperimentTemplate(
350
372
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
351
373
  jsii.set(self, "experimentOptions", value) # pyright: ignore[reportArgumentType]
352
374
 
375
+ @builtins.property
376
+ @jsii.member(jsii_name="experimentReportConfiguration")
377
+ def experiment_report_configuration(
378
+ self,
379
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnExperimentTemplate.ExperimentTemplateExperimentReportConfigurationProperty"]]:
380
+ '''Describes the report configuration for the experiment template.'''
381
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnExperimentTemplate.ExperimentTemplateExperimentReportConfigurationProperty"]], jsii.get(self, "experimentReportConfiguration"))
382
+
383
+ @experiment_report_configuration.setter
384
+ def experiment_report_configuration(
385
+ self,
386
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnExperimentTemplate.ExperimentTemplateExperimentReportConfigurationProperty"]],
387
+ ) -> None:
388
+ if __debug__:
389
+ type_hints = typing.get_type_hints(_typecheckingstub__7aae9e4e099c63044c507cbddecd23f06b25f8a7f0f62a7d2ed6e602a50d775c)
390
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
391
+ jsii.set(self, "experimentReportConfiguration", value) # pyright: ignore[reportArgumentType]
392
+
353
393
  @builtins.property
354
394
  @jsii.member(jsii_name="logConfiguration")
355
395
  def log_configuration(
@@ -384,6 +424,58 @@ class CfnExperimentTemplate(
384
424
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
385
425
  jsii.set(self, "tagsRaw", value) # pyright: ignore[reportArgumentType]
386
426
 
427
+ @jsii.data_type(
428
+ jsii_type="aws-cdk-lib.aws_fis.CfnExperimentTemplate.CloudWatchDashboardProperty",
429
+ jsii_struct_bases=[],
430
+ name_mapping={"dashboard_identifier": "dashboardIdentifier"},
431
+ )
432
+ class CloudWatchDashboardProperty:
433
+ def __init__(self, *, dashboard_identifier: builtins.str) -> None:
434
+ '''The CloudWatch dashboards to include as data sources in the experiment report.
435
+
436
+ :param dashboard_identifier: The Amazon Resource Name (ARN) of the CloudWatch dashboard to include in the experiment report.
437
+
438
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fis-experimenttemplate-cloudwatchdashboard.html
439
+ :exampleMetadata: fixture=_generated
440
+
441
+ Example::
442
+
443
+ # The code below shows an example of how to instantiate this type.
444
+ # The values are placeholders you should change.
445
+ from aws_cdk import aws_fis as fis
446
+
447
+ cloud_watch_dashboard_property = fis.CfnExperimentTemplate.CloudWatchDashboardProperty(
448
+ dashboard_identifier="dashboardIdentifier"
449
+ )
450
+ '''
451
+ if __debug__:
452
+ type_hints = typing.get_type_hints(_typecheckingstub__d6fe6bd1458d2a3308db21b463629dd2156ec2c2c6bc172e233cd955f73d0cb1)
453
+ check_type(argname="argument dashboard_identifier", value=dashboard_identifier, expected_type=type_hints["dashboard_identifier"])
454
+ self._values: typing.Dict[builtins.str, typing.Any] = {
455
+ "dashboard_identifier": dashboard_identifier,
456
+ }
457
+
458
+ @builtins.property
459
+ def dashboard_identifier(self) -> builtins.str:
460
+ '''The Amazon Resource Name (ARN) of the CloudWatch dashboard to include in the experiment report.
461
+
462
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fis-experimenttemplate-cloudwatchdashboard.html#cfn-fis-experimenttemplate-cloudwatchdashboard-dashboardidentifier
463
+ '''
464
+ result = self._values.get("dashboard_identifier")
465
+ assert result is not None, "Required property 'dashboard_identifier' is missing"
466
+ return typing.cast(builtins.str, result)
467
+
468
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
469
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
470
+
471
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
472
+ return not (rhs == self)
473
+
474
+ def __repr__(self) -> str:
475
+ return "CloudWatchDashboardProperty(%s)" % ", ".join(
476
+ k + "=" + repr(v) for k, v in self._values.items()
477
+ )
478
+
387
479
  @jsii.data_type(
388
480
  jsii_type="aws-cdk-lib.aws_fis.CfnExperimentTemplate.CloudWatchLogsConfigurationProperty",
389
481
  jsii_struct_bases=[],
@@ -436,6 +528,138 @@ class CfnExperimentTemplate(
436
528
  k + "=" + repr(v) for k, v in self._values.items()
437
529
  )
438
530
 
531
+ @jsii.data_type(
532
+ jsii_type="aws-cdk-lib.aws_fis.CfnExperimentTemplate.DataSourcesProperty",
533
+ jsii_struct_bases=[],
534
+ name_mapping={"cloud_watch_dashboards": "cloudWatchDashboards"},
535
+ )
536
+ class DataSourcesProperty:
537
+ def __init__(
538
+ self,
539
+ *,
540
+ cloud_watch_dashboards: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnExperimentTemplate.CloudWatchDashboardProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
541
+ ) -> None:
542
+ '''Describes the data sources for the experiment report.
543
+
544
+ :param cloud_watch_dashboards: The CloudWatch dashboards to include as data sources in the experiment report.
545
+
546
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fis-experimenttemplate-datasources.html
547
+ :exampleMetadata: fixture=_generated
548
+
549
+ Example::
550
+
551
+ # The code below shows an example of how to instantiate this type.
552
+ # The values are placeholders you should change.
553
+ from aws_cdk import aws_fis as fis
554
+
555
+ data_sources_property = fis.CfnExperimentTemplate.DataSourcesProperty(
556
+ cloud_watch_dashboards=[fis.CfnExperimentTemplate.CloudWatchDashboardProperty(
557
+ dashboard_identifier="dashboardIdentifier"
558
+ )]
559
+ )
560
+ '''
561
+ if __debug__:
562
+ type_hints = typing.get_type_hints(_typecheckingstub__5c031c3d2795ca09f5501478d143024366177ac5d153b8fd0b70d8983e50df6d)
563
+ check_type(argname="argument cloud_watch_dashboards", value=cloud_watch_dashboards, expected_type=type_hints["cloud_watch_dashboards"])
564
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
565
+ if cloud_watch_dashboards is not None:
566
+ self._values["cloud_watch_dashboards"] = cloud_watch_dashboards
567
+
568
+ @builtins.property
569
+ def cloud_watch_dashboards(
570
+ self,
571
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnExperimentTemplate.CloudWatchDashboardProperty"]]]]:
572
+ '''The CloudWatch dashboards to include as data sources in the experiment report.
573
+
574
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fis-experimenttemplate-datasources.html#cfn-fis-experimenttemplate-datasources-cloudwatchdashboards
575
+ '''
576
+ result = self._values.get("cloud_watch_dashboards")
577
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnExperimentTemplate.CloudWatchDashboardProperty"]]]], result)
578
+
579
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
580
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
581
+
582
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
583
+ return not (rhs == self)
584
+
585
+ def __repr__(self) -> str:
586
+ return "DataSourcesProperty(%s)" % ", ".join(
587
+ k + "=" + repr(v) for k, v in self._values.items()
588
+ )
589
+
590
+ @jsii.data_type(
591
+ jsii_type="aws-cdk-lib.aws_fis.CfnExperimentTemplate.ExperimentReportS3ConfigurationProperty",
592
+ jsii_struct_bases=[],
593
+ name_mapping={"bucket_name": "bucketName", "prefix": "prefix"},
594
+ )
595
+ class ExperimentReportS3ConfigurationProperty:
596
+ def __init__(
597
+ self,
598
+ *,
599
+ bucket_name: builtins.str,
600
+ prefix: typing.Optional[builtins.str] = None,
601
+ ) -> None:
602
+ '''The S3 destination for the experiment report.
603
+
604
+ :param bucket_name: The name of the S3 bucket where the experiment report will be stored.
605
+ :param prefix: The prefix of the S3 bucket where the experiment report will be stored.
606
+
607
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fis-experimenttemplate-experimentreports3configuration.html
608
+ :exampleMetadata: fixture=_generated
609
+
610
+ Example::
611
+
612
+ # The code below shows an example of how to instantiate this type.
613
+ # The values are placeholders you should change.
614
+ from aws_cdk import aws_fis as fis
615
+
616
+ experiment_report_s3_configuration_property = fis.CfnExperimentTemplate.ExperimentReportS3ConfigurationProperty(
617
+ bucket_name="bucketName",
618
+
619
+ # the properties below are optional
620
+ prefix="prefix"
621
+ )
622
+ '''
623
+ if __debug__:
624
+ type_hints = typing.get_type_hints(_typecheckingstub__0ff621f716a8326642f14196d3e89fc7e0ac32c6cf6b47ef3e4e2a74f3fa5f5e)
625
+ check_type(argname="argument bucket_name", value=bucket_name, expected_type=type_hints["bucket_name"])
626
+ check_type(argname="argument prefix", value=prefix, expected_type=type_hints["prefix"])
627
+ self._values: typing.Dict[builtins.str, typing.Any] = {
628
+ "bucket_name": bucket_name,
629
+ }
630
+ if prefix is not None:
631
+ self._values["prefix"] = prefix
632
+
633
+ @builtins.property
634
+ def bucket_name(self) -> builtins.str:
635
+ '''The name of the S3 bucket where the experiment report will be stored.
636
+
637
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fis-experimenttemplate-experimentreports3configuration.html#cfn-fis-experimenttemplate-experimentreports3configuration-bucketname
638
+ '''
639
+ result = self._values.get("bucket_name")
640
+ assert result is not None, "Required property 'bucket_name' is missing"
641
+ return typing.cast(builtins.str, result)
642
+
643
+ @builtins.property
644
+ def prefix(self) -> typing.Optional[builtins.str]:
645
+ '''The prefix of the S3 bucket where the experiment report will be stored.
646
+
647
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fis-experimenttemplate-experimentreports3configuration.html#cfn-fis-experimenttemplate-experimentreports3configuration-prefix
648
+ '''
649
+ result = self._values.get("prefix")
650
+ return typing.cast(typing.Optional[builtins.str], result)
651
+
652
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
653
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
654
+
655
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
656
+ return not (rhs == self)
657
+
658
+ def __repr__(self) -> str:
659
+ return "ExperimentReportS3ConfigurationProperty(%s)" % ", ".join(
660
+ k + "=" + repr(v) for k, v in self._values.items()
661
+ )
662
+
439
663
  @jsii.data_type(
440
664
  jsii_type="aws-cdk-lib.aws_fis.CfnExperimentTemplate.ExperimentTemplateActionProperty",
441
665
  jsii_struct_bases=[],
@@ -643,6 +867,129 @@ class CfnExperimentTemplate(
643
867
  k + "=" + repr(v) for k, v in self._values.items()
644
868
  )
645
869
 
870
+ @jsii.data_type(
871
+ jsii_type="aws-cdk-lib.aws_fis.CfnExperimentTemplate.ExperimentTemplateExperimentReportConfigurationProperty",
872
+ jsii_struct_bases=[],
873
+ name_mapping={
874
+ "data_sources": "dataSources",
875
+ "outputs": "outputs",
876
+ "post_experiment_duration": "postExperimentDuration",
877
+ "pre_experiment_duration": "preExperimentDuration",
878
+ },
879
+ )
880
+ class ExperimentTemplateExperimentReportConfigurationProperty:
881
+ def __init__(
882
+ self,
883
+ *,
884
+ data_sources: typing.Union[_IResolvable_da3f097b, typing.Union["CfnExperimentTemplate.DataSourcesProperty", typing.Dict[builtins.str, typing.Any]]],
885
+ outputs: typing.Union[_IResolvable_da3f097b, typing.Union["CfnExperimentTemplate.OutputsProperty", typing.Dict[builtins.str, typing.Any]]],
886
+ post_experiment_duration: typing.Optional[builtins.str] = None,
887
+ pre_experiment_duration: typing.Optional[builtins.str] = None,
888
+ ) -> None:
889
+ '''Describes the report configuration for the experiment template.
890
+
891
+ :param data_sources: The data sources for the experiment report.
892
+ :param outputs: The output destinations of the experiment report.
893
+ :param post_experiment_duration: The duration after the experiment end time for the data sources to include in the report.
894
+ :param pre_experiment_duration: The duration before the experiment start time for the data sources to include in the report.
895
+
896
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fis-experimenttemplate-experimenttemplateexperimentreportconfiguration.html
897
+ :exampleMetadata: fixture=_generated
898
+
899
+ Example::
900
+
901
+ # The code below shows an example of how to instantiate this type.
902
+ # The values are placeholders you should change.
903
+ from aws_cdk import aws_fis as fis
904
+
905
+ experiment_template_experiment_report_configuration_property = fis.CfnExperimentTemplate.ExperimentTemplateExperimentReportConfigurationProperty(
906
+ data_sources=fis.CfnExperimentTemplate.DataSourcesProperty(
907
+ cloud_watch_dashboards=[fis.CfnExperimentTemplate.CloudWatchDashboardProperty(
908
+ dashboard_identifier="dashboardIdentifier"
909
+ )]
910
+ ),
911
+ outputs=fis.CfnExperimentTemplate.OutputsProperty(
912
+ experiment_report_s3_configuration=fis.CfnExperimentTemplate.ExperimentReportS3ConfigurationProperty(
913
+ bucket_name="bucketName",
914
+
915
+ # the properties below are optional
916
+ prefix="prefix"
917
+ )
918
+ ),
919
+
920
+ # the properties below are optional
921
+ post_experiment_duration="postExperimentDuration",
922
+ pre_experiment_duration="preExperimentDuration"
923
+ )
924
+ '''
925
+ if __debug__:
926
+ type_hints = typing.get_type_hints(_typecheckingstub__51250f1a178d2946c5b1c7861f630df4cda9761e1d2636f4a9e9703799cba3a1)
927
+ check_type(argname="argument data_sources", value=data_sources, expected_type=type_hints["data_sources"])
928
+ check_type(argname="argument outputs", value=outputs, expected_type=type_hints["outputs"])
929
+ check_type(argname="argument post_experiment_duration", value=post_experiment_duration, expected_type=type_hints["post_experiment_duration"])
930
+ check_type(argname="argument pre_experiment_duration", value=pre_experiment_duration, expected_type=type_hints["pre_experiment_duration"])
931
+ self._values: typing.Dict[builtins.str, typing.Any] = {
932
+ "data_sources": data_sources,
933
+ "outputs": outputs,
934
+ }
935
+ if post_experiment_duration is not None:
936
+ self._values["post_experiment_duration"] = post_experiment_duration
937
+ if pre_experiment_duration is not None:
938
+ self._values["pre_experiment_duration"] = pre_experiment_duration
939
+
940
+ @builtins.property
941
+ def data_sources(
942
+ self,
943
+ ) -> typing.Union[_IResolvable_da3f097b, "CfnExperimentTemplate.DataSourcesProperty"]:
944
+ '''The data sources for the experiment report.
945
+
946
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fis-experimenttemplate-experimenttemplateexperimentreportconfiguration.html#cfn-fis-experimenttemplate-experimenttemplateexperimentreportconfiguration-datasources
947
+ '''
948
+ result = self._values.get("data_sources")
949
+ assert result is not None, "Required property 'data_sources' is missing"
950
+ return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnExperimentTemplate.DataSourcesProperty"], result)
951
+
952
+ @builtins.property
953
+ def outputs(
954
+ self,
955
+ ) -> typing.Union[_IResolvable_da3f097b, "CfnExperimentTemplate.OutputsProperty"]:
956
+ '''The output destinations of the experiment report.
957
+
958
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fis-experimenttemplate-experimenttemplateexperimentreportconfiguration.html#cfn-fis-experimenttemplate-experimenttemplateexperimentreportconfiguration-outputs
959
+ '''
960
+ result = self._values.get("outputs")
961
+ assert result is not None, "Required property 'outputs' is missing"
962
+ return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnExperimentTemplate.OutputsProperty"], result)
963
+
964
+ @builtins.property
965
+ def post_experiment_duration(self) -> typing.Optional[builtins.str]:
966
+ '''The duration after the experiment end time for the data sources to include in the report.
967
+
968
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fis-experimenttemplate-experimenttemplateexperimentreportconfiguration.html#cfn-fis-experimenttemplate-experimenttemplateexperimentreportconfiguration-postexperimentduration
969
+ '''
970
+ result = self._values.get("post_experiment_duration")
971
+ return typing.cast(typing.Optional[builtins.str], result)
972
+
973
+ @builtins.property
974
+ def pre_experiment_duration(self) -> typing.Optional[builtins.str]:
975
+ '''The duration before the experiment start time for the data sources to include in the report.
976
+
977
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fis-experimenttemplate-experimenttemplateexperimentreportconfiguration.html#cfn-fis-experimenttemplate-experimenttemplateexperimentreportconfiguration-preexperimentduration
978
+ '''
979
+ result = self._values.get("pre_experiment_duration")
980
+ return typing.cast(typing.Optional[builtins.str], result)
981
+
982
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
983
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
984
+
985
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
986
+ return not (rhs == self)
987
+
988
+ def __repr__(self) -> str:
989
+ return "ExperimentTemplateExperimentReportConfigurationProperty(%s)" % ", ".join(
990
+ k + "=" + repr(v) for k, v in self._values.items()
991
+ )
992
+
646
993
  @jsii.data_type(
647
994
  jsii_type="aws-cdk-lib.aws_fis.CfnExperimentTemplate.ExperimentTemplateLogConfigurationProperty",
648
995
  jsii_struct_bases=[],
@@ -1045,6 +1392,71 @@ class CfnExperimentTemplate(
1045
1392
  k + "=" + repr(v) for k, v in self._values.items()
1046
1393
  )
1047
1394
 
1395
+ @jsii.data_type(
1396
+ jsii_type="aws-cdk-lib.aws_fis.CfnExperimentTemplate.OutputsProperty",
1397
+ jsii_struct_bases=[],
1398
+ name_mapping={
1399
+ "experiment_report_s3_configuration": "experimentReportS3Configuration",
1400
+ },
1401
+ )
1402
+ class OutputsProperty:
1403
+ def __init__(
1404
+ self,
1405
+ *,
1406
+ experiment_report_s3_configuration: typing.Union[_IResolvable_da3f097b, typing.Union["CfnExperimentTemplate.ExperimentReportS3ConfigurationProperty", typing.Dict[builtins.str, typing.Any]]],
1407
+ ) -> None:
1408
+ '''Describes the output destinations of the experiment report.
1409
+
1410
+ :param experiment_report_s3_configuration: The S3 destination for the experiment report.
1411
+
1412
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fis-experimenttemplate-outputs.html
1413
+ :exampleMetadata: fixture=_generated
1414
+
1415
+ Example::
1416
+
1417
+ # The code below shows an example of how to instantiate this type.
1418
+ # The values are placeholders you should change.
1419
+ from aws_cdk import aws_fis as fis
1420
+
1421
+ outputs_property = fis.CfnExperimentTemplate.OutputsProperty(
1422
+ experiment_report_s3_configuration=fis.CfnExperimentTemplate.ExperimentReportS3ConfigurationProperty(
1423
+ bucket_name="bucketName",
1424
+
1425
+ # the properties below are optional
1426
+ prefix="prefix"
1427
+ )
1428
+ )
1429
+ '''
1430
+ if __debug__:
1431
+ type_hints = typing.get_type_hints(_typecheckingstub__24cccb3499eef02b3682b3fab9bc71ef6865c68968aeccca15821ee035be8128)
1432
+ check_type(argname="argument experiment_report_s3_configuration", value=experiment_report_s3_configuration, expected_type=type_hints["experiment_report_s3_configuration"])
1433
+ self._values: typing.Dict[builtins.str, typing.Any] = {
1434
+ "experiment_report_s3_configuration": experiment_report_s3_configuration,
1435
+ }
1436
+
1437
+ @builtins.property
1438
+ def experiment_report_s3_configuration(
1439
+ self,
1440
+ ) -> typing.Union[_IResolvable_da3f097b, "CfnExperimentTemplate.ExperimentReportS3ConfigurationProperty"]:
1441
+ '''The S3 destination for the experiment report.
1442
+
1443
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fis-experimenttemplate-outputs.html#cfn-fis-experimenttemplate-outputs-experimentreports3configuration
1444
+ '''
1445
+ result = self._values.get("experiment_report_s3_configuration")
1446
+ assert result is not None, "Required property 'experiment_report_s3_configuration' is missing"
1447
+ return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnExperimentTemplate.ExperimentReportS3ConfigurationProperty"], result)
1448
+
1449
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
1450
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
1451
+
1452
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
1453
+ return not (rhs == self)
1454
+
1455
+ def __repr__(self) -> str:
1456
+ return "OutputsProperty(%s)" % ", ".join(
1457
+ k + "=" + repr(v) for k, v in self._values.items()
1458
+ )
1459
+
1048
1460
  @jsii.data_type(
1049
1461
  jsii_type="aws-cdk-lib.aws_fis.CfnExperimentTemplate.S3ConfigurationProperty",
1050
1462
  jsii_struct_bases=[],
@@ -1129,6 +1541,7 @@ class CfnExperimentTemplate(
1129
1541
  "targets": "targets",
1130
1542
  "actions": "actions",
1131
1543
  "experiment_options": "experimentOptions",
1544
+ "experiment_report_configuration": "experimentReportConfiguration",
1132
1545
  "log_configuration": "logConfiguration",
1133
1546
  "tags": "tags",
1134
1547
  },
@@ -1143,6 +1556,7 @@ class CfnExperimentTemplateProps:
1143
1556
  targets: typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Union[_IResolvable_da3f097b, typing.Union[CfnExperimentTemplate.ExperimentTemplateTargetProperty, typing.Dict[builtins.str, typing.Any]]]]],
1144
1557
  actions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Union[_IResolvable_da3f097b, typing.Union[CfnExperimentTemplate.ExperimentTemplateActionProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
1145
1558
  experiment_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnExperimentTemplate.ExperimentTemplateExperimentOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
1559
+ experiment_report_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnExperimentTemplate.ExperimentTemplateExperimentReportConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
1146
1560
  log_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnExperimentTemplate.ExperimentTemplateLogConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
1147
1561
  tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
1148
1562
  ) -> None:
@@ -1154,6 +1568,7 @@ class CfnExperimentTemplateProps:
1154
1568
  :param targets: The targets for the experiment.
1155
1569
  :param actions: The actions for the experiment.
1156
1570
  :param experiment_options: The experiment options for an experiment template.
1571
+ :param experiment_report_configuration: Describes the report configuration for the experiment template.
1157
1572
  :param log_configuration: The configuration for experiment logging.
1158
1573
  :param tags: The tags for the experiment template.
1159
1574
 
@@ -1218,6 +1633,25 @@ class CfnExperimentTemplateProps:
1218
1633
  account_targeting="accountTargeting",
1219
1634
  empty_target_resolution_mode="emptyTargetResolutionMode"
1220
1635
  ),
1636
+ experiment_report_configuration=fis.CfnExperimentTemplate.ExperimentTemplateExperimentReportConfigurationProperty(
1637
+ data_sources=fis.CfnExperimentTemplate.DataSourcesProperty(
1638
+ cloud_watch_dashboards=[fis.CfnExperimentTemplate.CloudWatchDashboardProperty(
1639
+ dashboard_identifier="dashboardIdentifier"
1640
+ )]
1641
+ ),
1642
+ outputs=fis.CfnExperimentTemplate.OutputsProperty(
1643
+ experiment_report_s3_configuration=fis.CfnExperimentTemplate.ExperimentReportS3ConfigurationProperty(
1644
+ bucket_name="bucketName",
1645
+
1646
+ # the properties below are optional
1647
+ prefix="prefix"
1648
+ )
1649
+ ),
1650
+
1651
+ # the properties below are optional
1652
+ post_experiment_duration="postExperimentDuration",
1653
+ pre_experiment_duration="preExperimentDuration"
1654
+ ),
1221
1655
  log_configuration=fis.CfnExperimentTemplate.ExperimentTemplateLogConfigurationProperty(
1222
1656
  log_schema_version=123,
1223
1657
 
@@ -1238,6 +1672,7 @@ class CfnExperimentTemplateProps:
1238
1672
  check_type(argname="argument targets", value=targets, expected_type=type_hints["targets"])
1239
1673
  check_type(argname="argument actions", value=actions, expected_type=type_hints["actions"])
1240
1674
  check_type(argname="argument experiment_options", value=experiment_options, expected_type=type_hints["experiment_options"])
1675
+ check_type(argname="argument experiment_report_configuration", value=experiment_report_configuration, expected_type=type_hints["experiment_report_configuration"])
1241
1676
  check_type(argname="argument log_configuration", value=log_configuration, expected_type=type_hints["log_configuration"])
1242
1677
  check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
1243
1678
  self._values: typing.Dict[builtins.str, typing.Any] = {
@@ -1250,6 +1685,8 @@ class CfnExperimentTemplateProps:
1250
1685
  self._values["actions"] = actions
1251
1686
  if experiment_options is not None:
1252
1687
  self._values["experiment_options"] = experiment_options
1688
+ if experiment_report_configuration is not None:
1689
+ self._values["experiment_report_configuration"] = experiment_report_configuration
1253
1690
  if log_configuration is not None:
1254
1691
  self._values["log_configuration"] = log_configuration
1255
1692
  if tags is not None:
@@ -1321,6 +1758,17 @@ class CfnExperimentTemplateProps:
1321
1758
  result = self._values.get("experiment_options")
1322
1759
  return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnExperimentTemplate.ExperimentTemplateExperimentOptionsProperty]], result)
1323
1760
 
1761
+ @builtins.property
1762
+ def experiment_report_configuration(
1763
+ self,
1764
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnExperimentTemplate.ExperimentTemplateExperimentReportConfigurationProperty]]:
1765
+ '''Describes the report configuration for the experiment template.
1766
+
1767
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fis-experimenttemplate.html#cfn-fis-experimenttemplate-experimentreportconfiguration
1768
+ '''
1769
+ result = self._values.get("experiment_report_configuration")
1770
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnExperimentTemplate.ExperimentTemplateExperimentReportConfigurationProperty]], result)
1771
+
1324
1772
  @builtins.property
1325
1773
  def log_configuration(
1326
1774
  self,
@@ -1630,6 +2078,7 @@ def _typecheckingstub__18c9c3e4d1ff3bcad4812197927f55bc4b8c438403e1429c7b277b86b
1630
2078
  targets: typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Union[_IResolvable_da3f097b, typing.Union[CfnExperimentTemplate.ExperimentTemplateTargetProperty, typing.Dict[builtins.str, typing.Any]]]]],
1631
2079
  actions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Union[_IResolvable_da3f097b, typing.Union[CfnExperimentTemplate.ExperimentTemplateActionProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
1632
2080
  experiment_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnExperimentTemplate.ExperimentTemplateExperimentOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
2081
+ experiment_report_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnExperimentTemplate.ExperimentTemplateExperimentReportConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
1633
2082
  log_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnExperimentTemplate.ExperimentTemplateLogConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
1634
2083
  tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
1635
2084
  ) -> None:
@@ -1684,6 +2133,12 @@ def _typecheckingstub__2251459b83052b3128b2130de1f378662da3a8fc2b39b8c1132616a0a
1684
2133
  """Type checking stubs"""
1685
2134
  pass
1686
2135
 
2136
+ def _typecheckingstub__7aae9e4e099c63044c507cbddecd23f06b25f8a7f0f62a7d2ed6e602a50d775c(
2137
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnExperimentTemplate.ExperimentTemplateExperimentReportConfigurationProperty]],
2138
+ ) -> None:
2139
+ """Type checking stubs"""
2140
+ pass
2141
+
1687
2142
  def _typecheckingstub__2b371aaef4be3b5a571bd0e430ed72ecd5f188dc9132824cf152f2c7540ec6ba(
1688
2143
  value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnExperimentTemplate.ExperimentTemplateLogConfigurationProperty]],
1689
2144
  ) -> None:
@@ -1696,6 +2151,13 @@ def _typecheckingstub__c2a53ba13dcf3b745e51e5f957ceb6a6708d0ceba3ec52e61d0d62ff8
1696
2151
  """Type checking stubs"""
1697
2152
  pass
1698
2153
 
2154
+ def _typecheckingstub__d6fe6bd1458d2a3308db21b463629dd2156ec2c2c6bc172e233cd955f73d0cb1(
2155
+ *,
2156
+ dashboard_identifier: builtins.str,
2157
+ ) -> None:
2158
+ """Type checking stubs"""
2159
+ pass
2160
+
1699
2161
  def _typecheckingstub__337214e45c2544ea7c739753c0de46a90637686e65384828dd958d5e774f8ba6(
1700
2162
  *,
1701
2163
  log_group_arn: builtins.str,
@@ -1703,6 +2165,21 @@ def _typecheckingstub__337214e45c2544ea7c739753c0de46a90637686e65384828dd958d5e7
1703
2165
  """Type checking stubs"""
1704
2166
  pass
1705
2167
 
2168
+ def _typecheckingstub__5c031c3d2795ca09f5501478d143024366177ac5d153b8fd0b70d8983e50df6d(
2169
+ *,
2170
+ cloud_watch_dashboards: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnExperimentTemplate.CloudWatchDashboardProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
2171
+ ) -> None:
2172
+ """Type checking stubs"""
2173
+ pass
2174
+
2175
+ def _typecheckingstub__0ff621f716a8326642f14196d3e89fc7e0ac32c6cf6b47ef3e4e2a74f3fa5f5e(
2176
+ *,
2177
+ bucket_name: builtins.str,
2178
+ prefix: typing.Optional[builtins.str] = None,
2179
+ ) -> None:
2180
+ """Type checking stubs"""
2181
+ pass
2182
+
1706
2183
  def _typecheckingstub__cfd0480625d74c960ee482fc7a2768b219a983b728703ef9e9c4b167fe91c706(
1707
2184
  *,
1708
2185
  action_id: builtins.str,
@@ -1722,6 +2199,16 @@ def _typecheckingstub__869a915a73baa324d4389a3b1a7ec2993ddb272931a4d1ca1bca643f0
1722
2199
  """Type checking stubs"""
1723
2200
  pass
1724
2201
 
2202
+ def _typecheckingstub__51250f1a178d2946c5b1c7861f630df4cda9761e1d2636f4a9e9703799cba3a1(
2203
+ *,
2204
+ data_sources: typing.Union[_IResolvable_da3f097b, typing.Union[CfnExperimentTemplate.DataSourcesProperty, typing.Dict[builtins.str, typing.Any]]],
2205
+ outputs: typing.Union[_IResolvable_da3f097b, typing.Union[CfnExperimentTemplate.OutputsProperty, typing.Dict[builtins.str, typing.Any]]],
2206
+ post_experiment_duration: typing.Optional[builtins.str] = None,
2207
+ pre_experiment_duration: typing.Optional[builtins.str] = None,
2208
+ ) -> None:
2209
+ """Type checking stubs"""
2210
+ pass
2211
+
1725
2212
  def _typecheckingstub__5be67d06cbc96a947e3d11cff6395cab486589f4446ebc98f97413d01bef8d28(
1726
2213
  *,
1727
2214
  log_schema_version: jsii.Number,
@@ -1759,6 +2246,13 @@ def _typecheckingstub__075a22ab636153af1ac0fc4f703abb9e91e119f65b235ce3d954280ae
1759
2246
  """Type checking stubs"""
1760
2247
  pass
1761
2248
 
2249
+ def _typecheckingstub__24cccb3499eef02b3682b3fab9bc71ef6865c68968aeccca15821ee035be8128(
2250
+ *,
2251
+ experiment_report_s3_configuration: typing.Union[_IResolvable_da3f097b, typing.Union[CfnExperimentTemplate.ExperimentReportS3ConfigurationProperty, typing.Dict[builtins.str, typing.Any]]],
2252
+ ) -> None:
2253
+ """Type checking stubs"""
2254
+ pass
2255
+
1762
2256
  def _typecheckingstub__94e2a85f47a19c24ea52374ddc1307a7e2773efaaed7df0fb35093e383575472(
1763
2257
  *,
1764
2258
  bucket_name: builtins.str,
@@ -1775,6 +2269,7 @@ def _typecheckingstub__03c2530c6ad2cb6b023e7f311ea85dbbb8733b3040e35cf25da12302d
1775
2269
  targets: typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Union[_IResolvable_da3f097b, typing.Union[CfnExperimentTemplate.ExperimentTemplateTargetProperty, typing.Dict[builtins.str, typing.Any]]]]],
1776
2270
  actions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Union[_IResolvable_da3f097b, typing.Union[CfnExperimentTemplate.ExperimentTemplateActionProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
1777
2271
  experiment_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnExperimentTemplate.ExperimentTemplateExperimentOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
2272
+ experiment_report_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnExperimentTemplate.ExperimentTemplateExperimentReportConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
1778
2273
  log_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnExperimentTemplate.ExperimentTemplateLogConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
1779
2274
  tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
1780
2275
  ) -> None: