aws-cdk-lib 2.145.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 +2 -0
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.145.0.jsii.tgz → aws-cdk-lib@2.146.0.jsii.tgz} +0 -0
- aws_cdk/aws_appsync/__init__.py +62 -0
- aws_cdk/aws_autoscaling/__init__.py +412 -56
- aws_cdk/aws_codebuild/__init__.py +23 -3
- aws_cdk/aws_connect/__init__.py +86 -0
- aws_cdk/aws_ecs/__init__.py +110 -1
- aws_cdk/aws_eks/__init__.py +1320 -41
- aws_cdk/aws_iam/__init__.py +13 -8
- 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_sns/__init__.py +61 -9
- aws_cdk/aws_stepfunctions_tasks/__init__.py +3 -3
- aws_cdk/region_info/__init__.py +6 -0
- {aws_cdk_lib-2.145.0.dist-info → aws_cdk_lib-2.146.0.dist-info}/METADATA +2 -2
- {aws_cdk_lib-2.145.0.dist-info → aws_cdk_lib-2.146.0.dist-info}/NOTICE +0 -35
- {aws_cdk_lib-2.145.0.dist-info → aws_cdk_lib-2.146.0.dist-info}/RECORD +23 -23
- {aws_cdk_lib-2.145.0.dist-info → aws_cdk_lib-2.146.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.145.0.dist-info → aws_cdk_lib-2.146.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.145.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_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,
|