aws-cdk-lib 2.144.0__py3-none-any.whl → 2.146.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of aws-cdk-lib might be problematic. Click here for more details.
- aws_cdk/__init__.py +3 -1
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.144.0.jsii.tgz → aws-cdk-lib@2.146.0.jsii.tgz} +0 -0
- aws_cdk/aws_apigatewayv2_authorizers/__init__.py +27 -0
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +27 -0
- aws_cdk/aws_appsync/__init__.py +62 -0
- aws_cdk/aws_autoscaling/__init__.py +416 -60
- aws_cdk/aws_chatbot/__init__.py +38 -0
- aws_cdk/aws_codebuild/__init__.py +598 -19
- aws_cdk/aws_config/__init__.py +1305 -45
- aws_cdk/aws_connect/__init__.py +86 -0
- aws_cdk/aws_ec2/__init__.py +42 -3
- aws_cdk/aws_ecs/__init__.py +110 -1
- aws_cdk/aws_eks/__init__.py +1495 -72
- aws_cdk/aws_iam/__init__.py +16 -11
- aws_cdk/aws_lambda/__init__.py +12 -0
- aws_cdk/aws_logs/__init__.py +114 -8
- aws_cdk/aws_logs_destinations/__init__.py +11 -9
- aws_cdk/aws_mediaconnect/__init__.py +2 -6
- aws_cdk/aws_mediapackagev2/__init__.py +476 -0
- aws_cdk/aws_opensearchservice/__init__.py +6 -0
- aws_cdk/aws_pipes/__init__.py +639 -0
- aws_cdk/aws_rds/__init__.py +12 -0
- aws_cdk/aws_rolesanywhere/__init__.py +196 -0
- aws_cdk/aws_route53/__init__.py +3 -3
- aws_cdk/aws_securityhub/__init__.py +2415 -374
- aws_cdk/aws_securitylake/__init__.py +179 -314
- aws_cdk/aws_sns/__init__.py +61 -9
- aws_cdk/aws_sqs/__init__.py +2 -2
- aws_cdk/aws_stepfunctions_tasks/__init__.py +3 -3
- aws_cdk/pipelines/__init__.py +2 -0
- aws_cdk/region_info/__init__.py +6 -0
- {aws_cdk_lib-2.144.0.dist-info → aws_cdk_lib-2.146.0.dist-info}/METADATA +2 -2
- {aws_cdk_lib-2.144.0.dist-info → aws_cdk_lib-2.146.0.dist-info}/NOTICE +0 -35
- {aws_cdk_lib-2.144.0.dist-info → aws_cdk_lib-2.146.0.dist-info}/RECORD +38 -38
- {aws_cdk_lib-2.144.0.dist-info → aws_cdk_lib-2.146.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.144.0.dist-info → aws_cdk_lib-2.146.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.144.0.dist-info → aws_cdk_lib-2.146.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_connect/__init__.py
CHANGED
|
@@ -8471,6 +8471,9 @@ class CfnRule(
|
|
|
8471
8471
|
# the properties below are optional
|
|
8472
8472
|
subject="subject"
|
|
8473
8473
|
)],
|
|
8474
|
+
submit_auto_evaluation_actions=[connect.CfnRule.SubmitAutoEvaluationActionProperty(
|
|
8475
|
+
evaluation_form_arn="evaluationFormArn"
|
|
8476
|
+
)],
|
|
8474
8477
|
task_actions=[connect.CfnRule.TaskActionProperty(
|
|
8475
8478
|
contact_flow_arn="contactFlowArn",
|
|
8476
8479
|
name="name",
|
|
@@ -8713,6 +8716,7 @@ class CfnRule(
|
|
|
8713
8716
|
"end_associated_tasks_actions": "endAssociatedTasksActions",
|
|
8714
8717
|
"event_bridge_actions": "eventBridgeActions",
|
|
8715
8718
|
"send_notification_actions": "sendNotificationActions",
|
|
8719
|
+
"submit_auto_evaluation_actions": "submitAutoEvaluationActions",
|
|
8716
8720
|
"task_actions": "taskActions",
|
|
8717
8721
|
"update_case_actions": "updateCaseActions",
|
|
8718
8722
|
},
|
|
@@ -8726,6 +8730,7 @@ class CfnRule(
|
|
|
8726
8730
|
end_associated_tasks_actions: typing.Optional[typing.Union[typing.Sequence[typing.Any], _IResolvable_da3f097b]] = None,
|
|
8727
8731
|
event_bridge_actions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnRule.EventBridgeActionProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
8728
8732
|
send_notification_actions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnRule.SendNotificationActionProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
8733
|
+
submit_auto_evaluation_actions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnRule.SubmitAutoEvaluationActionProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
8729
8734
|
task_actions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnRule.TaskActionProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
8730
8735
|
update_case_actions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnRule.UpdateCaseActionProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
8731
8736
|
) -> None:
|
|
@@ -8736,6 +8741,7 @@ class CfnRule(
|
|
|
8736
8741
|
:param end_associated_tasks_actions: This action will end associated tasks when a rule is triggered.
|
|
8737
8742
|
:param event_bridge_actions: Information about the EventBridge action.
|
|
8738
8743
|
:param send_notification_actions: Information about the send notification action.
|
|
8744
|
+
:param submit_auto_evaluation_actions: This action will submit an auto contact evaluation when a rule is triggered.
|
|
8739
8745
|
:param task_actions: Information about the task action. This field is required if ``TriggerEventSource`` is one of the following values: ``OnZendeskTicketCreate`` | ``OnZendeskTicketStatusUpdate`` | ``OnSalesforceCaseCreate``
|
|
8740
8746
|
:param update_case_actions: This action will update a case when a rule is triggered.
|
|
8741
8747
|
|
|
@@ -8784,6 +8790,9 @@ class CfnRule(
|
|
|
8784
8790
|
# the properties below are optional
|
|
8785
8791
|
subject="subject"
|
|
8786
8792
|
)],
|
|
8793
|
+
submit_auto_evaluation_actions=[connect.CfnRule.SubmitAutoEvaluationActionProperty(
|
|
8794
|
+
evaluation_form_arn="evaluationFormArn"
|
|
8795
|
+
)],
|
|
8787
8796
|
task_actions=[connect.CfnRule.TaskActionProperty(
|
|
8788
8797
|
contact_flow_arn="contactFlowArn",
|
|
8789
8798
|
name="name",
|
|
@@ -8817,6 +8826,7 @@ class CfnRule(
|
|
|
8817
8826
|
check_type(argname="argument end_associated_tasks_actions", value=end_associated_tasks_actions, expected_type=type_hints["end_associated_tasks_actions"])
|
|
8818
8827
|
check_type(argname="argument event_bridge_actions", value=event_bridge_actions, expected_type=type_hints["event_bridge_actions"])
|
|
8819
8828
|
check_type(argname="argument send_notification_actions", value=send_notification_actions, expected_type=type_hints["send_notification_actions"])
|
|
8829
|
+
check_type(argname="argument submit_auto_evaluation_actions", value=submit_auto_evaluation_actions, expected_type=type_hints["submit_auto_evaluation_actions"])
|
|
8820
8830
|
check_type(argname="argument task_actions", value=task_actions, expected_type=type_hints["task_actions"])
|
|
8821
8831
|
check_type(argname="argument update_case_actions", value=update_case_actions, expected_type=type_hints["update_case_actions"])
|
|
8822
8832
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
@@ -8830,6 +8840,8 @@ class CfnRule(
|
|
|
8830
8840
|
self._values["event_bridge_actions"] = event_bridge_actions
|
|
8831
8841
|
if send_notification_actions is not None:
|
|
8832
8842
|
self._values["send_notification_actions"] = send_notification_actions
|
|
8843
|
+
if submit_auto_evaluation_actions is not None:
|
|
8844
|
+
self._values["submit_auto_evaluation_actions"] = submit_auto_evaluation_actions
|
|
8833
8845
|
if task_actions is not None:
|
|
8834
8846
|
self._values["task_actions"] = task_actions
|
|
8835
8847
|
if update_case_actions is not None:
|
|
@@ -8892,6 +8904,17 @@ class CfnRule(
|
|
|
8892
8904
|
result = self._values.get("send_notification_actions")
|
|
8893
8905
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnRule.SendNotificationActionProperty"]]]], result)
|
|
8894
8906
|
|
|
8907
|
+
@builtins.property
|
|
8908
|
+
def submit_auto_evaluation_actions(
|
|
8909
|
+
self,
|
|
8910
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnRule.SubmitAutoEvaluationActionProperty"]]]]:
|
|
8911
|
+
'''This action will submit an auto contact evaluation when a rule is triggered.
|
|
8912
|
+
|
|
8913
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-actions.html#cfn-connect-rule-actions-submitautoevaluationactions
|
|
8914
|
+
'''
|
|
8915
|
+
result = self._values.get("submit_auto_evaluation_actions")
|
|
8916
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnRule.SubmitAutoEvaluationActionProperty"]]]], result)
|
|
8917
|
+
|
|
8895
8918
|
@builtins.property
|
|
8896
8919
|
def task_actions(
|
|
8897
8920
|
self,
|
|
@@ -9612,6 +9635,58 @@ class CfnRule(
|
|
|
9612
9635
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
9613
9636
|
)
|
|
9614
9637
|
|
|
9638
|
+
@jsii.data_type(
|
|
9639
|
+
jsii_type="aws-cdk-lib.aws_connect.CfnRule.SubmitAutoEvaluationActionProperty",
|
|
9640
|
+
jsii_struct_bases=[],
|
|
9641
|
+
name_mapping={"evaluation_form_arn": "evaluationFormArn"},
|
|
9642
|
+
)
|
|
9643
|
+
class SubmitAutoEvaluationActionProperty:
|
|
9644
|
+
def __init__(self, *, evaluation_form_arn: builtins.str) -> None:
|
|
9645
|
+
'''The definition of submit auto evaluation action.
|
|
9646
|
+
|
|
9647
|
+
:param evaluation_form_arn: The Amazon Resource Name (ARN) of the evaluation form.
|
|
9648
|
+
|
|
9649
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-submitautoevaluationaction.html
|
|
9650
|
+
:exampleMetadata: fixture=_generated
|
|
9651
|
+
|
|
9652
|
+
Example::
|
|
9653
|
+
|
|
9654
|
+
# The code below shows an example of how to instantiate this type.
|
|
9655
|
+
# The values are placeholders you should change.
|
|
9656
|
+
from aws_cdk import aws_connect as connect
|
|
9657
|
+
|
|
9658
|
+
submit_auto_evaluation_action_property = connect.CfnRule.SubmitAutoEvaluationActionProperty(
|
|
9659
|
+
evaluation_form_arn="evaluationFormArn"
|
|
9660
|
+
)
|
|
9661
|
+
'''
|
|
9662
|
+
if __debug__:
|
|
9663
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f3e56259b05aa0c43c1aac078fe6881856181990ac4fc6bdef4e3eeeff921cca)
|
|
9664
|
+
check_type(argname="argument evaluation_form_arn", value=evaluation_form_arn, expected_type=type_hints["evaluation_form_arn"])
|
|
9665
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
9666
|
+
"evaluation_form_arn": evaluation_form_arn,
|
|
9667
|
+
}
|
|
9668
|
+
|
|
9669
|
+
@builtins.property
|
|
9670
|
+
def evaluation_form_arn(self) -> builtins.str:
|
|
9671
|
+
'''The Amazon Resource Name (ARN) of the evaluation form.
|
|
9672
|
+
|
|
9673
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-submitautoevaluationaction.html#cfn-connect-rule-submitautoevaluationaction-evaluationformarn
|
|
9674
|
+
'''
|
|
9675
|
+
result = self._values.get("evaluation_form_arn")
|
|
9676
|
+
assert result is not None, "Required property 'evaluation_form_arn' is missing"
|
|
9677
|
+
return typing.cast(builtins.str, result)
|
|
9678
|
+
|
|
9679
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
9680
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
9681
|
+
|
|
9682
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
9683
|
+
return not (rhs == self)
|
|
9684
|
+
|
|
9685
|
+
def __repr__(self) -> str:
|
|
9686
|
+
return "SubmitAutoEvaluationActionProperty(%s)" % ", ".join(
|
|
9687
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
9688
|
+
)
|
|
9689
|
+
|
|
9615
9690
|
@jsii.data_type(
|
|
9616
9691
|
jsii_type="aws-cdk-lib.aws_connect.CfnRule.TaskActionProperty",
|
|
9617
9692
|
jsii_struct_bases=[],
|
|
@@ -9885,6 +9960,9 @@ class CfnRuleProps:
|
|
|
9885
9960
|
# the properties below are optional
|
|
9886
9961
|
subject="subject"
|
|
9887
9962
|
)],
|
|
9963
|
+
submit_auto_evaluation_actions=[connect.CfnRule.SubmitAutoEvaluationActionProperty(
|
|
9964
|
+
evaluation_form_arn="evaluationFormArn"
|
|
9965
|
+
)],
|
|
9888
9966
|
task_actions=[connect.CfnRule.TaskActionProperty(
|
|
9889
9967
|
contact_flow_arn="contactFlowArn",
|
|
9890
9968
|
name="name",
|
|
@@ -15428,6 +15506,7 @@ def _typecheckingstub__0ef20a75dbfc13161d3fff13ec1c4969adde44c34f62addd27e480514
|
|
|
15428
15506
|
end_associated_tasks_actions: typing.Optional[typing.Union[typing.Sequence[typing.Any], _IResolvable_da3f097b]] = None,
|
|
15429
15507
|
event_bridge_actions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnRule.EventBridgeActionProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
15430
15508
|
send_notification_actions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnRule.SendNotificationActionProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
15509
|
+
submit_auto_evaluation_actions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnRule.SubmitAutoEvaluationActionProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
15431
15510
|
task_actions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnRule.TaskActionProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
15432
15511
|
update_case_actions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnRule.UpdateCaseActionProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
15433
15512
|
) -> None:
|
|
@@ -15502,6 +15581,13 @@ def _typecheckingstub__199075d61da7aee6c24aad33a7023d6a679853ff216c051fe32241849
|
|
|
15502
15581
|
"""Type checking stubs"""
|
|
15503
15582
|
pass
|
|
15504
15583
|
|
|
15584
|
+
def _typecheckingstub__f3e56259b05aa0c43c1aac078fe6881856181990ac4fc6bdef4e3eeeff921cca(
|
|
15585
|
+
*,
|
|
15586
|
+
evaluation_form_arn: builtins.str,
|
|
15587
|
+
) -> None:
|
|
15588
|
+
"""Type checking stubs"""
|
|
15589
|
+
pass
|
|
15590
|
+
|
|
15505
15591
|
def _typecheckingstub__36d4ac91ef6fb71bdda5474ed1cbe12228c8f5caa3aec2778c4c6642b1ab6b3b(
|
|
15506
15592
|
*,
|
|
15507
15593
|
contact_flow_arn: builtins.str,
|
aws_cdk/aws_ec2/__init__.py
CHANGED
|
@@ -9415,6 +9415,7 @@ class CfnCustomerGateway(
|
|
|
9415
9415
|
|
|
9416
9416
|
# the properties below are optional
|
|
9417
9417
|
bgp_asn=123,
|
|
9418
|
+
bgp_asn_extended=123,
|
|
9418
9419
|
certificate_arn="certificateArn",
|
|
9419
9420
|
device_name="deviceName",
|
|
9420
9421
|
tags=[CfnTag(
|
|
@@ -9432,6 +9433,7 @@ class CfnCustomerGateway(
|
|
|
9432
9433
|
ip_address: builtins.str,
|
|
9433
9434
|
type: builtins.str,
|
|
9434
9435
|
bgp_asn: typing.Optional[jsii.Number] = None,
|
|
9436
|
+
bgp_asn_extended: typing.Optional[jsii.Number] = None,
|
|
9435
9437
|
certificate_arn: typing.Optional[builtins.str] = None,
|
|
9436
9438
|
device_name: typing.Optional[builtins.str] = None,
|
|
9437
9439
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -9442,6 +9444,7 @@ class CfnCustomerGateway(
|
|
|
9442
9444
|
:param ip_address: IPv4 address for the customer gateway device's outside interface. The address must be static.
|
|
9443
9445
|
:param type: The type of VPN connection that this customer gateway supports ( ``ipsec.1`` ).
|
|
9444
9446
|
:param bgp_asn: For devices that support BGP, the customer gateway's BGP ASN. Default: 65000 Default: - 65000
|
|
9447
|
+
:param bgp_asn_extended:
|
|
9445
9448
|
:param certificate_arn: The Amazon Resource Name (ARN) for the customer gateway certificate.
|
|
9446
9449
|
:param device_name: The name of customer gateway device.
|
|
9447
9450
|
:param tags: One or more tags for the customer gateway.
|
|
@@ -9454,6 +9457,7 @@ class CfnCustomerGateway(
|
|
|
9454
9457
|
ip_address=ip_address,
|
|
9455
9458
|
type=type,
|
|
9456
9459
|
bgp_asn=bgp_asn,
|
|
9460
|
+
bgp_asn_extended=bgp_asn_extended,
|
|
9457
9461
|
certificate_arn=certificate_arn,
|
|
9458
9462
|
device_name=device_name,
|
|
9459
9463
|
tags=tags,
|
|
@@ -9550,6 +9554,18 @@ class CfnCustomerGateway(
|
|
|
9550
9554
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
9551
9555
|
jsii.set(self, "bgpAsn", value)
|
|
9552
9556
|
|
|
9557
|
+
@builtins.property
|
|
9558
|
+
@jsii.member(jsii_name="bgpAsnExtended")
|
|
9559
|
+
def bgp_asn_extended(self) -> typing.Optional[jsii.Number]:
|
|
9560
|
+
return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "bgpAsnExtended"))
|
|
9561
|
+
|
|
9562
|
+
@bgp_asn_extended.setter
|
|
9563
|
+
def bgp_asn_extended(self, value: typing.Optional[jsii.Number]) -> None:
|
|
9564
|
+
if __debug__:
|
|
9565
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f41644d25c48e5c3c87a361ba478bdb4a18bf473fe1582fa35c6311f6d5284d8)
|
|
9566
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
9567
|
+
jsii.set(self, "bgpAsnExtended", value)
|
|
9568
|
+
|
|
9553
9569
|
@builtins.property
|
|
9554
9570
|
@jsii.member(jsii_name="certificateArn")
|
|
9555
9571
|
def certificate_arn(self) -> typing.Optional[builtins.str]:
|
|
@@ -9597,6 +9613,7 @@ class CfnCustomerGateway(
|
|
|
9597
9613
|
"ip_address": "ipAddress",
|
|
9598
9614
|
"type": "type",
|
|
9599
9615
|
"bgp_asn": "bgpAsn",
|
|
9616
|
+
"bgp_asn_extended": "bgpAsnExtended",
|
|
9600
9617
|
"certificate_arn": "certificateArn",
|
|
9601
9618
|
"device_name": "deviceName",
|
|
9602
9619
|
"tags": "tags",
|
|
@@ -9609,6 +9626,7 @@ class CfnCustomerGatewayProps:
|
|
|
9609
9626
|
ip_address: builtins.str,
|
|
9610
9627
|
type: builtins.str,
|
|
9611
9628
|
bgp_asn: typing.Optional[jsii.Number] = None,
|
|
9629
|
+
bgp_asn_extended: typing.Optional[jsii.Number] = None,
|
|
9612
9630
|
certificate_arn: typing.Optional[builtins.str] = None,
|
|
9613
9631
|
device_name: typing.Optional[builtins.str] = None,
|
|
9614
9632
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -9618,6 +9636,7 @@ class CfnCustomerGatewayProps:
|
|
|
9618
9636
|
:param ip_address: IPv4 address for the customer gateway device's outside interface. The address must be static.
|
|
9619
9637
|
:param type: The type of VPN connection that this customer gateway supports ( ``ipsec.1`` ).
|
|
9620
9638
|
:param bgp_asn: For devices that support BGP, the customer gateway's BGP ASN. Default: 65000 Default: - 65000
|
|
9639
|
+
:param bgp_asn_extended:
|
|
9621
9640
|
:param certificate_arn: The Amazon Resource Name (ARN) for the customer gateway certificate.
|
|
9622
9641
|
:param device_name: The name of customer gateway device.
|
|
9623
9642
|
:param tags: One or more tags for the customer gateway.
|
|
@@ -9637,6 +9656,7 @@ class CfnCustomerGatewayProps:
|
|
|
9637
9656
|
|
|
9638
9657
|
# the properties below are optional
|
|
9639
9658
|
bgp_asn=123,
|
|
9659
|
+
bgp_asn_extended=123,
|
|
9640
9660
|
certificate_arn="certificateArn",
|
|
9641
9661
|
device_name="deviceName",
|
|
9642
9662
|
tags=[CfnTag(
|
|
@@ -9650,6 +9670,7 @@ class CfnCustomerGatewayProps:
|
|
|
9650
9670
|
check_type(argname="argument ip_address", value=ip_address, expected_type=type_hints["ip_address"])
|
|
9651
9671
|
check_type(argname="argument type", value=type, expected_type=type_hints["type"])
|
|
9652
9672
|
check_type(argname="argument bgp_asn", value=bgp_asn, expected_type=type_hints["bgp_asn"])
|
|
9673
|
+
check_type(argname="argument bgp_asn_extended", value=bgp_asn_extended, expected_type=type_hints["bgp_asn_extended"])
|
|
9653
9674
|
check_type(argname="argument certificate_arn", value=certificate_arn, expected_type=type_hints["certificate_arn"])
|
|
9654
9675
|
check_type(argname="argument device_name", value=device_name, expected_type=type_hints["device_name"])
|
|
9655
9676
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
@@ -9659,6 +9680,8 @@ class CfnCustomerGatewayProps:
|
|
|
9659
9680
|
}
|
|
9660
9681
|
if bgp_asn is not None:
|
|
9661
9682
|
self._values["bgp_asn"] = bgp_asn
|
|
9683
|
+
if bgp_asn_extended is not None:
|
|
9684
|
+
self._values["bgp_asn_extended"] = bgp_asn_extended
|
|
9662
9685
|
if certificate_arn is not None:
|
|
9663
9686
|
self._values["certificate_arn"] = certificate_arn
|
|
9664
9687
|
if device_name is not None:
|
|
@@ -9701,6 +9724,14 @@ class CfnCustomerGatewayProps:
|
|
|
9701
9724
|
result = self._values.get("bgp_asn")
|
|
9702
9725
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
9703
9726
|
|
|
9727
|
+
@builtins.property
|
|
9728
|
+
def bgp_asn_extended(self) -> typing.Optional[jsii.Number]:
|
|
9729
|
+
'''
|
|
9730
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-customergateway.html#cfn-ec2-customergateway-bgpasnextended
|
|
9731
|
+
'''
|
|
9732
|
+
result = self._values.get("bgp_asn_extended")
|
|
9733
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
9734
|
+
|
|
9704
9735
|
@builtins.property
|
|
9705
9736
|
def certificate_arn(self) -> typing.Optional[builtins.str]:
|
|
9706
9737
|
'''The Amazon Resource Name (ARN) for the customer gateway certificate.
|
|
@@ -47830,7 +47861,7 @@ class CfnSubnet(
|
|
|
47830
47861
|
subnetcount = subnetcount + 1
|
|
47831
47862
|
|
|
47832
47863
|
cluster = eks.Cluster(self, "hello-eks",
|
|
47833
|
-
version=eks.KubernetesVersion.
|
|
47864
|
+
version=eks.KubernetesVersion.V1_30,
|
|
47834
47865
|
vpc=vpc,
|
|
47835
47866
|
ip_family=eks.IpFamily.IP_V6,
|
|
47836
47867
|
vpc_subnets=[ec2.SubnetSelection(subnets=vpc.public_subnets)]
|
|
@@ -55618,7 +55649,7 @@ class CfnVPCCidrBlock(
|
|
|
55618
55649
|
subnetcount = subnetcount + 1
|
|
55619
55650
|
|
|
55620
55651
|
cluster = eks.Cluster(self, "hello-eks",
|
|
55621
|
-
version=eks.KubernetesVersion.
|
|
55652
|
+
version=eks.KubernetesVersion.V1_30,
|
|
55622
55653
|
vpc=vpc,
|
|
55623
55654
|
ip_family=eks.IpFamily.IP_V6,
|
|
55624
55655
|
vpc_subnets=[ec2.SubnetSelection(subnets=vpc.public_subnets)]
|
|
@@ -55911,7 +55942,7 @@ class CfnVPCCidrBlockProps:
|
|
|
55911
55942
|
subnetcount = subnetcount + 1
|
|
55912
55943
|
|
|
55913
55944
|
cluster = eks.Cluster(self, "hello-eks",
|
|
55914
|
-
version=eks.KubernetesVersion.
|
|
55945
|
+
version=eks.KubernetesVersion.V1_30,
|
|
55915
55946
|
vpc=vpc,
|
|
55916
55947
|
ip_family=eks.IpFamily.IP_V6,
|
|
55917
55948
|
vpc_subnets=[ec2.SubnetSelection(subnets=vpc.public_subnets)]
|
|
@@ -95188,6 +95219,7 @@ def _typecheckingstub__16b41182e007e05b84fd0c97afc1e26001e78a56de2eb5b10c9f809de
|
|
|
95188
95219
|
ip_address: builtins.str,
|
|
95189
95220
|
type: builtins.str,
|
|
95190
95221
|
bgp_asn: typing.Optional[jsii.Number] = None,
|
|
95222
|
+
bgp_asn_extended: typing.Optional[jsii.Number] = None,
|
|
95191
95223
|
certificate_arn: typing.Optional[builtins.str] = None,
|
|
95192
95224
|
device_name: typing.Optional[builtins.str] = None,
|
|
95193
95225
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -95225,6 +95257,12 @@ def _typecheckingstub__84dfb7d1775bd2bb124f990570c9a2ef23fafd01744cfe248fcb36056
|
|
|
95225
95257
|
"""Type checking stubs"""
|
|
95226
95258
|
pass
|
|
95227
95259
|
|
|
95260
|
+
def _typecheckingstub__f41644d25c48e5c3c87a361ba478bdb4a18bf473fe1582fa35c6311f6d5284d8(
|
|
95261
|
+
value: typing.Optional[jsii.Number],
|
|
95262
|
+
) -> None:
|
|
95263
|
+
"""Type checking stubs"""
|
|
95264
|
+
pass
|
|
95265
|
+
|
|
95228
95266
|
def _typecheckingstub__4a4b900e840c5be3a2b16a5177f91335cf813daeca359e549a639cb05a03ac63(
|
|
95229
95267
|
value: typing.Optional[builtins.str],
|
|
95230
95268
|
) -> None:
|
|
@@ -95248,6 +95286,7 @@ def _typecheckingstub__b0ef9a2e3e2b6937b21db500a1cd795126e924d9b920931a413ecdb66
|
|
|
95248
95286
|
ip_address: builtins.str,
|
|
95249
95287
|
type: builtins.str,
|
|
95250
95288
|
bgp_asn: typing.Optional[jsii.Number] = None,
|
|
95289
|
+
bgp_asn_extended: typing.Optional[jsii.Number] = None,
|
|
95251
95290
|
certificate_arn: typing.Optional[builtins.str] = None,
|
|
95252
95291
|
device_name: typing.Optional[builtins.str] = None,
|
|
95253
95292
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
aws_cdk/aws_ecs/__init__.py
CHANGED
|
@@ -6422,6 +6422,10 @@ class CfnCluster(
|
|
|
6422
6422
|
s3_key_prefix="s3KeyPrefix"
|
|
6423
6423
|
),
|
|
6424
6424
|
logging="logging"
|
|
6425
|
+
),
|
|
6426
|
+
managed_storage_configuration=ecs.CfnCluster.ManagedStorageConfigurationProperty(
|
|
6427
|
+
fargate_ephemeral_storage_kms_key_id="fargateEphemeralStorageKmsKeyId",
|
|
6428
|
+
kms_key_id="kmsKeyId"
|
|
6425
6429
|
)
|
|
6426
6430
|
),
|
|
6427
6431
|
default_capacity_provider_strategy=[ecs.CfnCluster.CapacityProviderStrategyItemProperty(
|
|
@@ -6745,17 +6749,22 @@ class CfnCluster(
|
|
|
6745
6749
|
@jsii.data_type(
|
|
6746
6750
|
jsii_type="aws-cdk-lib.aws_ecs.CfnCluster.ClusterConfigurationProperty",
|
|
6747
6751
|
jsii_struct_bases=[],
|
|
6748
|
-
name_mapping={
|
|
6752
|
+
name_mapping={
|
|
6753
|
+
"execute_command_configuration": "executeCommandConfiguration",
|
|
6754
|
+
"managed_storage_configuration": "managedStorageConfiguration",
|
|
6755
|
+
},
|
|
6749
6756
|
)
|
|
6750
6757
|
class ClusterConfigurationProperty:
|
|
6751
6758
|
def __init__(
|
|
6752
6759
|
self,
|
|
6753
6760
|
*,
|
|
6754
6761
|
execute_command_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCluster.ExecuteCommandConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6762
|
+
managed_storage_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCluster.ManagedStorageConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6755
6763
|
) -> None:
|
|
6756
6764
|
'''The execute command configuration for the cluster.
|
|
6757
6765
|
|
|
6758
6766
|
:param execute_command_configuration: The details of the execute command configuration.
|
|
6767
|
+
:param managed_storage_configuration:
|
|
6759
6768
|
|
|
6760
6769
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-cluster-clusterconfiguration.html
|
|
6761
6770
|
:exampleMetadata: fixture=_generated
|
|
@@ -6777,15 +6786,22 @@ class CfnCluster(
|
|
|
6777
6786
|
s3_key_prefix="s3KeyPrefix"
|
|
6778
6787
|
),
|
|
6779
6788
|
logging="logging"
|
|
6789
|
+
),
|
|
6790
|
+
managed_storage_configuration=ecs.CfnCluster.ManagedStorageConfigurationProperty(
|
|
6791
|
+
fargate_ephemeral_storage_kms_key_id="fargateEphemeralStorageKmsKeyId",
|
|
6792
|
+
kms_key_id="kmsKeyId"
|
|
6780
6793
|
)
|
|
6781
6794
|
)
|
|
6782
6795
|
'''
|
|
6783
6796
|
if __debug__:
|
|
6784
6797
|
type_hints = typing.get_type_hints(_typecheckingstub__d329e717aee636e9b40a663cb42030119882fdc5e5e743ac1d055ce0cbbadb3c)
|
|
6785
6798
|
check_type(argname="argument execute_command_configuration", value=execute_command_configuration, expected_type=type_hints["execute_command_configuration"])
|
|
6799
|
+
check_type(argname="argument managed_storage_configuration", value=managed_storage_configuration, expected_type=type_hints["managed_storage_configuration"])
|
|
6786
6800
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
6787
6801
|
if execute_command_configuration is not None:
|
|
6788
6802
|
self._values["execute_command_configuration"] = execute_command_configuration
|
|
6803
|
+
if managed_storage_configuration is not None:
|
|
6804
|
+
self._values["managed_storage_configuration"] = managed_storage_configuration
|
|
6789
6805
|
|
|
6790
6806
|
@builtins.property
|
|
6791
6807
|
def execute_command_configuration(
|
|
@@ -6798,6 +6814,16 @@ class CfnCluster(
|
|
|
6798
6814
|
result = self._values.get("execute_command_configuration")
|
|
6799
6815
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.ExecuteCommandConfigurationProperty"]], result)
|
|
6800
6816
|
|
|
6817
|
+
@builtins.property
|
|
6818
|
+
def managed_storage_configuration(
|
|
6819
|
+
self,
|
|
6820
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.ManagedStorageConfigurationProperty"]]:
|
|
6821
|
+
'''
|
|
6822
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-cluster-clusterconfiguration.html#cfn-ecs-cluster-clusterconfiguration-managedstorageconfiguration
|
|
6823
|
+
'''
|
|
6824
|
+
result = self._values.get("managed_storage_configuration")
|
|
6825
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.ManagedStorageConfigurationProperty"]], result)
|
|
6826
|
+
|
|
6801
6827
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
6802
6828
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
6803
6829
|
|
|
@@ -7127,6 +7153,76 @@ class CfnCluster(
|
|
|
7127
7153
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
7128
7154
|
)
|
|
7129
7155
|
|
|
7156
|
+
@jsii.data_type(
|
|
7157
|
+
jsii_type="aws-cdk-lib.aws_ecs.CfnCluster.ManagedStorageConfigurationProperty",
|
|
7158
|
+
jsii_struct_bases=[],
|
|
7159
|
+
name_mapping={
|
|
7160
|
+
"fargate_ephemeral_storage_kms_key_id": "fargateEphemeralStorageKmsKeyId",
|
|
7161
|
+
"kms_key_id": "kmsKeyId",
|
|
7162
|
+
},
|
|
7163
|
+
)
|
|
7164
|
+
class ManagedStorageConfigurationProperty:
|
|
7165
|
+
def __init__(
|
|
7166
|
+
self,
|
|
7167
|
+
*,
|
|
7168
|
+
fargate_ephemeral_storage_kms_key_id: typing.Optional[builtins.str] = None,
|
|
7169
|
+
kms_key_id: typing.Optional[builtins.str] = None,
|
|
7170
|
+
) -> None:
|
|
7171
|
+
'''
|
|
7172
|
+
:param fargate_ephemeral_storage_kms_key_id:
|
|
7173
|
+
:param kms_key_id:
|
|
7174
|
+
|
|
7175
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-cluster-managedstorageconfiguration.html
|
|
7176
|
+
:exampleMetadata: fixture=_generated
|
|
7177
|
+
|
|
7178
|
+
Example::
|
|
7179
|
+
|
|
7180
|
+
# The code below shows an example of how to instantiate this type.
|
|
7181
|
+
# The values are placeholders you should change.
|
|
7182
|
+
from aws_cdk import aws_ecs as ecs
|
|
7183
|
+
|
|
7184
|
+
managed_storage_configuration_property = ecs.CfnCluster.ManagedStorageConfigurationProperty(
|
|
7185
|
+
fargate_ephemeral_storage_kms_key_id="fargateEphemeralStorageKmsKeyId",
|
|
7186
|
+
kms_key_id="kmsKeyId"
|
|
7187
|
+
)
|
|
7188
|
+
'''
|
|
7189
|
+
if __debug__:
|
|
7190
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ef7d3c502531d23e5b8dc81508f368488fbd4f169753407ac2ce4d3a7e39be73)
|
|
7191
|
+
check_type(argname="argument fargate_ephemeral_storage_kms_key_id", value=fargate_ephemeral_storage_kms_key_id, expected_type=type_hints["fargate_ephemeral_storage_kms_key_id"])
|
|
7192
|
+
check_type(argname="argument kms_key_id", value=kms_key_id, expected_type=type_hints["kms_key_id"])
|
|
7193
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
7194
|
+
if fargate_ephemeral_storage_kms_key_id is not None:
|
|
7195
|
+
self._values["fargate_ephemeral_storage_kms_key_id"] = fargate_ephemeral_storage_kms_key_id
|
|
7196
|
+
if kms_key_id is not None:
|
|
7197
|
+
self._values["kms_key_id"] = kms_key_id
|
|
7198
|
+
|
|
7199
|
+
@builtins.property
|
|
7200
|
+
def fargate_ephemeral_storage_kms_key_id(self) -> typing.Optional[builtins.str]:
|
|
7201
|
+
'''
|
|
7202
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-cluster-managedstorageconfiguration.html#cfn-ecs-cluster-managedstorageconfiguration-fargateephemeralstoragekmskeyid
|
|
7203
|
+
'''
|
|
7204
|
+
result = self._values.get("fargate_ephemeral_storage_kms_key_id")
|
|
7205
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
7206
|
+
|
|
7207
|
+
@builtins.property
|
|
7208
|
+
def kms_key_id(self) -> typing.Optional[builtins.str]:
|
|
7209
|
+
'''
|
|
7210
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-cluster-managedstorageconfiguration.html#cfn-ecs-cluster-managedstorageconfiguration-kmskeyid
|
|
7211
|
+
'''
|
|
7212
|
+
result = self._values.get("kms_key_id")
|
|
7213
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
7214
|
+
|
|
7215
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
7216
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
7217
|
+
|
|
7218
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
7219
|
+
return not (rhs == self)
|
|
7220
|
+
|
|
7221
|
+
def __repr__(self) -> str:
|
|
7222
|
+
return "ManagedStorageConfigurationProperty(%s)" % ", ".join(
|
|
7223
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
7224
|
+
)
|
|
7225
|
+
|
|
7130
7226
|
@jsii.data_type(
|
|
7131
7227
|
jsii_type="aws-cdk-lib.aws_ecs.CfnCluster.ServiceConnectDefaultsProperty",
|
|
7132
7228
|
jsii_struct_bases=[],
|
|
@@ -7595,6 +7691,10 @@ class CfnClusterProps:
|
|
|
7595
7691
|
s3_key_prefix="s3KeyPrefix"
|
|
7596
7692
|
),
|
|
7597
7693
|
logging="logging"
|
|
7694
|
+
),
|
|
7695
|
+
managed_storage_configuration=ecs.CfnCluster.ManagedStorageConfigurationProperty(
|
|
7696
|
+
fargate_ephemeral_storage_kms_key_id="fargateEphemeralStorageKmsKeyId",
|
|
7697
|
+
kms_key_id="kmsKeyId"
|
|
7598
7698
|
)
|
|
7599
7699
|
),
|
|
7600
7700
|
default_capacity_provider_strategy=[ecs.CfnCluster.CapacityProviderStrategyItemProperty(
|
|
@@ -41288,6 +41388,7 @@ def _typecheckingstub__c0111db321c8b52d6283d3435e19f561034b11c2a7a4a80e235d2ee03
|
|
|
41288
41388
|
def _typecheckingstub__d329e717aee636e9b40a663cb42030119882fdc5e5e743ac1d055ce0cbbadb3c(
|
|
41289
41389
|
*,
|
|
41290
41390
|
execute_command_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCluster.ExecuteCommandConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
41391
|
+
managed_storage_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCluster.ManagedStorageConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
41291
41392
|
) -> None:
|
|
41292
41393
|
"""Type checking stubs"""
|
|
41293
41394
|
pass
|
|
@@ -41320,6 +41421,14 @@ def _typecheckingstub__c05052099f204719b48aff84daacc7380c4e383137e6a2a3c00551dee
|
|
|
41320
41421
|
"""Type checking stubs"""
|
|
41321
41422
|
pass
|
|
41322
41423
|
|
|
41424
|
+
def _typecheckingstub__ef7d3c502531d23e5b8dc81508f368488fbd4f169753407ac2ce4d3a7e39be73(
|
|
41425
|
+
*,
|
|
41426
|
+
fargate_ephemeral_storage_kms_key_id: typing.Optional[builtins.str] = None,
|
|
41427
|
+
kms_key_id: typing.Optional[builtins.str] = None,
|
|
41428
|
+
) -> None:
|
|
41429
|
+
"""Type checking stubs"""
|
|
41430
|
+
pass
|
|
41431
|
+
|
|
41323
41432
|
def _typecheckingstub__406d33f45440b3838cc9c39ff62fb2d038305a2814d49c398a3ffa7e3abbd9cd(
|
|
41324
41433
|
*,
|
|
41325
41434
|
namespace: typing.Optional[builtins.str] = None,
|