aws-cdk-lib 2.197.0__py3-none-any.whl → 2.199.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.199.0.jsii.tgz} +0 -0
- aws_cdk/aws_appconfig/__init__.py +296 -48
- aws_cdk/aws_applicationautoscaling/__init__.py +36 -0
- aws_cdk/aws_appsync/__init__.py +31 -21
- aws_cdk/aws_aps/__init__.py +343 -0
- aws_cdk/aws_autoscaling/__init__.py +2 -1
- aws_cdk/aws_bedrock/__init__.py +387 -4
- 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 +229 -12
- aws_cdk/aws_ecs/__init__.py +14 -2
- aws_cdk/aws_ecs_patterns/__init__.py +64 -12
- aws_cdk/aws_eks/__init__.py +40 -9
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +14 -8
- aws_cdk/aws_events_targets/__init__.py +78 -1
- 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 +48 -21
- aws_cdk/aws_rolesanywhere/__init__.py +14 -13
- aws_cdk/aws_sagemaker/__init__.py +38 -12
- aws_cdk/aws_ses/__init__.py +437 -0
- aws_cdk/aws_ssmquicksetup/__init__.py +10 -2
- aws_cdk/aws_stepfunctions_tasks/__init__.py +1502 -2
- aws_cdk/aws_synthetics/__init__.py +137 -3
- aws_cdk/aws_vpclattice/__init__.py +219 -209
- 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.199.0.dist-info}/METADATA +2 -2
- {aws_cdk_lib-2.197.0.dist-info → aws_cdk_lib-2.199.0.dist-info}/RECORD +38 -38
- {aws_cdk_lib-2.197.0.dist-info → aws_cdk_lib-2.199.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.197.0.dist-info → aws_cdk_lib-2.199.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.197.0.dist-info → aws_cdk_lib-2.199.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.197.0.dist-info → aws_cdk_lib-2.199.0.dist-info}/top_level.txt +0 -0
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
|
|
@@ -4462,6 +4468,211 @@ class CfnMailManagerAddonSubscriptionProps:
|
|
|
4462
4468
|
)
|
|
4463
4469
|
|
|
4464
4470
|
|
|
4471
|
+
@jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
|
|
4472
|
+
class CfnMailManagerAddressList(
|
|
4473
|
+
_CfnResource_9df397a6,
|
|
4474
|
+
metaclass=jsii.JSIIMeta,
|
|
4475
|
+
jsii_type="aws-cdk-lib.aws_ses.CfnMailManagerAddressList",
|
|
4476
|
+
):
|
|
4477
|
+
'''Definition of AWS::SES::MailManagerAddressList Resource Type.
|
|
4478
|
+
|
|
4479
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-mailmanageraddresslist.html
|
|
4480
|
+
:cloudformationResource: AWS::SES::MailManagerAddressList
|
|
4481
|
+
:exampleMetadata: fixture=_generated
|
|
4482
|
+
|
|
4483
|
+
Example::
|
|
4484
|
+
|
|
4485
|
+
# The code below shows an example of how to instantiate this type.
|
|
4486
|
+
# The values are placeholders you should change.
|
|
4487
|
+
from aws_cdk import aws_ses as ses
|
|
4488
|
+
|
|
4489
|
+
cfn_mail_manager_address_list = ses.CfnMailManagerAddressList(self, "MyCfnMailManagerAddressList",
|
|
4490
|
+
address_list_name="addressListName",
|
|
4491
|
+
tags=[CfnTag(
|
|
4492
|
+
key="key",
|
|
4493
|
+
value="value"
|
|
4494
|
+
)]
|
|
4495
|
+
)
|
|
4496
|
+
'''
|
|
4497
|
+
|
|
4498
|
+
def __init__(
|
|
4499
|
+
self,
|
|
4500
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
4501
|
+
id: builtins.str,
|
|
4502
|
+
*,
|
|
4503
|
+
address_list_name: typing.Optional[builtins.str] = None,
|
|
4504
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4505
|
+
) -> None:
|
|
4506
|
+
'''
|
|
4507
|
+
:param scope: Scope in which this resource is defined.
|
|
4508
|
+
:param id: Construct identifier for this resource (unique in its scope).
|
|
4509
|
+
:param address_list_name:
|
|
4510
|
+
:param tags:
|
|
4511
|
+
'''
|
|
4512
|
+
if __debug__:
|
|
4513
|
+
type_hints = typing.get_type_hints(_typecheckingstub__6a8a172d98fe048a3419d1b92dcaf2e59e8461e9b0baf073f812b3916bcd4974)
|
|
4514
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
4515
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
4516
|
+
props = CfnMailManagerAddressListProps(
|
|
4517
|
+
address_list_name=address_list_name, tags=tags
|
|
4518
|
+
)
|
|
4519
|
+
|
|
4520
|
+
jsii.create(self.__class__, self, [scope, id, props])
|
|
4521
|
+
|
|
4522
|
+
@jsii.member(jsii_name="inspect")
|
|
4523
|
+
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
4524
|
+
'''Examines the CloudFormation resource and discloses attributes.
|
|
4525
|
+
|
|
4526
|
+
:param inspector: tree inspector to collect and process attributes.
|
|
4527
|
+
'''
|
|
4528
|
+
if __debug__:
|
|
4529
|
+
type_hints = typing.get_type_hints(_typecheckingstub__4f6a8901ab278ee698ce069b658195d6cc144f36006c6c634fd9c8598d24d83d)
|
|
4530
|
+
check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
|
|
4531
|
+
return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
|
|
4532
|
+
|
|
4533
|
+
@jsii.member(jsii_name="renderProperties")
|
|
4534
|
+
def _render_properties(
|
|
4535
|
+
self,
|
|
4536
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
4537
|
+
) -> typing.Mapping[builtins.str, typing.Any]:
|
|
4538
|
+
'''
|
|
4539
|
+
:param props: -
|
|
4540
|
+
'''
|
|
4541
|
+
if __debug__:
|
|
4542
|
+
type_hints = typing.get_type_hints(_typecheckingstub__5a2a230c58a2c2b4b62e185b88fe729ffbc699c86e17f9fe3d25e95ae19ea40b)
|
|
4543
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
4544
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
|
|
4545
|
+
|
|
4546
|
+
@jsii.python.classproperty
|
|
4547
|
+
@jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
|
|
4548
|
+
def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
|
|
4549
|
+
'''The CloudFormation resource type name for this resource class.'''
|
|
4550
|
+
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
4551
|
+
|
|
4552
|
+
@builtins.property
|
|
4553
|
+
@jsii.member(jsii_name="attrAddressListArn")
|
|
4554
|
+
def attr_address_list_arn(self) -> builtins.str:
|
|
4555
|
+
'''
|
|
4556
|
+
:cloudformationAttribute: AddressListArn
|
|
4557
|
+
'''
|
|
4558
|
+
return typing.cast(builtins.str, jsii.get(self, "attrAddressListArn"))
|
|
4559
|
+
|
|
4560
|
+
@builtins.property
|
|
4561
|
+
@jsii.member(jsii_name="attrAddressListId")
|
|
4562
|
+
def attr_address_list_id(self) -> builtins.str:
|
|
4563
|
+
'''
|
|
4564
|
+
:cloudformationAttribute: AddressListId
|
|
4565
|
+
'''
|
|
4566
|
+
return typing.cast(builtins.str, jsii.get(self, "attrAddressListId"))
|
|
4567
|
+
|
|
4568
|
+
@builtins.property
|
|
4569
|
+
@jsii.member(jsii_name="cdkTagManager")
|
|
4570
|
+
def cdk_tag_manager(self) -> _TagManager_0a598cb3:
|
|
4571
|
+
'''Tag Manager which manages the tags for this resource.'''
|
|
4572
|
+
return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
|
|
4573
|
+
|
|
4574
|
+
@builtins.property
|
|
4575
|
+
@jsii.member(jsii_name="cfnProperties")
|
|
4576
|
+
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
4577
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
4578
|
+
|
|
4579
|
+
@builtins.property
|
|
4580
|
+
@jsii.member(jsii_name="addressListName")
|
|
4581
|
+
def address_list_name(self) -> typing.Optional[builtins.str]:
|
|
4582
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "addressListName"))
|
|
4583
|
+
|
|
4584
|
+
@address_list_name.setter
|
|
4585
|
+
def address_list_name(self, value: typing.Optional[builtins.str]) -> None:
|
|
4586
|
+
if __debug__:
|
|
4587
|
+
type_hints = typing.get_type_hints(_typecheckingstub__53d1505dab469f39095f9e22ba4d8bdae2405adbe8d8d641e4d4a1abbf6b3770)
|
|
4588
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4589
|
+
jsii.set(self, "addressListName", value) # pyright: ignore[reportArgumentType]
|
|
4590
|
+
|
|
4591
|
+
@builtins.property
|
|
4592
|
+
@jsii.member(jsii_name="tags")
|
|
4593
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
4594
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
|
|
4595
|
+
|
|
4596
|
+
@tags.setter
|
|
4597
|
+
def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
|
|
4598
|
+
if __debug__:
|
|
4599
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f941c234d4973425d4ac187f87f54965bfdb82848d3fcf93664acc11143c1068)
|
|
4600
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4601
|
+
jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
|
|
4602
|
+
|
|
4603
|
+
|
|
4604
|
+
@jsii.data_type(
|
|
4605
|
+
jsii_type="aws-cdk-lib.aws_ses.CfnMailManagerAddressListProps",
|
|
4606
|
+
jsii_struct_bases=[],
|
|
4607
|
+
name_mapping={"address_list_name": "addressListName", "tags": "tags"},
|
|
4608
|
+
)
|
|
4609
|
+
class CfnMailManagerAddressListProps:
|
|
4610
|
+
def __init__(
|
|
4611
|
+
self,
|
|
4612
|
+
*,
|
|
4613
|
+
address_list_name: typing.Optional[builtins.str] = None,
|
|
4614
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4615
|
+
) -> None:
|
|
4616
|
+
'''Properties for defining a ``CfnMailManagerAddressList``.
|
|
4617
|
+
|
|
4618
|
+
:param address_list_name:
|
|
4619
|
+
:param tags:
|
|
4620
|
+
|
|
4621
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-mailmanageraddresslist.html
|
|
4622
|
+
:exampleMetadata: fixture=_generated
|
|
4623
|
+
|
|
4624
|
+
Example::
|
|
4625
|
+
|
|
4626
|
+
# The code below shows an example of how to instantiate this type.
|
|
4627
|
+
# The values are placeholders you should change.
|
|
4628
|
+
from aws_cdk import aws_ses as ses
|
|
4629
|
+
|
|
4630
|
+
cfn_mail_manager_address_list_props = ses.CfnMailManagerAddressListProps(
|
|
4631
|
+
address_list_name="addressListName",
|
|
4632
|
+
tags=[CfnTag(
|
|
4633
|
+
key="key",
|
|
4634
|
+
value="value"
|
|
4635
|
+
)]
|
|
4636
|
+
)
|
|
4637
|
+
'''
|
|
4638
|
+
if __debug__:
|
|
4639
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ec45e85ebcc385f7d054df8a6b207754f0fa06560d7270f49432e2594f0626f9)
|
|
4640
|
+
check_type(argname="argument address_list_name", value=address_list_name, expected_type=type_hints["address_list_name"])
|
|
4641
|
+
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
4642
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
4643
|
+
if address_list_name is not None:
|
|
4644
|
+
self._values["address_list_name"] = address_list_name
|
|
4645
|
+
if tags is not None:
|
|
4646
|
+
self._values["tags"] = tags
|
|
4647
|
+
|
|
4648
|
+
@builtins.property
|
|
4649
|
+
def address_list_name(self) -> typing.Optional[builtins.str]:
|
|
4650
|
+
'''
|
|
4651
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-mailmanageraddresslist.html#cfn-ses-mailmanageraddresslist-addresslistname
|
|
4652
|
+
'''
|
|
4653
|
+
result = self._values.get("address_list_name")
|
|
4654
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
4655
|
+
|
|
4656
|
+
@builtins.property
|
|
4657
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
4658
|
+
'''
|
|
4659
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-mailmanageraddresslist.html#cfn-ses-mailmanageraddresslist-tags
|
|
4660
|
+
'''
|
|
4661
|
+
result = self._values.get("tags")
|
|
4662
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
|
|
4663
|
+
|
|
4664
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
4665
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
4666
|
+
|
|
4667
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
4668
|
+
return not (rhs == self)
|
|
4669
|
+
|
|
4670
|
+
def __repr__(self) -> str:
|
|
4671
|
+
return "CfnMailManagerAddressListProps(%s)" % ", ".join(
|
|
4672
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
4673
|
+
)
|
|
4674
|
+
|
|
4675
|
+
|
|
4465
4676
|
@jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
|
|
4466
4677
|
class CfnMailManagerArchive(
|
|
4467
4678
|
_CfnResource_9df397a6,
|
|
@@ -6023,6 +6234,15 @@ class CfnMailManagerRuleSet(
|
|
|
6023
6234
|
action_failure_policy="actionFailurePolicy"
|
|
6024
6235
|
),
|
|
6025
6236
|
drop=drop,
|
|
6237
|
+
publish_to_sns=ses.CfnMailManagerRuleSet.SnsActionProperty(
|
|
6238
|
+
role_arn="roleArn",
|
|
6239
|
+
topic_arn="topicArn",
|
|
6240
|
+
|
|
6241
|
+
# the properties below are optional
|
|
6242
|
+
action_failure_policy="actionFailurePolicy",
|
|
6243
|
+
encoding="encoding",
|
|
6244
|
+
payload_type="payloadType"
|
|
6245
|
+
),
|
|
6026
6246
|
relay=ses.CfnMailManagerRuleSet.RelayActionProperty(
|
|
6027
6247
|
relay="relay",
|
|
6028
6248
|
|
|
@@ -6892,6 +7112,7 @@ class CfnMailManagerRuleSet(
|
|
|
6892
7112
|
"deliver_to_mailbox": "deliverToMailbox",
|
|
6893
7113
|
"deliver_to_q_business": "deliverToQBusiness",
|
|
6894
7114
|
"drop": "drop",
|
|
7115
|
+
"publish_to_sns": "publishToSns",
|
|
6895
7116
|
"relay": "relay",
|
|
6896
7117
|
"replace_recipient": "replaceRecipient",
|
|
6897
7118
|
"send": "send",
|
|
@@ -6907,6 +7128,7 @@ class CfnMailManagerRuleSet(
|
|
|
6907
7128
|
deliver_to_mailbox: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnMailManagerRuleSet.DeliverToMailboxActionProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6908
7129
|
deliver_to_q_business: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnMailManagerRuleSet.DeliverToQBusinessActionProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6909
7130
|
drop: typing.Any = None,
|
|
7131
|
+
publish_to_sns: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnMailManagerRuleSet.SnsActionProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6910
7132
|
relay: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnMailManagerRuleSet.RelayActionProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6911
7133
|
replace_recipient: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnMailManagerRuleSet.ReplaceRecipientActionProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6912
7134
|
send: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnMailManagerRuleSet.SendActionProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -6923,6 +7145,7 @@ class CfnMailManagerRuleSet(
|
|
|
6923
7145
|
:param deliver_to_mailbox: This action delivers an email to a WorkMail mailbox.
|
|
6924
7146
|
:param deliver_to_q_business: This action delivers an email to an Amazon Q Business application for ingestion into its knowledge base.
|
|
6925
7147
|
:param drop: This action terminates the evaluation of rules in the rule set.
|
|
7148
|
+
:param publish_to_sns:
|
|
6926
7149
|
:param relay: This action relays the email to another SMTP server.
|
|
6927
7150
|
:param replace_recipient: The action replaces certain or all recipients with a different set of recipients.
|
|
6928
7151
|
:param send: This action sends the email to the internet.
|
|
@@ -6966,6 +7189,15 @@ class CfnMailManagerRuleSet(
|
|
|
6966
7189
|
action_failure_policy="actionFailurePolicy"
|
|
6967
7190
|
),
|
|
6968
7191
|
drop=drop,
|
|
7192
|
+
publish_to_sns=ses.CfnMailManagerRuleSet.SnsActionProperty(
|
|
7193
|
+
role_arn="roleArn",
|
|
7194
|
+
topic_arn="topicArn",
|
|
7195
|
+
|
|
7196
|
+
# the properties below are optional
|
|
7197
|
+
action_failure_policy="actionFailurePolicy",
|
|
7198
|
+
encoding="encoding",
|
|
7199
|
+
payload_type="payloadType"
|
|
7200
|
+
),
|
|
6969
7201
|
relay=ses.CfnMailManagerRuleSet.RelayActionProperty(
|
|
6970
7202
|
relay="relay",
|
|
6971
7203
|
|
|
@@ -7000,6 +7232,7 @@ class CfnMailManagerRuleSet(
|
|
|
7000
7232
|
check_type(argname="argument deliver_to_mailbox", value=deliver_to_mailbox, expected_type=type_hints["deliver_to_mailbox"])
|
|
7001
7233
|
check_type(argname="argument deliver_to_q_business", value=deliver_to_q_business, expected_type=type_hints["deliver_to_q_business"])
|
|
7002
7234
|
check_type(argname="argument drop", value=drop, expected_type=type_hints["drop"])
|
|
7235
|
+
check_type(argname="argument publish_to_sns", value=publish_to_sns, expected_type=type_hints["publish_to_sns"])
|
|
7003
7236
|
check_type(argname="argument relay", value=relay, expected_type=type_hints["relay"])
|
|
7004
7237
|
check_type(argname="argument replace_recipient", value=replace_recipient, expected_type=type_hints["replace_recipient"])
|
|
7005
7238
|
check_type(argname="argument send", value=send, expected_type=type_hints["send"])
|
|
@@ -7015,6 +7248,8 @@ class CfnMailManagerRuleSet(
|
|
|
7015
7248
|
self._values["deliver_to_q_business"] = deliver_to_q_business
|
|
7016
7249
|
if drop is not None:
|
|
7017
7250
|
self._values["drop"] = drop
|
|
7251
|
+
if publish_to_sns is not None:
|
|
7252
|
+
self._values["publish_to_sns"] = publish_to_sns
|
|
7018
7253
|
if relay is not None:
|
|
7019
7254
|
self._values["relay"] = relay
|
|
7020
7255
|
if replace_recipient is not None:
|
|
@@ -7081,6 +7316,16 @@ class CfnMailManagerRuleSet(
|
|
|
7081
7316
|
result = self._values.get("drop")
|
|
7082
7317
|
return typing.cast(typing.Any, result)
|
|
7083
7318
|
|
|
7319
|
+
@builtins.property
|
|
7320
|
+
def publish_to_sns(
|
|
7321
|
+
self,
|
|
7322
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnMailManagerRuleSet.SnsActionProperty"]]:
|
|
7323
|
+
'''
|
|
7324
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-ruleaction.html#cfn-ses-mailmanagerruleset-ruleaction-publishtosns
|
|
7325
|
+
'''
|
|
7326
|
+
result = self._values.get("publish_to_sns")
|
|
7327
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnMailManagerRuleSet.SnsActionProperty"]], result)
|
|
7328
|
+
|
|
7084
7329
|
@builtins.property
|
|
7085
7330
|
def relay(
|
|
7086
7331
|
self,
|
|
@@ -7922,6 +8167,15 @@ class CfnMailManagerRuleSet(
|
|
|
7922
8167
|
action_failure_policy="actionFailurePolicy"
|
|
7923
8168
|
),
|
|
7924
8169
|
drop=drop,
|
|
8170
|
+
publish_to_sns=ses.CfnMailManagerRuleSet.SnsActionProperty(
|
|
8171
|
+
role_arn="roleArn",
|
|
8172
|
+
topic_arn="topicArn",
|
|
8173
|
+
|
|
8174
|
+
# the properties below are optional
|
|
8175
|
+
action_failure_policy="actionFailurePolicy",
|
|
8176
|
+
encoding="encoding",
|
|
8177
|
+
payload_type="payloadType"
|
|
8178
|
+
),
|
|
7925
8179
|
relay=ses.CfnMailManagerRuleSet.RelayActionProperty(
|
|
7926
8180
|
relay="relay",
|
|
7927
8181
|
|
|
@@ -8719,6 +8973,124 @@ class CfnMailManagerRuleSet(
|
|
|
8719
8973
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
8720
8974
|
)
|
|
8721
8975
|
|
|
8976
|
+
@jsii.data_type(
|
|
8977
|
+
jsii_type="aws-cdk-lib.aws_ses.CfnMailManagerRuleSet.SnsActionProperty",
|
|
8978
|
+
jsii_struct_bases=[],
|
|
8979
|
+
name_mapping={
|
|
8980
|
+
"role_arn": "roleArn",
|
|
8981
|
+
"topic_arn": "topicArn",
|
|
8982
|
+
"action_failure_policy": "actionFailurePolicy",
|
|
8983
|
+
"encoding": "encoding",
|
|
8984
|
+
"payload_type": "payloadType",
|
|
8985
|
+
},
|
|
8986
|
+
)
|
|
8987
|
+
class SnsActionProperty:
|
|
8988
|
+
def __init__(
|
|
8989
|
+
self,
|
|
8990
|
+
*,
|
|
8991
|
+
role_arn: builtins.str,
|
|
8992
|
+
topic_arn: builtins.str,
|
|
8993
|
+
action_failure_policy: typing.Optional[builtins.str] = None,
|
|
8994
|
+
encoding: typing.Optional[builtins.str] = None,
|
|
8995
|
+
payload_type: typing.Optional[builtins.str] = None,
|
|
8996
|
+
) -> None:
|
|
8997
|
+
'''
|
|
8998
|
+
:param role_arn:
|
|
8999
|
+
:param topic_arn:
|
|
9000
|
+
:param action_failure_policy:
|
|
9001
|
+
:param encoding:
|
|
9002
|
+
:param payload_type:
|
|
9003
|
+
|
|
9004
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-snsaction.html
|
|
9005
|
+
:exampleMetadata: fixture=_generated
|
|
9006
|
+
|
|
9007
|
+
Example::
|
|
9008
|
+
|
|
9009
|
+
# The code below shows an example of how to instantiate this type.
|
|
9010
|
+
# The values are placeholders you should change.
|
|
9011
|
+
from aws_cdk import aws_ses as ses
|
|
9012
|
+
|
|
9013
|
+
sns_action_property = ses.CfnMailManagerRuleSet.SnsActionProperty(
|
|
9014
|
+
role_arn="roleArn",
|
|
9015
|
+
topic_arn="topicArn",
|
|
9016
|
+
|
|
9017
|
+
# the properties below are optional
|
|
9018
|
+
action_failure_policy="actionFailurePolicy",
|
|
9019
|
+
encoding="encoding",
|
|
9020
|
+
payload_type="payloadType"
|
|
9021
|
+
)
|
|
9022
|
+
'''
|
|
9023
|
+
if __debug__:
|
|
9024
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c1dba6e94fdb5a871528ffcc897120b50f8c7998718a851aaed472055a2a05a6)
|
|
9025
|
+
check_type(argname="argument role_arn", value=role_arn, expected_type=type_hints["role_arn"])
|
|
9026
|
+
check_type(argname="argument topic_arn", value=topic_arn, expected_type=type_hints["topic_arn"])
|
|
9027
|
+
check_type(argname="argument action_failure_policy", value=action_failure_policy, expected_type=type_hints["action_failure_policy"])
|
|
9028
|
+
check_type(argname="argument encoding", value=encoding, expected_type=type_hints["encoding"])
|
|
9029
|
+
check_type(argname="argument payload_type", value=payload_type, expected_type=type_hints["payload_type"])
|
|
9030
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
9031
|
+
"role_arn": role_arn,
|
|
9032
|
+
"topic_arn": topic_arn,
|
|
9033
|
+
}
|
|
9034
|
+
if action_failure_policy is not None:
|
|
9035
|
+
self._values["action_failure_policy"] = action_failure_policy
|
|
9036
|
+
if encoding is not None:
|
|
9037
|
+
self._values["encoding"] = encoding
|
|
9038
|
+
if payload_type is not None:
|
|
9039
|
+
self._values["payload_type"] = payload_type
|
|
9040
|
+
|
|
9041
|
+
@builtins.property
|
|
9042
|
+
def role_arn(self) -> builtins.str:
|
|
9043
|
+
'''
|
|
9044
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-snsaction.html#cfn-ses-mailmanagerruleset-snsaction-rolearn
|
|
9045
|
+
'''
|
|
9046
|
+
result = self._values.get("role_arn")
|
|
9047
|
+
assert result is not None, "Required property 'role_arn' is missing"
|
|
9048
|
+
return typing.cast(builtins.str, result)
|
|
9049
|
+
|
|
9050
|
+
@builtins.property
|
|
9051
|
+
def topic_arn(self) -> builtins.str:
|
|
9052
|
+
'''
|
|
9053
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-snsaction.html#cfn-ses-mailmanagerruleset-snsaction-topicarn
|
|
9054
|
+
'''
|
|
9055
|
+
result = self._values.get("topic_arn")
|
|
9056
|
+
assert result is not None, "Required property 'topic_arn' is missing"
|
|
9057
|
+
return typing.cast(builtins.str, result)
|
|
9058
|
+
|
|
9059
|
+
@builtins.property
|
|
9060
|
+
def action_failure_policy(self) -> typing.Optional[builtins.str]:
|
|
9061
|
+
'''
|
|
9062
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-snsaction.html#cfn-ses-mailmanagerruleset-snsaction-actionfailurepolicy
|
|
9063
|
+
'''
|
|
9064
|
+
result = self._values.get("action_failure_policy")
|
|
9065
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
9066
|
+
|
|
9067
|
+
@builtins.property
|
|
9068
|
+
def encoding(self) -> typing.Optional[builtins.str]:
|
|
9069
|
+
'''
|
|
9070
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-snsaction.html#cfn-ses-mailmanagerruleset-snsaction-encoding
|
|
9071
|
+
'''
|
|
9072
|
+
result = self._values.get("encoding")
|
|
9073
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
9074
|
+
|
|
9075
|
+
@builtins.property
|
|
9076
|
+
def payload_type(self) -> typing.Optional[builtins.str]:
|
|
9077
|
+
'''
|
|
9078
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-snsaction.html#cfn-ses-mailmanagerruleset-snsaction-payloadtype
|
|
9079
|
+
'''
|
|
9080
|
+
result = self._values.get("payload_type")
|
|
9081
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
9082
|
+
|
|
9083
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
9084
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
9085
|
+
|
|
9086
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
9087
|
+
return not (rhs == self)
|
|
9088
|
+
|
|
9089
|
+
def __repr__(self) -> str:
|
|
9090
|
+
return "SnsActionProperty(%s)" % ", ".join(
|
|
9091
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
9092
|
+
)
|
|
9093
|
+
|
|
8722
9094
|
|
|
8723
9095
|
@jsii.data_type(
|
|
8724
9096
|
jsii_type="aws-cdk-lib.aws_ses.CfnMailManagerRuleSetProps",
|
|
@@ -8779,6 +9151,15 @@ class CfnMailManagerRuleSetProps:
|
|
|
8779
9151
|
action_failure_policy="actionFailurePolicy"
|
|
8780
9152
|
),
|
|
8781
9153
|
drop=drop,
|
|
9154
|
+
publish_to_sns=ses.CfnMailManagerRuleSet.SnsActionProperty(
|
|
9155
|
+
role_arn="roleArn",
|
|
9156
|
+
topic_arn="topicArn",
|
|
9157
|
+
|
|
9158
|
+
# the properties below are optional
|
|
9159
|
+
action_failure_policy="actionFailurePolicy",
|
|
9160
|
+
encoding="encoding",
|
|
9161
|
+
payload_type="payloadType"
|
|
9162
|
+
),
|
|
8782
9163
|
relay=ses.CfnMailManagerRuleSet.RelayActionProperty(
|
|
8783
9164
|
relay="relay",
|
|
8784
9165
|
|
|
@@ -17636,6 +18017,8 @@ __all__ = [
|
|
|
17636
18017
|
"CfnMailManagerAddonInstanceProps",
|
|
17637
18018
|
"CfnMailManagerAddonSubscription",
|
|
17638
18019
|
"CfnMailManagerAddonSubscriptionProps",
|
|
18020
|
+
"CfnMailManagerAddressList",
|
|
18021
|
+
"CfnMailManagerAddressListProps",
|
|
17639
18022
|
"CfnMailManagerArchive",
|
|
17640
18023
|
"CfnMailManagerArchiveProps",
|
|
17641
18024
|
"CfnMailManagerIngressPoint",
|
|
@@ -18297,6 +18680,48 @@ def _typecheckingstub__60d068c00268064de7df238df2dd073326a0cbc422fee4d79433b91b5
|
|
|
18297
18680
|
"""Type checking stubs"""
|
|
18298
18681
|
pass
|
|
18299
18682
|
|
|
18683
|
+
def _typecheckingstub__6a8a172d98fe048a3419d1b92dcaf2e59e8461e9b0baf073f812b3916bcd4974(
|
|
18684
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
18685
|
+
id: builtins.str,
|
|
18686
|
+
*,
|
|
18687
|
+
address_list_name: typing.Optional[builtins.str] = None,
|
|
18688
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
18689
|
+
) -> None:
|
|
18690
|
+
"""Type checking stubs"""
|
|
18691
|
+
pass
|
|
18692
|
+
|
|
18693
|
+
def _typecheckingstub__4f6a8901ab278ee698ce069b658195d6cc144f36006c6c634fd9c8598d24d83d(
|
|
18694
|
+
inspector: _TreeInspector_488e0dd5,
|
|
18695
|
+
) -> None:
|
|
18696
|
+
"""Type checking stubs"""
|
|
18697
|
+
pass
|
|
18698
|
+
|
|
18699
|
+
def _typecheckingstub__5a2a230c58a2c2b4b62e185b88fe729ffbc699c86e17f9fe3d25e95ae19ea40b(
|
|
18700
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
18701
|
+
) -> None:
|
|
18702
|
+
"""Type checking stubs"""
|
|
18703
|
+
pass
|
|
18704
|
+
|
|
18705
|
+
def _typecheckingstub__53d1505dab469f39095f9e22ba4d8bdae2405adbe8d8d641e4d4a1abbf6b3770(
|
|
18706
|
+
value: typing.Optional[builtins.str],
|
|
18707
|
+
) -> None:
|
|
18708
|
+
"""Type checking stubs"""
|
|
18709
|
+
pass
|
|
18710
|
+
|
|
18711
|
+
def _typecheckingstub__f941c234d4973425d4ac187f87f54965bfdb82848d3fcf93664acc11143c1068(
|
|
18712
|
+
value: typing.Optional[typing.List[_CfnTag_f6864754]],
|
|
18713
|
+
) -> None:
|
|
18714
|
+
"""Type checking stubs"""
|
|
18715
|
+
pass
|
|
18716
|
+
|
|
18717
|
+
def _typecheckingstub__ec45e85ebcc385f7d054df8a6b207754f0fa06560d7270f49432e2594f0626f9(
|
|
18718
|
+
*,
|
|
18719
|
+
address_list_name: typing.Optional[builtins.str] = None,
|
|
18720
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
18721
|
+
) -> None:
|
|
18722
|
+
"""Type checking stubs"""
|
|
18723
|
+
pass
|
|
18724
|
+
|
|
18300
18725
|
def _typecheckingstub__22dd3c6f42e37a1d2959a6aa4871e671e1737ebb4110933d8bfa22c2c7f5d626(
|
|
18301
18726
|
scope: _constructs_77d1e7e8.Construct,
|
|
18302
18727
|
id: builtins.str,
|
|
@@ -18663,6 +19088,7 @@ def _typecheckingstub__305f0be9d67c9da493953a4770d737df26a1af8dedfd249fd91350062
|
|
|
18663
19088
|
deliver_to_mailbox: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnMailManagerRuleSet.DeliverToMailboxActionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
18664
19089
|
deliver_to_q_business: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnMailManagerRuleSet.DeliverToQBusinessActionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
18665
19090
|
drop: typing.Any = None,
|
|
19091
|
+
publish_to_sns: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnMailManagerRuleSet.SnsActionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
18666
19092
|
relay: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnMailManagerRuleSet.RelayActionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
18667
19093
|
replace_recipient: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnMailManagerRuleSet.ReplaceRecipientActionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
18668
19094
|
send: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnMailManagerRuleSet.SendActionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -18803,6 +19229,17 @@ def _typecheckingstub__55318dc538596167d3b14e3c3844f14a00b3cbe799ecfea26bbb89d52
|
|
|
18803
19229
|
"""Type checking stubs"""
|
|
18804
19230
|
pass
|
|
18805
19231
|
|
|
19232
|
+
def _typecheckingstub__c1dba6e94fdb5a871528ffcc897120b50f8c7998718a851aaed472055a2a05a6(
|
|
19233
|
+
*,
|
|
19234
|
+
role_arn: builtins.str,
|
|
19235
|
+
topic_arn: builtins.str,
|
|
19236
|
+
action_failure_policy: typing.Optional[builtins.str] = None,
|
|
19237
|
+
encoding: typing.Optional[builtins.str] = None,
|
|
19238
|
+
payload_type: typing.Optional[builtins.str] = None,
|
|
19239
|
+
) -> None:
|
|
19240
|
+
"""Type checking stubs"""
|
|
19241
|
+
pass
|
|
19242
|
+
|
|
18806
19243
|
def _typecheckingstub__9120678c5e64c2879e05de88594491cf3cdaac302d42183fc9f8d7289a9725cf(
|
|
18807
19244
|
*,
|
|
18808
19245
|
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")
|