aws-cdk-lib 2.173.4__py3-none-any.whl → 2.174.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of aws-cdk-lib might be problematic. Click here for more details.
- aws_cdk/__init__.py +210 -181
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.173.4.jsii.tgz → aws-cdk-lib@2.174.1.jsii.tgz} +0 -0
- aws_cdk/aws_amazonmq/__init__.py +18 -0
- aws_cdk/aws_apigateway/__init__.py +127 -168
- aws_cdk/aws_appconfig/__init__.py +498 -1
- aws_cdk/aws_applicationautoscaling/__init__.py +4 -1
- aws_cdk/aws_appsync/__init__.py +4 -0
- aws_cdk/aws_autoscaling/__init__.py +96 -0
- aws_cdk/aws_batch/__init__.py +662 -237
- aws_cdk/aws_bedrock/__init__.py +2122 -181
- aws_cdk/aws_cassandra/__init__.py +476 -4
- aws_cdk/aws_cleanrooms/__init__.py +1227 -20
- aws_cdk/aws_cloudformation/__init__.py +172 -169
- aws_cdk/aws_cloudfront/__init__.py +773 -26
- aws_cdk/aws_cloudtrail/__init__.py +8 -2
- aws_cdk/aws_codebuild/__init__.py +83 -0
- aws_cdk/aws_codepipeline/__init__.py +2 -1
- aws_cdk/aws_cognito/__init__.py +232 -200
- aws_cdk/aws_connect/__init__.py +187 -36
- aws_cdk/aws_connectcampaignsv2/__init__.py +106 -12
- aws_cdk/aws_databrew/__init__.py +69 -1
- aws_cdk/aws_datasync/__init__.py +33 -28
- aws_cdk/aws_datazone/__init__.py +141 -41
- aws_cdk/aws_dlm/__init__.py +20 -10
- aws_cdk/aws_dms/__init__.py +736 -22
- aws_cdk/aws_docdb/__init__.py +134 -0
- aws_cdk/aws_dynamodb/__init__.py +76 -4
- aws_cdk/aws_ec2/__init__.py +1233 -65
- aws_cdk/aws_ecr/__init__.py +31 -0
- aws_cdk/aws_ecr_assets/__init__.py +5 -0
- aws_cdk/aws_ecs/__init__.py +88 -11
- aws_cdk/aws_efs/__init__.py +15 -8
- aws_cdk/aws_eks/__init__.py +114 -45
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +2 -2
- aws_cdk/aws_emrserverless/__init__.py +143 -0
- aws_cdk/aws_events/__init__.py +50 -30
- aws_cdk/aws_fis/__init__.py +33 -33
- aws_cdk/aws_fsx/__init__.py +20 -10
- aws_cdk/aws_glue/__init__.py +34 -11
- aws_cdk/aws_greengrass/__init__.py +8 -8
- aws_cdk/aws_guardduty/__init__.py +1 -1
- aws_cdk/aws_imagebuilder/__init__.py +45 -47
- aws_cdk/aws_internetmonitor/__init__.py +3 -3
- aws_cdk/aws_invoicing/__init__.py +55 -30
- aws_cdk/aws_iot/__init__.py +1117 -4
- aws_cdk/aws_iot1click/__init__.py +17 -7
- aws_cdk/aws_kendra/__init__.py +4 -6
- aws_cdk/aws_lambda/__init__.py +15 -1
- aws_cdk/aws_logs/__init__.py +4011 -86
- aws_cdk/aws_m2/__init__.py +41 -0
- aws_cdk/aws_mediaconnect/__init__.py +202 -7
- aws_cdk/aws_mediaconvert/__init__.py +39 -0
- aws_cdk/aws_memorydb/__init__.py +22 -22
- aws_cdk/aws_networkmanager/__init__.py +758 -0
- aws_cdk/aws_opensearchservice/__init__.py +222 -0
- aws_cdk/aws_organizations/__init__.py +5 -3
- aws_cdk/aws_pcs/__init__.py +3038 -0
- aws_cdk/aws_pipes/__init__.py +10 -10
- aws_cdk/aws_qbusiness/__init__.py +415 -140
- aws_cdk/aws_quicksight/__init__.py +59795 -49748
- aws_cdk/aws_ram/__init__.py +5 -11
- aws_cdk/aws_rbin/__init__.py +28 -16
- aws_cdk/aws_rds/__init__.py +186 -31
- aws_cdk/aws_redshiftserverless/__init__.py +156 -0
- aws_cdk/aws_resiliencehub/__init__.py +2 -1
- aws_cdk/aws_route53_targets/__init__.py +5 -5
- aws_cdk/aws_s3/__init__.py +25 -15
- aws_cdk/aws_s3express/__init__.py +7 -7
- aws_cdk/aws_s3tables/__init__.py +683 -0
- aws_cdk/aws_sagemaker/__init__.py +580 -195
- aws_cdk/aws_secretsmanager/__init__.py +2 -0
- aws_cdk/aws_securityhub/__init__.py +41 -165
- aws_cdk/aws_servicediscovery/__init__.py +10 -3
- aws_cdk/aws_ses/__init__.py +190 -5
- aws_cdk/aws_sns/__init__.py +7 -3
- aws_cdk/aws_synthetics/__init__.py +29 -4
- aws_cdk/aws_transfer/__init__.py +8 -0
- aws_cdk/aws_vpclattice/__init__.py +147 -77
- aws_cdk/aws_wafv2/__init__.py +20 -8
- aws_cdk/aws_wisdom/__init__.py +162 -111
- aws_cdk/aws_workspaces/__init__.py +10 -4
- aws_cdk/cloud_assembly_schema/__init__.py +22 -0
- aws_cdk/custom_resources/__init__.py +31 -0
- aws_cdk/cx_api/__init__.py +19 -0
- {aws_cdk_lib-2.173.4.dist-info → aws_cdk_lib-2.174.1.dist-info}/LICENSE +1 -1
- {aws_cdk_lib-2.173.4.dist-info → aws_cdk_lib-2.174.1.dist-info}/METADATA +2 -2
- {aws_cdk_lib-2.173.4.dist-info → aws_cdk_lib-2.174.1.dist-info}/NOTICE +1 -1
- {aws_cdk_lib-2.173.4.dist-info → aws_cdk_lib-2.174.1.dist-info}/RECORD +91 -89
- {aws_cdk_lib-2.173.4.dist-info → aws_cdk_lib-2.174.1.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.173.4.dist-info → aws_cdk_lib-2.174.1.dist-info}/top_level.txt +0 -0
aws_cdk/aws_ses/__init__.py
CHANGED
|
@@ -5677,6 +5677,14 @@ class CfnMailManagerRuleSet(
|
|
|
5677
5677
|
# the properties below are optional
|
|
5678
5678
|
action_failure_policy="actionFailurePolicy"
|
|
5679
5679
|
),
|
|
5680
|
+
deliver_to_qBusiness=ses.CfnMailManagerRuleSet.DeliverToQBusinessActionProperty(
|
|
5681
|
+
application_id="applicationId",
|
|
5682
|
+
index_id="indexId",
|
|
5683
|
+
role_arn="roleArn",
|
|
5684
|
+
|
|
5685
|
+
# the properties below are optional
|
|
5686
|
+
action_failure_policy="actionFailurePolicy"
|
|
5687
|
+
),
|
|
5680
5688
|
drop=drop,
|
|
5681
5689
|
relay=ses.CfnMailManagerRuleSet.RelayActionProperty(
|
|
5682
5690
|
relay="relay",
|
|
@@ -6259,6 +6267,118 @@ class CfnMailManagerRuleSet(
|
|
|
6259
6267
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
6260
6268
|
)
|
|
6261
6269
|
|
|
6270
|
+
@jsii.data_type(
|
|
6271
|
+
jsii_type="aws-cdk-lib.aws_ses.CfnMailManagerRuleSet.DeliverToQBusinessActionProperty",
|
|
6272
|
+
jsii_struct_bases=[],
|
|
6273
|
+
name_mapping={
|
|
6274
|
+
"application_id": "applicationId",
|
|
6275
|
+
"index_id": "indexId",
|
|
6276
|
+
"role_arn": "roleArn",
|
|
6277
|
+
"action_failure_policy": "actionFailurePolicy",
|
|
6278
|
+
},
|
|
6279
|
+
)
|
|
6280
|
+
class DeliverToQBusinessActionProperty:
|
|
6281
|
+
def __init__(
|
|
6282
|
+
self,
|
|
6283
|
+
*,
|
|
6284
|
+
application_id: builtins.str,
|
|
6285
|
+
index_id: builtins.str,
|
|
6286
|
+
role_arn: builtins.str,
|
|
6287
|
+
action_failure_policy: typing.Optional[builtins.str] = None,
|
|
6288
|
+
) -> None:
|
|
6289
|
+
'''The action to deliver incoming emails to an Amazon Q Business application for indexing.
|
|
6290
|
+
|
|
6291
|
+
:param application_id: The unique identifier of the Amazon Q Business application instance where the email content will be delivered.
|
|
6292
|
+
:param index_id: The identifier of the knowledge base index within the Amazon Q Business application where the email content will be stored and indexed.
|
|
6293
|
+
:param role_arn: The Amazon Resource Name (ARN) of the IAM Role to use while delivering to Amazon Q Business. This role must have access to the qbusiness:BatchPutDocument API for the given application and index.
|
|
6294
|
+
:param action_failure_policy: A policy that states what to do in the case of failure. The action will fail if there are configuration errors. For example, the specified application has been deleted or the role lacks necessary permissions to call the qbusiness:BatchPutDocument API.
|
|
6295
|
+
|
|
6296
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-delivertoqbusinessaction.html
|
|
6297
|
+
:exampleMetadata: fixture=_generated
|
|
6298
|
+
|
|
6299
|
+
Example::
|
|
6300
|
+
|
|
6301
|
+
# The code below shows an example of how to instantiate this type.
|
|
6302
|
+
# The values are placeholders you should change.
|
|
6303
|
+
from aws_cdk import aws_ses as ses
|
|
6304
|
+
|
|
6305
|
+
deliver_to_qBusiness_action_property = ses.CfnMailManagerRuleSet.DeliverToQBusinessActionProperty(
|
|
6306
|
+
application_id="applicationId",
|
|
6307
|
+
index_id="indexId",
|
|
6308
|
+
role_arn="roleArn",
|
|
6309
|
+
|
|
6310
|
+
# the properties below are optional
|
|
6311
|
+
action_failure_policy="actionFailurePolicy"
|
|
6312
|
+
)
|
|
6313
|
+
'''
|
|
6314
|
+
if __debug__:
|
|
6315
|
+
type_hints = typing.get_type_hints(_typecheckingstub__9bd73a70e10ea34690bce68c862abcfb0eb828f9546668bcdea3ffbc529c95c9)
|
|
6316
|
+
check_type(argname="argument application_id", value=application_id, expected_type=type_hints["application_id"])
|
|
6317
|
+
check_type(argname="argument index_id", value=index_id, expected_type=type_hints["index_id"])
|
|
6318
|
+
check_type(argname="argument role_arn", value=role_arn, expected_type=type_hints["role_arn"])
|
|
6319
|
+
check_type(argname="argument action_failure_policy", value=action_failure_policy, expected_type=type_hints["action_failure_policy"])
|
|
6320
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
6321
|
+
"application_id": application_id,
|
|
6322
|
+
"index_id": index_id,
|
|
6323
|
+
"role_arn": role_arn,
|
|
6324
|
+
}
|
|
6325
|
+
if action_failure_policy is not None:
|
|
6326
|
+
self._values["action_failure_policy"] = action_failure_policy
|
|
6327
|
+
|
|
6328
|
+
@builtins.property
|
|
6329
|
+
def application_id(self) -> builtins.str:
|
|
6330
|
+
'''The unique identifier of the Amazon Q Business application instance where the email content will be delivered.
|
|
6331
|
+
|
|
6332
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-delivertoqbusinessaction.html#cfn-ses-mailmanagerruleset-delivertoqbusinessaction-applicationid
|
|
6333
|
+
'''
|
|
6334
|
+
result = self._values.get("application_id")
|
|
6335
|
+
assert result is not None, "Required property 'application_id' is missing"
|
|
6336
|
+
return typing.cast(builtins.str, result)
|
|
6337
|
+
|
|
6338
|
+
@builtins.property
|
|
6339
|
+
def index_id(self) -> builtins.str:
|
|
6340
|
+
'''The identifier of the knowledge base index within the Amazon Q Business application where the email content will be stored and indexed.
|
|
6341
|
+
|
|
6342
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-delivertoqbusinessaction.html#cfn-ses-mailmanagerruleset-delivertoqbusinessaction-indexid
|
|
6343
|
+
'''
|
|
6344
|
+
result = self._values.get("index_id")
|
|
6345
|
+
assert result is not None, "Required property 'index_id' is missing"
|
|
6346
|
+
return typing.cast(builtins.str, result)
|
|
6347
|
+
|
|
6348
|
+
@builtins.property
|
|
6349
|
+
def role_arn(self) -> builtins.str:
|
|
6350
|
+
'''The Amazon Resource Name (ARN) of the IAM Role to use while delivering to Amazon Q Business.
|
|
6351
|
+
|
|
6352
|
+
This role must have access to the qbusiness:BatchPutDocument API for the given application and index.
|
|
6353
|
+
|
|
6354
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-delivertoqbusinessaction.html#cfn-ses-mailmanagerruleset-delivertoqbusinessaction-rolearn
|
|
6355
|
+
'''
|
|
6356
|
+
result = self._values.get("role_arn")
|
|
6357
|
+
assert result is not None, "Required property 'role_arn' is missing"
|
|
6358
|
+
return typing.cast(builtins.str, result)
|
|
6359
|
+
|
|
6360
|
+
@builtins.property
|
|
6361
|
+
def action_failure_policy(self) -> typing.Optional[builtins.str]:
|
|
6362
|
+
'''A policy that states what to do in the case of failure.
|
|
6363
|
+
|
|
6364
|
+
The action will fail if there are configuration errors. For example, the specified application has been deleted or the role lacks necessary permissions to call the qbusiness:BatchPutDocument API.
|
|
6365
|
+
|
|
6366
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-delivertoqbusinessaction.html#cfn-ses-mailmanagerruleset-delivertoqbusinessaction-actionfailurepolicy
|
|
6367
|
+
'''
|
|
6368
|
+
result = self._values.get("action_failure_policy")
|
|
6369
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
6370
|
+
|
|
6371
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
6372
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
6373
|
+
|
|
6374
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
6375
|
+
return not (rhs == self)
|
|
6376
|
+
|
|
6377
|
+
def __repr__(self) -> str:
|
|
6378
|
+
return "DeliverToQBusinessActionProperty(%s)" % ", ".join(
|
|
6379
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
6380
|
+
)
|
|
6381
|
+
|
|
6262
6382
|
@jsii.data_type(
|
|
6263
6383
|
jsii_type="aws-cdk-lib.aws_ses.CfnMailManagerRuleSet.RelayActionProperty",
|
|
6264
6384
|
jsii_struct_bases=[],
|
|
@@ -6417,6 +6537,7 @@ class CfnMailManagerRuleSet(
|
|
|
6417
6537
|
"add_header": "addHeader",
|
|
6418
6538
|
"archive": "archive",
|
|
6419
6539
|
"deliver_to_mailbox": "deliverToMailbox",
|
|
6540
|
+
"deliver_to_q_business": "deliverToQBusiness",
|
|
6420
6541
|
"drop": "drop",
|
|
6421
6542
|
"relay": "relay",
|
|
6422
6543
|
"replace_recipient": "replaceRecipient",
|
|
@@ -6431,6 +6552,7 @@ class CfnMailManagerRuleSet(
|
|
|
6431
6552
|
add_header: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnMailManagerRuleSet.AddHeaderActionProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6432
6553
|
archive: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnMailManagerRuleSet.ArchiveActionProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6433
6554
|
deliver_to_mailbox: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnMailManagerRuleSet.DeliverToMailboxActionProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6555
|
+
deliver_to_q_business: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnMailManagerRuleSet.DeliverToQBusinessActionProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6434
6556
|
drop: typing.Any = None,
|
|
6435
6557
|
relay: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnMailManagerRuleSet.RelayActionProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6436
6558
|
replace_recipient: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnMailManagerRuleSet.ReplaceRecipientActionProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -6446,6 +6568,7 @@ class CfnMailManagerRuleSet(
|
|
|
6446
6568
|
:param add_header: This action adds a header. This can be used to add arbitrary email headers.
|
|
6447
6569
|
:param archive: This action archives the email. This can be used to deliver an email to an archive.
|
|
6448
6570
|
:param deliver_to_mailbox: This action delivers an email to a WorkMail mailbox.
|
|
6571
|
+
:param deliver_to_q_business: This action delivers an email to an Amazon Q Business application for ingestion into its knowledge base.
|
|
6449
6572
|
:param drop: This action terminates the evaluation of rules in the rule set.
|
|
6450
6573
|
:param relay: This action relays the email to another SMTP server.
|
|
6451
6574
|
:param replace_recipient: The action replaces certain or all recipients with a different set of recipients.
|
|
@@ -6481,6 +6604,14 @@ class CfnMailManagerRuleSet(
|
|
|
6481
6604
|
# the properties below are optional
|
|
6482
6605
|
action_failure_policy="actionFailurePolicy"
|
|
6483
6606
|
),
|
|
6607
|
+
deliver_to_qBusiness=ses.CfnMailManagerRuleSet.DeliverToQBusinessActionProperty(
|
|
6608
|
+
application_id="applicationId",
|
|
6609
|
+
index_id="indexId",
|
|
6610
|
+
role_arn="roleArn",
|
|
6611
|
+
|
|
6612
|
+
# the properties below are optional
|
|
6613
|
+
action_failure_policy="actionFailurePolicy"
|
|
6614
|
+
),
|
|
6484
6615
|
drop=drop,
|
|
6485
6616
|
relay=ses.CfnMailManagerRuleSet.RelayActionProperty(
|
|
6486
6617
|
relay="relay",
|
|
@@ -6514,6 +6645,7 @@ class CfnMailManagerRuleSet(
|
|
|
6514
6645
|
check_type(argname="argument add_header", value=add_header, expected_type=type_hints["add_header"])
|
|
6515
6646
|
check_type(argname="argument archive", value=archive, expected_type=type_hints["archive"])
|
|
6516
6647
|
check_type(argname="argument deliver_to_mailbox", value=deliver_to_mailbox, expected_type=type_hints["deliver_to_mailbox"])
|
|
6648
|
+
check_type(argname="argument deliver_to_q_business", value=deliver_to_q_business, expected_type=type_hints["deliver_to_q_business"])
|
|
6517
6649
|
check_type(argname="argument drop", value=drop, expected_type=type_hints["drop"])
|
|
6518
6650
|
check_type(argname="argument relay", value=relay, expected_type=type_hints["relay"])
|
|
6519
6651
|
check_type(argname="argument replace_recipient", value=replace_recipient, expected_type=type_hints["replace_recipient"])
|
|
@@ -6526,6 +6658,8 @@ class CfnMailManagerRuleSet(
|
|
|
6526
6658
|
self._values["archive"] = archive
|
|
6527
6659
|
if deliver_to_mailbox is not None:
|
|
6528
6660
|
self._values["deliver_to_mailbox"] = deliver_to_mailbox
|
|
6661
|
+
if deliver_to_q_business is not None:
|
|
6662
|
+
self._values["deliver_to_q_business"] = deliver_to_q_business
|
|
6529
6663
|
if drop is not None:
|
|
6530
6664
|
self._values["drop"] = drop
|
|
6531
6665
|
if relay is not None:
|
|
@@ -6574,6 +6708,17 @@ class CfnMailManagerRuleSet(
|
|
|
6574
6708
|
result = self._values.get("deliver_to_mailbox")
|
|
6575
6709
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnMailManagerRuleSet.DeliverToMailboxActionProperty"]], result)
|
|
6576
6710
|
|
|
6711
|
+
@builtins.property
|
|
6712
|
+
def deliver_to_q_business(
|
|
6713
|
+
self,
|
|
6714
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnMailManagerRuleSet.DeliverToQBusinessActionProperty"]]:
|
|
6715
|
+
'''This action delivers an email to an Amazon Q Business application for ingestion into its knowledge base.
|
|
6716
|
+
|
|
6717
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-ruleaction.html#cfn-ses-mailmanagerruleset-ruleaction-delivertoqbusiness
|
|
6718
|
+
'''
|
|
6719
|
+
result = self._values.get("deliver_to_q_business")
|
|
6720
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnMailManagerRuleSet.DeliverToQBusinessActionProperty"]], result)
|
|
6721
|
+
|
|
6577
6722
|
@builtins.property
|
|
6578
6723
|
def drop(self) -> typing.Any:
|
|
6579
6724
|
'''This action terminates the evaluation of rules in the rule set.
|
|
@@ -7380,6 +7525,14 @@ class CfnMailManagerRuleSet(
|
|
|
7380
7525
|
# the properties below are optional
|
|
7381
7526
|
action_failure_policy="actionFailurePolicy"
|
|
7382
7527
|
),
|
|
7528
|
+
deliver_to_qBusiness=ses.CfnMailManagerRuleSet.DeliverToQBusinessActionProperty(
|
|
7529
|
+
application_id="applicationId",
|
|
7530
|
+
index_id="indexId",
|
|
7531
|
+
role_arn="roleArn",
|
|
7532
|
+
|
|
7533
|
+
# the properties below are optional
|
|
7534
|
+
action_failure_policy="actionFailurePolicy"
|
|
7535
|
+
),
|
|
7383
7536
|
drop=drop,
|
|
7384
7537
|
relay=ses.CfnMailManagerRuleSet.RelayActionProperty(
|
|
7385
7538
|
relay="relay",
|
|
@@ -8188,6 +8341,14 @@ class CfnMailManagerRuleSetProps:
|
|
|
8188
8341
|
# the properties below are optional
|
|
8189
8342
|
action_failure_policy="actionFailurePolicy"
|
|
8190
8343
|
),
|
|
8344
|
+
deliver_to_qBusiness=ses.CfnMailManagerRuleSet.DeliverToQBusinessActionProperty(
|
|
8345
|
+
application_id="applicationId",
|
|
8346
|
+
index_id="indexId",
|
|
8347
|
+
role_arn="roleArn",
|
|
8348
|
+
|
|
8349
|
+
# the properties below are optional
|
|
8350
|
+
action_failure_policy="actionFailurePolicy"
|
|
8351
|
+
),
|
|
8191
8352
|
drop=drop,
|
|
8192
8353
|
relay=ses.CfnMailManagerRuleSet.RelayActionProperty(
|
|
8193
8354
|
relay="relay",
|
|
@@ -10656,9 +10817,16 @@ class CfnReceiptRule(
|
|
|
10656
10817
|
iam_role_arn: builtins.str,
|
|
10657
10818
|
instance_arn: builtins.str,
|
|
10658
10819
|
) -> None:
|
|
10659
|
-
'''
|
|
10660
|
-
|
|
10661
|
-
|
|
10820
|
+
'''When included in a receipt rule, this action parses the received message and starts an email contact in Amazon Connect on your behalf.
|
|
10821
|
+
|
|
10822
|
+
.. epigraph::
|
|
10823
|
+
|
|
10824
|
+
When you receive emails, the maximum email size (including headers) is 40 MB. Additionally, emails may only have up to 10 attachments. Emails larger than 40 MB or with more than 10 attachments will be bounced.
|
|
10825
|
+
|
|
10826
|
+
We recommend that you configure this action via Amazon Connect.
|
|
10827
|
+
|
|
10828
|
+
:param iam_role_arn: The Amazon Resource Name (ARN) of the IAM role to be used by Amazon Simple Email Service while starting email contacts to the Amazon Connect instance. This role should have permission to invoke ``connect:StartEmailContact`` for the given Amazon Connect instance.
|
|
10829
|
+
:param instance_arn: The Amazon Resource Name (ARN) for the Amazon Connect instance that Amazon SES integrates with for starting email contacts. For more information about Amazon Connect instances, see the `Amazon Connect Administrator Guide <https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-instances.html>`_
|
|
10662
10830
|
|
|
10663
10831
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-connectaction.html
|
|
10664
10832
|
:exampleMetadata: fixture=_generated
|
|
@@ -10685,7 +10853,10 @@ class CfnReceiptRule(
|
|
|
10685
10853
|
|
|
10686
10854
|
@builtins.property
|
|
10687
10855
|
def iam_role_arn(self) -> builtins.str:
|
|
10688
|
-
'''
|
|
10856
|
+
'''The Amazon Resource Name (ARN) of the IAM role to be used by Amazon Simple Email Service while starting email contacts to the Amazon Connect instance.
|
|
10857
|
+
|
|
10858
|
+
This role should have permission to invoke ``connect:StartEmailContact`` for the given Amazon Connect instance.
|
|
10859
|
+
|
|
10689
10860
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-connectaction.html#cfn-ses-receiptrule-connectaction-iamrolearn
|
|
10690
10861
|
'''
|
|
10691
10862
|
result = self._values.get("iam_role_arn")
|
|
@@ -10694,7 +10865,10 @@ class CfnReceiptRule(
|
|
|
10694
10865
|
|
|
10695
10866
|
@builtins.property
|
|
10696
10867
|
def instance_arn(self) -> builtins.str:
|
|
10697
|
-
'''
|
|
10868
|
+
'''The Amazon Resource Name (ARN) for the Amazon Connect instance that Amazon SES integrates with for starting email contacts.
|
|
10869
|
+
|
|
10870
|
+
For more information about Amazon Connect instances, see the `Amazon Connect Administrator Guide <https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-instances.html>`_
|
|
10871
|
+
|
|
10698
10872
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-connectaction.html#cfn-ses-receiptrule-connectaction-instancearn
|
|
10699
10873
|
'''
|
|
10700
10874
|
result = self._values.get("instance_arn")
|
|
@@ -17490,6 +17664,16 @@ def _typecheckingstub__f83f79033a3d3e41cc283500ac0cae687aff7a85f60f1ed286d539e65
|
|
|
17490
17664
|
"""Type checking stubs"""
|
|
17491
17665
|
pass
|
|
17492
17666
|
|
|
17667
|
+
def _typecheckingstub__9bd73a70e10ea34690bce68c862abcfb0eb828f9546668bcdea3ffbc529c95c9(
|
|
17668
|
+
*,
|
|
17669
|
+
application_id: builtins.str,
|
|
17670
|
+
index_id: builtins.str,
|
|
17671
|
+
role_arn: builtins.str,
|
|
17672
|
+
action_failure_policy: typing.Optional[builtins.str] = None,
|
|
17673
|
+
) -> None:
|
|
17674
|
+
"""Type checking stubs"""
|
|
17675
|
+
pass
|
|
17676
|
+
|
|
17493
17677
|
def _typecheckingstub__ee1b6c41bf7e9edfdf9ce8016febd1bcf8525a8b0d7c5da2fa7bd000d3076e77(
|
|
17494
17678
|
*,
|
|
17495
17679
|
relay: builtins.str,
|
|
@@ -17511,6 +17695,7 @@ def _typecheckingstub__305f0be9d67c9da493953a4770d737df26a1af8dedfd249fd91350062
|
|
|
17511
17695
|
add_header: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnMailManagerRuleSet.AddHeaderActionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
17512
17696
|
archive: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnMailManagerRuleSet.ArchiveActionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
17513
17697
|
deliver_to_mailbox: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnMailManagerRuleSet.DeliverToMailboxActionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
17698
|
+
deliver_to_q_business: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnMailManagerRuleSet.DeliverToQBusinessActionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
17514
17699
|
drop: typing.Any = None,
|
|
17515
17700
|
relay: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnMailManagerRuleSet.RelayActionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
17516
17701
|
replace_recipient: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnMailManagerRuleSet.ReplaceRecipientActionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
aws_cdk/aws_sns/__init__.py
CHANGED
|
@@ -605,7 +605,7 @@ class CfnSubscription(
|
|
|
605
605
|
:param delivery_policy: The delivery policy JSON assigned to the subscription. Enables the subscriber to define the message delivery retry strategy in the case of an HTTP/S endpoint subscribed to the topic. For more information, see ``[GetSubscriptionAttributes](https://docs.aws.amazon.com/sns/latest/api/API_GetSubscriptionAttributes.html)`` in the *Amazon SNS API Reference* and `Message delivery retries <https://docs.aws.amazon.com/sns/latest/dg/sns-message-delivery-retries.html>`_ in the *Amazon SNS Developer Guide* .
|
|
606
606
|
:param endpoint: The subscription's endpoint. The endpoint value depends on the protocol that you specify. For more information, see the ``Endpoint`` parameter of the ``[Subscribe](https://docs.aws.amazon.com/sns/latest/api/API_Subscribe.html)`` action in the *Amazon SNS API Reference* .
|
|
607
607
|
:param filter_policy: The filter policy JSON assigned to the subscription. Enables the subscriber to filter out unwanted messages. For more information, see ``[GetSubscriptionAttributes](https://docs.aws.amazon.com/sns/latest/api/API_GetSubscriptionAttributes.html)`` in the *Amazon SNS API Reference* and `Message filtering <https://docs.aws.amazon.com/sns/latest/dg/sns-message-filtering.html>`_ in the *Amazon SNS Developer Guide* .
|
|
608
|
-
:param filter_policy_scope: This attribute lets you choose the filtering scope by using one of the following string value types:. - ``MessageAttributes`` (default) - The filter is applied on the message attributes. - ``MessageBody`` - The filter is applied on the message body.
|
|
608
|
+
:param filter_policy_scope: This attribute lets you choose the filtering scope by using one of the following string value types:. - ``MessageAttributes`` (default) - The filter is applied on the message attributes. - ``MessageBody`` - The filter is applied on the message body. .. epigraph:: ``Null`` is not a valid value for ``FilterPolicyScope`` . To delete a filter policy, delete the ``FilterPolicy`` property but keep ``FilterPolicyScope`` property as is.
|
|
609
609
|
:param raw_message_delivery: When set to ``true`` , enables raw message delivery. Raw messages don't contain any JSON formatting and can be sent to Amazon SQS and HTTP/S endpoints. For more information, see ``[GetSubscriptionAttributes](https://docs.aws.amazon.com/sns/latest/api/API_GetSubscriptionAttributes.html)`` in the *Amazon SNS API Reference* .
|
|
610
610
|
:param redrive_policy: When specified, sends undeliverable messages to the specified Amazon SQS dead-letter queue. Messages that can't be delivered due to client errors (for example, when the subscribed endpoint is unreachable) or server errors (for example, when the service that powers the subscribed endpoint becomes unavailable) are held in the dead-letter queue for further analysis or reprocessing. For more information about the redrive policy and dead-letter queues, see `Amazon SQS dead-letter queues <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-dead-letter-queues.html>`_ in the *Amazon SQS Developer Guide* .
|
|
611
611
|
:param region: For cross-region subscriptions, the region in which the topic resides. If no region is specified, AWS CloudFormation uses the region of the caller as the default. If you perform an update operation that only updates the ``Region`` property of a ``AWS::SNS::Subscription`` resource, that operation will fail unless you are either: - Updating the ``Region`` from ``NULL`` to the caller region. - Updating the ``Region`` from the caller region to ``NULL`` .
|
|
@@ -665,7 +665,7 @@ class CfnSubscription(
|
|
|
665
665
|
@builtins.property
|
|
666
666
|
@jsii.member(jsii_name="attrArn")
|
|
667
667
|
def attr_arn(self) -> builtins.str:
|
|
668
|
-
'''
|
|
668
|
+
'''Returns the ARN of the subscription created by the AWS::SNS::Subscription resource.
|
|
669
669
|
|
|
670
670
|
:cloudformationAttribute: Arn
|
|
671
671
|
'''
|
|
@@ -865,7 +865,7 @@ class CfnSubscriptionProps:
|
|
|
865
865
|
:param delivery_policy: The delivery policy JSON assigned to the subscription. Enables the subscriber to define the message delivery retry strategy in the case of an HTTP/S endpoint subscribed to the topic. For more information, see ``[GetSubscriptionAttributes](https://docs.aws.amazon.com/sns/latest/api/API_GetSubscriptionAttributes.html)`` in the *Amazon SNS API Reference* and `Message delivery retries <https://docs.aws.amazon.com/sns/latest/dg/sns-message-delivery-retries.html>`_ in the *Amazon SNS Developer Guide* .
|
|
866
866
|
:param endpoint: The subscription's endpoint. The endpoint value depends on the protocol that you specify. For more information, see the ``Endpoint`` parameter of the ``[Subscribe](https://docs.aws.amazon.com/sns/latest/api/API_Subscribe.html)`` action in the *Amazon SNS API Reference* .
|
|
867
867
|
:param filter_policy: The filter policy JSON assigned to the subscription. Enables the subscriber to filter out unwanted messages. For more information, see ``[GetSubscriptionAttributes](https://docs.aws.amazon.com/sns/latest/api/API_GetSubscriptionAttributes.html)`` in the *Amazon SNS API Reference* and `Message filtering <https://docs.aws.amazon.com/sns/latest/dg/sns-message-filtering.html>`_ in the *Amazon SNS Developer Guide* .
|
|
868
|
-
:param filter_policy_scope: This attribute lets you choose the filtering scope by using one of the following string value types:. - ``MessageAttributes`` (default) - The filter is applied on the message attributes. - ``MessageBody`` - The filter is applied on the message body.
|
|
868
|
+
:param filter_policy_scope: This attribute lets you choose the filtering scope by using one of the following string value types:. - ``MessageAttributes`` (default) - The filter is applied on the message attributes. - ``MessageBody`` - The filter is applied on the message body. .. epigraph:: ``Null`` is not a valid value for ``FilterPolicyScope`` . To delete a filter policy, delete the ``FilterPolicy`` property but keep ``FilterPolicyScope`` property as is.
|
|
869
869
|
:param raw_message_delivery: When set to ``true`` , enables raw message delivery. Raw messages don't contain any JSON formatting and can be sent to Amazon SQS and HTTP/S endpoints. For more information, see ``[GetSubscriptionAttributes](https://docs.aws.amazon.com/sns/latest/api/API_GetSubscriptionAttributes.html)`` in the *Amazon SNS API Reference* .
|
|
870
870
|
:param redrive_policy: When specified, sends undeliverable messages to the specified Amazon SQS dead-letter queue. Messages that can't be delivered due to client errors (for example, when the subscribed endpoint is unreachable) or server errors (for example, when the service that powers the subscribed endpoint becomes unavailable) are held in the dead-letter queue for further analysis or reprocessing. For more information about the redrive policy and dead-letter queues, see `Amazon SQS dead-letter queues <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-dead-letter-queues.html>`_ in the *Amazon SQS Developer Guide* .
|
|
871
871
|
:param region: For cross-region subscriptions, the region in which the topic resides. If no region is specified, AWS CloudFormation uses the region of the caller as the default. If you perform an update operation that only updates the ``Region`` property of a ``AWS::SNS::Subscription`` resource, that operation will fail unless you are either: - Updating the ``Region`` from ``NULL`` to the caller region. - Updating the ``Region`` from the caller region to ``NULL`` .
|
|
@@ -1000,6 +1000,10 @@ class CfnSubscriptionProps:
|
|
|
1000
1000
|
- ``MessageAttributes`` (default) - The filter is applied on the message attributes.
|
|
1001
1001
|
- ``MessageBody`` - The filter is applied on the message body.
|
|
1002
1002
|
|
|
1003
|
+
.. epigraph::
|
|
1004
|
+
|
|
1005
|
+
``Null`` is not a valid value for ``FilterPolicyScope`` . To delete a filter policy, delete the ``FilterPolicy`` property but keep ``FilterPolicyScope`` property as is.
|
|
1006
|
+
|
|
1003
1007
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-subscription.html#cfn-sns-subscription-filterpolicyscope
|
|
1004
1008
|
'''
|
|
1005
1009
|
result = self._values.get("filter_policy_scope")
|
|
@@ -1318,6 +1318,7 @@ class CfnCanary(
|
|
|
1318
1318
|
subnet_ids=["subnetIds"],
|
|
1319
1319
|
|
|
1320
1320
|
# the properties below are optional
|
|
1321
|
+
ipv6_allowed_for_dual_stack=False,
|
|
1321
1322
|
vpc_id="vpcId"
|
|
1322
1323
|
)
|
|
1323
1324
|
)
|
|
@@ -1357,12 +1358,12 @@ class CfnCanary(
|
|
|
1357
1358
|
:param schedule: A structure that contains information about how often the canary is to run, and when these runs are to stop.
|
|
1358
1359
|
:param artifact_config: A structure that contains the configuration for canary artifacts, including the encryption-at-rest settings for artifacts that the canary uploads to Amazon S3.
|
|
1359
1360
|
:param delete_lambda_resources_on_canary_deletion: (deprecated) Deletes associated lambda resources created by Synthetics if set to True. Default is False
|
|
1360
|
-
:param failure_retention_period: The number of days to retain data about failed runs of this canary. If you omit this field, the default of 31 days is used. The valid range is 1 to 455 days.
|
|
1361
|
+
:param failure_retention_period: The number of days to retain data about failed runs of this canary. If you omit this field, the default of 31 days is used. The valid range is 1 to 455 days. This setting affects the range of information returned by `GetCanaryRuns <https://docs.aws.amazon.com/AmazonSynthetics/latest/APIReference/API_GetCanaryRuns.html>`_ , as well as the range of information displayed in the Synthetics console.
|
|
1361
1362
|
:param provisioned_resource_cleanup: Specifies whether to also delete the Lambda functions and layers used by this canary when the canary is deleted. If it is ``AUTOMATIC`` , the Lambda functions and layers will be deleted when the canary is deleted. If the value of this parameter is ``OFF`` , then the value of the ``DeleteLambda`` parameter of the `DeleteCanary <https://docs.aws.amazon.com/AmazonSynthetics/latest/APIReference/API_DeleteCanary.html>`_ operation determines whether the Lambda functions and layers will be deleted.
|
|
1362
1363
|
:param resources_to_replicate_tags: To have the tags that you apply to this canary also be applied to the Lambda function that the canary uses, specify this property with the value ``lambda-function`` . If you do this, CloudWatch Synthetics will keep the tags of the canary and the Lambda function synchronized. Any future changes you make to the canary's tags will also be applied to the function.
|
|
1363
1364
|
:param run_config: A structure that contains input information for a canary run. If you omit this structure, the frequency of the canary is used as canary's timeout value, up to a maximum of 900 seconds.
|
|
1364
1365
|
:param start_canary_after_creation: Specify TRUE to have the canary start making runs immediately after it is created. A canary that you create using CloudFormation can't be used to monitor the CloudFormation stack that creates the canary or to roll back that stack if there is a failure.
|
|
1365
|
-
:param success_retention_period: The number of days to retain data about successful runs of this canary. If you omit this field, the default of 31 days is used. The valid range is 1 to 455 days.
|
|
1366
|
+
:param success_retention_period: The number of days to retain data about successful runs of this canary. If you omit this field, the default of 31 days is used. The valid range is 1 to 455 days. This setting affects the range of information returned by `GetCanaryRuns <https://docs.aws.amazon.com/AmazonSynthetics/latest/APIReference/API_GetCanaryRuns.html>`_ , as well as the range of information displayed in the Synthetics console.
|
|
1366
1367
|
:param tags: The list of key-value pairs that are associated with the canary.
|
|
1367
1368
|
:param visual_reference: If this canary performs visual monitoring by comparing screenshots, this structure contains the ID of the canary run to use as the baseline for screenshots, and the coordinates of any parts of the screen to ignore during the visual monitoring comparison.
|
|
1368
1369
|
:param vpc_config: If this canary is to test an endpoint in a VPC, this structure contains information about the subnet and security groups of the VPC endpoint. For more information, see `Running a Canary in a VPC <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_VPC.html>`_ .
|
|
@@ -2322,6 +2323,7 @@ class CfnCanary(
|
|
|
2322
2323
|
name_mapping={
|
|
2323
2324
|
"security_group_ids": "securityGroupIds",
|
|
2324
2325
|
"subnet_ids": "subnetIds",
|
|
2326
|
+
"ipv6_allowed_for_dual_stack": "ipv6AllowedForDualStack",
|
|
2325
2327
|
"vpc_id": "vpcId",
|
|
2326
2328
|
},
|
|
2327
2329
|
)
|
|
@@ -2331,6 +2333,7 @@ class CfnCanary(
|
|
|
2331
2333
|
*,
|
|
2332
2334
|
security_group_ids: typing.Sequence[builtins.str],
|
|
2333
2335
|
subnet_ids: typing.Sequence[builtins.str],
|
|
2336
|
+
ipv6_allowed_for_dual_stack: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
2334
2337
|
vpc_id: typing.Optional[builtins.str] = None,
|
|
2335
2338
|
) -> None:
|
|
2336
2339
|
'''If this canary is to test an endpoint in a VPC, this structure contains information about the subnet and security groups of the VPC endpoint.
|
|
@@ -2339,6 +2342,7 @@ class CfnCanary(
|
|
|
2339
2342
|
|
|
2340
2343
|
:param security_group_ids: The IDs of the security groups for this canary.
|
|
2341
2344
|
:param subnet_ids: The IDs of the subnets where this canary is to run.
|
|
2345
|
+
:param ipv6_allowed_for_dual_stack: Allow outbound IPv6 traffic on VPC canaries that are connected to dual-stack subnets if set to true.
|
|
2342
2346
|
:param vpc_id: The ID of the VPC where this canary is to run.
|
|
2343
2347
|
|
|
2344
2348
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-synthetics-canary-vpcconfig.html
|
|
@@ -2355,6 +2359,7 @@ class CfnCanary(
|
|
|
2355
2359
|
subnet_ids=["subnetIds"],
|
|
2356
2360
|
|
|
2357
2361
|
# the properties below are optional
|
|
2362
|
+
ipv6_allowed_for_dual_stack=False,
|
|
2358
2363
|
vpc_id="vpcId"
|
|
2359
2364
|
)
|
|
2360
2365
|
'''
|
|
@@ -2362,11 +2367,14 @@ class CfnCanary(
|
|
|
2362
2367
|
type_hints = typing.get_type_hints(_typecheckingstub__eccfde82eb2354e9c416fba506f2ff8e4fb1a86792529f65e2d8eafbc8415074)
|
|
2363
2368
|
check_type(argname="argument security_group_ids", value=security_group_ids, expected_type=type_hints["security_group_ids"])
|
|
2364
2369
|
check_type(argname="argument subnet_ids", value=subnet_ids, expected_type=type_hints["subnet_ids"])
|
|
2370
|
+
check_type(argname="argument ipv6_allowed_for_dual_stack", value=ipv6_allowed_for_dual_stack, expected_type=type_hints["ipv6_allowed_for_dual_stack"])
|
|
2365
2371
|
check_type(argname="argument vpc_id", value=vpc_id, expected_type=type_hints["vpc_id"])
|
|
2366
2372
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2367
2373
|
"security_group_ids": security_group_ids,
|
|
2368
2374
|
"subnet_ids": subnet_ids,
|
|
2369
2375
|
}
|
|
2376
|
+
if ipv6_allowed_for_dual_stack is not None:
|
|
2377
|
+
self._values["ipv6_allowed_for_dual_stack"] = ipv6_allowed_for_dual_stack
|
|
2370
2378
|
if vpc_id is not None:
|
|
2371
2379
|
self._values["vpc_id"] = vpc_id
|
|
2372
2380
|
|
|
@@ -2390,6 +2398,17 @@ class CfnCanary(
|
|
|
2390
2398
|
assert result is not None, "Required property 'subnet_ids' is missing"
|
|
2391
2399
|
return typing.cast(typing.List[builtins.str], result)
|
|
2392
2400
|
|
|
2401
|
+
@builtins.property
|
|
2402
|
+
def ipv6_allowed_for_dual_stack(
|
|
2403
|
+
self,
|
|
2404
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
2405
|
+
'''Allow outbound IPv6 traffic on VPC canaries that are connected to dual-stack subnets if set to true.
|
|
2406
|
+
|
|
2407
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-synthetics-canary-vpcconfig.html#cfn-synthetics-canary-vpcconfig-ipv6allowedfordualstack
|
|
2408
|
+
'''
|
|
2409
|
+
result = self._values.get("ipv6_allowed_for_dual_stack")
|
|
2410
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
2411
|
+
|
|
2393
2412
|
@builtins.property
|
|
2394
2413
|
def vpc_id(self) -> typing.Optional[builtins.str]:
|
|
2395
2414
|
'''The ID of the VPC where this canary is to run.
|
|
@@ -2555,12 +2574,12 @@ class CfnCanaryProps:
|
|
|
2555
2574
|
:param schedule: A structure that contains information about how often the canary is to run, and when these runs are to stop.
|
|
2556
2575
|
:param artifact_config: A structure that contains the configuration for canary artifacts, including the encryption-at-rest settings for artifacts that the canary uploads to Amazon S3.
|
|
2557
2576
|
:param delete_lambda_resources_on_canary_deletion: (deprecated) Deletes associated lambda resources created by Synthetics if set to True. Default is False
|
|
2558
|
-
:param failure_retention_period: The number of days to retain data about failed runs of this canary. If you omit this field, the default of 31 days is used. The valid range is 1 to 455 days.
|
|
2577
|
+
:param failure_retention_period: The number of days to retain data about failed runs of this canary. If you omit this field, the default of 31 days is used. The valid range is 1 to 455 days. This setting affects the range of information returned by `GetCanaryRuns <https://docs.aws.amazon.com/AmazonSynthetics/latest/APIReference/API_GetCanaryRuns.html>`_ , as well as the range of information displayed in the Synthetics console.
|
|
2559
2578
|
:param provisioned_resource_cleanup: Specifies whether to also delete the Lambda functions and layers used by this canary when the canary is deleted. If it is ``AUTOMATIC`` , the Lambda functions and layers will be deleted when the canary is deleted. If the value of this parameter is ``OFF`` , then the value of the ``DeleteLambda`` parameter of the `DeleteCanary <https://docs.aws.amazon.com/AmazonSynthetics/latest/APIReference/API_DeleteCanary.html>`_ operation determines whether the Lambda functions and layers will be deleted.
|
|
2560
2579
|
:param resources_to_replicate_tags: To have the tags that you apply to this canary also be applied to the Lambda function that the canary uses, specify this property with the value ``lambda-function`` . If you do this, CloudWatch Synthetics will keep the tags of the canary and the Lambda function synchronized. Any future changes you make to the canary's tags will also be applied to the function.
|
|
2561
2580
|
:param run_config: A structure that contains input information for a canary run. If you omit this structure, the frequency of the canary is used as canary's timeout value, up to a maximum of 900 seconds.
|
|
2562
2581
|
:param start_canary_after_creation: Specify TRUE to have the canary start making runs immediately after it is created. A canary that you create using CloudFormation can't be used to monitor the CloudFormation stack that creates the canary or to roll back that stack if there is a failure.
|
|
2563
|
-
:param success_retention_period: The number of days to retain data about successful runs of this canary. If you omit this field, the default of 31 days is used. The valid range is 1 to 455 days.
|
|
2582
|
+
:param success_retention_period: The number of days to retain data about successful runs of this canary. If you omit this field, the default of 31 days is used. The valid range is 1 to 455 days. This setting affects the range of information returned by `GetCanaryRuns <https://docs.aws.amazon.com/AmazonSynthetics/latest/APIReference/API_GetCanaryRuns.html>`_ , as well as the range of information displayed in the Synthetics console.
|
|
2564
2583
|
:param tags: The list of key-value pairs that are associated with the canary.
|
|
2565
2584
|
:param visual_reference: If this canary performs visual monitoring by comparing screenshots, this structure contains the ID of the canary run to use as the baseline for screenshots, and the coordinates of any parts of the screen to ignore during the visual monitoring comparison.
|
|
2566
2585
|
:param vpc_config: If this canary is to test an endpoint in a VPC, this structure contains information about the subnet and security groups of the VPC endpoint. For more information, see `Running a Canary in a VPC <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_VPC.html>`_ .
|
|
@@ -2637,6 +2656,7 @@ class CfnCanaryProps:
|
|
|
2637
2656
|
subnet_ids=["subnetIds"],
|
|
2638
2657
|
|
|
2639
2658
|
# the properties below are optional
|
|
2659
|
+
ipv6_allowed_for_dual_stack=False,
|
|
2640
2660
|
vpc_id="vpcId"
|
|
2641
2661
|
)
|
|
2642
2662
|
)
|
|
@@ -2806,6 +2826,8 @@ class CfnCanaryProps:
|
|
|
2806
2826
|
|
|
2807
2827
|
If you omit this field, the default of 31 days is used. The valid range is 1 to 455 days.
|
|
2808
2828
|
|
|
2829
|
+
This setting affects the range of information returned by `GetCanaryRuns <https://docs.aws.amazon.com/AmazonSynthetics/latest/APIReference/API_GetCanaryRuns.html>`_ , as well as the range of information displayed in the Synthetics console.
|
|
2830
|
+
|
|
2809
2831
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-synthetics-canary.html#cfn-synthetics-canary-failureretentionperiod
|
|
2810
2832
|
'''
|
|
2811
2833
|
result = self._values.get("failure_retention_period")
|
|
@@ -2867,6 +2889,8 @@ class CfnCanaryProps:
|
|
|
2867
2889
|
|
|
2868
2890
|
If you omit this field, the default of 31 days is used. The valid range is 1 to 455 days.
|
|
2869
2891
|
|
|
2892
|
+
This setting affects the range of information returned by `GetCanaryRuns <https://docs.aws.amazon.com/AmazonSynthetics/latest/APIReference/API_GetCanaryRuns.html>`_ , as well as the range of information displayed in the Synthetics console.
|
|
2893
|
+
|
|
2870
2894
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-synthetics-canary.html#cfn-synthetics-canary-successretentionperiod
|
|
2871
2895
|
'''
|
|
2872
2896
|
result = self._values.get("success_retention_period")
|
|
@@ -4709,6 +4733,7 @@ def _typecheckingstub__eccfde82eb2354e9c416fba506f2ff8e4fb1a86792529f65e2d8eafbc
|
|
|
4709
4733
|
*,
|
|
4710
4734
|
security_group_ids: typing.Sequence[builtins.str],
|
|
4711
4735
|
subnet_ids: typing.Sequence[builtins.str],
|
|
4736
|
+
ipv6_allowed_for_dual_stack: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
4712
4737
|
vpc_id: typing.Optional[builtins.str] = None,
|
|
4713
4738
|
) -> None:
|
|
4714
4739
|
"""Type checking stubs"""
|
aws_cdk/aws_transfer/__init__.py
CHANGED
|
@@ -2219,6 +2219,14 @@ class CfnServer(
|
|
|
2219
2219
|
'''
|
|
2220
2220
|
return typing.cast(builtins.str, jsii.get(self, "attrServerId"))
|
|
2221
2221
|
|
|
2222
|
+
@builtins.property
|
|
2223
|
+
@jsii.member(jsii_name="attrState")
|
|
2224
|
+
def attr_state(self) -> builtins.str:
|
|
2225
|
+
'''
|
|
2226
|
+
:cloudformationAttribute: State
|
|
2227
|
+
'''
|
|
2228
|
+
return typing.cast(builtins.str, jsii.get(self, "attrState"))
|
|
2229
|
+
|
|
2222
2230
|
@builtins.property
|
|
2223
2231
|
@jsii.member(jsii_name="cfnProperties")
|
|
2224
2232
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|