aws-cdk-lib 2.197.0__py3-none-any.whl → 2.198.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.197.0.jsii.tgz → aws-cdk-lib@2.198.0.jsii.tgz} +0 -0
- aws_cdk/aws_applicationautoscaling/__init__.py +36 -0
- aws_cdk/aws_appsync/__init__.py +31 -21
- aws_cdk/aws_autoscaling/__init__.py +2 -1
- aws_cdk/aws_codepipeline/__init__.py +4 -2
- aws_cdk/aws_datasync/__init__.py +885 -839
- aws_cdk/aws_deadline/__init__.py +23 -4
- aws_cdk/aws_ec2/__init__.py +210 -4
- aws_cdk/aws_ecs/__init__.py +14 -2
- aws_cdk/aws_ecs_patterns/__init__.py +15 -9
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +14 -8
- aws_cdk/aws_gamelift/__init__.py +15 -17
- aws_cdk/aws_lex/__init__.py +1245 -172
- aws_cdk/aws_mediapackagev2/__init__.py +11 -10
- aws_cdk/aws_omics/__init__.py +41 -19
- aws_cdk/aws_pcs/__init__.py +126 -0
- aws_cdk/aws_rds/__init__.py +42 -15
- aws_cdk/aws_rolesanywhere/__init__.py +14 -13
- aws_cdk/aws_sagemaker/__init__.py +38 -12
- aws_cdk/aws_ses/__init__.py +188 -0
- aws_cdk/aws_ssmquicksetup/__init__.py +10 -2
- aws_cdk/aws_synthetics/__init__.py +137 -3
- aws_cdk/aws_wafv2/__init__.py +4 -4
- aws_cdk/aws_workspaces/__init__.py +5 -3
- {aws_cdk_lib-2.197.0.dist-info → aws_cdk_lib-2.198.0.dist-info}/METADATA +2 -2
- {aws_cdk_lib-2.197.0.dist-info → aws_cdk_lib-2.198.0.dist-info}/RECORD +31 -31
- {aws_cdk_lib-2.197.0.dist-info → aws_cdk_lib-2.198.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.197.0.dist-info → aws_cdk_lib-2.198.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.197.0.dist-info → aws_cdk_lib-2.198.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.197.0.dist-info → aws_cdk_lib-2.198.0.dist-info}/top_level.txt +0 -0
|
@@ -202,6 +202,8 @@ class CfnApp(
|
|
|
202
202
|
def attr_built_in_lifecycle_config_arn(self) -> builtins.str:
|
|
203
203
|
'''The lifecycle configuration that runs before the default lifecycle configuration.
|
|
204
204
|
|
|
205
|
+
It can override changes made in the default lifecycle configuration.
|
|
206
|
+
|
|
205
207
|
:cloudformationAttribute: BuiltInLifecycleConfigArn
|
|
206
208
|
'''
|
|
207
209
|
return typing.cast(builtins.str, jsii.get(self, "attrBuiltInLifecycleConfigArn"))
|
|
@@ -6830,7 +6832,7 @@ class CfnDomain(
|
|
|
6830
6832
|
For more information about Code Editor, see `Get started with Code Editor in Amazon SageMaker <https://docs.aws.amazon.com/sagemaker/latest/dg/code-editor.html>`_ .
|
|
6831
6833
|
|
|
6832
6834
|
:param app_lifecycle_management: Settings that are used to configure and manage the lifecycle of CodeEditor applications.
|
|
6833
|
-
:param built_in_lifecycle_config_arn: The lifecycle configuration that runs before the default lifecycle configuration.
|
|
6835
|
+
:param built_in_lifecycle_config_arn: The lifecycle configuration that runs before the default lifecycle configuration. It can override changes made in the default lifecycle configuration.
|
|
6834
6836
|
:param custom_images: A list of custom SageMaker images that are configured to run as a Code Editor app.
|
|
6835
6837
|
:param default_resource_spec: The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the Code Editor app.
|
|
6836
6838
|
:param lifecycle_config_arns: The Amazon Resource Name (ARN) of the Code Editor application lifecycle configuration.
|
|
@@ -6904,6 +6906,8 @@ class CfnDomain(
|
|
|
6904
6906
|
def built_in_lifecycle_config_arn(self) -> typing.Optional[builtins.str]:
|
|
6905
6907
|
'''The lifecycle configuration that runs before the default lifecycle configuration.
|
|
6906
6908
|
|
|
6909
|
+
It can override changes made in the default lifecycle configuration.
|
|
6910
|
+
|
|
6907
6911
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-codeeditorappsettings.html#cfn-sagemaker-domain-codeeditorappsettings-builtinlifecycleconfigarn
|
|
6908
6912
|
'''
|
|
6909
6913
|
result = self._values.get("built_in_lifecycle_config_arn")
|
|
@@ -8018,9 +8022,12 @@ class CfnDomain(
|
|
|
8018
8022
|
sage_maker_image_name: typing.Optional[builtins.str] = None,
|
|
8019
8023
|
version_aliases: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
8020
8024
|
) -> None:
|
|
8021
|
-
'''
|
|
8025
|
+
'''The SageMaker images that are hidden from the Studio user interface.
|
|
8026
|
+
|
|
8027
|
+
You must specify the SageMaker image name and version aliases.
|
|
8028
|
+
|
|
8022
8029
|
:param sage_maker_image_name: The SageMaker image name that you are hiding from the Studio user interface.
|
|
8023
|
-
:param version_aliases:
|
|
8030
|
+
:param version_aliases: The version aliases you are hiding from the Studio user interface.
|
|
8024
8031
|
|
|
8025
8032
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-hiddensagemakerimage.html
|
|
8026
8033
|
:exampleMetadata: fixture=_generated
|
|
@@ -8057,7 +8064,8 @@ class CfnDomain(
|
|
|
8057
8064
|
|
|
8058
8065
|
@builtins.property
|
|
8059
8066
|
def version_aliases(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
8060
|
-
'''
|
|
8067
|
+
'''The version aliases you are hiding from the Studio user interface.
|
|
8068
|
+
|
|
8061
8069
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-hiddensagemakerimage.html#cfn-sagemaker-domain-hiddensagemakerimage-versionaliases
|
|
8062
8070
|
'''
|
|
8063
8071
|
result = self._values.get("version_aliases")
|
|
@@ -8205,7 +8213,7 @@ class CfnDomain(
|
|
|
8205
8213
|
'''The settings for the JupyterLab application.
|
|
8206
8214
|
|
|
8207
8215
|
:param app_lifecycle_management: Indicates whether idle shutdown is activated for JupyterLab applications.
|
|
8208
|
-
:param built_in_lifecycle_config_arn: The lifecycle configuration that runs before the default lifecycle configuration.
|
|
8216
|
+
:param built_in_lifecycle_config_arn: The lifecycle configuration that runs before the default lifecycle configuration. It can override changes made in the default lifecycle configuration.
|
|
8209
8217
|
:param code_repositories: A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterLab application.
|
|
8210
8218
|
:param custom_images: A list of custom SageMaker images that are configured to run as a JupyterLab app.
|
|
8211
8219
|
:param default_resource_spec: The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the JupyterLab app.
|
|
@@ -8286,6 +8294,8 @@ class CfnDomain(
|
|
|
8286
8294
|
def built_in_lifecycle_config_arn(self) -> typing.Optional[builtins.str]:
|
|
8287
8295
|
'''The lifecycle configuration that runs before the default lifecycle configuration.
|
|
8288
8296
|
|
|
8297
|
+
It can override changes made in the default lifecycle configuration.
|
|
8298
|
+
|
|
8289
8299
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-jupyterlabappsettings.html#cfn-sagemaker-domain-jupyterlabappsettings-builtinlifecycleconfigarn
|
|
8290
8300
|
'''
|
|
8291
8301
|
result = self._values.get("built_in_lifecycle_config_arn")
|
|
@@ -9196,7 +9206,7 @@ class CfnDomain(
|
|
|
9196
9206
|
``SecurityGroups`` is aggregated when specified in both calls. For all other settings in ``UserSettings`` , the values specified in ``CreateUserProfile`` take precedence over those specified in ``CreateDomain`` .
|
|
9197
9207
|
|
|
9198
9208
|
:param execution_role: The execution role for the user. SageMaker applies this setting only to private spaces that the user creates in the domain. SageMaker doesn't apply this setting to shared spaces.
|
|
9199
|
-
:param auto_mount_home_efs: Indicates whether auto-mounting of an EFS volume is supported for the user profile.
|
|
9209
|
+
:param auto_mount_home_efs: Indicates whether auto-mounting of an EFS volume is supported for the user profile. The ``DefaultAsDomain`` value is only supported for user profiles. Do not use the ``DefaultAsDomain`` value when setting this parameter for a domain. SageMaker applies this setting only to private spaces that the user creates in the domain. SageMaker doesn't apply this setting to shared spaces.
|
|
9200
9210
|
:param code_editor_app_settings: The Code Editor application settings. SageMaker applies these settings only to private spaces that the user creates in the domain. SageMaker doesn't apply these settings to shared spaces.
|
|
9201
9211
|
:param custom_file_system_configs: The settings for assigning a custom file system to a user profile. Permitted users can access this file system in Amazon SageMaker AI Studio. SageMaker applies these settings only to private spaces that the user creates in the domain. SageMaker doesn't apply these settings to shared spaces.
|
|
9202
9212
|
:param custom_posix_user_config: Details about the POSIX identity that is used for file system operations. SageMaker applies these settings only to private spaces that the user creates in the domain. SageMaker doesn't apply these settings to shared spaces.
|
|
@@ -9434,6 +9444,10 @@ class CfnDomain(
|
|
|
9434
9444
|
def auto_mount_home_efs(self) -> typing.Optional[builtins.str]:
|
|
9435
9445
|
'''Indicates whether auto-mounting of an EFS volume is supported for the user profile.
|
|
9436
9446
|
|
|
9447
|
+
The ``DefaultAsDomain`` value is only supported for user profiles. Do not use the ``DefaultAsDomain`` value when setting this parameter for a domain.
|
|
9448
|
+
|
|
9449
|
+
SageMaker applies this setting only to private spaces that the user creates in the domain. SageMaker doesn't apply this setting to shared spaces.
|
|
9450
|
+
|
|
9437
9451
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-usersettings.html#cfn-sagemaker-domain-usersettings-automounthomeefs
|
|
9438
9452
|
'''
|
|
9439
9453
|
result = self._values.get("auto_mount_home_efs")
|
|
@@ -46876,7 +46890,7 @@ class CfnUserProfile(
|
|
|
46876
46890
|
For more information about Code Editor, see `Get started with Code Editor in Amazon SageMaker <https://docs.aws.amazon.com/sagemaker/latest/dg/code-editor.html>`_ .
|
|
46877
46891
|
|
|
46878
46892
|
:param app_lifecycle_management: Settings that are used to configure and manage the lifecycle of CodeEditor applications.
|
|
46879
|
-
:param built_in_lifecycle_config_arn: The lifecycle configuration that runs before the default lifecycle configuration.
|
|
46893
|
+
:param built_in_lifecycle_config_arn: The lifecycle configuration that runs before the default lifecycle configuration. It can override changes made in the default lifecycle configuration.
|
|
46880
46894
|
:param custom_images: A list of custom SageMaker images that are configured to run as a Code Editor app.
|
|
46881
46895
|
:param default_resource_spec: The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the Code Editor app.
|
|
46882
46896
|
:param lifecycle_config_arns: The Amazon Resource Name (ARN) of the Code Editor application lifecycle configuration.
|
|
@@ -46950,6 +46964,8 @@ class CfnUserProfile(
|
|
|
46950
46964
|
def built_in_lifecycle_config_arn(self) -> typing.Optional[builtins.str]:
|
|
46951
46965
|
'''The lifecycle configuration that runs before the default lifecycle configuration.
|
|
46952
46966
|
|
|
46967
|
+
It can override changes made in the default lifecycle configuration.
|
|
46968
|
+
|
|
46953
46969
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-codeeditorappsettings.html#cfn-sagemaker-userprofile-codeeditorappsettings-builtinlifecycleconfigarn
|
|
46954
46970
|
'''
|
|
46955
46971
|
result = self._values.get("built_in_lifecycle_config_arn")
|
|
@@ -47605,9 +47621,12 @@ class CfnUserProfile(
|
|
|
47605
47621
|
sage_maker_image_name: typing.Optional[builtins.str] = None,
|
|
47606
47622
|
version_aliases: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
47607
47623
|
) -> None:
|
|
47608
|
-
'''
|
|
47624
|
+
'''The SageMaker images that are hidden from the Studio user interface.
|
|
47625
|
+
|
|
47626
|
+
You must specify the SageMaker image name and version aliases.
|
|
47627
|
+
|
|
47609
47628
|
:param sage_maker_image_name: The SageMaker image name that you are hiding from the Studio user interface.
|
|
47610
|
-
:param version_aliases:
|
|
47629
|
+
:param version_aliases: The version aliases you are hiding from the Studio user interface.
|
|
47611
47630
|
|
|
47612
47631
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-hiddensagemakerimage.html
|
|
47613
47632
|
:exampleMetadata: fixture=_generated
|
|
@@ -47644,7 +47663,8 @@ class CfnUserProfile(
|
|
|
47644
47663
|
|
|
47645
47664
|
@builtins.property
|
|
47646
47665
|
def version_aliases(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
47647
|
-
'''
|
|
47666
|
+
'''The version aliases you are hiding from the Studio user interface.
|
|
47667
|
+
|
|
47648
47668
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-hiddensagemakerimage.html#cfn-sagemaker-userprofile-hiddensagemakerimage-versionaliases
|
|
47649
47669
|
'''
|
|
47650
47670
|
result = self._values.get("version_aliases")
|
|
@@ -47792,7 +47812,7 @@ class CfnUserProfile(
|
|
|
47792
47812
|
'''The settings for the JupyterLab application.
|
|
47793
47813
|
|
|
47794
47814
|
:param app_lifecycle_management: Indicates whether idle shutdown is activated for JupyterLab applications.
|
|
47795
|
-
:param built_in_lifecycle_config_arn: The lifecycle configuration that runs before the default lifecycle configuration.
|
|
47815
|
+
:param built_in_lifecycle_config_arn: The lifecycle configuration that runs before the default lifecycle configuration. It can override changes made in the default lifecycle configuration.
|
|
47796
47816
|
:param code_repositories: A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterLab application.
|
|
47797
47817
|
:param custom_images: A list of custom SageMaker images that are configured to run as a JupyterLab app.
|
|
47798
47818
|
:param default_resource_spec: The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the JupyterLab app.
|
|
@@ -47873,6 +47893,8 @@ class CfnUserProfile(
|
|
|
47873
47893
|
def built_in_lifecycle_config_arn(self) -> typing.Optional[builtins.str]:
|
|
47874
47894
|
'''The lifecycle configuration that runs before the default lifecycle configuration.
|
|
47875
47895
|
|
|
47896
|
+
It can override changes made in the default lifecycle configuration.
|
|
47897
|
+
|
|
47876
47898
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-jupyterlabappsettings.html#cfn-sagemaker-userprofile-jupyterlabappsettings-builtinlifecycleconfigarn
|
|
47877
47899
|
'''
|
|
47878
47900
|
result = self._values.get("built_in_lifecycle_config_arn")
|
|
@@ -48577,7 +48599,7 @@ class CfnUserProfile(
|
|
|
48577
48599
|
|
|
48578
48600
|
``SecurityGroups`` is aggregated when specified in both calls. For all other settings in ``UserSettings`` , the values specified in ``CreateUserProfile`` take precedence over those specified in ``CreateDomain`` .
|
|
48579
48601
|
|
|
48580
|
-
:param auto_mount_home_efs: Indicates whether auto-mounting of an EFS volume is supported for the user profile.
|
|
48602
|
+
:param auto_mount_home_efs: Indicates whether auto-mounting of an EFS volume is supported for the user profile. The ``DefaultAsDomain`` value is only supported for user profiles. Do not use the ``DefaultAsDomain`` value when setting this parameter for a domain. SageMaker applies this setting only to private spaces that the user creates in the domain. SageMaker doesn't apply this setting to shared spaces.
|
|
48581
48603
|
:param code_editor_app_settings: The Code Editor application settings. SageMaker applies these settings only to private spaces that the user creates in the domain. SageMaker doesn't apply these settings to shared spaces.
|
|
48582
48604
|
:param custom_file_system_configs: The settings for assigning a custom file system to a user profile. Permitted users can access this file system in Amazon SageMaker AI Studio. SageMaker applies these settings only to private spaces that the user creates in the domain. SageMaker doesn't apply these settings to shared spaces.
|
|
48583
48605
|
:param custom_posix_user_config: Details about the POSIX identity that is used for file system operations. SageMaker applies these settings only to private spaces that the user creates in the domain. SageMaker doesn't apply these settings to shared spaces.
|
|
@@ -48783,6 +48805,10 @@ class CfnUserProfile(
|
|
|
48783
48805
|
def auto_mount_home_efs(self) -> typing.Optional[builtins.str]:
|
|
48784
48806
|
'''Indicates whether auto-mounting of an EFS volume is supported for the user profile.
|
|
48785
48807
|
|
|
48808
|
+
The ``DefaultAsDomain`` value is only supported for user profiles. Do not use the ``DefaultAsDomain`` value when setting this parameter for a domain.
|
|
48809
|
+
|
|
48810
|
+
SageMaker applies this setting only to private spaces that the user creates in the domain. SageMaker doesn't apply this setting to shared spaces.
|
|
48811
|
+
|
|
48786
48812
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-usersettings.html#cfn-sagemaker-userprofile-usersettings-automounthomeefs
|
|
48787
48813
|
'''
|
|
48788
48814
|
result = self._values.get("auto_mount_home_efs")
|
aws_cdk/aws_ses/__init__.py
CHANGED
|
@@ -100,6 +100,12 @@ ses.AllowListReceiptFilter(self, "AllowList",
|
|
|
100
100
|
|
|
101
101
|
This will first create a block all filter and then create allow filters for the listed ip addresses.
|
|
102
102
|
|
|
103
|
+
### AWS Service Principal permissions
|
|
104
|
+
|
|
105
|
+
When adding an s3 action to a receipt rule, the CDK will automatically create a policy statement that allows the ses service principal to get write access to the bucket. This is done with the `SourceAccount` condition key, which is automatically added to the policy statement.
|
|
106
|
+
Previously, the policy used the `Referer` condition key, which caused confused deputy problems when the bucket policy allowed access to the bucket for all principals.
|
|
107
|
+
See more information in [this github issue](https://github.com/aws/aws-cdk/issues/29811)
|
|
108
|
+
|
|
103
109
|
## Email sending
|
|
104
110
|
|
|
105
111
|
### Dedicated IP pools
|
|
@@ -6023,6 +6029,15 @@ class CfnMailManagerRuleSet(
|
|
|
6023
6029
|
action_failure_policy="actionFailurePolicy"
|
|
6024
6030
|
),
|
|
6025
6031
|
drop=drop,
|
|
6032
|
+
publish_to_sns=ses.CfnMailManagerRuleSet.SnsActionProperty(
|
|
6033
|
+
role_arn="roleArn",
|
|
6034
|
+
topic_arn="topicArn",
|
|
6035
|
+
|
|
6036
|
+
# the properties below are optional
|
|
6037
|
+
action_failure_policy="actionFailurePolicy",
|
|
6038
|
+
encoding="encoding",
|
|
6039
|
+
payload_type="payloadType"
|
|
6040
|
+
),
|
|
6026
6041
|
relay=ses.CfnMailManagerRuleSet.RelayActionProperty(
|
|
6027
6042
|
relay="relay",
|
|
6028
6043
|
|
|
@@ -6892,6 +6907,7 @@ class CfnMailManagerRuleSet(
|
|
|
6892
6907
|
"deliver_to_mailbox": "deliverToMailbox",
|
|
6893
6908
|
"deliver_to_q_business": "deliverToQBusiness",
|
|
6894
6909
|
"drop": "drop",
|
|
6910
|
+
"publish_to_sns": "publishToSns",
|
|
6895
6911
|
"relay": "relay",
|
|
6896
6912
|
"replace_recipient": "replaceRecipient",
|
|
6897
6913
|
"send": "send",
|
|
@@ -6907,6 +6923,7 @@ class CfnMailManagerRuleSet(
|
|
|
6907
6923
|
deliver_to_mailbox: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnMailManagerRuleSet.DeliverToMailboxActionProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6908
6924
|
deliver_to_q_business: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnMailManagerRuleSet.DeliverToQBusinessActionProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6909
6925
|
drop: typing.Any = None,
|
|
6926
|
+
publish_to_sns: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnMailManagerRuleSet.SnsActionProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6910
6927
|
relay: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnMailManagerRuleSet.RelayActionProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6911
6928
|
replace_recipient: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnMailManagerRuleSet.ReplaceRecipientActionProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6912
6929
|
send: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnMailManagerRuleSet.SendActionProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -6923,6 +6940,7 @@ class CfnMailManagerRuleSet(
|
|
|
6923
6940
|
:param deliver_to_mailbox: This action delivers an email to a WorkMail mailbox.
|
|
6924
6941
|
:param deliver_to_q_business: This action delivers an email to an Amazon Q Business application for ingestion into its knowledge base.
|
|
6925
6942
|
:param drop: This action terminates the evaluation of rules in the rule set.
|
|
6943
|
+
:param publish_to_sns:
|
|
6926
6944
|
:param relay: This action relays the email to another SMTP server.
|
|
6927
6945
|
:param replace_recipient: The action replaces certain or all recipients with a different set of recipients.
|
|
6928
6946
|
:param send: This action sends the email to the internet.
|
|
@@ -6966,6 +6984,15 @@ class CfnMailManagerRuleSet(
|
|
|
6966
6984
|
action_failure_policy="actionFailurePolicy"
|
|
6967
6985
|
),
|
|
6968
6986
|
drop=drop,
|
|
6987
|
+
publish_to_sns=ses.CfnMailManagerRuleSet.SnsActionProperty(
|
|
6988
|
+
role_arn="roleArn",
|
|
6989
|
+
topic_arn="topicArn",
|
|
6990
|
+
|
|
6991
|
+
# the properties below are optional
|
|
6992
|
+
action_failure_policy="actionFailurePolicy",
|
|
6993
|
+
encoding="encoding",
|
|
6994
|
+
payload_type="payloadType"
|
|
6995
|
+
),
|
|
6969
6996
|
relay=ses.CfnMailManagerRuleSet.RelayActionProperty(
|
|
6970
6997
|
relay="relay",
|
|
6971
6998
|
|
|
@@ -7000,6 +7027,7 @@ class CfnMailManagerRuleSet(
|
|
|
7000
7027
|
check_type(argname="argument deliver_to_mailbox", value=deliver_to_mailbox, expected_type=type_hints["deliver_to_mailbox"])
|
|
7001
7028
|
check_type(argname="argument deliver_to_q_business", value=deliver_to_q_business, expected_type=type_hints["deliver_to_q_business"])
|
|
7002
7029
|
check_type(argname="argument drop", value=drop, expected_type=type_hints["drop"])
|
|
7030
|
+
check_type(argname="argument publish_to_sns", value=publish_to_sns, expected_type=type_hints["publish_to_sns"])
|
|
7003
7031
|
check_type(argname="argument relay", value=relay, expected_type=type_hints["relay"])
|
|
7004
7032
|
check_type(argname="argument replace_recipient", value=replace_recipient, expected_type=type_hints["replace_recipient"])
|
|
7005
7033
|
check_type(argname="argument send", value=send, expected_type=type_hints["send"])
|
|
@@ -7015,6 +7043,8 @@ class CfnMailManagerRuleSet(
|
|
|
7015
7043
|
self._values["deliver_to_q_business"] = deliver_to_q_business
|
|
7016
7044
|
if drop is not None:
|
|
7017
7045
|
self._values["drop"] = drop
|
|
7046
|
+
if publish_to_sns is not None:
|
|
7047
|
+
self._values["publish_to_sns"] = publish_to_sns
|
|
7018
7048
|
if relay is not None:
|
|
7019
7049
|
self._values["relay"] = relay
|
|
7020
7050
|
if replace_recipient is not None:
|
|
@@ -7081,6 +7111,16 @@ class CfnMailManagerRuleSet(
|
|
|
7081
7111
|
result = self._values.get("drop")
|
|
7082
7112
|
return typing.cast(typing.Any, result)
|
|
7083
7113
|
|
|
7114
|
+
@builtins.property
|
|
7115
|
+
def publish_to_sns(
|
|
7116
|
+
self,
|
|
7117
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnMailManagerRuleSet.SnsActionProperty"]]:
|
|
7118
|
+
'''
|
|
7119
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-ruleaction.html#cfn-ses-mailmanagerruleset-ruleaction-publishtosns
|
|
7120
|
+
'''
|
|
7121
|
+
result = self._values.get("publish_to_sns")
|
|
7122
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnMailManagerRuleSet.SnsActionProperty"]], result)
|
|
7123
|
+
|
|
7084
7124
|
@builtins.property
|
|
7085
7125
|
def relay(
|
|
7086
7126
|
self,
|
|
@@ -7922,6 +7962,15 @@ class CfnMailManagerRuleSet(
|
|
|
7922
7962
|
action_failure_policy="actionFailurePolicy"
|
|
7923
7963
|
),
|
|
7924
7964
|
drop=drop,
|
|
7965
|
+
publish_to_sns=ses.CfnMailManagerRuleSet.SnsActionProperty(
|
|
7966
|
+
role_arn="roleArn",
|
|
7967
|
+
topic_arn="topicArn",
|
|
7968
|
+
|
|
7969
|
+
# the properties below are optional
|
|
7970
|
+
action_failure_policy="actionFailurePolicy",
|
|
7971
|
+
encoding="encoding",
|
|
7972
|
+
payload_type="payloadType"
|
|
7973
|
+
),
|
|
7925
7974
|
relay=ses.CfnMailManagerRuleSet.RelayActionProperty(
|
|
7926
7975
|
relay="relay",
|
|
7927
7976
|
|
|
@@ -8719,6 +8768,124 @@ class CfnMailManagerRuleSet(
|
|
|
8719
8768
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
8720
8769
|
)
|
|
8721
8770
|
|
|
8771
|
+
@jsii.data_type(
|
|
8772
|
+
jsii_type="aws-cdk-lib.aws_ses.CfnMailManagerRuleSet.SnsActionProperty",
|
|
8773
|
+
jsii_struct_bases=[],
|
|
8774
|
+
name_mapping={
|
|
8775
|
+
"role_arn": "roleArn",
|
|
8776
|
+
"topic_arn": "topicArn",
|
|
8777
|
+
"action_failure_policy": "actionFailurePolicy",
|
|
8778
|
+
"encoding": "encoding",
|
|
8779
|
+
"payload_type": "payloadType",
|
|
8780
|
+
},
|
|
8781
|
+
)
|
|
8782
|
+
class SnsActionProperty:
|
|
8783
|
+
def __init__(
|
|
8784
|
+
self,
|
|
8785
|
+
*,
|
|
8786
|
+
role_arn: builtins.str,
|
|
8787
|
+
topic_arn: builtins.str,
|
|
8788
|
+
action_failure_policy: typing.Optional[builtins.str] = None,
|
|
8789
|
+
encoding: typing.Optional[builtins.str] = None,
|
|
8790
|
+
payload_type: typing.Optional[builtins.str] = None,
|
|
8791
|
+
) -> None:
|
|
8792
|
+
'''
|
|
8793
|
+
:param role_arn:
|
|
8794
|
+
:param topic_arn:
|
|
8795
|
+
:param action_failure_policy:
|
|
8796
|
+
:param encoding:
|
|
8797
|
+
:param payload_type:
|
|
8798
|
+
|
|
8799
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-snsaction.html
|
|
8800
|
+
:exampleMetadata: fixture=_generated
|
|
8801
|
+
|
|
8802
|
+
Example::
|
|
8803
|
+
|
|
8804
|
+
# The code below shows an example of how to instantiate this type.
|
|
8805
|
+
# The values are placeholders you should change.
|
|
8806
|
+
from aws_cdk import aws_ses as ses
|
|
8807
|
+
|
|
8808
|
+
sns_action_property = ses.CfnMailManagerRuleSet.SnsActionProperty(
|
|
8809
|
+
role_arn="roleArn",
|
|
8810
|
+
topic_arn="topicArn",
|
|
8811
|
+
|
|
8812
|
+
# the properties below are optional
|
|
8813
|
+
action_failure_policy="actionFailurePolicy",
|
|
8814
|
+
encoding="encoding",
|
|
8815
|
+
payload_type="payloadType"
|
|
8816
|
+
)
|
|
8817
|
+
'''
|
|
8818
|
+
if __debug__:
|
|
8819
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c1dba6e94fdb5a871528ffcc897120b50f8c7998718a851aaed472055a2a05a6)
|
|
8820
|
+
check_type(argname="argument role_arn", value=role_arn, expected_type=type_hints["role_arn"])
|
|
8821
|
+
check_type(argname="argument topic_arn", value=topic_arn, expected_type=type_hints["topic_arn"])
|
|
8822
|
+
check_type(argname="argument action_failure_policy", value=action_failure_policy, expected_type=type_hints["action_failure_policy"])
|
|
8823
|
+
check_type(argname="argument encoding", value=encoding, expected_type=type_hints["encoding"])
|
|
8824
|
+
check_type(argname="argument payload_type", value=payload_type, expected_type=type_hints["payload_type"])
|
|
8825
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
8826
|
+
"role_arn": role_arn,
|
|
8827
|
+
"topic_arn": topic_arn,
|
|
8828
|
+
}
|
|
8829
|
+
if action_failure_policy is not None:
|
|
8830
|
+
self._values["action_failure_policy"] = action_failure_policy
|
|
8831
|
+
if encoding is not None:
|
|
8832
|
+
self._values["encoding"] = encoding
|
|
8833
|
+
if payload_type is not None:
|
|
8834
|
+
self._values["payload_type"] = payload_type
|
|
8835
|
+
|
|
8836
|
+
@builtins.property
|
|
8837
|
+
def role_arn(self) -> builtins.str:
|
|
8838
|
+
'''
|
|
8839
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-snsaction.html#cfn-ses-mailmanagerruleset-snsaction-rolearn
|
|
8840
|
+
'''
|
|
8841
|
+
result = self._values.get("role_arn")
|
|
8842
|
+
assert result is not None, "Required property 'role_arn' is missing"
|
|
8843
|
+
return typing.cast(builtins.str, result)
|
|
8844
|
+
|
|
8845
|
+
@builtins.property
|
|
8846
|
+
def topic_arn(self) -> builtins.str:
|
|
8847
|
+
'''
|
|
8848
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-snsaction.html#cfn-ses-mailmanagerruleset-snsaction-topicarn
|
|
8849
|
+
'''
|
|
8850
|
+
result = self._values.get("topic_arn")
|
|
8851
|
+
assert result is not None, "Required property 'topic_arn' is missing"
|
|
8852
|
+
return typing.cast(builtins.str, result)
|
|
8853
|
+
|
|
8854
|
+
@builtins.property
|
|
8855
|
+
def action_failure_policy(self) -> typing.Optional[builtins.str]:
|
|
8856
|
+
'''
|
|
8857
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-snsaction.html#cfn-ses-mailmanagerruleset-snsaction-actionfailurepolicy
|
|
8858
|
+
'''
|
|
8859
|
+
result = self._values.get("action_failure_policy")
|
|
8860
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
8861
|
+
|
|
8862
|
+
@builtins.property
|
|
8863
|
+
def encoding(self) -> typing.Optional[builtins.str]:
|
|
8864
|
+
'''
|
|
8865
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-snsaction.html#cfn-ses-mailmanagerruleset-snsaction-encoding
|
|
8866
|
+
'''
|
|
8867
|
+
result = self._values.get("encoding")
|
|
8868
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
8869
|
+
|
|
8870
|
+
@builtins.property
|
|
8871
|
+
def payload_type(self) -> typing.Optional[builtins.str]:
|
|
8872
|
+
'''
|
|
8873
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-snsaction.html#cfn-ses-mailmanagerruleset-snsaction-payloadtype
|
|
8874
|
+
'''
|
|
8875
|
+
result = self._values.get("payload_type")
|
|
8876
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
8877
|
+
|
|
8878
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
8879
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
8880
|
+
|
|
8881
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
8882
|
+
return not (rhs == self)
|
|
8883
|
+
|
|
8884
|
+
def __repr__(self) -> str:
|
|
8885
|
+
return "SnsActionProperty(%s)" % ", ".join(
|
|
8886
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
8887
|
+
)
|
|
8888
|
+
|
|
8722
8889
|
|
|
8723
8890
|
@jsii.data_type(
|
|
8724
8891
|
jsii_type="aws-cdk-lib.aws_ses.CfnMailManagerRuleSetProps",
|
|
@@ -8779,6 +8946,15 @@ class CfnMailManagerRuleSetProps:
|
|
|
8779
8946
|
action_failure_policy="actionFailurePolicy"
|
|
8780
8947
|
),
|
|
8781
8948
|
drop=drop,
|
|
8949
|
+
publish_to_sns=ses.CfnMailManagerRuleSet.SnsActionProperty(
|
|
8950
|
+
role_arn="roleArn",
|
|
8951
|
+
topic_arn="topicArn",
|
|
8952
|
+
|
|
8953
|
+
# the properties below are optional
|
|
8954
|
+
action_failure_policy="actionFailurePolicy",
|
|
8955
|
+
encoding="encoding",
|
|
8956
|
+
payload_type="payloadType"
|
|
8957
|
+
),
|
|
8782
8958
|
relay=ses.CfnMailManagerRuleSet.RelayActionProperty(
|
|
8783
8959
|
relay="relay",
|
|
8784
8960
|
|
|
@@ -18663,6 +18839,7 @@ def _typecheckingstub__305f0be9d67c9da493953a4770d737df26a1af8dedfd249fd91350062
|
|
|
18663
18839
|
deliver_to_mailbox: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnMailManagerRuleSet.DeliverToMailboxActionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
18664
18840
|
deliver_to_q_business: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnMailManagerRuleSet.DeliverToQBusinessActionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
18665
18841
|
drop: typing.Any = None,
|
|
18842
|
+
publish_to_sns: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnMailManagerRuleSet.SnsActionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
18666
18843
|
relay: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnMailManagerRuleSet.RelayActionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
18667
18844
|
replace_recipient: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnMailManagerRuleSet.ReplaceRecipientActionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
18668
18845
|
send: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnMailManagerRuleSet.SendActionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -18803,6 +18980,17 @@ def _typecheckingstub__55318dc538596167d3b14e3c3844f14a00b3cbe799ecfea26bbb89d52
|
|
|
18803
18980
|
"""Type checking stubs"""
|
|
18804
18981
|
pass
|
|
18805
18982
|
|
|
18983
|
+
def _typecheckingstub__c1dba6e94fdb5a871528ffcc897120b50f8c7998718a851aaed472055a2a05a6(
|
|
18984
|
+
*,
|
|
18985
|
+
role_arn: builtins.str,
|
|
18986
|
+
topic_arn: builtins.str,
|
|
18987
|
+
action_failure_policy: typing.Optional[builtins.str] = None,
|
|
18988
|
+
encoding: typing.Optional[builtins.str] = None,
|
|
18989
|
+
payload_type: typing.Optional[builtins.str] = None,
|
|
18990
|
+
) -> None:
|
|
18991
|
+
"""Type checking stubs"""
|
|
18992
|
+
pass
|
|
18993
|
+
|
|
18806
18994
|
def _typecheckingstub__9120678c5e64c2879e05de88594491cf3cdaac302d42183fc9f8d7289a9725cf(
|
|
18807
18995
|
*,
|
|
18808
18996
|
rules: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnMailManagerRuleSet.RuleProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
@@ -319,8 +319,8 @@ class CfnConfigurationManager(
|
|
|
319
319
|
:param parameters: The parameters for the configuration definition type. Parameters for configuration definitions vary based the configuration type. The following lists outline the parameters for each configuration type. - **AWS Config Recording (Type: AWS QuickSetupType-CFGRecording)** - - ``RecordAllResources`` - Description: (Optional) A boolean value that determines whether all supported resources are recorded. The default value is " ``true`` ". - ``ResourceTypesToRecord`` - Description: (Optional) A comma separated list of resource types you want to record. - ``RecordGlobalResourceTypes`` - Description: (Optional) A boolean value that determines whether global resources are recorded with all resource configurations. The default value is " ``false`` ". - ``GlobalResourceTypesRegion`` - Description: (Optional) Determines the AWS Region where global resources are recorded. - ``UseCustomBucket`` - Description: (Optional) A boolean value that determines whether a custom Amazon S3 bucket is used for delivery. The default value is " ``false`` ". - ``DeliveryBucketName`` - Description: (Optional) The name of the Amazon S3 bucket you want AWS Config to deliver configuration snapshots and configuration history files to. - ``DeliveryBucketPrefix`` - Description: (Optional) The key prefix you want to use in the custom Amazon S3 bucket. - ``NotificationOptions`` - Description: (Optional) Determines the notification configuration for the recorder. The valid values are ``NoStreaming`` , ``UseExistingTopic`` , and ``CreateTopic`` . The default value is ``NoStreaming`` . - ``CustomDeliveryTopicAccountId`` - Description: (Optional) The ID of the AWS account where the Amazon SNS topic you want to use for notifications resides. You must specify a value for this parameter if you use the ``UseExistingTopic`` notification option. - ``CustomDeliveryTopicName`` - Description: (Optional) The name of the Amazon SNS topic you want to use for notifications. You must specify a value for this parameter if you use the ``UseExistingTopic`` notification option. - ``RemediationSchedule`` - Description: (Optional) A rate expression that defines the schedule for drift remediation. The valid values are ``rate(30 days)`` , ``rate(7 days)`` , ``rate(1 days)`` , and ``none`` . The default value is " ``none`` ". - ``TargetAccounts`` - Description: (Optional) The ID of the AWS account initiating the configuration deployment. You only need to provide a value for this parameter if you want to deploy the configuration locally. A value must be provided for either ``TargetAccounts`` or ``TargetOrganizationalUnits`` . - ``TargetOrganizationalUnits`` - Description: (Optional) The ID of the root of your Organization. This configuration type doesn't currently support choosing specific OUs. The configuration will be deployed to all the OUs in the Organization. - ``TargetRegions`` - Description: (Required) A comma separated list of AWS Regions you want to deploy the configuration to. - **Change Manager (Type: AWS QuickSetupType-SSMChangeMgr)** - - ``DelegatedAccountId`` - Description: (Required) The ID of the delegated administrator account. - ``JobFunction`` - Description: (Required) The name for the Change Manager job function. - ``PermissionType`` - Description: (Optional) Specifies whether you want to use default administrator permissions for the job function role, or provide a custom IAM policy. The valid values are ``CustomPermissions`` and ``AdminPermissions`` . The default value for the parameter is ``CustomerPermissions`` . - ``CustomPermissions`` - Description: (Optional) A JSON string containing the IAM policy you want your job function to use. You must provide a value for this parameter if you specify ``CustomPermissions`` for the ``PermissionType`` parameter. - ``TargetOrganizationalUnits`` - Description: (Required) A comma separated list of organizational units (OUs) you want to deploy the configuration to. - ``TargetRegions`` - Description: (Required) A comma separated list of AWS Regions you want to deploy the configuration to. - **Conformance Packs (Type: AWS QuickSetupType-CFGCPacks)** - - ``DelegatedAccountId`` - Description: (Optional) The ID of the delegated administrator account. This parameter is required for Organization deployments. - ``RemediationSchedule`` - Description: (Optional) A rate expression that defines the schedule for drift remediation. The valid values are ``rate(30 days)`` , ``rate(14 days)`` , ``rate(2 days)`` , and ``none`` . The default value is " ``none`` ". - ``CPackNames`` - Description: (Required) A comma separated list of AWS Config conformance packs. - ``TargetAccounts`` - Description: (Optional) The ID of the AWS account initiating the configuration deployment. You only need to provide a value for this parameter if you want to deploy the configuration locally. A value must be provided for either ``TargetAccounts`` or ``TargetOrganizationalUnits`` . - ``TargetOrganizationalUnits`` - Description: (Optional) The ID of the root of your Organization. This configuration type doesn't currently support choosing specific OUs. The configuration will be deployed to all the OUs in the Organization. - ``TargetRegions`` - Description: (Required) A comma separated list of AWS Regions you want to deploy the configuration to. - **Default Host Management Configuration (Type: AWS QuickSetupType-DHMC)** - - ``UpdateSSMAgent`` - Description: (Optional) A boolean value that determines whether the SSM Agent is updated on the target instances every 2 weeks. The default value is " ``true`` ". - ``TargetOrganizationalUnits`` - Description: (Required) A comma separated list of organizational units (OUs) you want to deploy the configuration to. - ``TargetRegions`` - Description: (Required) The AWS Regions to deploy the configuration to. For this type, the parameter only accepts a value of ``AllRegions`` . - **DevOps Guru (Type: AWS QuickSetupType-DevOpsGuru)** - - ``AnalyseAllResources`` - Description: (Optional) A boolean value that determines whether DevOps Guru analyzes all AWS CloudFormation stacks in the account. The default value is " ``false`` ". - ``EnableSnsNotifications`` - Description: (Optional) A boolean value that determines whether DevOps Guru sends notifications when an insight is created. The default value is " ``true`` ". - ``EnableSsmOpsItems`` - Description: (Optional) A boolean value that determines whether DevOps Guru creates an OpsCenter OpsItem when an insight is created. The default value is " ``true`` ". - ``EnableDriftRemediation`` - Description: (Optional) A boolean value that determines whether a drift remediation schedule is used. The default value is " ``false`` ". - ``RemediationSchedule`` - Description: (Optional) A rate expression that defines the schedule for drift remediation. The valid values are ``rate(30 days)`` , ``rate(14 days)`` , ``rate(1 days)`` , and ``none`` . The default value is " ``none`` ". - ``TargetAccounts`` - Description: (Optional) The ID of the AWS account initiating the configuration deployment. You only need to provide a value for this parameter if you want to deploy the configuration locally. A value must be provided for either ``TargetAccounts`` or ``TargetOrganizationalUnits`` . - ``TargetOrganizationalUnits`` - Description: (Optional) A comma separated list of organizational units (OUs) you want to deploy the configuration to. - ``TargetRegions`` - Description: (Required) A comma separated list of AWS Regions you want to deploy the configuration to. - **Distributor (Type: AWS QuickSetupType-Distributor)** - - ``PackagesToInstall`` - Description: (Required) A comma separated list of packages you want to install on the target instances. The valid values are ``AWSEFSTools`` , ``AWSCWAgent`` , and ``AWSEC2LaunchAgent`` . - ``RemediationSchedule`` - Description: (Optional) A rate expression that defines the schedule for drift remediation. The valid values are ``rate(30 days)`` , ``rate(14 days)`` , ``rate(2 days)`` , and ``none`` . The default value is " ``rate(30 days)`` ". - ``IsPolicyAttachAllowed`` - Description: (Optional) A boolean value that determines whether Quick Setup attaches policies to instances profiles already associated with the target instances. The default value is " ``false`` ". - ``TargetType`` - Description: (Optional) Determines how instances are targeted for local account deployments. Don't specify a value for this parameter if you're deploying to OUs. The valid values are ``*`` , ``InstanceIds`` , ``ResourceGroups`` , and ``Tags`` . Use ``*`` to target all instances in the account. - ``TargetInstances`` - Description: (Optional) A comma separated list of instance IDs. You must provide a value for this parameter if you specify ``InstanceIds`` for the ``TargetType`` parameter. - ``TargetTagKey`` - Description: (Required) The tag key assigned to the instances you want to target. You must provide a value for this parameter if you specify ``Tags`` for the ``TargetType`` parameter. - ``TargetTagValue`` - Description: (Required) The value of the tag key assigned to the instances you want to target. You must provide a value for this parameter if you specify ``Tags`` for the ``TargetType`` parameter. - ``ResourceGroupName`` - Description: (Required) The name of the resource group associated with the instances you want to target. You must provide a value for this parameter if you specify ``ResourceGroups`` for the ``TargetType`` parameter. - ``TargetAccounts`` - Description: (Optional) The ID of the AWS account initiating the configuration deployment. You only need to provide a value for this parameter if you want to deploy the configuration locally. A value must be provided for either ``TargetAccounts`` or ``TargetOrganizationalUnits`` . - ``TargetOrganizationalUnits`` - Description: (Optional) A comma separated list of organizational units (OUs) you want to deploy the configuration to. - ``TargetRegions`` - Description: (Required) A comma separated list of AWS Regions you want to deploy the configuration to. - **Host Management (Type: AWS QuickSetupType-SSMHostMgmt)** - - ``UpdateSSMAgent`` - Description: (Optional) A boolean value that determines whether the SSM Agent is updated on the target instances every 2 weeks. The default value is " ``true`` ". - ``UpdateEc2LaunchAgent`` - Description: (Optional) A boolean value that determines whether the EC2 Launch agent is updated on the target instances every month. The default value is " ``false`` ". - ``CollectInventory`` - Description: (Optional) A boolean value that determines whether instance metadata is collected on the target instances every 30 minutes. The default value is " ``true`` ". - ``ScanInstances`` - Description: (Optional) A boolean value that determines whether the target instances are scanned daily for available patches. The default value is " ``true`` ". - ``InstallCloudWatchAgent`` - Description: (Optional) A boolean value that determines whether the Amazon CloudWatch agent is installed on the target instances. The default value is " ``false`` ". - ``UpdateCloudWatchAgent`` - Description: (Optional) A boolean value that determines whether the Amazon CloudWatch agent is updated on the target instances every month. The default value is " ``false`` ". - ``IsPolicyAttachAllowed`` - Description: (Optional) A boolean value that determines whether Quick Setup attaches policies to instances profiles already associated with the target instances. The default value is " ``false`` ". - ``TargetType`` - Description: (Optional) Determines how instances are targeted for local account deployments. Don't specify a value for this parameter if you're deploying to OUs. The valid values are ``*`` , ``InstanceIds`` , ``ResourceGroups`` , and ``Tags`` . Use ``*`` to target all instances in the account. - ``TargetInstances`` - Description: (Optional) A comma separated list of instance IDs. You must provide a value for this parameter if you specify ``InstanceIds`` for the ``TargetType`` parameter. - ``TargetTagKey`` - Description: (Optional) The tag key assigned to the instances you want to target. You must provide a value for this parameter if you specify ``Tags`` for the ``TargetType`` parameter. - ``TargetTagValue`` - Description: (Optional) The value of the tag key assigned to the instances you want to target. You must provide a value for this parameter if you specify ``Tags`` for the ``TargetType`` parameter. - ``ResourceGroupName`` - Description: (Optional) The name of the resource group associated with the instances you want to target. You must provide a value for this parameter if you specify ``ResourceGroups`` for the ``TargetType`` parameter. - ``TargetAccounts`` - Description: (Optional) The ID of the AWS account initiating the configuration deployment. You only need to provide a value for this parameter if you want to deploy the configuration locally. A value must be provided for either ``TargetAccounts`` or ``TargetOrganizationalUnits`` . - ``TargetOrganizationalUnits`` - Description: (Optional) A comma separated list of organizational units (OUs) you want to deploy the configuration to. - ``TargetRegions`` - Description: (Required) A comma separated list of AWS Regions you want to deploy the configuration to. - **OpsCenter (Type: AWS QuickSetupType-SSMOpsCenter)** - - ``DelegatedAccountId`` - Description: (Required) The ID of the delegated administrator account. - ``TargetOrganizationalUnits`` - Description: (Required) A comma separated list of organizational units (OUs) you want to deploy the configuration to. - ``TargetRegions`` - Description: (Required) A comma separated list of AWS Regions you want to deploy the configuration to. - **Patch Policy (Type: AWS QuickSetupType-PatchPolicy)** - - ``PatchPolicyName`` - Description: (Required) A name for the patch policy. The value you provide is applied to target Amazon EC2 instances as a tag. - ``SelectedPatchBaselines`` - Description: (Required) An array of JSON objects containing the information for the patch baselines to include in your patch policy. - ``PatchBaselineUseDefault`` - Description: (Optional) A value that determines whether the selected patch baselines are all AWS provided. Supported values are ``default`` and ``custom`` . - ``PatchBaselineRegion`` - Description: (Required) The AWS Region where the patch baseline exist. - ``ConfigurationOptionsPatchOperation`` - Description: (Optional) Determines whether target instances scan for available patches, or scan and install available patches. The valid values are ``Scan`` and ``ScanAndInstall`` . The default value for the parameter is ``Scan`` . - ``ConfigurationOptionsScanValue`` - Description: (Optional) A cron expression that is used as the schedule for when instances scan for available patches. - ``ConfigurationOptionsInstallValue`` - Description: (Optional) A cron expression that is used as the schedule for when instances install available patches. - ``ConfigurationOptionsScanNextInterval`` - Description: (Optional) A boolean value that determines whether instances should scan for available patches at the next cron interval. The default value is " ``false`` ". - ``ConfigurationOptionsInstallNextInterval`` - Description: (Optional) A boolean value that determines whether instances should scan for available patches at the next cron interval. The default value is " ``false`` ". - ``RebootOption`` - Description: (Optional) Determines whether instances are rebooted after patches are installed. Valid values are ``RebootIfNeeded`` and ``NoReboot`` . - ``IsPolicyAttachAllowed`` - Description: (Optional) A boolean value that determines whether Quick Setup attaches policies to instances profiles already associated with the target instances. The default value is " ``false`` ". - ``OutputLogEnableS3`` - Description: (Optional) A boolean value that determines whether command output logs are sent to Amazon S3. - ``OutputS3Location`` - Description: (Optional) Information about the Amazon S3 bucket where you want to store the output details of the request. - ``OutputBucketRegion`` - Description: (Optional) The AWS Region where the Amazon S3 bucket you want to deliver command output to is located. - ``OutputS3BucketName`` - Description: (Optional) The name of the Amazon S3 bucket you want to deliver command output to. - ``OutputS3KeyPrefix`` - Description: (Optional) The key prefix you want to use in the custom Amazon S3 bucket. - ``TargetType`` - Description: (Optional) Determines how instances are targeted for local account deployments. Don't specify a value for this parameter if you're deploying to OUs. The valid values are ``*`` , ``InstanceIds`` , ``ResourceGroups`` , and ``Tags`` . Use ``*`` to target all instances in the account. - ``TargetInstances`` - Description: (Optional) A comma separated list of instance IDs. You must provide a value for this parameter if you specify ``InstanceIds`` for the ``TargetType`` parameter. - ``TargetTagKey`` - Description: (Required) The tag key assigned to the instances you want to target. You must provide a value for this parameter if you specify ``Tags`` for the ``TargetType`` parameter. - ``TargetTagValue`` - Description: (Required) The value of the tag key assigned to the instances you want to target. You must provide a value for this parameter if you specify ``Tags`` for the ``TargetType`` parameter. - ``ResourceGroupName`` - Description: (Required) The name of the resource group associated with the instances you want to target. You must provide a value for this parameter if you specify ``ResourceGroups`` for the ``TargetType`` parameter. - ``TargetAccounts`` - Description: (Optional) The ID of the AWS account initiating the configuration deployment. You only need to provide a value for this parameter if you want to deploy the configuration locally. A value must be provided for either ``TargetAccounts`` or ``TargetOrganizationalUnits`` . - ``TargetOrganizationalUnits`` - Description: (Optional) A comma separated list of organizational units (OUs) you want to deploy the configuration to. - ``TargetRegions`` - Description: (Required) A comma separated list of AWS Regions you want to deploy the configuration to. - **Resource Explorer (Type: AWS QuickSetupType-ResourceExplorer)** - - ``SelectedAggregatorRegion`` - Description: (Required) The AWS Region where you want to create the aggregator index. - ``ReplaceExistingAggregator`` - Description: (Required) A boolean value that determines whether to demote an existing aggregator if it is in a Region that differs from the value you specify for the ``SelectedAggregatorRegion`` . - ``TargetOrganizationalUnits`` - Description: (Required) A comma separated list of organizational units (OUs) you want to deploy the configuration to. - ``TargetRegions`` - Description: (Required) A comma separated list of AWS Regions you want to deploy the configuration to. - **Resource Scheduler (Type: AWS QuickSetupType-Scheduler)** - - ``TargetTagKey`` - Description: (Required) The tag key assigned to the instances you want to target. - ``TargetTagValue`` - Description: (Required) The value of the tag key assigned to the instances you want to target. - ``ICalendarString`` - Description: (Required) An iCalendar formatted string containing the schedule you want Change Manager to use. - ``TargetAccounts`` - Description: (Optional) The ID of the AWS account initiating the configuration deployment. You only need to provide a value for this parameter if you want to deploy the configuration locally. A value must be provided for either ``TargetAccounts`` or ``TargetOrganizationalUnits`` . - ``TargetOrganizationalUnits`` - Description: (Optional) A comma separated list of organizational units (OUs) you want to deploy the configuration to. - ``TargetRegions`` - Description: (Required) A comma separated list of AWS Regions you want to deploy the configuration to.
|
|
320
320
|
:param type: The type of the Quick Setup configuration.
|
|
321
321
|
:param id: The ID of the configuration definition.
|
|
322
|
-
:param local_deployment_administration_role_arn: The ARN of the IAM role used to administrate local configuration deployments.
|
|
323
|
-
:param local_deployment_execution_role_name: The name of the IAM role used to deploy local configurations.
|
|
322
|
+
:param local_deployment_administration_role_arn: The ARN of the IAM role used to administrate local configuration deployments. .. epigraph:: Although this element is listed as "Required: No", a value can be omitted only for organizational deployments of types other than ``AWSQuickSetupType-PatchPolicy`` . A value must be provided when you are running an organizational deployment for a patch policy or running any type of deployment for a single account.
|
|
323
|
+
:param local_deployment_execution_role_name: The name of the IAM role used to deploy local configurations. .. epigraph:: Although this element is listed as "Required: No", a value can be omitted only for organizational deployments of types other than ``AWSQuickSetupType-PatchPolicy`` . A value must be provided when you are running an organizational deployment for a patch policy or running any type of deployment for a single account.
|
|
324
324
|
:param type_version: The version of the Quick Setup type used.
|
|
325
325
|
|
|
326
326
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmquicksetup-configurationmanager-configurationdefinition.html
|
|
@@ -606,6 +606,10 @@ class CfnConfigurationManager(
|
|
|
606
606
|
) -> typing.Optional[builtins.str]:
|
|
607
607
|
'''The ARN of the IAM role used to administrate local configuration deployments.
|
|
608
608
|
|
|
609
|
+
.. epigraph::
|
|
610
|
+
|
|
611
|
+
Although this element is listed as "Required: No", a value can be omitted only for organizational deployments of types other than ``AWSQuickSetupType-PatchPolicy`` . A value must be provided when you are running an organizational deployment for a patch policy or running any type of deployment for a single account.
|
|
612
|
+
|
|
609
613
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmquicksetup-configurationmanager-configurationdefinition.html#cfn-ssmquicksetup-configurationmanager-configurationdefinition-localdeploymentadministrationrolearn
|
|
610
614
|
'''
|
|
611
615
|
result = self._values.get("local_deployment_administration_role_arn")
|
|
@@ -615,6 +619,10 @@ class CfnConfigurationManager(
|
|
|
615
619
|
def local_deployment_execution_role_name(self) -> typing.Optional[builtins.str]:
|
|
616
620
|
'''The name of the IAM role used to deploy local configurations.
|
|
617
621
|
|
|
622
|
+
.. epigraph::
|
|
623
|
+
|
|
624
|
+
Although this element is listed as "Required: No", a value can be omitted only for organizational deployments of types other than ``AWSQuickSetupType-PatchPolicy`` . A value must be provided when you are running an organizational deployment for a patch policy or running any type of deployment for a single account.
|
|
625
|
+
|
|
618
626
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmquicksetup-configurationmanager-configurationdefinition.html#cfn-ssmquicksetup-configurationmanager-configurationdefinition-localdeploymentexecutionrolename
|
|
619
627
|
'''
|
|
620
628
|
result = self._values.get("local_deployment_execution_role_name")
|