aws-cdk-lib 2.148.1__py3-none-any.whl → 2.149.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/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.148.1.jsii.tgz → aws-cdk-lib@2.149.0.jsii.tgz} +0 -0
- aws_cdk/aws_applicationautoscaling/__init__.py +16 -12
- aws_cdk/aws_bedrock/__init__.py +30 -2
- aws_cdk/aws_codebuild/__init__.py +57 -5
- aws_cdk/aws_codecommit/__init__.py +103 -0
- aws_cdk/aws_codedeploy/__init__.py +251 -5
- aws_cdk/aws_codepipeline/__init__.py +69 -0
- aws_cdk/aws_codestarnotifications/__init__.py +90 -4
- aws_cdk/aws_deadline/__init__.py +9 -15
- aws_cdk/aws_dms/__init__.py +10 -10
- aws_cdk/aws_ec2/__init__.py +4 -0
- aws_cdk/aws_emr/__init__.py +8 -8
- aws_cdk/aws_events/__init__.py +1 -13
- aws_cdk/aws_kinesisanalytics/__init__.py +11 -11
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +11 -11
- aws_cdk/aws_rds/__init__.py +3 -3
- aws_cdk/aws_rolesanywhere/__init__.py +22 -13
- aws_cdk/aws_route53profiles/__init__.py +4 -4
- aws_cdk/aws_s3/__init__.py +15 -117
- aws_cdk/aws_ses/__init__.py +119 -102
- aws_cdk/aws_stepfunctions_tasks/__init__.py +209 -16
- aws_cdk/aws_verifiedpermissions/__init__.py +7 -9
- aws_cdk/aws_wafv2/__init__.py +10 -16
- aws_cdk/aws_workspaces/__init__.py +86 -56
- {aws_cdk_lib-2.148.1.dist-info → aws_cdk_lib-2.149.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.148.1.dist-info → aws_cdk_lib-2.149.0.dist-info}/RECORD +31 -31
- {aws_cdk_lib-2.148.1.dist-info → aws_cdk_lib-2.149.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.148.1.dist-info → aws_cdk_lib-2.149.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.148.1.dist-info → aws_cdk_lib-2.149.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.148.1.dist-info → aws_cdk_lib-2.149.0.dist-info}/top_level.txt +0 -0
|
@@ -4947,7 +4947,7 @@ class CfnProject(
|
|
|
4947
4947
|
|
|
4948
4948
|
:param build_type: Specifies the type of build this webhook will trigger. Allowed values are:. - **BUILD** - A single build - **BUILD_BATCH** - A batch build
|
|
4949
4949
|
:param filter_groups: A list of lists of ``WebhookFilter`` objects used to determine which webhook events are triggered. At least one ``WebhookFilter`` in the array must specify ``EVENT`` as its type.
|
|
4950
|
-
:param scope_configuration:
|
|
4950
|
+
:param scope_configuration: Contains configuration information about the scope for a webhook.
|
|
4951
4951
|
:param webhook: Specifies whether or not to begin automatically rebuilding the source code every time a code change is pushed to the repository.
|
|
4952
4952
|
|
|
4953
4953
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projecttriggers.html
|
|
@@ -5019,7 +5019,8 @@ class CfnProject(
|
|
|
5019
5019
|
def scope_configuration(
|
|
5020
5020
|
self,
|
|
5021
5021
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnProject.ScopeConfigurationProperty"]]:
|
|
5022
|
-
'''
|
|
5022
|
+
'''Contains configuration information about the scope for a webhook.
|
|
5023
|
+
|
|
5023
5024
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projecttriggers.html#cfn-codebuild-project-projecttriggers-scopeconfiguration
|
|
5024
5025
|
'''
|
|
5025
5026
|
result = self._values.get("scope_configuration")
|
|
@@ -5240,8 +5241,9 @@ class CfnProject(
|
|
|
5240
5241
|
)
|
|
5241
5242
|
class ScopeConfigurationProperty:
|
|
5242
5243
|
def __init__(self, *, name: builtins.str) -> None:
|
|
5243
|
-
'''
|
|
5244
|
-
|
|
5244
|
+
'''Contains configuration information about the scope for a webhook.
|
|
5245
|
+
|
|
5246
|
+
:param name: The name of either the enterprise or organization that will send webhook events to CodeBuild , depending on if the webhook is a global or organization webhook respectively.
|
|
5245
5247
|
|
|
5246
5248
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-scopeconfiguration.html
|
|
5247
5249
|
:exampleMetadata: fixture=_generated
|
|
@@ -5265,7 +5267,8 @@ class CfnProject(
|
|
|
5265
5267
|
|
|
5266
5268
|
@builtins.property
|
|
5267
5269
|
def name(self) -> builtins.str:
|
|
5268
|
-
'''
|
|
5270
|
+
'''The name of either the enterprise or organization that will send webhook events to CodeBuild , depending on if the webhook is a global or organization webhook respectively.
|
|
5271
|
+
|
|
5269
5272
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-scopeconfiguration.html#cfn-codebuild-project-scopeconfiguration-name
|
|
5270
5273
|
'''
|
|
5271
5274
|
result = self._values.get("name")
|
|
@@ -9682,6 +9685,7 @@ class IProject(
|
|
|
9682
9685
|
target: _INotificationRuleTarget_faa3b79b,
|
|
9683
9686
|
*,
|
|
9684
9687
|
events: typing.Sequence["ProjectNotificationEvents"],
|
|
9688
|
+
created_by: typing.Optional[builtins.str] = None,
|
|
9685
9689
|
detail_type: typing.Optional[_DetailType_cf8135e7] = None,
|
|
9686
9690
|
enabled: typing.Optional[builtins.bool] = None,
|
|
9687
9691
|
notification_rule_name: typing.Optional[builtins.str] = None,
|
|
@@ -9694,6 +9698,7 @@ class IProject(
|
|
|
9694
9698
|
:param id: The logical identifier of the CodeStar Notifications rule that will be created.
|
|
9695
9699
|
:param target: The target to register for the CodeStar Notifications destination.
|
|
9696
9700
|
:param events: A list of event types associated with this notification rule for CodeBuild Project. For a complete list of event types and IDs, see Notification concepts in the Developer Tools Console User Guide.
|
|
9701
|
+
:param created_by: The name or email alias of the person who created the notification rule. If not specified, it means that the creator's alias is not provided. Default: - No alias provided
|
|
9697
9702
|
:param detail_type: The level of detail to include in the notifications for this resource. BASIC will include only the contents of the event as it would appear in AWS CloudWatch. FULL will include any supplemental information provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created. Default: DetailType.FULL
|
|
9698
9703
|
:param enabled: The status of the notification rule. If the enabled is set to DISABLED, notifications aren't sent for the notification rule. Default: true
|
|
9699
9704
|
:param notification_rule_name: The name for the notification rule. Notification rule names must be unique in your AWS account. Default: - generated from the ``id``
|
|
@@ -9708,6 +9713,7 @@ class IProject(
|
|
|
9708
9713
|
id: builtins.str,
|
|
9709
9714
|
target: _INotificationRuleTarget_faa3b79b,
|
|
9710
9715
|
*,
|
|
9716
|
+
created_by: typing.Optional[builtins.str] = None,
|
|
9711
9717
|
detail_type: typing.Optional[_DetailType_cf8135e7] = None,
|
|
9712
9718
|
enabled: typing.Optional[builtins.bool] = None,
|
|
9713
9719
|
notification_rule_name: typing.Optional[builtins.str] = None,
|
|
@@ -9716,6 +9722,7 @@ class IProject(
|
|
|
9716
9722
|
|
|
9717
9723
|
:param id: -
|
|
9718
9724
|
:param target: -
|
|
9725
|
+
:param created_by: The name or email alias of the person who created the notification rule. If not specified, it means that the creator's alias is not provided. Default: - No alias provided
|
|
9719
9726
|
:param detail_type: The level of detail to include in the notifications for this resource. BASIC will include only the contents of the event as it would appear in AWS CloudWatch. FULL will include any supplemental information provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created. Default: DetailType.FULL
|
|
9720
9727
|
:param enabled: The status of the notification rule. If the enabled is set to DISABLED, notifications aren't sent for the notification rule. Default: true
|
|
9721
9728
|
:param notification_rule_name: The name for the notification rule. Notification rule names must be unique in your AWS account. Default: - generated from the ``id``
|
|
@@ -9728,6 +9735,7 @@ class IProject(
|
|
|
9728
9735
|
id: builtins.str,
|
|
9729
9736
|
target: _INotificationRuleTarget_faa3b79b,
|
|
9730
9737
|
*,
|
|
9738
|
+
created_by: typing.Optional[builtins.str] = None,
|
|
9731
9739
|
detail_type: typing.Optional[_DetailType_cf8135e7] = None,
|
|
9732
9740
|
enabled: typing.Optional[builtins.bool] = None,
|
|
9733
9741
|
notification_rule_name: typing.Optional[builtins.str] = None,
|
|
@@ -9736,6 +9744,7 @@ class IProject(
|
|
|
9736
9744
|
|
|
9737
9745
|
:param id: -
|
|
9738
9746
|
:param target: -
|
|
9747
|
+
:param created_by: The name or email alias of the person who created the notification rule. If not specified, it means that the creator's alias is not provided. Default: - No alias provided
|
|
9739
9748
|
:param detail_type: The level of detail to include in the notifications for this resource. BASIC will include only the contents of the event as it would appear in AWS CloudWatch. FULL will include any supplemental information provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created. Default: DetailType.FULL
|
|
9740
9749
|
:param enabled: The status of the notification rule. If the enabled is set to DISABLED, notifications aren't sent for the notification rule. Default: true
|
|
9741
9750
|
:param notification_rule_name: The name for the notification rule. Notification rule names must be unique in your AWS account. Default: - generated from the ``id``
|
|
@@ -10178,6 +10187,7 @@ class _IProjectProxy(
|
|
|
10178
10187
|
target: _INotificationRuleTarget_faa3b79b,
|
|
10179
10188
|
*,
|
|
10180
10189
|
events: typing.Sequence["ProjectNotificationEvents"],
|
|
10190
|
+
created_by: typing.Optional[builtins.str] = None,
|
|
10181
10191
|
detail_type: typing.Optional[_DetailType_cf8135e7] = None,
|
|
10182
10192
|
enabled: typing.Optional[builtins.bool] = None,
|
|
10183
10193
|
notification_rule_name: typing.Optional[builtins.str] = None,
|
|
@@ -10190,6 +10200,7 @@ class _IProjectProxy(
|
|
|
10190
10200
|
:param id: The logical identifier of the CodeStar Notifications rule that will be created.
|
|
10191
10201
|
:param target: The target to register for the CodeStar Notifications destination.
|
|
10192
10202
|
:param events: A list of event types associated with this notification rule for CodeBuild Project. For a complete list of event types and IDs, see Notification concepts in the Developer Tools Console User Guide.
|
|
10203
|
+
:param created_by: The name or email alias of the person who created the notification rule. If not specified, it means that the creator's alias is not provided. Default: - No alias provided
|
|
10193
10204
|
:param detail_type: The level of detail to include in the notifications for this resource. BASIC will include only the contents of the event as it would appear in AWS CloudWatch. FULL will include any supplemental information provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created. Default: DetailType.FULL
|
|
10194
10205
|
:param enabled: The status of the notification rule. If the enabled is set to DISABLED, notifications aren't sent for the notification rule. Default: true
|
|
10195
10206
|
:param notification_rule_name: The name for the notification rule. Notification rule names must be unique in your AWS account. Default: - generated from the ``id``
|
|
@@ -10202,6 +10213,7 @@ class _IProjectProxy(
|
|
|
10202
10213
|
check_type(argname="argument target", value=target, expected_type=type_hints["target"])
|
|
10203
10214
|
options = ProjectNotifyOnOptions(
|
|
10204
10215
|
events=events,
|
|
10216
|
+
created_by=created_by,
|
|
10205
10217
|
detail_type=detail_type,
|
|
10206
10218
|
enabled=enabled,
|
|
10207
10219
|
notification_rule_name=notification_rule_name,
|
|
@@ -10215,6 +10227,7 @@ class _IProjectProxy(
|
|
|
10215
10227
|
id: builtins.str,
|
|
10216
10228
|
target: _INotificationRuleTarget_faa3b79b,
|
|
10217
10229
|
*,
|
|
10230
|
+
created_by: typing.Optional[builtins.str] = None,
|
|
10218
10231
|
detail_type: typing.Optional[_DetailType_cf8135e7] = None,
|
|
10219
10232
|
enabled: typing.Optional[builtins.bool] = None,
|
|
10220
10233
|
notification_rule_name: typing.Optional[builtins.str] = None,
|
|
@@ -10223,6 +10236,7 @@ class _IProjectProxy(
|
|
|
10223
10236
|
|
|
10224
10237
|
:param id: -
|
|
10225
10238
|
:param target: -
|
|
10239
|
+
:param created_by: The name or email alias of the person who created the notification rule. If not specified, it means that the creator's alias is not provided. Default: - No alias provided
|
|
10226
10240
|
:param detail_type: The level of detail to include in the notifications for this resource. BASIC will include only the contents of the event as it would appear in AWS CloudWatch. FULL will include any supplemental information provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created. Default: DetailType.FULL
|
|
10227
10241
|
:param enabled: The status of the notification rule. If the enabled is set to DISABLED, notifications aren't sent for the notification rule. Default: true
|
|
10228
10242
|
:param notification_rule_name: The name for the notification rule. Notification rule names must be unique in your AWS account. Default: - generated from the ``id``
|
|
@@ -10232,6 +10246,7 @@ class _IProjectProxy(
|
|
|
10232
10246
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
10233
10247
|
check_type(argname="argument target", value=target, expected_type=type_hints["target"])
|
|
10234
10248
|
options = _NotificationRuleOptions_dff73281(
|
|
10249
|
+
created_by=created_by,
|
|
10235
10250
|
detail_type=detail_type,
|
|
10236
10251
|
enabled=enabled,
|
|
10237
10252
|
notification_rule_name=notification_rule_name,
|
|
@@ -10245,6 +10260,7 @@ class _IProjectProxy(
|
|
|
10245
10260
|
id: builtins.str,
|
|
10246
10261
|
target: _INotificationRuleTarget_faa3b79b,
|
|
10247
10262
|
*,
|
|
10263
|
+
created_by: typing.Optional[builtins.str] = None,
|
|
10248
10264
|
detail_type: typing.Optional[_DetailType_cf8135e7] = None,
|
|
10249
10265
|
enabled: typing.Optional[builtins.bool] = None,
|
|
10250
10266
|
notification_rule_name: typing.Optional[builtins.str] = None,
|
|
@@ -10253,6 +10269,7 @@ class _IProjectProxy(
|
|
|
10253
10269
|
|
|
10254
10270
|
:param id: -
|
|
10255
10271
|
:param target: -
|
|
10272
|
+
:param created_by: The name or email alias of the person who created the notification rule. If not specified, it means that the creator's alias is not provided. Default: - No alias provided
|
|
10256
10273
|
:param detail_type: The level of detail to include in the notifications for this resource. BASIC will include only the contents of the event as it would appear in AWS CloudWatch. FULL will include any supplemental information provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created. Default: DetailType.FULL
|
|
10257
10274
|
:param enabled: The status of the notification rule. If the enabled is set to DISABLED, notifications aren't sent for the notification rule. Default: true
|
|
10258
10275
|
:param notification_rule_name: The name for the notification rule. Notification rule names must be unique in your AWS account. Default: - generated from the ``id``
|
|
@@ -10262,6 +10279,7 @@ class _IProjectProxy(
|
|
|
10262
10279
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
10263
10280
|
check_type(argname="argument target", value=target, expected_type=type_hints["target"])
|
|
10264
10281
|
options = _NotificationRuleOptions_dff73281(
|
|
10282
|
+
created_by=created_by,
|
|
10265
10283
|
detail_type=detail_type,
|
|
10266
10284
|
enabled=enabled,
|
|
10267
10285
|
notification_rule_name=notification_rule_name,
|
|
@@ -12740,6 +12758,7 @@ class Project(
|
|
|
12740
12758
|
target: _INotificationRuleTarget_faa3b79b,
|
|
12741
12759
|
*,
|
|
12742
12760
|
events: typing.Sequence["ProjectNotificationEvents"],
|
|
12761
|
+
created_by: typing.Optional[builtins.str] = None,
|
|
12743
12762
|
detail_type: typing.Optional[_DetailType_cf8135e7] = None,
|
|
12744
12763
|
enabled: typing.Optional[builtins.bool] = None,
|
|
12745
12764
|
notification_rule_name: typing.Optional[builtins.str] = None,
|
|
@@ -12752,6 +12771,7 @@ class Project(
|
|
|
12752
12771
|
:param id: -
|
|
12753
12772
|
:param target: -
|
|
12754
12773
|
:param events: A list of event types associated with this notification rule for CodeBuild Project. For a complete list of event types and IDs, see Notification concepts in the Developer Tools Console User Guide.
|
|
12774
|
+
:param created_by: The name or email alias of the person who created the notification rule. If not specified, it means that the creator's alias is not provided. Default: - No alias provided
|
|
12755
12775
|
:param detail_type: The level of detail to include in the notifications for this resource. BASIC will include only the contents of the event as it would appear in AWS CloudWatch. FULL will include any supplemental information provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created. Default: DetailType.FULL
|
|
12756
12776
|
:param enabled: The status of the notification rule. If the enabled is set to DISABLED, notifications aren't sent for the notification rule. Default: true
|
|
12757
12777
|
:param notification_rule_name: The name for the notification rule. Notification rule names must be unique in your AWS account. Default: - generated from the ``id``
|
|
@@ -12762,6 +12782,7 @@ class Project(
|
|
|
12762
12782
|
check_type(argname="argument target", value=target, expected_type=type_hints["target"])
|
|
12763
12783
|
options = ProjectNotifyOnOptions(
|
|
12764
12784
|
events=events,
|
|
12785
|
+
created_by=created_by,
|
|
12765
12786
|
detail_type=detail_type,
|
|
12766
12787
|
enabled=enabled,
|
|
12767
12788
|
notification_rule_name=notification_rule_name,
|
|
@@ -12775,6 +12796,7 @@ class Project(
|
|
|
12775
12796
|
id: builtins.str,
|
|
12776
12797
|
target: _INotificationRuleTarget_faa3b79b,
|
|
12777
12798
|
*,
|
|
12799
|
+
created_by: typing.Optional[builtins.str] = None,
|
|
12778
12800
|
detail_type: typing.Optional[_DetailType_cf8135e7] = None,
|
|
12779
12801
|
enabled: typing.Optional[builtins.bool] = None,
|
|
12780
12802
|
notification_rule_name: typing.Optional[builtins.str] = None,
|
|
@@ -12783,6 +12805,7 @@ class Project(
|
|
|
12783
12805
|
|
|
12784
12806
|
:param id: -
|
|
12785
12807
|
:param target: -
|
|
12808
|
+
:param created_by: The name or email alias of the person who created the notification rule. If not specified, it means that the creator's alias is not provided. Default: - No alias provided
|
|
12786
12809
|
:param detail_type: The level of detail to include in the notifications for this resource. BASIC will include only the contents of the event as it would appear in AWS CloudWatch. FULL will include any supplemental information provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created. Default: DetailType.FULL
|
|
12787
12810
|
:param enabled: The status of the notification rule. If the enabled is set to DISABLED, notifications aren't sent for the notification rule. Default: true
|
|
12788
12811
|
:param notification_rule_name: The name for the notification rule. Notification rule names must be unique in your AWS account. Default: - generated from the ``id``
|
|
@@ -12792,6 +12815,7 @@ class Project(
|
|
|
12792
12815
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
12793
12816
|
check_type(argname="argument target", value=target, expected_type=type_hints["target"])
|
|
12794
12817
|
options = _NotificationRuleOptions_dff73281(
|
|
12818
|
+
created_by=created_by,
|
|
12795
12819
|
detail_type=detail_type,
|
|
12796
12820
|
enabled=enabled,
|
|
12797
12821
|
notification_rule_name=notification_rule_name,
|
|
@@ -12805,6 +12829,7 @@ class Project(
|
|
|
12805
12829
|
id: builtins.str,
|
|
12806
12830
|
target: _INotificationRuleTarget_faa3b79b,
|
|
12807
12831
|
*,
|
|
12832
|
+
created_by: typing.Optional[builtins.str] = None,
|
|
12808
12833
|
detail_type: typing.Optional[_DetailType_cf8135e7] = None,
|
|
12809
12834
|
enabled: typing.Optional[builtins.bool] = None,
|
|
12810
12835
|
notification_rule_name: typing.Optional[builtins.str] = None,
|
|
@@ -12813,6 +12838,7 @@ class Project(
|
|
|
12813
12838
|
|
|
12814
12839
|
:param id: -
|
|
12815
12840
|
:param target: -
|
|
12841
|
+
:param created_by: The name or email alias of the person who created the notification rule. If not specified, it means that the creator's alias is not provided. Default: - No alias provided
|
|
12816
12842
|
:param detail_type: The level of detail to include in the notifications for this resource. BASIC will include only the contents of the event as it would appear in AWS CloudWatch. FULL will include any supplemental information provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created. Default: DetailType.FULL
|
|
12817
12843
|
:param enabled: The status of the notification rule. If the enabled is set to DISABLED, notifications aren't sent for the notification rule. Default: true
|
|
12818
12844
|
:param notification_rule_name: The name for the notification rule. Notification rule names must be unique in your AWS account. Default: - generated from the ``id``
|
|
@@ -12822,6 +12848,7 @@ class Project(
|
|
|
12822
12848
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
12823
12849
|
check_type(argname="argument target", value=target, expected_type=type_hints["target"])
|
|
12824
12850
|
options = _NotificationRuleOptions_dff73281(
|
|
12851
|
+
created_by=created_by,
|
|
12825
12852
|
detail_type=detail_type,
|
|
12826
12853
|
enabled=enabled,
|
|
12827
12854
|
notification_rule_name=notification_rule_name,
|
|
@@ -13122,6 +13149,7 @@ class ProjectNotificationEvents(enum.Enum):
|
|
|
13122
13149
|
jsii_type="aws-cdk-lib.aws_codebuild.ProjectNotifyOnOptions",
|
|
13123
13150
|
jsii_struct_bases=[_NotificationRuleOptions_dff73281],
|
|
13124
13151
|
name_mapping={
|
|
13152
|
+
"created_by": "createdBy",
|
|
13125
13153
|
"detail_type": "detailType",
|
|
13126
13154
|
"enabled": "enabled",
|
|
13127
13155
|
"notification_rule_name": "notificationRuleName",
|
|
@@ -13132,6 +13160,7 @@ class ProjectNotifyOnOptions(_NotificationRuleOptions_dff73281):
|
|
|
13132
13160
|
def __init__(
|
|
13133
13161
|
self,
|
|
13134
13162
|
*,
|
|
13163
|
+
created_by: typing.Optional[builtins.str] = None,
|
|
13135
13164
|
detail_type: typing.Optional[_DetailType_cf8135e7] = None,
|
|
13136
13165
|
enabled: typing.Optional[builtins.bool] = None,
|
|
13137
13166
|
notification_rule_name: typing.Optional[builtins.str] = None,
|
|
@@ -13139,6 +13168,7 @@ class ProjectNotifyOnOptions(_NotificationRuleOptions_dff73281):
|
|
|
13139
13168
|
) -> None:
|
|
13140
13169
|
'''Additional options to pass to the notification rule.
|
|
13141
13170
|
|
|
13171
|
+
:param created_by: The name or email alias of the person who created the notification rule. If not specified, it means that the creator's alias is not provided. Default: - No alias provided
|
|
13142
13172
|
:param detail_type: The level of detail to include in the notifications for this resource. BASIC will include only the contents of the event as it would appear in AWS CloudWatch. FULL will include any supplemental information provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created. Default: DetailType.FULL
|
|
13143
13173
|
:param enabled: The status of the notification rule. If the enabled is set to DISABLED, notifications aren't sent for the notification rule. Default: true
|
|
13144
13174
|
:param notification_rule_name: The name for the notification rule. Notification rule names must be unique in your AWS account. Default: - generated from the ``id``
|
|
@@ -13157,6 +13187,7 @@ class ProjectNotifyOnOptions(_NotificationRuleOptions_dff73281):
|
|
|
13157
13187
|
events=[codebuild.ProjectNotificationEvents.BUILD_FAILED],
|
|
13158
13188
|
|
|
13159
13189
|
# the properties below are optional
|
|
13190
|
+
created_by="createdBy",
|
|
13160
13191
|
detail_type=codestarnotifications.DetailType.BASIC,
|
|
13161
13192
|
enabled=False,
|
|
13162
13193
|
notification_rule_name="notificationRuleName"
|
|
@@ -13164,6 +13195,7 @@ class ProjectNotifyOnOptions(_NotificationRuleOptions_dff73281):
|
|
|
13164
13195
|
'''
|
|
13165
13196
|
if __debug__:
|
|
13166
13197
|
type_hints = typing.get_type_hints(_typecheckingstub__bc03cbcaf72adec5894eef2ab3574a0593c9df9cedc3c395bdaeb7adc027778c)
|
|
13198
|
+
check_type(argname="argument created_by", value=created_by, expected_type=type_hints["created_by"])
|
|
13167
13199
|
check_type(argname="argument detail_type", value=detail_type, expected_type=type_hints["detail_type"])
|
|
13168
13200
|
check_type(argname="argument enabled", value=enabled, expected_type=type_hints["enabled"])
|
|
13169
13201
|
check_type(argname="argument notification_rule_name", value=notification_rule_name, expected_type=type_hints["notification_rule_name"])
|
|
@@ -13171,6 +13203,8 @@ class ProjectNotifyOnOptions(_NotificationRuleOptions_dff73281):
|
|
|
13171
13203
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
13172
13204
|
"events": events,
|
|
13173
13205
|
}
|
|
13206
|
+
if created_by is not None:
|
|
13207
|
+
self._values["created_by"] = created_by
|
|
13174
13208
|
if detail_type is not None:
|
|
13175
13209
|
self._values["detail_type"] = detail_type
|
|
13176
13210
|
if enabled is not None:
|
|
@@ -13178,6 +13212,17 @@ class ProjectNotifyOnOptions(_NotificationRuleOptions_dff73281):
|
|
|
13178
13212
|
if notification_rule_name is not None:
|
|
13179
13213
|
self._values["notification_rule_name"] = notification_rule_name
|
|
13180
13214
|
|
|
13215
|
+
@builtins.property
|
|
13216
|
+
def created_by(self) -> typing.Optional[builtins.str]:
|
|
13217
|
+
'''The name or email alias of the person who created the notification rule.
|
|
13218
|
+
|
|
13219
|
+
If not specified, it means that the creator's alias is not provided.
|
|
13220
|
+
|
|
13221
|
+
:default: - No alias provided
|
|
13222
|
+
'''
|
|
13223
|
+
result = self._values.get("created_by")
|
|
13224
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
13225
|
+
|
|
13181
13226
|
@builtins.property
|
|
13182
13227
|
def detail_type(self) -> typing.Optional[_DetailType_cf8135e7]:
|
|
13183
13228
|
'''The level of detail to include in the notifications for this resource.
|
|
@@ -18047,6 +18092,7 @@ def _typecheckingstub__301b3edf98b39312a8624fee1987fd01027a1ed41ec38fdabaa639084
|
|
|
18047
18092
|
target: _INotificationRuleTarget_faa3b79b,
|
|
18048
18093
|
*,
|
|
18049
18094
|
events: typing.Sequence[ProjectNotificationEvents],
|
|
18095
|
+
created_by: typing.Optional[builtins.str] = None,
|
|
18050
18096
|
detail_type: typing.Optional[_DetailType_cf8135e7] = None,
|
|
18051
18097
|
enabled: typing.Optional[builtins.bool] = None,
|
|
18052
18098
|
notification_rule_name: typing.Optional[builtins.str] = None,
|
|
@@ -18058,6 +18104,7 @@ def _typecheckingstub__220823f3e8540a87b59372dd57e4ae04b342cfb2b013b7e9223e2f529
|
|
|
18058
18104
|
id: builtins.str,
|
|
18059
18105
|
target: _INotificationRuleTarget_faa3b79b,
|
|
18060
18106
|
*,
|
|
18107
|
+
created_by: typing.Optional[builtins.str] = None,
|
|
18061
18108
|
detail_type: typing.Optional[_DetailType_cf8135e7] = None,
|
|
18062
18109
|
enabled: typing.Optional[builtins.bool] = None,
|
|
18063
18110
|
notification_rule_name: typing.Optional[builtins.str] = None,
|
|
@@ -18069,6 +18116,7 @@ def _typecheckingstub__256fb4b14763f9763c26aa12bcc4f623c98668fd47536a8afecaaa19d
|
|
|
18069
18116
|
id: builtins.str,
|
|
18070
18117
|
target: _INotificationRuleTarget_faa3b79b,
|
|
18071
18118
|
*,
|
|
18119
|
+
created_by: typing.Optional[builtins.str] = None,
|
|
18072
18120
|
detail_type: typing.Optional[_DetailType_cf8135e7] = None,
|
|
18073
18121
|
enabled: typing.Optional[builtins.bool] = None,
|
|
18074
18122
|
notification_rule_name: typing.Optional[builtins.str] = None,
|
|
@@ -18405,6 +18453,7 @@ def _typecheckingstub__74326920bcfe25725670fb44f70262427573e0d53dc3ef0dc93abe2f5
|
|
|
18405
18453
|
target: _INotificationRuleTarget_faa3b79b,
|
|
18406
18454
|
*,
|
|
18407
18455
|
events: typing.Sequence[ProjectNotificationEvents],
|
|
18456
|
+
created_by: typing.Optional[builtins.str] = None,
|
|
18408
18457
|
detail_type: typing.Optional[_DetailType_cf8135e7] = None,
|
|
18409
18458
|
enabled: typing.Optional[builtins.bool] = None,
|
|
18410
18459
|
notification_rule_name: typing.Optional[builtins.str] = None,
|
|
@@ -18416,6 +18465,7 @@ def _typecheckingstub__bf935703d625055dd6c4515fb6709844ad2cd9323a022f746b038ae76
|
|
|
18416
18465
|
id: builtins.str,
|
|
18417
18466
|
target: _INotificationRuleTarget_faa3b79b,
|
|
18418
18467
|
*,
|
|
18468
|
+
created_by: typing.Optional[builtins.str] = None,
|
|
18419
18469
|
detail_type: typing.Optional[_DetailType_cf8135e7] = None,
|
|
18420
18470
|
enabled: typing.Optional[builtins.bool] = None,
|
|
18421
18471
|
notification_rule_name: typing.Optional[builtins.str] = None,
|
|
@@ -18427,6 +18477,7 @@ def _typecheckingstub__9b5e91b1e1625d450b75be816c256e665e59ce66a5f81d97a2b00d36f
|
|
|
18427
18477
|
id: builtins.str,
|
|
18428
18478
|
target: _INotificationRuleTarget_faa3b79b,
|
|
18429
18479
|
*,
|
|
18480
|
+
created_by: typing.Optional[builtins.str] = None,
|
|
18430
18481
|
detail_type: typing.Optional[_DetailType_cf8135e7] = None,
|
|
18431
18482
|
enabled: typing.Optional[builtins.bool] = None,
|
|
18432
18483
|
notification_rule_name: typing.Optional[builtins.str] = None,
|
|
@@ -18508,6 +18559,7 @@ def _typecheckingstub__31c9ba07c81a34b7408ddeb62ba0438377ef1cba38ec2648a702784ac
|
|
|
18508
18559
|
|
|
18509
18560
|
def _typecheckingstub__bc03cbcaf72adec5894eef2ab3574a0593c9df9cedc3c395bdaeb7adc027778c(
|
|
18510
18561
|
*,
|
|
18562
|
+
created_by: typing.Optional[builtins.str] = None,
|
|
18511
18563
|
detail_type: typing.Optional[_DetailType_cf8135e7] = None,
|
|
18512
18564
|
enabled: typing.Optional[builtins.bool] = None,
|
|
18513
18565
|
notification_rule_name: typing.Optional[builtins.str] = None,
|