aws-cdk-lib 2.171.1__py3-none-any.whl → 2.172.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 +471 -161
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.171.1.jsii.tgz → aws-cdk-lib@2.172.0.jsii.tgz} +0 -0
- aws_cdk/aws_apigateway/__init__.py +1314 -124
- aws_cdk/aws_appsync/__init__.py +159 -136
- aws_cdk/aws_autoscaling/__init__.py +81 -24
- aws_cdk/aws_bedrock/__init__.py +48 -0
- aws_cdk/aws_chatbot/__init__.py +775 -0
- aws_cdk/aws_cloudformation/__init__.py +240 -159
- aws_cdk/aws_cloudfront/__init__.py +11 -5
- aws_cdk/aws_cloudtrail/__init__.py +753 -0
- aws_cdk/aws_cognito/__init__.py +825 -4
- aws_cdk/aws_connect/__init__.py +429 -0
- aws_cdk/aws_customerprofiles/__init__.py +3148 -0
- aws_cdk/aws_ec2/__init__.py +872 -5
- aws_cdk/aws_ecs/__init__.py +12 -7
- aws_cdk/aws_eks/__init__.py +709 -0
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +309 -55
- aws_cdk/aws_events/__init__.py +515 -8
- aws_cdk/aws_iot/__init__.py +42 -4
- aws_cdk/aws_iotfleetwise/__init__.py +510 -0
- aws_cdk/aws_iotsitewise/__init__.py +156 -0
- aws_cdk/aws_lambda/__init__.py +14 -8
- aws_cdk/aws_lambda_event_sources/__init__.py +2 -1
- aws_cdk/aws_lambda_nodejs/__init__.py +11 -11
- aws_cdk/aws_m2/__init__.py +289 -0
- aws_cdk/aws_mwaa/__init__.py +6 -6
- aws_cdk/aws_opensearchserverless/__init__.py +249 -1
- aws_cdk/aws_pipes/__init__.py +14 -30
- aws_cdk/aws_qbusiness/__init__.py +3 -1
- aws_cdk/aws_quicksight/__init__.py +8270 -10
- aws_cdk/aws_rbin/__init__.py +53 -34
- aws_cdk/aws_rds/__init__.py +140 -8
- aws_cdk/aws_resourcegroups/__init__.py +349 -0
- aws_cdk/aws_route53_targets/__init__.py +82 -0
- aws_cdk/aws_route53resolver/__init__.py +15 -6
- aws_cdk/aws_s3express/__init__.py +403 -2
- aws_cdk/aws_sagemaker/__init__.py +124 -112
- aws_cdk/aws_ses/__init__.py +79 -41
- aws_cdk/aws_wisdom/__init__.py +4713 -172
- aws_cdk/aws_workspacesweb/__init__.py +1024 -0
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.172.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.172.0.dist-info}/RECORD +47 -47
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.172.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.172.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.172.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.172.0.dist-info}/top_level.txt +0 -0
|
@@ -241,6 +241,7 @@ from .. import (
|
|
|
241
241
|
IInspectable as _IInspectable_c2943556,
|
|
242
242
|
IResolvable as _IResolvable_da3f097b,
|
|
243
243
|
ITaggable as _ITaggable_36806126,
|
|
244
|
+
ITaggableV2 as _ITaggableV2_4e6798f8,
|
|
244
245
|
Resource as _Resource_45bc6135,
|
|
245
246
|
TagManager as _TagManager_0a598cb3,
|
|
246
247
|
TreeInspector as _TreeInspector_488e0dd5,
|
|
@@ -718,6 +719,664 @@ class CfnChannelProps:
|
|
|
718
719
|
)
|
|
719
720
|
|
|
720
721
|
|
|
722
|
+
@jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
|
|
723
|
+
class CfnDashboard(
|
|
724
|
+
_CfnResource_9df397a6,
|
|
725
|
+
metaclass=jsii.JSIIMeta,
|
|
726
|
+
jsii_type="aws-cdk-lib.aws_cloudtrail.CfnDashboard",
|
|
727
|
+
):
|
|
728
|
+
'''The Amazon CloudTrail dashboard resource allows customers to manage managed dashboards and create custom dashboards.
|
|
729
|
+
|
|
730
|
+
You can manually refresh custom and managed dashboards. For custom dashboards, you can also set up an automatic refresh schedule and modify dashboard widgets.
|
|
731
|
+
|
|
732
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudtrail-dashboard.html
|
|
733
|
+
:cloudformationResource: AWS::CloudTrail::Dashboard
|
|
734
|
+
:exampleMetadata: fixture=_generated
|
|
735
|
+
|
|
736
|
+
Example::
|
|
737
|
+
|
|
738
|
+
# The code below shows an example of how to instantiate this type.
|
|
739
|
+
# The values are placeholders you should change.
|
|
740
|
+
from aws_cdk import aws_cloudtrail as cloudtrail
|
|
741
|
+
|
|
742
|
+
cfn_dashboard = cloudtrail.CfnDashboard(self, "MyCfnDashboard",
|
|
743
|
+
name="name",
|
|
744
|
+
refresh_schedule=cloudtrail.CfnDashboard.RefreshScheduleProperty(
|
|
745
|
+
frequency=cloudtrail.CfnDashboard.FrequencyProperty(
|
|
746
|
+
unit="unit",
|
|
747
|
+
value=123
|
|
748
|
+
),
|
|
749
|
+
status="status",
|
|
750
|
+
time_of_day="timeOfDay"
|
|
751
|
+
),
|
|
752
|
+
tags=[CfnTag(
|
|
753
|
+
key="key",
|
|
754
|
+
value="value"
|
|
755
|
+
)],
|
|
756
|
+
termination_protection_enabled=False,
|
|
757
|
+
widgets=[cloudtrail.CfnDashboard.WidgetProperty(
|
|
758
|
+
query_statement="queryStatement",
|
|
759
|
+
|
|
760
|
+
# the properties below are optional
|
|
761
|
+
query_parameters=["queryParameters"],
|
|
762
|
+
view_properties={
|
|
763
|
+
"view_properties_key": "viewProperties"
|
|
764
|
+
}
|
|
765
|
+
)]
|
|
766
|
+
)
|
|
767
|
+
'''
|
|
768
|
+
|
|
769
|
+
def __init__(
|
|
770
|
+
self,
|
|
771
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
772
|
+
id: builtins.str,
|
|
773
|
+
*,
|
|
774
|
+
name: typing.Optional[builtins.str] = None,
|
|
775
|
+
refresh_schedule: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDashboard.RefreshScheduleProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
776
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
777
|
+
termination_protection_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
778
|
+
widgets: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDashboard.WidgetProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
779
|
+
) -> None:
|
|
780
|
+
'''
|
|
781
|
+
:param scope: Scope in which this resource is defined.
|
|
782
|
+
:param id: Construct identifier for this resource (unique in its scope).
|
|
783
|
+
:param name: The name of the dashboard.
|
|
784
|
+
:param refresh_schedule: Configures the automatic refresh schedule for the dashboard. Includes the frequency unit (DAYS or HOURS) and value, as well as the status (ENABLED or DISABLED) of the refresh schedule.
|
|
785
|
+
:param tags:
|
|
786
|
+
:param termination_protection_enabled: Indicates whether the dashboard is protected from termination.
|
|
787
|
+
:param widgets: List of widgets on the dashboard.
|
|
788
|
+
'''
|
|
789
|
+
if __debug__:
|
|
790
|
+
type_hints = typing.get_type_hints(_typecheckingstub__65875e3ceabcc57155f97b1541ff9d435e4456c9c7f0c980c1dea0ac9bffc3ce)
|
|
791
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
792
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
793
|
+
props = CfnDashboardProps(
|
|
794
|
+
name=name,
|
|
795
|
+
refresh_schedule=refresh_schedule,
|
|
796
|
+
tags=tags,
|
|
797
|
+
termination_protection_enabled=termination_protection_enabled,
|
|
798
|
+
widgets=widgets,
|
|
799
|
+
)
|
|
800
|
+
|
|
801
|
+
jsii.create(self.__class__, self, [scope, id, props])
|
|
802
|
+
|
|
803
|
+
@jsii.member(jsii_name="inspect")
|
|
804
|
+
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
805
|
+
'''Examines the CloudFormation resource and discloses attributes.
|
|
806
|
+
|
|
807
|
+
:param inspector: tree inspector to collect and process attributes.
|
|
808
|
+
'''
|
|
809
|
+
if __debug__:
|
|
810
|
+
type_hints = typing.get_type_hints(_typecheckingstub__80aa78b7039f0746d57f08dc22b8127693ce2c2c4b3ede574289925bdfd4379f)
|
|
811
|
+
check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
|
|
812
|
+
return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
|
|
813
|
+
|
|
814
|
+
@jsii.member(jsii_name="renderProperties")
|
|
815
|
+
def _render_properties(
|
|
816
|
+
self,
|
|
817
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
818
|
+
) -> typing.Mapping[builtins.str, typing.Any]:
|
|
819
|
+
'''
|
|
820
|
+
:param props: -
|
|
821
|
+
'''
|
|
822
|
+
if __debug__:
|
|
823
|
+
type_hints = typing.get_type_hints(_typecheckingstub__e96a4620eb54251cb180709e3338de0cb20f46ad1ac13bee113fa445de8bc7dc)
|
|
824
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
825
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
|
|
826
|
+
|
|
827
|
+
@jsii.python.classproperty
|
|
828
|
+
@jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
|
|
829
|
+
def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
|
|
830
|
+
'''The CloudFormation resource type name for this resource class.'''
|
|
831
|
+
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
832
|
+
|
|
833
|
+
@builtins.property
|
|
834
|
+
@jsii.member(jsii_name="attrCreatedTimestamp")
|
|
835
|
+
def attr_created_timestamp(self) -> builtins.str:
|
|
836
|
+
'''
|
|
837
|
+
:cloudformationAttribute: CreatedTimestamp
|
|
838
|
+
'''
|
|
839
|
+
return typing.cast(builtins.str, jsii.get(self, "attrCreatedTimestamp"))
|
|
840
|
+
|
|
841
|
+
@builtins.property
|
|
842
|
+
@jsii.member(jsii_name="attrDashboardArn")
|
|
843
|
+
def attr_dashboard_arn(self) -> builtins.str:
|
|
844
|
+
'''The ARN of the dashboard.
|
|
845
|
+
|
|
846
|
+
:cloudformationAttribute: DashboardArn
|
|
847
|
+
'''
|
|
848
|
+
return typing.cast(builtins.str, jsii.get(self, "attrDashboardArn"))
|
|
849
|
+
|
|
850
|
+
@builtins.property
|
|
851
|
+
@jsii.member(jsii_name="attrStatus")
|
|
852
|
+
def attr_status(self) -> builtins.str:
|
|
853
|
+
'''The status of the dashboard.
|
|
854
|
+
|
|
855
|
+
Values are CREATING, CREATED, UPDATING, UPDATED and DELETING.
|
|
856
|
+
|
|
857
|
+
:cloudformationAttribute: Status
|
|
858
|
+
'''
|
|
859
|
+
return typing.cast(builtins.str, jsii.get(self, "attrStatus"))
|
|
860
|
+
|
|
861
|
+
@builtins.property
|
|
862
|
+
@jsii.member(jsii_name="attrType")
|
|
863
|
+
def attr_type(self) -> builtins.str:
|
|
864
|
+
'''The type of the dashboard.
|
|
865
|
+
|
|
866
|
+
Values are CUSTOM and MANAGED.
|
|
867
|
+
|
|
868
|
+
:cloudformationAttribute: Type
|
|
869
|
+
'''
|
|
870
|
+
return typing.cast(builtins.str, jsii.get(self, "attrType"))
|
|
871
|
+
|
|
872
|
+
@builtins.property
|
|
873
|
+
@jsii.member(jsii_name="attrUpdatedTimestamp")
|
|
874
|
+
def attr_updated_timestamp(self) -> builtins.str:
|
|
875
|
+
'''
|
|
876
|
+
:cloudformationAttribute: UpdatedTimestamp
|
|
877
|
+
'''
|
|
878
|
+
return typing.cast(builtins.str, jsii.get(self, "attrUpdatedTimestamp"))
|
|
879
|
+
|
|
880
|
+
@builtins.property
|
|
881
|
+
@jsii.member(jsii_name="cdkTagManager")
|
|
882
|
+
def cdk_tag_manager(self) -> _TagManager_0a598cb3:
|
|
883
|
+
'''Tag Manager which manages the tags for this resource.'''
|
|
884
|
+
return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
|
|
885
|
+
|
|
886
|
+
@builtins.property
|
|
887
|
+
@jsii.member(jsii_name="cfnProperties")
|
|
888
|
+
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
889
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
890
|
+
|
|
891
|
+
@builtins.property
|
|
892
|
+
@jsii.member(jsii_name="name")
|
|
893
|
+
def name(self) -> typing.Optional[builtins.str]:
|
|
894
|
+
'''The name of the dashboard.'''
|
|
895
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "name"))
|
|
896
|
+
|
|
897
|
+
@name.setter
|
|
898
|
+
def name(self, value: typing.Optional[builtins.str]) -> None:
|
|
899
|
+
if __debug__:
|
|
900
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ad3cc4c5ce87019f2d65bf513eb6f6987758697d7edaf71a8c25d63e5adcd28a)
|
|
901
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
902
|
+
jsii.set(self, "name", value) # pyright: ignore[reportArgumentType]
|
|
903
|
+
|
|
904
|
+
@builtins.property
|
|
905
|
+
@jsii.member(jsii_name="refreshSchedule")
|
|
906
|
+
def refresh_schedule(
|
|
907
|
+
self,
|
|
908
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDashboard.RefreshScheduleProperty"]]:
|
|
909
|
+
'''Configures the automatic refresh schedule for the dashboard.'''
|
|
910
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDashboard.RefreshScheduleProperty"]], jsii.get(self, "refreshSchedule"))
|
|
911
|
+
|
|
912
|
+
@refresh_schedule.setter
|
|
913
|
+
def refresh_schedule(
|
|
914
|
+
self,
|
|
915
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDashboard.RefreshScheduleProperty"]],
|
|
916
|
+
) -> None:
|
|
917
|
+
if __debug__:
|
|
918
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c189822248b924f49d3f78593489ebfdb50baaa5632423120ffc582017517a62)
|
|
919
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
920
|
+
jsii.set(self, "refreshSchedule", value) # pyright: ignore[reportArgumentType]
|
|
921
|
+
|
|
922
|
+
@builtins.property
|
|
923
|
+
@jsii.member(jsii_name="tags")
|
|
924
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
925
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
|
|
926
|
+
|
|
927
|
+
@tags.setter
|
|
928
|
+
def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
|
|
929
|
+
if __debug__:
|
|
930
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f30292137ba2f648895c0e1f3beefbf660ef3c12168b20e06516352a881c1581)
|
|
931
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
932
|
+
jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
|
|
933
|
+
|
|
934
|
+
@builtins.property
|
|
935
|
+
@jsii.member(jsii_name="terminationProtectionEnabled")
|
|
936
|
+
def termination_protection_enabled(
|
|
937
|
+
self,
|
|
938
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
939
|
+
'''Indicates whether the dashboard is protected from termination.'''
|
|
940
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], jsii.get(self, "terminationProtectionEnabled"))
|
|
941
|
+
|
|
942
|
+
@termination_protection_enabled.setter
|
|
943
|
+
def termination_protection_enabled(
|
|
944
|
+
self,
|
|
945
|
+
value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
|
|
946
|
+
) -> None:
|
|
947
|
+
if __debug__:
|
|
948
|
+
type_hints = typing.get_type_hints(_typecheckingstub__784f2dc9097025d1492e66bc4ea947ce69164f00c1538ca507daa506ba7efe22)
|
|
949
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
950
|
+
jsii.set(self, "terminationProtectionEnabled", value) # pyright: ignore[reportArgumentType]
|
|
951
|
+
|
|
952
|
+
@builtins.property
|
|
953
|
+
@jsii.member(jsii_name="widgets")
|
|
954
|
+
def widgets(
|
|
955
|
+
self,
|
|
956
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnDashboard.WidgetProperty"]]]]:
|
|
957
|
+
'''List of widgets on the dashboard.'''
|
|
958
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnDashboard.WidgetProperty"]]]], jsii.get(self, "widgets"))
|
|
959
|
+
|
|
960
|
+
@widgets.setter
|
|
961
|
+
def widgets(
|
|
962
|
+
self,
|
|
963
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnDashboard.WidgetProperty"]]]],
|
|
964
|
+
) -> None:
|
|
965
|
+
if __debug__:
|
|
966
|
+
type_hints = typing.get_type_hints(_typecheckingstub__15acb7e7b87191d3aa52a0f02842d9b876d6cd2175319b3e4dd3ac6b352b2755)
|
|
967
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
968
|
+
jsii.set(self, "widgets", value) # pyright: ignore[reportArgumentType]
|
|
969
|
+
|
|
970
|
+
@jsii.data_type(
|
|
971
|
+
jsii_type="aws-cdk-lib.aws_cloudtrail.CfnDashboard.FrequencyProperty",
|
|
972
|
+
jsii_struct_bases=[],
|
|
973
|
+
name_mapping={"unit": "unit", "value": "value"},
|
|
974
|
+
)
|
|
975
|
+
class FrequencyProperty:
|
|
976
|
+
def __init__(self, *, unit: builtins.str, value: jsii.Number) -> None:
|
|
977
|
+
'''
|
|
978
|
+
:param unit: The frequency unit. Supported values are HOURS and DAYS.
|
|
979
|
+
:param value: The frequency value.
|
|
980
|
+
|
|
981
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudtrail-dashboard-frequency.html
|
|
982
|
+
:exampleMetadata: fixture=_generated
|
|
983
|
+
|
|
984
|
+
Example::
|
|
985
|
+
|
|
986
|
+
# The code below shows an example of how to instantiate this type.
|
|
987
|
+
# The values are placeholders you should change.
|
|
988
|
+
from aws_cdk import aws_cloudtrail as cloudtrail
|
|
989
|
+
|
|
990
|
+
frequency_property = cloudtrail.CfnDashboard.FrequencyProperty(
|
|
991
|
+
unit="unit",
|
|
992
|
+
value=123
|
|
993
|
+
)
|
|
994
|
+
'''
|
|
995
|
+
if __debug__:
|
|
996
|
+
type_hints = typing.get_type_hints(_typecheckingstub__2f2203e866b3e98fa21e0e9b0a804e36298f95797b075211e843ddc70bd28b8c)
|
|
997
|
+
check_type(argname="argument unit", value=unit, expected_type=type_hints["unit"])
|
|
998
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
999
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1000
|
+
"unit": unit,
|
|
1001
|
+
"value": value,
|
|
1002
|
+
}
|
|
1003
|
+
|
|
1004
|
+
@builtins.property
|
|
1005
|
+
def unit(self) -> builtins.str:
|
|
1006
|
+
'''The frequency unit.
|
|
1007
|
+
|
|
1008
|
+
Supported values are HOURS and DAYS.
|
|
1009
|
+
|
|
1010
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudtrail-dashboard-frequency.html#cfn-cloudtrail-dashboard-frequency-unit
|
|
1011
|
+
'''
|
|
1012
|
+
result = self._values.get("unit")
|
|
1013
|
+
assert result is not None, "Required property 'unit' is missing"
|
|
1014
|
+
return typing.cast(builtins.str, result)
|
|
1015
|
+
|
|
1016
|
+
@builtins.property
|
|
1017
|
+
def value(self) -> jsii.Number:
|
|
1018
|
+
'''The frequency value.
|
|
1019
|
+
|
|
1020
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudtrail-dashboard-frequency.html#cfn-cloudtrail-dashboard-frequency-value
|
|
1021
|
+
'''
|
|
1022
|
+
result = self._values.get("value")
|
|
1023
|
+
assert result is not None, "Required property 'value' is missing"
|
|
1024
|
+
return typing.cast(jsii.Number, result)
|
|
1025
|
+
|
|
1026
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1027
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1028
|
+
|
|
1029
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1030
|
+
return not (rhs == self)
|
|
1031
|
+
|
|
1032
|
+
def __repr__(self) -> str:
|
|
1033
|
+
return "FrequencyProperty(%s)" % ", ".join(
|
|
1034
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1035
|
+
)
|
|
1036
|
+
|
|
1037
|
+
@jsii.data_type(
|
|
1038
|
+
jsii_type="aws-cdk-lib.aws_cloudtrail.CfnDashboard.RefreshScheduleProperty",
|
|
1039
|
+
jsii_struct_bases=[],
|
|
1040
|
+
name_mapping={
|
|
1041
|
+
"frequency": "frequency",
|
|
1042
|
+
"status": "status",
|
|
1043
|
+
"time_of_day": "timeOfDay",
|
|
1044
|
+
},
|
|
1045
|
+
)
|
|
1046
|
+
class RefreshScheduleProperty:
|
|
1047
|
+
def __init__(
|
|
1048
|
+
self,
|
|
1049
|
+
*,
|
|
1050
|
+
frequency: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDashboard.FrequencyProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1051
|
+
status: typing.Optional[builtins.str] = None,
|
|
1052
|
+
time_of_day: typing.Optional[builtins.str] = None,
|
|
1053
|
+
) -> None:
|
|
1054
|
+
'''Configures the automatic refresh schedule for the dashboard.
|
|
1055
|
+
|
|
1056
|
+
Includes the frequency unit (DAYS or HOURS) and value, as well as the status (ENABLED or DISABLED) of the refresh schedule.
|
|
1057
|
+
|
|
1058
|
+
:param frequency:
|
|
1059
|
+
:param status: The status of the schedule. Supported values are ENABLED and DISABLED.
|
|
1060
|
+
:param time_of_day: StartTime of the automatic schedule refresh.
|
|
1061
|
+
|
|
1062
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudtrail-dashboard-refreshschedule.html
|
|
1063
|
+
:exampleMetadata: fixture=_generated
|
|
1064
|
+
|
|
1065
|
+
Example::
|
|
1066
|
+
|
|
1067
|
+
# The code below shows an example of how to instantiate this type.
|
|
1068
|
+
# The values are placeholders you should change.
|
|
1069
|
+
from aws_cdk import aws_cloudtrail as cloudtrail
|
|
1070
|
+
|
|
1071
|
+
refresh_schedule_property = cloudtrail.CfnDashboard.RefreshScheduleProperty(
|
|
1072
|
+
frequency=cloudtrail.CfnDashboard.FrequencyProperty(
|
|
1073
|
+
unit="unit",
|
|
1074
|
+
value=123
|
|
1075
|
+
),
|
|
1076
|
+
status="status",
|
|
1077
|
+
time_of_day="timeOfDay"
|
|
1078
|
+
)
|
|
1079
|
+
'''
|
|
1080
|
+
if __debug__:
|
|
1081
|
+
type_hints = typing.get_type_hints(_typecheckingstub__e38849bc2b8e26a855d5c01196725a15d72db451889d0b2ed0891ec262db60d8)
|
|
1082
|
+
check_type(argname="argument frequency", value=frequency, expected_type=type_hints["frequency"])
|
|
1083
|
+
check_type(argname="argument status", value=status, expected_type=type_hints["status"])
|
|
1084
|
+
check_type(argname="argument time_of_day", value=time_of_day, expected_type=type_hints["time_of_day"])
|
|
1085
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
1086
|
+
if frequency is not None:
|
|
1087
|
+
self._values["frequency"] = frequency
|
|
1088
|
+
if status is not None:
|
|
1089
|
+
self._values["status"] = status
|
|
1090
|
+
if time_of_day is not None:
|
|
1091
|
+
self._values["time_of_day"] = time_of_day
|
|
1092
|
+
|
|
1093
|
+
@builtins.property
|
|
1094
|
+
def frequency(
|
|
1095
|
+
self,
|
|
1096
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDashboard.FrequencyProperty"]]:
|
|
1097
|
+
'''
|
|
1098
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudtrail-dashboard-refreshschedule.html#cfn-cloudtrail-dashboard-refreshschedule-frequency
|
|
1099
|
+
'''
|
|
1100
|
+
result = self._values.get("frequency")
|
|
1101
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDashboard.FrequencyProperty"]], result)
|
|
1102
|
+
|
|
1103
|
+
@builtins.property
|
|
1104
|
+
def status(self) -> typing.Optional[builtins.str]:
|
|
1105
|
+
'''The status of the schedule.
|
|
1106
|
+
|
|
1107
|
+
Supported values are ENABLED and DISABLED.
|
|
1108
|
+
|
|
1109
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudtrail-dashboard-refreshschedule.html#cfn-cloudtrail-dashboard-refreshschedule-status
|
|
1110
|
+
'''
|
|
1111
|
+
result = self._values.get("status")
|
|
1112
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1113
|
+
|
|
1114
|
+
@builtins.property
|
|
1115
|
+
def time_of_day(self) -> typing.Optional[builtins.str]:
|
|
1116
|
+
'''StartTime of the automatic schedule refresh.
|
|
1117
|
+
|
|
1118
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudtrail-dashboard-refreshschedule.html#cfn-cloudtrail-dashboard-refreshschedule-timeofday
|
|
1119
|
+
'''
|
|
1120
|
+
result = self._values.get("time_of_day")
|
|
1121
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1122
|
+
|
|
1123
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1124
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1125
|
+
|
|
1126
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1127
|
+
return not (rhs == self)
|
|
1128
|
+
|
|
1129
|
+
def __repr__(self) -> str:
|
|
1130
|
+
return "RefreshScheduleProperty(%s)" % ", ".join(
|
|
1131
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1132
|
+
)
|
|
1133
|
+
|
|
1134
|
+
@jsii.data_type(
|
|
1135
|
+
jsii_type="aws-cdk-lib.aws_cloudtrail.CfnDashboard.WidgetProperty",
|
|
1136
|
+
jsii_struct_bases=[],
|
|
1137
|
+
name_mapping={
|
|
1138
|
+
"query_statement": "queryStatement",
|
|
1139
|
+
"query_parameters": "queryParameters",
|
|
1140
|
+
"view_properties": "viewProperties",
|
|
1141
|
+
},
|
|
1142
|
+
)
|
|
1143
|
+
class WidgetProperty:
|
|
1144
|
+
def __init__(
|
|
1145
|
+
self,
|
|
1146
|
+
*,
|
|
1147
|
+
query_statement: builtins.str,
|
|
1148
|
+
query_parameters: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
1149
|
+
view_properties: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]] = None,
|
|
1150
|
+
) -> None:
|
|
1151
|
+
'''The dashboard widget.
|
|
1152
|
+
|
|
1153
|
+
:param query_statement: The SQL query statement on one or more event data stores.
|
|
1154
|
+
:param query_parameters: The placeholder keys in the QueryStatement. For example: $StartTime$, $EndTime$, $Period$.
|
|
1155
|
+
:param view_properties: The view properties of the widget.
|
|
1156
|
+
|
|
1157
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudtrail-dashboard-widget.html
|
|
1158
|
+
:exampleMetadata: fixture=_generated
|
|
1159
|
+
|
|
1160
|
+
Example::
|
|
1161
|
+
|
|
1162
|
+
# The code below shows an example of how to instantiate this type.
|
|
1163
|
+
# The values are placeholders you should change.
|
|
1164
|
+
from aws_cdk import aws_cloudtrail as cloudtrail
|
|
1165
|
+
|
|
1166
|
+
widget_property = cloudtrail.CfnDashboard.WidgetProperty(
|
|
1167
|
+
query_statement="queryStatement",
|
|
1168
|
+
|
|
1169
|
+
# the properties below are optional
|
|
1170
|
+
query_parameters=["queryParameters"],
|
|
1171
|
+
view_properties={
|
|
1172
|
+
"view_properties_key": "viewProperties"
|
|
1173
|
+
}
|
|
1174
|
+
)
|
|
1175
|
+
'''
|
|
1176
|
+
if __debug__:
|
|
1177
|
+
type_hints = typing.get_type_hints(_typecheckingstub__dc8abf1361e0023c8b0a4cba28dced78eff4f36aa3c868efa3feed153cec95df)
|
|
1178
|
+
check_type(argname="argument query_statement", value=query_statement, expected_type=type_hints["query_statement"])
|
|
1179
|
+
check_type(argname="argument query_parameters", value=query_parameters, expected_type=type_hints["query_parameters"])
|
|
1180
|
+
check_type(argname="argument view_properties", value=view_properties, expected_type=type_hints["view_properties"])
|
|
1181
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1182
|
+
"query_statement": query_statement,
|
|
1183
|
+
}
|
|
1184
|
+
if query_parameters is not None:
|
|
1185
|
+
self._values["query_parameters"] = query_parameters
|
|
1186
|
+
if view_properties is not None:
|
|
1187
|
+
self._values["view_properties"] = view_properties
|
|
1188
|
+
|
|
1189
|
+
@builtins.property
|
|
1190
|
+
def query_statement(self) -> builtins.str:
|
|
1191
|
+
'''The SQL query statement on one or more event data stores.
|
|
1192
|
+
|
|
1193
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudtrail-dashboard-widget.html#cfn-cloudtrail-dashboard-widget-querystatement
|
|
1194
|
+
'''
|
|
1195
|
+
result = self._values.get("query_statement")
|
|
1196
|
+
assert result is not None, "Required property 'query_statement' is missing"
|
|
1197
|
+
return typing.cast(builtins.str, result)
|
|
1198
|
+
|
|
1199
|
+
@builtins.property
|
|
1200
|
+
def query_parameters(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
1201
|
+
'''The placeholder keys in the QueryStatement.
|
|
1202
|
+
|
|
1203
|
+
For example: $StartTime$, $EndTime$, $Period$.
|
|
1204
|
+
|
|
1205
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudtrail-dashboard-widget.html#cfn-cloudtrail-dashboard-widget-queryparameters
|
|
1206
|
+
'''
|
|
1207
|
+
result = self._values.get("query_parameters")
|
|
1208
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
1209
|
+
|
|
1210
|
+
@builtins.property
|
|
1211
|
+
def view_properties(
|
|
1212
|
+
self,
|
|
1213
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]]:
|
|
1214
|
+
'''The view properties of the widget.
|
|
1215
|
+
|
|
1216
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudtrail-dashboard-widget.html#cfn-cloudtrail-dashboard-widget-viewproperties
|
|
1217
|
+
'''
|
|
1218
|
+
result = self._values.get("view_properties")
|
|
1219
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]], result)
|
|
1220
|
+
|
|
1221
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1222
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1223
|
+
|
|
1224
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1225
|
+
return not (rhs == self)
|
|
1226
|
+
|
|
1227
|
+
def __repr__(self) -> str:
|
|
1228
|
+
return "WidgetProperty(%s)" % ", ".join(
|
|
1229
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1230
|
+
)
|
|
1231
|
+
|
|
1232
|
+
|
|
1233
|
+
@jsii.data_type(
|
|
1234
|
+
jsii_type="aws-cdk-lib.aws_cloudtrail.CfnDashboardProps",
|
|
1235
|
+
jsii_struct_bases=[],
|
|
1236
|
+
name_mapping={
|
|
1237
|
+
"name": "name",
|
|
1238
|
+
"refresh_schedule": "refreshSchedule",
|
|
1239
|
+
"tags": "tags",
|
|
1240
|
+
"termination_protection_enabled": "terminationProtectionEnabled",
|
|
1241
|
+
"widgets": "widgets",
|
|
1242
|
+
},
|
|
1243
|
+
)
|
|
1244
|
+
class CfnDashboardProps:
|
|
1245
|
+
def __init__(
|
|
1246
|
+
self,
|
|
1247
|
+
*,
|
|
1248
|
+
name: typing.Optional[builtins.str] = None,
|
|
1249
|
+
refresh_schedule: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDashboard.RefreshScheduleProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1250
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1251
|
+
termination_protection_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
1252
|
+
widgets: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDashboard.WidgetProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
1253
|
+
) -> None:
|
|
1254
|
+
'''Properties for defining a ``CfnDashboard``.
|
|
1255
|
+
|
|
1256
|
+
:param name: The name of the dashboard.
|
|
1257
|
+
:param refresh_schedule: Configures the automatic refresh schedule for the dashboard. Includes the frequency unit (DAYS or HOURS) and value, as well as the status (ENABLED or DISABLED) of the refresh schedule.
|
|
1258
|
+
:param tags:
|
|
1259
|
+
:param termination_protection_enabled: Indicates whether the dashboard is protected from termination.
|
|
1260
|
+
:param widgets: List of widgets on the dashboard.
|
|
1261
|
+
|
|
1262
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudtrail-dashboard.html
|
|
1263
|
+
:exampleMetadata: fixture=_generated
|
|
1264
|
+
|
|
1265
|
+
Example::
|
|
1266
|
+
|
|
1267
|
+
# The code below shows an example of how to instantiate this type.
|
|
1268
|
+
# The values are placeholders you should change.
|
|
1269
|
+
from aws_cdk import aws_cloudtrail as cloudtrail
|
|
1270
|
+
|
|
1271
|
+
cfn_dashboard_props = cloudtrail.CfnDashboardProps(
|
|
1272
|
+
name="name",
|
|
1273
|
+
refresh_schedule=cloudtrail.CfnDashboard.RefreshScheduleProperty(
|
|
1274
|
+
frequency=cloudtrail.CfnDashboard.FrequencyProperty(
|
|
1275
|
+
unit="unit",
|
|
1276
|
+
value=123
|
|
1277
|
+
),
|
|
1278
|
+
status="status",
|
|
1279
|
+
time_of_day="timeOfDay"
|
|
1280
|
+
),
|
|
1281
|
+
tags=[CfnTag(
|
|
1282
|
+
key="key",
|
|
1283
|
+
value="value"
|
|
1284
|
+
)],
|
|
1285
|
+
termination_protection_enabled=False,
|
|
1286
|
+
widgets=[cloudtrail.CfnDashboard.WidgetProperty(
|
|
1287
|
+
query_statement="queryStatement",
|
|
1288
|
+
|
|
1289
|
+
# the properties below are optional
|
|
1290
|
+
query_parameters=["queryParameters"],
|
|
1291
|
+
view_properties={
|
|
1292
|
+
"view_properties_key": "viewProperties"
|
|
1293
|
+
}
|
|
1294
|
+
)]
|
|
1295
|
+
)
|
|
1296
|
+
'''
|
|
1297
|
+
if __debug__:
|
|
1298
|
+
type_hints = typing.get_type_hints(_typecheckingstub__6929f557c8f41826314d27fdba0c2269a618fd42c6e748deaa518379a830e911)
|
|
1299
|
+
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
1300
|
+
check_type(argname="argument refresh_schedule", value=refresh_schedule, expected_type=type_hints["refresh_schedule"])
|
|
1301
|
+
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
1302
|
+
check_type(argname="argument termination_protection_enabled", value=termination_protection_enabled, expected_type=type_hints["termination_protection_enabled"])
|
|
1303
|
+
check_type(argname="argument widgets", value=widgets, expected_type=type_hints["widgets"])
|
|
1304
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
1305
|
+
if name is not None:
|
|
1306
|
+
self._values["name"] = name
|
|
1307
|
+
if refresh_schedule is not None:
|
|
1308
|
+
self._values["refresh_schedule"] = refresh_schedule
|
|
1309
|
+
if tags is not None:
|
|
1310
|
+
self._values["tags"] = tags
|
|
1311
|
+
if termination_protection_enabled is not None:
|
|
1312
|
+
self._values["termination_protection_enabled"] = termination_protection_enabled
|
|
1313
|
+
if widgets is not None:
|
|
1314
|
+
self._values["widgets"] = widgets
|
|
1315
|
+
|
|
1316
|
+
@builtins.property
|
|
1317
|
+
def name(self) -> typing.Optional[builtins.str]:
|
|
1318
|
+
'''The name of the dashboard.
|
|
1319
|
+
|
|
1320
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudtrail-dashboard.html#cfn-cloudtrail-dashboard-name
|
|
1321
|
+
'''
|
|
1322
|
+
result = self._values.get("name")
|
|
1323
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1324
|
+
|
|
1325
|
+
@builtins.property
|
|
1326
|
+
def refresh_schedule(
|
|
1327
|
+
self,
|
|
1328
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnDashboard.RefreshScheduleProperty]]:
|
|
1329
|
+
'''Configures the automatic refresh schedule for the dashboard.
|
|
1330
|
+
|
|
1331
|
+
Includes the frequency unit (DAYS or HOURS) and value, as well as the status (ENABLED or DISABLED) of the refresh schedule.
|
|
1332
|
+
|
|
1333
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudtrail-dashboard.html#cfn-cloudtrail-dashboard-refreshschedule
|
|
1334
|
+
'''
|
|
1335
|
+
result = self._values.get("refresh_schedule")
|
|
1336
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnDashboard.RefreshScheduleProperty]], result)
|
|
1337
|
+
|
|
1338
|
+
@builtins.property
|
|
1339
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
1340
|
+
'''
|
|
1341
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudtrail-dashboard.html#cfn-cloudtrail-dashboard-tags
|
|
1342
|
+
'''
|
|
1343
|
+
result = self._values.get("tags")
|
|
1344
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
|
|
1345
|
+
|
|
1346
|
+
@builtins.property
|
|
1347
|
+
def termination_protection_enabled(
|
|
1348
|
+
self,
|
|
1349
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
1350
|
+
'''Indicates whether the dashboard is protected from termination.
|
|
1351
|
+
|
|
1352
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudtrail-dashboard.html#cfn-cloudtrail-dashboard-terminationprotectionenabled
|
|
1353
|
+
'''
|
|
1354
|
+
result = self._values.get("termination_protection_enabled")
|
|
1355
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
1356
|
+
|
|
1357
|
+
@builtins.property
|
|
1358
|
+
def widgets(
|
|
1359
|
+
self,
|
|
1360
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnDashboard.WidgetProperty]]]]:
|
|
1361
|
+
'''List of widgets on the dashboard.
|
|
1362
|
+
|
|
1363
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudtrail-dashboard.html#cfn-cloudtrail-dashboard-widgets
|
|
1364
|
+
'''
|
|
1365
|
+
result = self._values.get("widgets")
|
|
1366
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnDashboard.WidgetProperty]]]], result)
|
|
1367
|
+
|
|
1368
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1369
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1370
|
+
|
|
1371
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1372
|
+
return not (rhs == self)
|
|
1373
|
+
|
|
1374
|
+
def __repr__(self) -> str:
|
|
1375
|
+
return "CfnDashboardProps(%s)" % ", ".join(
|
|
1376
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1377
|
+
)
|
|
1378
|
+
|
|
1379
|
+
|
|
721
1380
|
@jsii.implements(_IInspectable_c2943556, _ITaggable_36806126)
|
|
722
1381
|
class CfnEventDataStore(
|
|
723
1382
|
_CfnResource_9df397a6,
|
|
@@ -4406,6 +5065,8 @@ __all__ = [
|
|
|
4406
5065
|
"AddEventSelectorOptions",
|
|
4407
5066
|
"CfnChannel",
|
|
4408
5067
|
"CfnChannelProps",
|
|
5068
|
+
"CfnDashboard",
|
|
5069
|
+
"CfnDashboardProps",
|
|
4409
5070
|
"CfnEventDataStore",
|
|
4410
5071
|
"CfnEventDataStoreProps",
|
|
4411
5072
|
"CfnResourcePolicy",
|
|
@@ -4498,6 +5159,98 @@ def _typecheckingstub__767e83e8a394410f21e7f497da1effaf3ef0c04f6e829362db73a8f53
|
|
|
4498
5159
|
"""Type checking stubs"""
|
|
4499
5160
|
pass
|
|
4500
5161
|
|
|
5162
|
+
def _typecheckingstub__65875e3ceabcc57155f97b1541ff9d435e4456c9c7f0c980c1dea0ac9bffc3ce(
|
|
5163
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
5164
|
+
id: builtins.str,
|
|
5165
|
+
*,
|
|
5166
|
+
name: typing.Optional[builtins.str] = None,
|
|
5167
|
+
refresh_schedule: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDashboard.RefreshScheduleProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5168
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5169
|
+
termination_protection_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
5170
|
+
widgets: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDashboard.WidgetProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
5171
|
+
) -> None:
|
|
5172
|
+
"""Type checking stubs"""
|
|
5173
|
+
pass
|
|
5174
|
+
|
|
5175
|
+
def _typecheckingstub__80aa78b7039f0746d57f08dc22b8127693ce2c2c4b3ede574289925bdfd4379f(
|
|
5176
|
+
inspector: _TreeInspector_488e0dd5,
|
|
5177
|
+
) -> None:
|
|
5178
|
+
"""Type checking stubs"""
|
|
5179
|
+
pass
|
|
5180
|
+
|
|
5181
|
+
def _typecheckingstub__e96a4620eb54251cb180709e3338de0cb20f46ad1ac13bee113fa445de8bc7dc(
|
|
5182
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
5183
|
+
) -> None:
|
|
5184
|
+
"""Type checking stubs"""
|
|
5185
|
+
pass
|
|
5186
|
+
|
|
5187
|
+
def _typecheckingstub__ad3cc4c5ce87019f2d65bf513eb6f6987758697d7edaf71a8c25d63e5adcd28a(
|
|
5188
|
+
value: typing.Optional[builtins.str],
|
|
5189
|
+
) -> None:
|
|
5190
|
+
"""Type checking stubs"""
|
|
5191
|
+
pass
|
|
5192
|
+
|
|
5193
|
+
def _typecheckingstub__c189822248b924f49d3f78593489ebfdb50baaa5632423120ffc582017517a62(
|
|
5194
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnDashboard.RefreshScheduleProperty]],
|
|
5195
|
+
) -> None:
|
|
5196
|
+
"""Type checking stubs"""
|
|
5197
|
+
pass
|
|
5198
|
+
|
|
5199
|
+
def _typecheckingstub__f30292137ba2f648895c0e1f3beefbf660ef3c12168b20e06516352a881c1581(
|
|
5200
|
+
value: typing.Optional[typing.List[_CfnTag_f6864754]],
|
|
5201
|
+
) -> None:
|
|
5202
|
+
"""Type checking stubs"""
|
|
5203
|
+
pass
|
|
5204
|
+
|
|
5205
|
+
def _typecheckingstub__784f2dc9097025d1492e66bc4ea947ce69164f00c1538ca507daa506ba7efe22(
|
|
5206
|
+
value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
|
|
5207
|
+
) -> None:
|
|
5208
|
+
"""Type checking stubs"""
|
|
5209
|
+
pass
|
|
5210
|
+
|
|
5211
|
+
def _typecheckingstub__15acb7e7b87191d3aa52a0f02842d9b876d6cd2175319b3e4dd3ac6b352b2755(
|
|
5212
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnDashboard.WidgetProperty]]]],
|
|
5213
|
+
) -> None:
|
|
5214
|
+
"""Type checking stubs"""
|
|
5215
|
+
pass
|
|
5216
|
+
|
|
5217
|
+
def _typecheckingstub__2f2203e866b3e98fa21e0e9b0a804e36298f95797b075211e843ddc70bd28b8c(
|
|
5218
|
+
*,
|
|
5219
|
+
unit: builtins.str,
|
|
5220
|
+
value: jsii.Number,
|
|
5221
|
+
) -> None:
|
|
5222
|
+
"""Type checking stubs"""
|
|
5223
|
+
pass
|
|
5224
|
+
|
|
5225
|
+
def _typecheckingstub__e38849bc2b8e26a855d5c01196725a15d72db451889d0b2ed0891ec262db60d8(
|
|
5226
|
+
*,
|
|
5227
|
+
frequency: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDashboard.FrequencyProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5228
|
+
status: typing.Optional[builtins.str] = None,
|
|
5229
|
+
time_of_day: typing.Optional[builtins.str] = None,
|
|
5230
|
+
) -> None:
|
|
5231
|
+
"""Type checking stubs"""
|
|
5232
|
+
pass
|
|
5233
|
+
|
|
5234
|
+
def _typecheckingstub__dc8abf1361e0023c8b0a4cba28dced78eff4f36aa3c868efa3feed153cec95df(
|
|
5235
|
+
*,
|
|
5236
|
+
query_statement: builtins.str,
|
|
5237
|
+
query_parameters: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
5238
|
+
view_properties: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]] = None,
|
|
5239
|
+
) -> None:
|
|
5240
|
+
"""Type checking stubs"""
|
|
5241
|
+
pass
|
|
5242
|
+
|
|
5243
|
+
def _typecheckingstub__6929f557c8f41826314d27fdba0c2269a618fd42c6e748deaa518379a830e911(
|
|
5244
|
+
*,
|
|
5245
|
+
name: typing.Optional[builtins.str] = None,
|
|
5246
|
+
refresh_schedule: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDashboard.RefreshScheduleProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5247
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5248
|
+
termination_protection_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
5249
|
+
widgets: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDashboard.WidgetProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
5250
|
+
) -> None:
|
|
5251
|
+
"""Type checking stubs"""
|
|
5252
|
+
pass
|
|
5253
|
+
|
|
4501
5254
|
def _typecheckingstub__058a94222b13ad44b4607ad5932ec9b6a2defcb250ff436576e6e8976e7b2bee(
|
|
4502
5255
|
scope: _constructs_77d1e7e8.Construct,
|
|
4503
5256
|
id: builtins.str,
|