aws-cdk-lib 2.182.0__py3-none-any.whl → 2.184.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 +459 -33
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.182.0.jsii.tgz → aws-cdk-lib@2.184.0.jsii.tgz} +0 -0
- aws_cdk/aws_batch/__init__.py +15 -9
- aws_cdk/aws_bedrock/__init__.py +5804 -2325
- aws_cdk/aws_ce/__init__.py +141 -3
- aws_cdk/aws_cloudformation/__init__.py +26 -33
- aws_cdk/aws_cloudfront/experimental/__init__.py +2 -2
- aws_cdk/aws_cloudtrail/__init__.py +4 -4
- aws_cdk/aws_codebuild/__init__.py +4 -10
- aws_cdk/aws_cognito/__init__.py +3 -3
- aws_cdk/aws_dms/__init__.py +350 -0
- aws_cdk/aws_ec2/__init__.py +63 -5
- aws_cdk/aws_elasticache/__init__.py +3 -3
- aws_cdk/aws_emr/__init__.py +9 -3
- aws_cdk/aws_events/__init__.py +3 -1
- aws_cdk/aws_events_targets/__init__.py +31 -7
- aws_cdk/aws_gameliftstreams/__init__.py +1205 -0
- aws_cdk/aws_iam/__init__.py +290 -35
- aws_cdk/aws_inspector/__init__.py +13 -10
- aws_cdk/aws_iot/__init__.py +616 -22
- aws_cdk/aws_iotfleetwise/__init__.py +72 -10
- aws_cdk/aws_iotsitewise/__init__.py +12 -8
- aws_cdk/aws_kafkaconnect/__init__.py +4 -2
- aws_cdk/aws_kinesisfirehose/__init__.py +45 -51
- aws_cdk/aws_lambda/__init__.py +27 -18
- aws_cdk/aws_lambda_event_sources/__init__.py +14 -14
- aws_cdk/aws_logs/__init__.py +133 -0
- aws_cdk/aws_medialive/__init__.py +86 -86
- aws_cdk/aws_msk/__init__.py +236 -128
- aws_cdk/aws_neptunegraph/__init__.py +3 -3
- aws_cdk/aws_opensearchserverless/__init__.py +1031 -0
- aws_cdk/aws_quicksight/__init__.py +6511 -20331
- aws_cdk/aws_rds/__init__.py +264 -32
- aws_cdk/aws_redshift/__init__.py +8 -8
- aws_cdk/aws_sagemaker/__init__.py +12 -5
- aws_cdk/aws_securitylake/__init__.py +3 -0
- aws_cdk/aws_synthetics/__init__.py +2 -0
- aws_cdk/aws_transfer/__init__.py +241 -40
- aws_cdk/aws_wafv2/__init__.py +118 -30
- aws_cdk/aws_xray/__init__.py +195 -0
- aws_cdk/cloud_assembly_schema/__init__.py +2 -2
- aws_cdk/custom_resources/__init__.py +65 -8
- {aws_cdk_lib-2.182.0.dist-info → aws_cdk_lib-2.184.0.dist-info}/METADATA +5 -6
- {aws_cdk_lib-2.182.0.dist-info → aws_cdk_lib-2.184.0.dist-info}/RECORD +49 -48
- {aws_cdk_lib-2.182.0.dist-info → aws_cdk_lib-2.184.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.182.0.dist-info → aws_cdk_lib-2.184.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.182.0.dist-info → aws_cdk_lib-2.184.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.182.0.dist-info → aws_cdk_lib-2.184.0.dist-info}/top_level.txt +0 -0
|
@@ -24824,7 +24824,6 @@ class CfnCloudWatchAlarmTemplate(
|
|
|
24824
24824
|
cfn_cloud_watch_alarm_template = medialive.CfnCloudWatchAlarmTemplate(self, "MyCfnCloudWatchAlarmTemplate",
|
|
24825
24825
|
comparison_operator="comparisonOperator",
|
|
24826
24826
|
evaluation_periods=123,
|
|
24827
|
-
group_identifier="groupIdentifier",
|
|
24828
24827
|
metric_name="metricName",
|
|
24829
24828
|
name="name",
|
|
24830
24829
|
period=123,
|
|
@@ -24836,6 +24835,7 @@ class CfnCloudWatchAlarmTemplate(
|
|
|
24836
24835
|
# the properties below are optional
|
|
24837
24836
|
datapoints_to_alarm=123,
|
|
24838
24837
|
description="description",
|
|
24838
|
+
group_identifier="groupIdentifier",
|
|
24839
24839
|
tags={
|
|
24840
24840
|
"tags_key": "tags"
|
|
24841
24841
|
}
|
|
@@ -24849,7 +24849,6 @@ class CfnCloudWatchAlarmTemplate(
|
|
|
24849
24849
|
*,
|
|
24850
24850
|
comparison_operator: builtins.str,
|
|
24851
24851
|
evaluation_periods: jsii.Number,
|
|
24852
|
-
group_identifier: builtins.str,
|
|
24853
24852
|
metric_name: builtins.str,
|
|
24854
24853
|
name: builtins.str,
|
|
24855
24854
|
period: jsii.Number,
|
|
@@ -24859,6 +24858,7 @@ class CfnCloudWatchAlarmTemplate(
|
|
|
24859
24858
|
treat_missing_data: builtins.str,
|
|
24860
24859
|
datapoints_to_alarm: typing.Optional[jsii.Number] = None,
|
|
24861
24860
|
description: typing.Optional[builtins.str] = None,
|
|
24861
|
+
group_identifier: typing.Optional[builtins.str] = None,
|
|
24862
24862
|
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
24863
24863
|
) -> None:
|
|
24864
24864
|
'''
|
|
@@ -24866,7 +24866,6 @@ class CfnCloudWatchAlarmTemplate(
|
|
|
24866
24866
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
24867
24867
|
:param comparison_operator: The comparison operator used to compare the specified statistic and the threshold.
|
|
24868
24868
|
:param evaluation_periods: The number of periods over which data is compared to the specified threshold. Default: - 0
|
|
24869
|
-
:param group_identifier: A cloudwatch alarm template group's identifier. Can be either be its id or current name.
|
|
24870
24869
|
:param metric_name: The name of the metric associated with the alarm. Must be compatible with targetResourceType.
|
|
24871
24870
|
:param name: A resource's name. Names must be unique within the scope of a resource type in a specific region.
|
|
24872
24871
|
:param period: The period, in seconds, over which the specified statistic is applied. Default: - 0
|
|
@@ -24876,6 +24875,7 @@ class CfnCloudWatchAlarmTemplate(
|
|
|
24876
24875
|
:param treat_missing_data: Specifies how missing data points are treated when evaluating the alarm's condition.
|
|
24877
24876
|
:param datapoints_to_alarm: The number of datapoints within the evaluation period that must be breaching to trigger the alarm. Default: - 0
|
|
24878
24877
|
:param description: A resource's optional description.
|
|
24878
|
+
:param group_identifier: A cloudwatch alarm template group's identifier. Can be either be its id or current name.
|
|
24879
24879
|
:param tags: Represents the tags associated with a resource.
|
|
24880
24880
|
'''
|
|
24881
24881
|
if __debug__:
|
|
@@ -24885,7 +24885,6 @@ class CfnCloudWatchAlarmTemplate(
|
|
|
24885
24885
|
props = CfnCloudWatchAlarmTemplateProps(
|
|
24886
24886
|
comparison_operator=comparison_operator,
|
|
24887
24887
|
evaluation_periods=evaluation_periods,
|
|
24888
|
-
group_identifier=group_identifier,
|
|
24889
24888
|
metric_name=metric_name,
|
|
24890
24889
|
name=name,
|
|
24891
24890
|
period=period,
|
|
@@ -24895,6 +24894,7 @@ class CfnCloudWatchAlarmTemplate(
|
|
|
24895
24894
|
treat_missing_data=treat_missing_data,
|
|
24896
24895
|
datapoints_to_alarm=datapoints_to_alarm,
|
|
24897
24896
|
description=description,
|
|
24897
|
+
group_identifier=group_identifier,
|
|
24898
24898
|
tags=tags,
|
|
24899
24899
|
)
|
|
24900
24900
|
|
|
@@ -25024,19 +25024,6 @@ class CfnCloudWatchAlarmTemplate(
|
|
|
25024
25024
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
25025
25025
|
jsii.set(self, "evaluationPeriods", value) # pyright: ignore[reportArgumentType]
|
|
25026
25026
|
|
|
25027
|
-
@builtins.property
|
|
25028
|
-
@jsii.member(jsii_name="groupIdentifier")
|
|
25029
|
-
def group_identifier(self) -> builtins.str:
|
|
25030
|
-
'''A cloudwatch alarm template group's identifier.'''
|
|
25031
|
-
return typing.cast(builtins.str, jsii.get(self, "groupIdentifier"))
|
|
25032
|
-
|
|
25033
|
-
@group_identifier.setter
|
|
25034
|
-
def group_identifier(self, value: builtins.str) -> None:
|
|
25035
|
-
if __debug__:
|
|
25036
|
-
type_hints = typing.get_type_hints(_typecheckingstub__c75a3651bd06c49c0d052bbccc0dd7c4d2d7b154451c36f723f17cce452d25ec)
|
|
25037
|
-
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
25038
|
-
jsii.set(self, "groupIdentifier", value) # pyright: ignore[reportArgumentType]
|
|
25039
|
-
|
|
25040
25027
|
@builtins.property
|
|
25041
25028
|
@jsii.member(jsii_name="metricName")
|
|
25042
25029
|
def metric_name(self) -> builtins.str:
|
|
@@ -25154,6 +25141,19 @@ class CfnCloudWatchAlarmTemplate(
|
|
|
25154
25141
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
25155
25142
|
jsii.set(self, "description", value) # pyright: ignore[reportArgumentType]
|
|
25156
25143
|
|
|
25144
|
+
@builtins.property
|
|
25145
|
+
@jsii.member(jsii_name="groupIdentifier")
|
|
25146
|
+
def group_identifier(self) -> typing.Optional[builtins.str]:
|
|
25147
|
+
'''A cloudwatch alarm template group's identifier.'''
|
|
25148
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "groupIdentifier"))
|
|
25149
|
+
|
|
25150
|
+
@group_identifier.setter
|
|
25151
|
+
def group_identifier(self, value: typing.Optional[builtins.str]) -> None:
|
|
25152
|
+
if __debug__:
|
|
25153
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c75a3651bd06c49c0d052bbccc0dd7c4d2d7b154451c36f723f17cce452d25ec)
|
|
25154
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
25155
|
+
jsii.set(self, "groupIdentifier", value) # pyright: ignore[reportArgumentType]
|
|
25156
|
+
|
|
25157
25157
|
@builtins.property
|
|
25158
25158
|
@jsii.member(jsii_name="tags")
|
|
25159
25159
|
def tags(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
@@ -25455,7 +25455,6 @@ class CfnCloudWatchAlarmTemplateGroupProps:
|
|
|
25455
25455
|
name_mapping={
|
|
25456
25456
|
"comparison_operator": "comparisonOperator",
|
|
25457
25457
|
"evaluation_periods": "evaluationPeriods",
|
|
25458
|
-
"group_identifier": "groupIdentifier",
|
|
25459
25458
|
"metric_name": "metricName",
|
|
25460
25459
|
"name": "name",
|
|
25461
25460
|
"period": "period",
|
|
@@ -25465,6 +25464,7 @@ class CfnCloudWatchAlarmTemplateGroupProps:
|
|
|
25465
25464
|
"treat_missing_data": "treatMissingData",
|
|
25466
25465
|
"datapoints_to_alarm": "datapointsToAlarm",
|
|
25467
25466
|
"description": "description",
|
|
25467
|
+
"group_identifier": "groupIdentifier",
|
|
25468
25468
|
"tags": "tags",
|
|
25469
25469
|
},
|
|
25470
25470
|
)
|
|
@@ -25474,7 +25474,6 @@ class CfnCloudWatchAlarmTemplateProps:
|
|
|
25474
25474
|
*,
|
|
25475
25475
|
comparison_operator: builtins.str,
|
|
25476
25476
|
evaluation_periods: jsii.Number,
|
|
25477
|
-
group_identifier: builtins.str,
|
|
25478
25477
|
metric_name: builtins.str,
|
|
25479
25478
|
name: builtins.str,
|
|
25480
25479
|
period: jsii.Number,
|
|
@@ -25484,13 +25483,13 @@ class CfnCloudWatchAlarmTemplateProps:
|
|
|
25484
25483
|
treat_missing_data: builtins.str,
|
|
25485
25484
|
datapoints_to_alarm: typing.Optional[jsii.Number] = None,
|
|
25486
25485
|
description: typing.Optional[builtins.str] = None,
|
|
25486
|
+
group_identifier: typing.Optional[builtins.str] = None,
|
|
25487
25487
|
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
25488
25488
|
) -> None:
|
|
25489
25489
|
'''Properties for defining a ``CfnCloudWatchAlarmTemplate``.
|
|
25490
25490
|
|
|
25491
25491
|
:param comparison_operator: The comparison operator used to compare the specified statistic and the threshold.
|
|
25492
25492
|
:param evaluation_periods: The number of periods over which data is compared to the specified threshold. Default: - 0
|
|
25493
|
-
:param group_identifier: A cloudwatch alarm template group's identifier. Can be either be its id or current name.
|
|
25494
25493
|
:param metric_name: The name of the metric associated with the alarm. Must be compatible with targetResourceType.
|
|
25495
25494
|
:param name: A resource's name. Names must be unique within the scope of a resource type in a specific region.
|
|
25496
25495
|
:param period: The period, in seconds, over which the specified statistic is applied. Default: - 0
|
|
@@ -25500,6 +25499,7 @@ class CfnCloudWatchAlarmTemplateProps:
|
|
|
25500
25499
|
:param treat_missing_data: Specifies how missing data points are treated when evaluating the alarm's condition.
|
|
25501
25500
|
:param datapoints_to_alarm: The number of datapoints within the evaluation period that must be breaching to trigger the alarm. Default: - 0
|
|
25502
25501
|
:param description: A resource's optional description.
|
|
25502
|
+
:param group_identifier: A cloudwatch alarm template group's identifier. Can be either be its id or current name.
|
|
25503
25503
|
:param tags: Represents the tags associated with a resource.
|
|
25504
25504
|
|
|
25505
25505
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-cloudwatchalarmtemplate.html
|
|
@@ -25514,7 +25514,6 @@ class CfnCloudWatchAlarmTemplateProps:
|
|
|
25514
25514
|
cfn_cloud_watch_alarm_template_props = medialive.CfnCloudWatchAlarmTemplateProps(
|
|
25515
25515
|
comparison_operator="comparisonOperator",
|
|
25516
25516
|
evaluation_periods=123,
|
|
25517
|
-
group_identifier="groupIdentifier",
|
|
25518
25517
|
metric_name="metricName",
|
|
25519
25518
|
name="name",
|
|
25520
25519
|
period=123,
|
|
@@ -25526,6 +25525,7 @@ class CfnCloudWatchAlarmTemplateProps:
|
|
|
25526
25525
|
# the properties below are optional
|
|
25527
25526
|
datapoints_to_alarm=123,
|
|
25528
25527
|
description="description",
|
|
25528
|
+
group_identifier="groupIdentifier",
|
|
25529
25529
|
tags={
|
|
25530
25530
|
"tags_key": "tags"
|
|
25531
25531
|
}
|
|
@@ -25535,7 +25535,6 @@ class CfnCloudWatchAlarmTemplateProps:
|
|
|
25535
25535
|
type_hints = typing.get_type_hints(_typecheckingstub__6f9937f82f949597524044fa535456d197389d74dc7e674c36adddd3dd1b1671)
|
|
25536
25536
|
check_type(argname="argument comparison_operator", value=comparison_operator, expected_type=type_hints["comparison_operator"])
|
|
25537
25537
|
check_type(argname="argument evaluation_periods", value=evaluation_periods, expected_type=type_hints["evaluation_periods"])
|
|
25538
|
-
check_type(argname="argument group_identifier", value=group_identifier, expected_type=type_hints["group_identifier"])
|
|
25539
25538
|
check_type(argname="argument metric_name", value=metric_name, expected_type=type_hints["metric_name"])
|
|
25540
25539
|
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
25541
25540
|
check_type(argname="argument period", value=period, expected_type=type_hints["period"])
|
|
@@ -25545,11 +25544,11 @@ class CfnCloudWatchAlarmTemplateProps:
|
|
|
25545
25544
|
check_type(argname="argument treat_missing_data", value=treat_missing_data, expected_type=type_hints["treat_missing_data"])
|
|
25546
25545
|
check_type(argname="argument datapoints_to_alarm", value=datapoints_to_alarm, expected_type=type_hints["datapoints_to_alarm"])
|
|
25547
25546
|
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
25547
|
+
check_type(argname="argument group_identifier", value=group_identifier, expected_type=type_hints["group_identifier"])
|
|
25548
25548
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
25549
25549
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
25550
25550
|
"comparison_operator": comparison_operator,
|
|
25551
25551
|
"evaluation_periods": evaluation_periods,
|
|
25552
|
-
"group_identifier": group_identifier,
|
|
25553
25552
|
"metric_name": metric_name,
|
|
25554
25553
|
"name": name,
|
|
25555
25554
|
"period": period,
|
|
@@ -25562,6 +25561,8 @@ class CfnCloudWatchAlarmTemplateProps:
|
|
|
25562
25561
|
self._values["datapoints_to_alarm"] = datapoints_to_alarm
|
|
25563
25562
|
if description is not None:
|
|
25564
25563
|
self._values["description"] = description
|
|
25564
|
+
if group_identifier is not None:
|
|
25565
|
+
self._values["group_identifier"] = group_identifier
|
|
25565
25566
|
if tags is not None:
|
|
25566
25567
|
self._values["tags"] = tags
|
|
25567
25568
|
|
|
@@ -25587,18 +25588,6 @@ class CfnCloudWatchAlarmTemplateProps:
|
|
|
25587
25588
|
assert result is not None, "Required property 'evaluation_periods' is missing"
|
|
25588
25589
|
return typing.cast(jsii.Number, result)
|
|
25589
25590
|
|
|
25590
|
-
@builtins.property
|
|
25591
|
-
def group_identifier(self) -> builtins.str:
|
|
25592
|
-
'''A cloudwatch alarm template group's identifier.
|
|
25593
|
-
|
|
25594
|
-
Can be either be its id or current name.
|
|
25595
|
-
|
|
25596
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-cloudwatchalarmtemplate.html#cfn-medialive-cloudwatchalarmtemplate-groupidentifier
|
|
25597
|
-
'''
|
|
25598
|
-
result = self._values.get("group_identifier")
|
|
25599
|
-
assert result is not None, "Required property 'group_identifier' is missing"
|
|
25600
|
-
return typing.cast(builtins.str, result)
|
|
25601
|
-
|
|
25602
25591
|
@builtins.property
|
|
25603
25592
|
def metric_name(self) -> builtins.str:
|
|
25604
25593
|
'''The name of the metric associated with the alarm.
|
|
@@ -25697,6 +25686,17 @@ class CfnCloudWatchAlarmTemplateProps:
|
|
|
25697
25686
|
result = self._values.get("description")
|
|
25698
25687
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
25699
25688
|
|
|
25689
|
+
@builtins.property
|
|
25690
|
+
def group_identifier(self) -> typing.Optional[builtins.str]:
|
|
25691
|
+
'''A cloudwatch alarm template group's identifier.
|
|
25692
|
+
|
|
25693
|
+
Can be either be its id or current name.
|
|
25694
|
+
|
|
25695
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-cloudwatchalarmtemplate.html#cfn-medialive-cloudwatchalarmtemplate-groupidentifier
|
|
25696
|
+
'''
|
|
25697
|
+
result = self._values.get("group_identifier")
|
|
25698
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
25699
|
+
|
|
25700
25700
|
@builtins.property
|
|
25701
25701
|
def tags(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
25702
25702
|
'''Represents the tags associated with a resource.
|
|
@@ -26240,7 +26240,6 @@ class CfnEventBridgeRuleTemplate(
|
|
|
26240
26240
|
|
|
26241
26241
|
cfn_event_bridge_rule_template = medialive.CfnEventBridgeRuleTemplate(self, "MyCfnEventBridgeRuleTemplate",
|
|
26242
26242
|
event_type="eventType",
|
|
26243
|
-
group_identifier="groupIdentifier",
|
|
26244
26243
|
name="name",
|
|
26245
26244
|
|
|
26246
26245
|
# the properties below are optional
|
|
@@ -26248,6 +26247,7 @@ class CfnEventBridgeRuleTemplate(
|
|
|
26248
26247
|
event_targets=[medialive.CfnEventBridgeRuleTemplate.EventBridgeRuleTemplateTargetProperty(
|
|
26249
26248
|
arn="arn"
|
|
26250
26249
|
)],
|
|
26250
|
+
group_identifier="groupIdentifier",
|
|
26251
26251
|
tags={
|
|
26252
26252
|
"tags_key": "tags"
|
|
26253
26253
|
}
|
|
@@ -26260,20 +26260,20 @@ class CfnEventBridgeRuleTemplate(
|
|
|
26260
26260
|
id: builtins.str,
|
|
26261
26261
|
*,
|
|
26262
26262
|
event_type: builtins.str,
|
|
26263
|
-
group_identifier: builtins.str,
|
|
26264
26263
|
name: builtins.str,
|
|
26265
26264
|
description: typing.Optional[builtins.str] = None,
|
|
26266
26265
|
event_targets: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnEventBridgeRuleTemplate.EventBridgeRuleTemplateTargetProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
26266
|
+
group_identifier: typing.Optional[builtins.str] = None,
|
|
26267
26267
|
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
26268
26268
|
) -> None:
|
|
26269
26269
|
'''
|
|
26270
26270
|
:param scope: Scope in which this resource is defined.
|
|
26271
26271
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
26272
26272
|
:param event_type: The type of event to match with the rule.
|
|
26273
|
-
:param group_identifier: An eventbridge rule template group's identifier. Can be either be its id or current name.
|
|
26274
26273
|
:param name: A resource's name. Names must be unique within the scope of a resource type in a specific region.
|
|
26275
26274
|
:param description: A resource's optional description.
|
|
26276
26275
|
:param event_targets: The destinations that will receive the event notifications.
|
|
26276
|
+
:param group_identifier: An eventbridge rule template group's identifier. Can be either be its id or current name.
|
|
26277
26277
|
:param tags: Represents the tags associated with a resource.
|
|
26278
26278
|
'''
|
|
26279
26279
|
if __debug__:
|
|
@@ -26282,10 +26282,10 @@ class CfnEventBridgeRuleTemplate(
|
|
|
26282
26282
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
26283
26283
|
props = CfnEventBridgeRuleTemplateProps(
|
|
26284
26284
|
event_type=event_type,
|
|
26285
|
-
group_identifier=group_identifier,
|
|
26286
26285
|
name=name,
|
|
26287
26286
|
description=description,
|
|
26288
26287
|
event_targets=event_targets,
|
|
26288
|
+
group_identifier=group_identifier,
|
|
26289
26289
|
tags=tags,
|
|
26290
26290
|
)
|
|
26291
26291
|
|
|
@@ -26403,19 +26403,6 @@ class CfnEventBridgeRuleTemplate(
|
|
|
26403
26403
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
26404
26404
|
jsii.set(self, "eventType", value) # pyright: ignore[reportArgumentType]
|
|
26405
26405
|
|
|
26406
|
-
@builtins.property
|
|
26407
|
-
@jsii.member(jsii_name="groupIdentifier")
|
|
26408
|
-
def group_identifier(self) -> builtins.str:
|
|
26409
|
-
'''An eventbridge rule template group's identifier.'''
|
|
26410
|
-
return typing.cast(builtins.str, jsii.get(self, "groupIdentifier"))
|
|
26411
|
-
|
|
26412
|
-
@group_identifier.setter
|
|
26413
|
-
def group_identifier(self, value: builtins.str) -> None:
|
|
26414
|
-
if __debug__:
|
|
26415
|
-
type_hints = typing.get_type_hints(_typecheckingstub__28fa5b434153ab6c74a5ab2712de72404e4b4b45879311fb9410f692f381c403)
|
|
26416
|
-
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
26417
|
-
jsii.set(self, "groupIdentifier", value) # pyright: ignore[reportArgumentType]
|
|
26418
|
-
|
|
26419
26406
|
@builtins.property
|
|
26420
26407
|
@jsii.member(jsii_name="name")
|
|
26421
26408
|
def name(self) -> builtins.str:
|
|
@@ -26460,6 +26447,19 @@ class CfnEventBridgeRuleTemplate(
|
|
|
26460
26447
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
26461
26448
|
jsii.set(self, "eventTargets", value) # pyright: ignore[reportArgumentType]
|
|
26462
26449
|
|
|
26450
|
+
@builtins.property
|
|
26451
|
+
@jsii.member(jsii_name="groupIdentifier")
|
|
26452
|
+
def group_identifier(self) -> typing.Optional[builtins.str]:
|
|
26453
|
+
'''An eventbridge rule template group's identifier.'''
|
|
26454
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "groupIdentifier"))
|
|
26455
|
+
|
|
26456
|
+
@group_identifier.setter
|
|
26457
|
+
def group_identifier(self, value: typing.Optional[builtins.str]) -> None:
|
|
26458
|
+
if __debug__:
|
|
26459
|
+
type_hints = typing.get_type_hints(_typecheckingstub__28fa5b434153ab6c74a5ab2712de72404e4b4b45879311fb9410f692f381c403)
|
|
26460
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
26461
|
+
jsii.set(self, "groupIdentifier", value) # pyright: ignore[reportArgumentType]
|
|
26462
|
+
|
|
26463
26463
|
@builtins.property
|
|
26464
26464
|
@jsii.member(jsii_name="tags")
|
|
26465
26465
|
def tags(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
@@ -26812,10 +26812,10 @@ class CfnEventBridgeRuleTemplateGroupProps:
|
|
|
26812
26812
|
jsii_struct_bases=[],
|
|
26813
26813
|
name_mapping={
|
|
26814
26814
|
"event_type": "eventType",
|
|
26815
|
-
"group_identifier": "groupIdentifier",
|
|
26816
26815
|
"name": "name",
|
|
26817
26816
|
"description": "description",
|
|
26818
26817
|
"event_targets": "eventTargets",
|
|
26818
|
+
"group_identifier": "groupIdentifier",
|
|
26819
26819
|
"tags": "tags",
|
|
26820
26820
|
},
|
|
26821
26821
|
)
|
|
@@ -26824,19 +26824,19 @@ class CfnEventBridgeRuleTemplateProps:
|
|
|
26824
26824
|
self,
|
|
26825
26825
|
*,
|
|
26826
26826
|
event_type: builtins.str,
|
|
26827
|
-
group_identifier: builtins.str,
|
|
26828
26827
|
name: builtins.str,
|
|
26829
26828
|
description: typing.Optional[builtins.str] = None,
|
|
26830
26829
|
event_targets: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnEventBridgeRuleTemplate.EventBridgeRuleTemplateTargetProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
26830
|
+
group_identifier: typing.Optional[builtins.str] = None,
|
|
26831
26831
|
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
26832
26832
|
) -> None:
|
|
26833
26833
|
'''Properties for defining a ``CfnEventBridgeRuleTemplate``.
|
|
26834
26834
|
|
|
26835
26835
|
:param event_type: The type of event to match with the rule.
|
|
26836
|
-
:param group_identifier: An eventbridge rule template group's identifier. Can be either be its id or current name.
|
|
26837
26836
|
:param name: A resource's name. Names must be unique within the scope of a resource type in a specific region.
|
|
26838
26837
|
:param description: A resource's optional description.
|
|
26839
26838
|
:param event_targets: The destinations that will receive the event notifications.
|
|
26839
|
+
:param group_identifier: An eventbridge rule template group's identifier. Can be either be its id or current name.
|
|
26840
26840
|
:param tags: Represents the tags associated with a resource.
|
|
26841
26841
|
|
|
26842
26842
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-eventbridgeruletemplate.html
|
|
@@ -26850,7 +26850,6 @@ class CfnEventBridgeRuleTemplateProps:
|
|
|
26850
26850
|
|
|
26851
26851
|
cfn_event_bridge_rule_template_props = medialive.CfnEventBridgeRuleTemplateProps(
|
|
26852
26852
|
event_type="eventType",
|
|
26853
|
-
group_identifier="groupIdentifier",
|
|
26854
26853
|
name="name",
|
|
26855
26854
|
|
|
26856
26855
|
# the properties below are optional
|
|
@@ -26858,6 +26857,7 @@ class CfnEventBridgeRuleTemplateProps:
|
|
|
26858
26857
|
event_targets=[medialive.CfnEventBridgeRuleTemplate.EventBridgeRuleTemplateTargetProperty(
|
|
26859
26858
|
arn="arn"
|
|
26860
26859
|
)],
|
|
26860
|
+
group_identifier="groupIdentifier",
|
|
26861
26861
|
tags={
|
|
26862
26862
|
"tags_key": "tags"
|
|
26863
26863
|
}
|
|
@@ -26866,20 +26866,21 @@ class CfnEventBridgeRuleTemplateProps:
|
|
|
26866
26866
|
if __debug__:
|
|
26867
26867
|
type_hints = typing.get_type_hints(_typecheckingstub__8013ff24e616fad75b238b7af1721d8eaeff80b4bfe4b36eae41f63d216efd1d)
|
|
26868
26868
|
check_type(argname="argument event_type", value=event_type, expected_type=type_hints["event_type"])
|
|
26869
|
-
check_type(argname="argument group_identifier", value=group_identifier, expected_type=type_hints["group_identifier"])
|
|
26870
26869
|
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
26871
26870
|
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
26872
26871
|
check_type(argname="argument event_targets", value=event_targets, expected_type=type_hints["event_targets"])
|
|
26872
|
+
check_type(argname="argument group_identifier", value=group_identifier, expected_type=type_hints["group_identifier"])
|
|
26873
26873
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
26874
26874
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
26875
26875
|
"event_type": event_type,
|
|
26876
|
-
"group_identifier": group_identifier,
|
|
26877
26876
|
"name": name,
|
|
26878
26877
|
}
|
|
26879
26878
|
if description is not None:
|
|
26880
26879
|
self._values["description"] = description
|
|
26881
26880
|
if event_targets is not None:
|
|
26882
26881
|
self._values["event_targets"] = event_targets
|
|
26882
|
+
if group_identifier is not None:
|
|
26883
|
+
self._values["group_identifier"] = group_identifier
|
|
26883
26884
|
if tags is not None:
|
|
26884
26885
|
self._values["tags"] = tags
|
|
26885
26886
|
|
|
@@ -26893,18 +26894,6 @@ class CfnEventBridgeRuleTemplateProps:
|
|
|
26893
26894
|
assert result is not None, "Required property 'event_type' is missing"
|
|
26894
26895
|
return typing.cast(builtins.str, result)
|
|
26895
26896
|
|
|
26896
|
-
@builtins.property
|
|
26897
|
-
def group_identifier(self) -> builtins.str:
|
|
26898
|
-
'''An eventbridge rule template group's identifier.
|
|
26899
|
-
|
|
26900
|
-
Can be either be its id or current name.
|
|
26901
|
-
|
|
26902
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-eventbridgeruletemplate.html#cfn-medialive-eventbridgeruletemplate-groupidentifier
|
|
26903
|
-
'''
|
|
26904
|
-
result = self._values.get("group_identifier")
|
|
26905
|
-
assert result is not None, "Required property 'group_identifier' is missing"
|
|
26906
|
-
return typing.cast(builtins.str, result)
|
|
26907
|
-
|
|
26908
26897
|
@builtins.property
|
|
26909
26898
|
def name(self) -> builtins.str:
|
|
26910
26899
|
'''A resource's name.
|
|
@@ -26937,6 +26926,17 @@ class CfnEventBridgeRuleTemplateProps:
|
|
|
26937
26926
|
result = self._values.get("event_targets")
|
|
26938
26927
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnEventBridgeRuleTemplate.EventBridgeRuleTemplateTargetProperty]]]], result)
|
|
26939
26928
|
|
|
26929
|
+
@builtins.property
|
|
26930
|
+
def group_identifier(self) -> typing.Optional[builtins.str]:
|
|
26931
|
+
'''An eventbridge rule template group's identifier.
|
|
26932
|
+
|
|
26933
|
+
Can be either be its id or current name.
|
|
26934
|
+
|
|
26935
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-eventbridgeruletemplate.html#cfn-medialive-eventbridgeruletemplate-groupidentifier
|
|
26936
|
+
'''
|
|
26937
|
+
result = self._values.get("group_identifier")
|
|
26938
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
26939
|
+
|
|
26940
26940
|
@builtins.property
|
|
26941
26941
|
def tags(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
26942
26942
|
'''Represents the tags associated with a resource.
|
|
@@ -34126,7 +34126,6 @@ def _typecheckingstub__45035437e2968a9b31025d1394a9a287e6574a026df24f4a216a088dc
|
|
|
34126
34126
|
*,
|
|
34127
34127
|
comparison_operator: builtins.str,
|
|
34128
34128
|
evaluation_periods: jsii.Number,
|
|
34129
|
-
group_identifier: builtins.str,
|
|
34130
34129
|
metric_name: builtins.str,
|
|
34131
34130
|
name: builtins.str,
|
|
34132
34131
|
period: jsii.Number,
|
|
@@ -34136,6 +34135,7 @@ def _typecheckingstub__45035437e2968a9b31025d1394a9a287e6574a026df24f4a216a088dc
|
|
|
34136
34135
|
treat_missing_data: builtins.str,
|
|
34137
34136
|
datapoints_to_alarm: typing.Optional[jsii.Number] = None,
|
|
34138
34137
|
description: typing.Optional[builtins.str] = None,
|
|
34138
|
+
group_identifier: typing.Optional[builtins.str] = None,
|
|
34139
34139
|
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
34140
34140
|
) -> None:
|
|
34141
34141
|
"""Type checking stubs"""
|
|
@@ -34165,12 +34165,6 @@ def _typecheckingstub__483706a945ba3c558de7f746048e3cfe58e88d9abcb978dd72c3fb100
|
|
|
34165
34165
|
"""Type checking stubs"""
|
|
34166
34166
|
pass
|
|
34167
34167
|
|
|
34168
|
-
def _typecheckingstub__c75a3651bd06c49c0d052bbccc0dd7c4d2d7b154451c36f723f17cce452d25ec(
|
|
34169
|
-
value: builtins.str,
|
|
34170
|
-
) -> None:
|
|
34171
|
-
"""Type checking stubs"""
|
|
34172
|
-
pass
|
|
34173
|
-
|
|
34174
34168
|
def _typecheckingstub__1e03dd00ef9296b7566b1f27cf3e51eb225d61b8c6e902e43b937d118face25e(
|
|
34175
34169
|
value: builtins.str,
|
|
34176
34170
|
) -> None:
|
|
@@ -34225,6 +34219,12 @@ def _typecheckingstub__4f838441934f530eeb82aaa2da04d181fa0360d3beb6a2512674fe839
|
|
|
34225
34219
|
"""Type checking stubs"""
|
|
34226
34220
|
pass
|
|
34227
34221
|
|
|
34222
|
+
def _typecheckingstub__c75a3651bd06c49c0d052bbccc0dd7c4d2d7b154451c36f723f17cce452d25ec(
|
|
34223
|
+
value: typing.Optional[builtins.str],
|
|
34224
|
+
) -> None:
|
|
34225
|
+
"""Type checking stubs"""
|
|
34226
|
+
pass
|
|
34227
|
+
|
|
34228
34228
|
def _typecheckingstub__26efa1ce53c5d81106614ce51a8836be2d6099f3fa4aba5cfacfcbc2c70fcf2e(
|
|
34229
34229
|
value: typing.Optional[typing.Mapping[builtins.str, builtins.str]],
|
|
34230
34230
|
) -> None:
|
|
@@ -34285,7 +34285,6 @@ def _typecheckingstub__6f9937f82f949597524044fa535456d197389d74dc7e674c36adddd3d
|
|
|
34285
34285
|
*,
|
|
34286
34286
|
comparison_operator: builtins.str,
|
|
34287
34287
|
evaluation_periods: jsii.Number,
|
|
34288
|
-
group_identifier: builtins.str,
|
|
34289
34288
|
metric_name: builtins.str,
|
|
34290
34289
|
name: builtins.str,
|
|
34291
34290
|
period: jsii.Number,
|
|
@@ -34295,6 +34294,7 @@ def _typecheckingstub__6f9937f82f949597524044fa535456d197389d74dc7e674c36adddd3d
|
|
|
34295
34294
|
treat_missing_data: builtins.str,
|
|
34296
34295
|
datapoints_to_alarm: typing.Optional[jsii.Number] = None,
|
|
34297
34296
|
description: typing.Optional[builtins.str] = None,
|
|
34297
|
+
group_identifier: typing.Optional[builtins.str] = None,
|
|
34298
34298
|
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
34299
34299
|
) -> None:
|
|
34300
34300
|
"""Type checking stubs"""
|
|
@@ -34387,10 +34387,10 @@ def _typecheckingstub__06ba8b7d3f5c4b66de27e1d7ffee2b95483d7167df320d288de8d5fe1
|
|
|
34387
34387
|
id: builtins.str,
|
|
34388
34388
|
*,
|
|
34389
34389
|
event_type: builtins.str,
|
|
34390
|
-
group_identifier: builtins.str,
|
|
34391
34390
|
name: builtins.str,
|
|
34392
34391
|
description: typing.Optional[builtins.str] = None,
|
|
34393
34392
|
event_targets: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnEventBridgeRuleTemplate.EventBridgeRuleTemplateTargetProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
34393
|
+
group_identifier: typing.Optional[builtins.str] = None,
|
|
34394
34394
|
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
34395
34395
|
) -> None:
|
|
34396
34396
|
"""Type checking stubs"""
|
|
@@ -34414,12 +34414,6 @@ def _typecheckingstub__e6a236de48dc383ef7662b3ef07a3efb827c8b287f5ce99f777021ada
|
|
|
34414
34414
|
"""Type checking stubs"""
|
|
34415
34415
|
pass
|
|
34416
34416
|
|
|
34417
|
-
def _typecheckingstub__28fa5b434153ab6c74a5ab2712de72404e4b4b45879311fb9410f692f381c403(
|
|
34418
|
-
value: builtins.str,
|
|
34419
|
-
) -> None:
|
|
34420
|
-
"""Type checking stubs"""
|
|
34421
|
-
pass
|
|
34422
|
-
|
|
34423
34417
|
def _typecheckingstub__a786b2d62856b75fadadced753bcbdfae11b7db5089abd8a0c9671ad3f8d6ba3(
|
|
34424
34418
|
value: builtins.str,
|
|
34425
34419
|
) -> None:
|
|
@@ -34438,6 +34432,12 @@ def _typecheckingstub__81bc09a41f6baccaa61b08c48a8e8ca2b1faea6dd9e4d747797a269c5
|
|
|
34438
34432
|
"""Type checking stubs"""
|
|
34439
34433
|
pass
|
|
34440
34434
|
|
|
34435
|
+
def _typecheckingstub__28fa5b434153ab6c74a5ab2712de72404e4b4b45879311fb9410f692f381c403(
|
|
34436
|
+
value: typing.Optional[builtins.str],
|
|
34437
|
+
) -> None:
|
|
34438
|
+
"""Type checking stubs"""
|
|
34439
|
+
pass
|
|
34440
|
+
|
|
34441
34441
|
def _typecheckingstub__3e3eb7e0e0518c7e9c05c61d1e9dfe56473fbd662a2b36be3d8a2edae2ffadf2(
|
|
34442
34442
|
value: typing.Optional[typing.Mapping[builtins.str, builtins.str]],
|
|
34443
34443
|
) -> None:
|
|
@@ -34504,10 +34504,10 @@ def _typecheckingstub__4d5a57a585fec39e65762c277317730448a87c9bbac78b248847233f5
|
|
|
34504
34504
|
def _typecheckingstub__8013ff24e616fad75b238b7af1721d8eaeff80b4bfe4b36eae41f63d216efd1d(
|
|
34505
34505
|
*,
|
|
34506
34506
|
event_type: builtins.str,
|
|
34507
|
-
group_identifier: builtins.str,
|
|
34508
34507
|
name: builtins.str,
|
|
34509
34508
|
description: typing.Optional[builtins.str] = None,
|
|
34510
34509
|
event_targets: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnEventBridgeRuleTemplate.EventBridgeRuleTemplateTargetProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
34510
|
+
group_identifier: typing.Optional[builtins.str] = None,
|
|
34511
34511
|
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
34512
34512
|
) -> None:
|
|
34513
34513
|
"""Type checking stubs"""
|