aws-cdk-lib 2.168.0__py3-none-any.whl → 2.169.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.168.0.jsii.tgz → aws-cdk-lib@2.169.0.jsii.tgz} +0 -0
- aws_cdk/aws_accessanalyzer/__init__.py +244 -13
- aws_cdk/aws_applicationsignals/__init__.py +8 -1
- aws_cdk/aws_autoscaling/__init__.py +310 -9
- aws_cdk/aws_cloudfront/__init__.py +50 -0
- aws_cdk/aws_codebuild/__init__.py +2 -2
- aws_cdk/aws_connect/__init__.py +378 -0
- aws_cdk/aws_customerprofiles/__init__.py +44 -0
- aws_cdk/aws_deadline/__init__.py +299 -6
- aws_cdk/aws_dynamodb/__init__.py +47 -25
- aws_cdk/aws_ec2/__init__.py +6 -2
- aws_cdk/aws_ecs/__init__.py +28 -22
- aws_cdk/aws_efs/__init__.py +61 -4
- aws_cdk/aws_eks/__init__.py +116 -0
- aws_cdk/aws_gamelift/__init__.py +385 -251
- aws_cdk/aws_iot/__init__.py +209 -0
- aws_cdk/aws_iotfleetwise/__init__.py +550 -0
- aws_cdk/aws_iotsitewise/__init__.py +6 -3
- aws_cdk/aws_ivs/__init__.py +458 -0
- aws_cdk/aws_kinesisfirehose/__init__.py +90 -33
- aws_cdk/aws_rbin/__init__.py +902 -0
- aws_cdk/aws_rds/__init__.py +115 -0
- aws_cdk/aws_route53resolver/__init__.py +76 -19
- aws_cdk/aws_sagemaker/__init__.py +32 -0
- aws_cdk/aws_sns/__init__.py +593 -8
- aws_cdk/aws_sns_subscriptions/__init__.py +68 -22
- aws_cdk/aws_synthetics/__init__.py +46 -0
- aws_cdk/aws_vpclattice/__init__.py +118 -2
- aws_cdk/aws_wisdom/__init__.py +16 -21
- {aws_cdk_lib-2.168.0.dist-info → aws_cdk_lib-2.169.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.168.0.dist-info → aws_cdk_lib-2.169.0.dist-info}/RECORD +37 -36
- {aws_cdk_lib-2.168.0.dist-info → aws_cdk_lib-2.169.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.168.0.dist-info → aws_cdk_lib-2.169.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.168.0.dist-info → aws_cdk_lib-2.169.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.168.0.dist-info → aws_cdk_lib-2.169.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_rds/__init__.py
CHANGED
|
@@ -2861,6 +2861,12 @@ class AuroraMysqlEngineVersion(
|
|
|
2861
2861
|
'''Version "8.0.mysql_aurora.3.07.1".'''
|
|
2862
2862
|
return typing.cast("AuroraMysqlEngineVersion", jsii.sget(cls, "VER_3_07_1"))
|
|
2863
2863
|
|
|
2864
|
+
@jsii.python.classproperty
|
|
2865
|
+
@jsii.member(jsii_name="VER_3_08_0")
|
|
2866
|
+
def VER_3_08_0(cls) -> "AuroraMysqlEngineVersion":
|
|
2867
|
+
'''Version "8.0.mysql_aurora.3.08.0".'''
|
|
2868
|
+
return typing.cast("AuroraMysqlEngineVersion", jsii.sget(cls, "VER_3_08_0"))
|
|
2869
|
+
|
|
2864
2870
|
@jsii.python.classproperty
|
|
2865
2871
|
@jsii.member(jsii_name="VER_5_7_12")
|
|
2866
2872
|
def VER_5_7_12(cls) -> "AuroraMysqlEngineVersion":
|
|
@@ -16678,6 +16684,9 @@ class CfnGlobalCluster(
|
|
|
16678
16684
|
engine_lifecycle_support="engineLifecycleSupport",
|
|
16679
16685
|
engine_version="engineVersion",
|
|
16680
16686
|
global_cluster_identifier="globalClusterIdentifier",
|
|
16687
|
+
global_endpoint=rds.CfnGlobalCluster.GlobalEndpointProperty(
|
|
16688
|
+
address="address"
|
|
16689
|
+
),
|
|
16681
16690
|
source_db_cluster_identifier="sourceDbClusterIdentifier",
|
|
16682
16691
|
storage_encrypted=False,
|
|
16683
16692
|
tags=[CfnTag(
|
|
@@ -16697,6 +16706,7 @@ class CfnGlobalCluster(
|
|
|
16697
16706
|
engine_lifecycle_support: typing.Optional[builtins.str] = None,
|
|
16698
16707
|
engine_version: typing.Optional[builtins.str] = None,
|
|
16699
16708
|
global_cluster_identifier: typing.Optional[builtins.str] = None,
|
|
16709
|
+
global_endpoint: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnGlobalCluster.GlobalEndpointProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
16700
16710
|
source_db_cluster_identifier: typing.Optional[builtins.str] = None,
|
|
16701
16711
|
storage_encrypted: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
16702
16712
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -16709,6 +16719,7 @@ class CfnGlobalCluster(
|
|
|
16709
16719
|
:param engine_lifecycle_support: The life cycle type for this global database cluster. .. epigraph:: By default, this value is set to ``open-source-rds-extended-support`` , which enrolls your global cluster into Amazon RDS Extended Support. At the end of standard support, you can avoid charges for Extended Support by setting the value to ``open-source-rds-extended-support-disabled`` . In this case, creating the global cluster will fail if the DB major version is past its end of standard support date. This setting only applies to Aurora PostgreSQL-based global databases. You can use this setting to enroll your global cluster into Amazon RDS Extended Support. With RDS Extended Support, you can run the selected major engine version on your global cluster past the end of standard support for that engine version. For more information, see `Using Amazon RDS Extended Support <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/extended-support.html>`_ in the *Amazon Aurora User Guide* . Valid Values: ``open-source-rds-extended-support | open-source-rds-extended-support-disabled`` Default: ``open-source-rds-extended-support``
|
|
16710
16720
|
:param engine_version: The engine version to use for this global database cluster. Constraints: - Can't be specified if ``SourceDBClusterIdentifier`` is specified. In this case, Amazon Aurora uses the engine version of the source DB cluster.
|
|
16711
16721
|
:param global_cluster_identifier: The cluster identifier for this global database cluster. This parameter is stored as a lowercase string.
|
|
16722
|
+
:param global_endpoint:
|
|
16712
16723
|
:param source_db_cluster_identifier: The Amazon Resource Name (ARN) to use as the primary cluster of the global database. If you provide a value for this parameter, don't specify values for the following settings because Amazon Aurora uses the values from the specified source DB cluster: - ``DatabaseName`` - ``Engine`` - ``EngineVersion`` - ``StorageEncrypted``
|
|
16713
16724
|
:param storage_encrypted: Specifies whether to enable storage encryption for the new global database cluster. Constraints: - Can't be specified if ``SourceDBClusterIdentifier`` is specified. In this case, Amazon Aurora uses the setting from the source DB cluster.
|
|
16714
16725
|
:param tags: Metadata assigned to an Amazon RDS resource consisting of a key-value pair. For more information, see `Tagging Amazon RDS resources <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html>`_ in the *Amazon RDS User Guide* or `Tagging Amazon Aurora and Amazon RDS resources <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html>`_ in the *Amazon Aurora User Guide* .
|
|
@@ -16723,6 +16734,7 @@ class CfnGlobalCluster(
|
|
|
16723
16734
|
engine_lifecycle_support=engine_lifecycle_support,
|
|
16724
16735
|
engine_version=engine_version,
|
|
16725
16736
|
global_cluster_identifier=global_cluster_identifier,
|
|
16737
|
+
global_endpoint=global_endpoint,
|
|
16726
16738
|
source_db_cluster_identifier=source_db_cluster_identifier,
|
|
16727
16739
|
storage_encrypted=storage_encrypted,
|
|
16728
16740
|
tags=tags,
|
|
@@ -16841,6 +16853,23 @@ class CfnGlobalCluster(
|
|
|
16841
16853
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
16842
16854
|
jsii.set(self, "globalClusterIdentifier", value) # pyright: ignore[reportArgumentType]
|
|
16843
16855
|
|
|
16856
|
+
@builtins.property
|
|
16857
|
+
@jsii.member(jsii_name="globalEndpoint")
|
|
16858
|
+
def global_endpoint(
|
|
16859
|
+
self,
|
|
16860
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnGlobalCluster.GlobalEndpointProperty"]]:
|
|
16861
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnGlobalCluster.GlobalEndpointProperty"]], jsii.get(self, "globalEndpoint"))
|
|
16862
|
+
|
|
16863
|
+
@global_endpoint.setter
|
|
16864
|
+
def global_endpoint(
|
|
16865
|
+
self,
|
|
16866
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnGlobalCluster.GlobalEndpointProperty"]],
|
|
16867
|
+
) -> None:
|
|
16868
|
+
if __debug__:
|
|
16869
|
+
type_hints = typing.get_type_hints(_typecheckingstub__7b1b1a8e034b0a4e155f1c4e96d4c9dd770043cd6a95e96f303770a5dff27e85)
|
|
16870
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
16871
|
+
jsii.set(self, "globalEndpoint", value) # pyright: ignore[reportArgumentType]
|
|
16872
|
+
|
|
16844
16873
|
@builtins.property
|
|
16845
16874
|
@jsii.member(jsii_name="sourceDbClusterIdentifier")
|
|
16846
16875
|
def source_db_cluster_identifier(self) -> typing.Optional[builtins.str]:
|
|
@@ -16888,6 +16917,58 @@ class CfnGlobalCluster(
|
|
|
16888
16917
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
16889
16918
|
jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
|
|
16890
16919
|
|
|
16920
|
+
@jsii.data_type(
|
|
16921
|
+
jsii_type="aws-cdk-lib.aws_rds.CfnGlobalCluster.GlobalEndpointProperty",
|
|
16922
|
+
jsii_struct_bases=[],
|
|
16923
|
+
name_mapping={"address": "address"},
|
|
16924
|
+
)
|
|
16925
|
+
class GlobalEndpointProperty:
|
|
16926
|
+
def __init__(self, *, address: typing.Optional[builtins.str] = None) -> None:
|
|
16927
|
+
'''
|
|
16928
|
+
:param address: The writer endpoint for the global database cluster. This endpoint always points to the writer DB instance in the current primary cluster.
|
|
16929
|
+
|
|
16930
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-globalcluster-globalendpoint.html
|
|
16931
|
+
:exampleMetadata: fixture=_generated
|
|
16932
|
+
|
|
16933
|
+
Example::
|
|
16934
|
+
|
|
16935
|
+
# The code below shows an example of how to instantiate this type.
|
|
16936
|
+
# The values are placeholders you should change.
|
|
16937
|
+
from aws_cdk import aws_rds as rds
|
|
16938
|
+
|
|
16939
|
+
global_endpoint_property = rds.CfnGlobalCluster.GlobalEndpointProperty(
|
|
16940
|
+
address="address"
|
|
16941
|
+
)
|
|
16942
|
+
'''
|
|
16943
|
+
if __debug__:
|
|
16944
|
+
type_hints = typing.get_type_hints(_typecheckingstub__350cbf05f202394e90ba919ae123a3da8d1e1e8e92a272b6ff65d6578cf2dadc)
|
|
16945
|
+
check_type(argname="argument address", value=address, expected_type=type_hints["address"])
|
|
16946
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
16947
|
+
if address is not None:
|
|
16948
|
+
self._values["address"] = address
|
|
16949
|
+
|
|
16950
|
+
@builtins.property
|
|
16951
|
+
def address(self) -> typing.Optional[builtins.str]:
|
|
16952
|
+
'''The writer endpoint for the global database cluster.
|
|
16953
|
+
|
|
16954
|
+
This endpoint always points to the writer DB instance in the current primary cluster.
|
|
16955
|
+
|
|
16956
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-globalcluster-globalendpoint.html#cfn-rds-globalcluster-globalendpoint-address
|
|
16957
|
+
'''
|
|
16958
|
+
result = self._values.get("address")
|
|
16959
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
16960
|
+
|
|
16961
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
16962
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
16963
|
+
|
|
16964
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
16965
|
+
return not (rhs == self)
|
|
16966
|
+
|
|
16967
|
+
def __repr__(self) -> str:
|
|
16968
|
+
return "GlobalEndpointProperty(%s)" % ", ".join(
|
|
16969
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
16970
|
+
)
|
|
16971
|
+
|
|
16891
16972
|
|
|
16892
16973
|
@jsii.data_type(
|
|
16893
16974
|
jsii_type="aws-cdk-lib.aws_rds.CfnGlobalClusterProps",
|
|
@@ -16898,6 +16979,7 @@ class CfnGlobalCluster(
|
|
|
16898
16979
|
"engine_lifecycle_support": "engineLifecycleSupport",
|
|
16899
16980
|
"engine_version": "engineVersion",
|
|
16900
16981
|
"global_cluster_identifier": "globalClusterIdentifier",
|
|
16982
|
+
"global_endpoint": "globalEndpoint",
|
|
16901
16983
|
"source_db_cluster_identifier": "sourceDbClusterIdentifier",
|
|
16902
16984
|
"storage_encrypted": "storageEncrypted",
|
|
16903
16985
|
"tags": "tags",
|
|
@@ -16912,6 +16994,7 @@ class CfnGlobalClusterProps:
|
|
|
16912
16994
|
engine_lifecycle_support: typing.Optional[builtins.str] = None,
|
|
16913
16995
|
engine_version: typing.Optional[builtins.str] = None,
|
|
16914
16996
|
global_cluster_identifier: typing.Optional[builtins.str] = None,
|
|
16997
|
+
global_endpoint: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalCluster.GlobalEndpointProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
16915
16998
|
source_db_cluster_identifier: typing.Optional[builtins.str] = None,
|
|
16916
16999
|
storage_encrypted: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
16917
17000
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -16923,6 +17006,7 @@ class CfnGlobalClusterProps:
|
|
|
16923
17006
|
:param engine_lifecycle_support: The life cycle type for this global database cluster. .. epigraph:: By default, this value is set to ``open-source-rds-extended-support`` , which enrolls your global cluster into Amazon RDS Extended Support. At the end of standard support, you can avoid charges for Extended Support by setting the value to ``open-source-rds-extended-support-disabled`` . In this case, creating the global cluster will fail if the DB major version is past its end of standard support date. This setting only applies to Aurora PostgreSQL-based global databases. You can use this setting to enroll your global cluster into Amazon RDS Extended Support. With RDS Extended Support, you can run the selected major engine version on your global cluster past the end of standard support for that engine version. For more information, see `Using Amazon RDS Extended Support <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/extended-support.html>`_ in the *Amazon Aurora User Guide* . Valid Values: ``open-source-rds-extended-support | open-source-rds-extended-support-disabled`` Default: ``open-source-rds-extended-support``
|
|
16924
17007
|
:param engine_version: The engine version to use for this global database cluster. Constraints: - Can't be specified if ``SourceDBClusterIdentifier`` is specified. In this case, Amazon Aurora uses the engine version of the source DB cluster.
|
|
16925
17008
|
:param global_cluster_identifier: The cluster identifier for this global database cluster. This parameter is stored as a lowercase string.
|
|
17009
|
+
:param global_endpoint:
|
|
16926
17010
|
:param source_db_cluster_identifier: The Amazon Resource Name (ARN) to use as the primary cluster of the global database. If you provide a value for this parameter, don't specify values for the following settings because Amazon Aurora uses the values from the specified source DB cluster: - ``DatabaseName`` - ``Engine`` - ``EngineVersion`` - ``StorageEncrypted``
|
|
16927
17011
|
:param storage_encrypted: Specifies whether to enable storage encryption for the new global database cluster. Constraints: - Can't be specified if ``SourceDBClusterIdentifier`` is specified. In this case, Amazon Aurora uses the setting from the source DB cluster.
|
|
16928
17012
|
:param tags: Metadata assigned to an Amazon RDS resource consisting of a key-value pair. For more information, see `Tagging Amazon RDS resources <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html>`_ in the *Amazon RDS User Guide* or `Tagging Amazon Aurora and Amazon RDS resources <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html>`_ in the *Amazon Aurora User Guide* .
|
|
@@ -16942,6 +17026,9 @@ class CfnGlobalClusterProps:
|
|
|
16942
17026
|
engine_lifecycle_support="engineLifecycleSupport",
|
|
16943
17027
|
engine_version="engineVersion",
|
|
16944
17028
|
global_cluster_identifier="globalClusterIdentifier",
|
|
17029
|
+
global_endpoint=rds.CfnGlobalCluster.GlobalEndpointProperty(
|
|
17030
|
+
address="address"
|
|
17031
|
+
),
|
|
16945
17032
|
source_db_cluster_identifier="sourceDbClusterIdentifier",
|
|
16946
17033
|
storage_encrypted=False,
|
|
16947
17034
|
tags=[CfnTag(
|
|
@@ -16957,6 +17044,7 @@ class CfnGlobalClusterProps:
|
|
|
16957
17044
|
check_type(argname="argument engine_lifecycle_support", value=engine_lifecycle_support, expected_type=type_hints["engine_lifecycle_support"])
|
|
16958
17045
|
check_type(argname="argument engine_version", value=engine_version, expected_type=type_hints["engine_version"])
|
|
16959
17046
|
check_type(argname="argument global_cluster_identifier", value=global_cluster_identifier, expected_type=type_hints["global_cluster_identifier"])
|
|
17047
|
+
check_type(argname="argument global_endpoint", value=global_endpoint, expected_type=type_hints["global_endpoint"])
|
|
16960
17048
|
check_type(argname="argument source_db_cluster_identifier", value=source_db_cluster_identifier, expected_type=type_hints["source_db_cluster_identifier"])
|
|
16961
17049
|
check_type(argname="argument storage_encrypted", value=storage_encrypted, expected_type=type_hints["storage_encrypted"])
|
|
16962
17050
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
@@ -16971,6 +17059,8 @@ class CfnGlobalClusterProps:
|
|
|
16971
17059
|
self._values["engine_version"] = engine_version
|
|
16972
17060
|
if global_cluster_identifier is not None:
|
|
16973
17061
|
self._values["global_cluster_identifier"] = global_cluster_identifier
|
|
17062
|
+
if global_endpoint is not None:
|
|
17063
|
+
self._values["global_endpoint"] = global_endpoint
|
|
16974
17064
|
if source_db_cluster_identifier is not None:
|
|
16975
17065
|
self._values["source_db_cluster_identifier"] = source_db_cluster_identifier
|
|
16976
17066
|
if storage_encrypted is not None:
|
|
@@ -17051,6 +17141,16 @@ class CfnGlobalClusterProps:
|
|
|
17051
17141
|
result = self._values.get("global_cluster_identifier")
|
|
17052
17142
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
17053
17143
|
|
|
17144
|
+
@builtins.property
|
|
17145
|
+
def global_endpoint(
|
|
17146
|
+
self,
|
|
17147
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnGlobalCluster.GlobalEndpointProperty]]:
|
|
17148
|
+
'''
|
|
17149
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-globalcluster.html#cfn-rds-globalcluster-globalendpoint
|
|
17150
|
+
'''
|
|
17151
|
+
result = self._values.get("global_endpoint")
|
|
17152
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnGlobalCluster.GlobalEndpointProperty]], result)
|
|
17153
|
+
|
|
17054
17154
|
@builtins.property
|
|
17055
17155
|
def source_db_cluster_identifier(self) -> typing.Optional[builtins.str]:
|
|
17056
17156
|
'''The Amazon Resource Name (ARN) to use as the primary cluster of the global database.
|
|
@@ -47862,6 +47962,7 @@ def _typecheckingstub__1611fa62b935d4f304c9fd8befd7c639fa3cc4898c7c6d9f86feb2d66
|
|
|
47862
47962
|
engine_lifecycle_support: typing.Optional[builtins.str] = None,
|
|
47863
47963
|
engine_version: typing.Optional[builtins.str] = None,
|
|
47864
47964
|
global_cluster_identifier: typing.Optional[builtins.str] = None,
|
|
47965
|
+
global_endpoint: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalCluster.GlobalEndpointProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
47865
47966
|
source_db_cluster_identifier: typing.Optional[builtins.str] = None,
|
|
47866
47967
|
storage_encrypted: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
47867
47968
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -47911,6 +48012,12 @@ def _typecheckingstub__8c0878c8feb5b0667b16ebe0d996cc33dadb0920b96e5594e9cf1b8cc
|
|
|
47911
48012
|
"""Type checking stubs"""
|
|
47912
48013
|
pass
|
|
47913
48014
|
|
|
48015
|
+
def _typecheckingstub__7b1b1a8e034b0a4e155f1c4e96d4c9dd770043cd6a95e96f303770a5dff27e85(
|
|
48016
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnGlobalCluster.GlobalEndpointProperty]],
|
|
48017
|
+
) -> None:
|
|
48018
|
+
"""Type checking stubs"""
|
|
48019
|
+
pass
|
|
48020
|
+
|
|
47914
48021
|
def _typecheckingstub__2b8b99331248625e609d8c61fdd2aeead968468cd83f1da2306ce25de200e221(
|
|
47915
48022
|
value: typing.Optional[builtins.str],
|
|
47916
48023
|
) -> None:
|
|
@@ -47929,6 +48036,13 @@ def _typecheckingstub__353dbc811b6418119794dea977794a47fb1500897063d3e8fdf280f56
|
|
|
47929
48036
|
"""Type checking stubs"""
|
|
47930
48037
|
pass
|
|
47931
48038
|
|
|
48039
|
+
def _typecheckingstub__350cbf05f202394e90ba919ae123a3da8d1e1e8e92a272b6ff65d6578cf2dadc(
|
|
48040
|
+
*,
|
|
48041
|
+
address: typing.Optional[builtins.str] = None,
|
|
48042
|
+
) -> None:
|
|
48043
|
+
"""Type checking stubs"""
|
|
48044
|
+
pass
|
|
48045
|
+
|
|
47932
48046
|
def _typecheckingstub__ef2e57f0cb9427badb90bc7e1248f0f26bc8de21a104bb924da9733667030430(
|
|
47933
48047
|
*,
|
|
47934
48048
|
deletion_protection: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
@@ -47936,6 +48050,7 @@ def _typecheckingstub__ef2e57f0cb9427badb90bc7e1248f0f26bc8de21a104bb924da973366
|
|
|
47936
48050
|
engine_lifecycle_support: typing.Optional[builtins.str] = None,
|
|
47937
48051
|
engine_version: typing.Optional[builtins.str] = None,
|
|
47938
48052
|
global_cluster_identifier: typing.Optional[builtins.str] = None,
|
|
48053
|
+
global_endpoint: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalCluster.GlobalEndpointProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
47939
48054
|
source_db_cluster_identifier: typing.Optional[builtins.str] = None,
|
|
47940
48055
|
storage_encrypted: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
47941
48056
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -447,7 +447,6 @@ class CfnFirewallRuleGroup(
|
|
|
447
447
|
cfn_firewall_rule_group = route53resolver.CfnFirewallRuleGroup(self, "MyCfnFirewallRuleGroup",
|
|
448
448
|
firewall_rules=[route53resolver.CfnFirewallRuleGroup.FirewallRuleProperty(
|
|
449
449
|
action="action",
|
|
450
|
-
firewall_domain_list_id="firewallDomainListId",
|
|
451
450
|
priority=123,
|
|
452
451
|
|
|
453
452
|
# the properties below are optional
|
|
@@ -455,7 +454,11 @@ class CfnFirewallRuleGroup(
|
|
|
455
454
|
block_override_domain="blockOverrideDomain",
|
|
456
455
|
block_override_ttl=123,
|
|
457
456
|
block_response="blockResponse",
|
|
457
|
+
confidence_threshold="confidenceThreshold",
|
|
458
|
+
dns_threat_protection="dnsThreatProtection",
|
|
459
|
+
firewall_domain_list_id="firewallDomainListId",
|
|
458
460
|
firewall_domain_redirection_action="firewallDomainRedirectionAction",
|
|
461
|
+
firewall_threat_protection_id="firewallThreatProtectionId",
|
|
459
462
|
qtype="qtype"
|
|
460
463
|
)],
|
|
461
464
|
name="name",
|
|
@@ -678,13 +681,16 @@ class CfnFirewallRuleGroup(
|
|
|
678
681
|
jsii_struct_bases=[],
|
|
679
682
|
name_mapping={
|
|
680
683
|
"action": "action",
|
|
681
|
-
"firewall_domain_list_id": "firewallDomainListId",
|
|
682
684
|
"priority": "priority",
|
|
683
685
|
"block_override_dns_type": "blockOverrideDnsType",
|
|
684
686
|
"block_override_domain": "blockOverrideDomain",
|
|
685
687
|
"block_override_ttl": "blockOverrideTtl",
|
|
686
688
|
"block_response": "blockResponse",
|
|
689
|
+
"confidence_threshold": "confidenceThreshold",
|
|
690
|
+
"dns_threat_protection": "dnsThreatProtection",
|
|
691
|
+
"firewall_domain_list_id": "firewallDomainListId",
|
|
687
692
|
"firewall_domain_redirection_action": "firewallDomainRedirectionAction",
|
|
693
|
+
"firewall_threat_protection_id": "firewallThreatProtectionId",
|
|
688
694
|
"qtype": "qtype",
|
|
689
695
|
},
|
|
690
696
|
)
|
|
@@ -693,25 +699,31 @@ class CfnFirewallRuleGroup(
|
|
|
693
699
|
self,
|
|
694
700
|
*,
|
|
695
701
|
action: builtins.str,
|
|
696
|
-
firewall_domain_list_id: builtins.str,
|
|
697
702
|
priority: jsii.Number,
|
|
698
703
|
block_override_dns_type: typing.Optional[builtins.str] = None,
|
|
699
704
|
block_override_domain: typing.Optional[builtins.str] = None,
|
|
700
705
|
block_override_ttl: typing.Optional[jsii.Number] = None,
|
|
701
706
|
block_response: typing.Optional[builtins.str] = None,
|
|
707
|
+
confidence_threshold: typing.Optional[builtins.str] = None,
|
|
708
|
+
dns_threat_protection: typing.Optional[builtins.str] = None,
|
|
709
|
+
firewall_domain_list_id: typing.Optional[builtins.str] = None,
|
|
702
710
|
firewall_domain_redirection_action: typing.Optional[builtins.str] = None,
|
|
711
|
+
firewall_threat_protection_id: typing.Optional[builtins.str] = None,
|
|
703
712
|
qtype: typing.Optional[builtins.str] = None,
|
|
704
713
|
) -> None:
|
|
705
714
|
'''A single firewall rule in a rule group.
|
|
706
715
|
|
|
707
716
|
:param action: The action that DNS Firewall should take on a DNS query when it matches one of the domains in the rule's domain list: - ``ALLOW`` - Permit the request to go through. - ``ALERT`` - Permit the request to go through but send an alert to the logs. - ``BLOCK`` - Disallow the request. If this is specified,then ``BlockResponse`` must also be specified. if ``BlockResponse`` is ``OVERRIDE`` , then all of the following ``OVERRIDE`` attributes must be specified: - ``BlockOverrideDnsType`` - ``BlockOverrideDomain`` - ``BlockOverrideTtl``
|
|
708
|
-
:param firewall_domain_list_id: The ID of the domain list that's used in the rule.
|
|
709
717
|
:param priority: The priority of the rule in the rule group. This value must be unique within the rule group. DNS Firewall processes the rules in a rule group by order of priority, starting from the lowest setting.
|
|
710
718
|
:param block_override_dns_type: The DNS record's type. This determines the format of the record value that you provided in ``BlockOverrideDomain`` . Used for the rule action ``BLOCK`` with a ``BlockResponse`` setting of ``OVERRIDE`` .
|
|
711
719
|
:param block_override_domain: The custom DNS record to send back in response to the query. Used for the rule action ``BLOCK`` with a ``BlockResponse`` setting of ``OVERRIDE`` .
|
|
712
720
|
:param block_override_ttl: The recommended amount of time, in seconds, for the DNS resolver or web browser to cache the provided override record. Used for the rule action ``BLOCK`` with a ``BlockResponse`` setting of ``OVERRIDE`` .
|
|
713
721
|
:param block_response: The way that you want DNS Firewall to block the request. Used for the rule action setting ``BLOCK`` . - ``NODATA`` - Respond indicating that the query was successful, but no response is available for it. - ``NXDOMAIN`` - Respond indicating that the domain name that's in the query doesn't exist. - ``OVERRIDE`` - Provide a custom override in the response. This option requires custom handling details in the rule's ``BlockOverride*`` settings.
|
|
722
|
+
:param confidence_threshold: FirewallDomainRedirectionAction.
|
|
723
|
+
:param dns_threat_protection: FirewallDomainRedirectionAction.
|
|
724
|
+
:param firewall_domain_list_id: The ID of the domain list that's used in the rule.
|
|
714
725
|
:param firewall_domain_redirection_action: How you want the the rule to evaluate DNS redirection in the DNS redirection chain, such as CNAME, or DNAME. ``Inspect_Redirection_Domain`` (Default) inspects all domains in the redirection chain. The individual domains in the redirection chain must be added to the domain list. ``Trust_Redirection_Domain`` inspects only the first domain in the redirection chain. You don't need to add the subsequent domains in the domain in the redirection list to the domain list.
|
|
726
|
+
:param firewall_threat_protection_id: ResourceId.
|
|
715
727
|
:param qtype: The DNS query type you want the rule to evaluate. Allowed values are; - A: Returns an IPv4 address. - AAAA: Returns an Ipv6 address. - CAA: Restricts CAs that can create SSL/TLS certifications for the domain. - CNAME: Returns another domain name. - DS: Record that identifies the DNSSEC signing key of a delegated zone. - MX: Specifies mail servers. - NAPTR: Regular-expression-based rewriting of domain names. - NS: Authoritative name servers. - PTR: Maps an IP address to a domain name. - SOA: Start of authority record for the zone. - SPF: Lists the servers authorized to send emails from a domain. - SRV: Application specific values that identify servers. - TXT: Verifies email senders and application-specific values. - A query type you define by using the DNS type ID, for example 28 for AAAA. The values must be defined as TYPE NUMBER , where the NUMBER can be 1-65334, for example, TYPE28. For more information, see `List of DNS record types <https://docs.aws.amazon.com/https://en.wikipedia.org/wiki/List_of_DNS_record_types>`_ .
|
|
716
728
|
|
|
717
729
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53resolver-firewallrulegroup-firewallrule.html
|
|
@@ -725,7 +737,6 @@ class CfnFirewallRuleGroup(
|
|
|
725
737
|
|
|
726
738
|
firewall_rule_property = route53resolver.CfnFirewallRuleGroup.FirewallRuleProperty(
|
|
727
739
|
action="action",
|
|
728
|
-
firewall_domain_list_id="firewallDomainListId",
|
|
729
740
|
priority=123,
|
|
730
741
|
|
|
731
742
|
# the properties below are optional
|
|
@@ -733,24 +744,30 @@ class CfnFirewallRuleGroup(
|
|
|
733
744
|
block_override_domain="blockOverrideDomain",
|
|
734
745
|
block_override_ttl=123,
|
|
735
746
|
block_response="blockResponse",
|
|
747
|
+
confidence_threshold="confidenceThreshold",
|
|
748
|
+
dns_threat_protection="dnsThreatProtection",
|
|
749
|
+
firewall_domain_list_id="firewallDomainListId",
|
|
736
750
|
firewall_domain_redirection_action="firewallDomainRedirectionAction",
|
|
751
|
+
firewall_threat_protection_id="firewallThreatProtectionId",
|
|
737
752
|
qtype="qtype"
|
|
738
753
|
)
|
|
739
754
|
'''
|
|
740
755
|
if __debug__:
|
|
741
756
|
type_hints = typing.get_type_hints(_typecheckingstub__61f0f7aa6db62533b4486bd58a4692d76a133c14cd2281a8ea8e083c9d952e92)
|
|
742
757
|
check_type(argname="argument action", value=action, expected_type=type_hints["action"])
|
|
743
|
-
check_type(argname="argument firewall_domain_list_id", value=firewall_domain_list_id, expected_type=type_hints["firewall_domain_list_id"])
|
|
744
758
|
check_type(argname="argument priority", value=priority, expected_type=type_hints["priority"])
|
|
745
759
|
check_type(argname="argument block_override_dns_type", value=block_override_dns_type, expected_type=type_hints["block_override_dns_type"])
|
|
746
760
|
check_type(argname="argument block_override_domain", value=block_override_domain, expected_type=type_hints["block_override_domain"])
|
|
747
761
|
check_type(argname="argument block_override_ttl", value=block_override_ttl, expected_type=type_hints["block_override_ttl"])
|
|
748
762
|
check_type(argname="argument block_response", value=block_response, expected_type=type_hints["block_response"])
|
|
763
|
+
check_type(argname="argument confidence_threshold", value=confidence_threshold, expected_type=type_hints["confidence_threshold"])
|
|
764
|
+
check_type(argname="argument dns_threat_protection", value=dns_threat_protection, expected_type=type_hints["dns_threat_protection"])
|
|
765
|
+
check_type(argname="argument firewall_domain_list_id", value=firewall_domain_list_id, expected_type=type_hints["firewall_domain_list_id"])
|
|
749
766
|
check_type(argname="argument firewall_domain_redirection_action", value=firewall_domain_redirection_action, expected_type=type_hints["firewall_domain_redirection_action"])
|
|
767
|
+
check_type(argname="argument firewall_threat_protection_id", value=firewall_threat_protection_id, expected_type=type_hints["firewall_threat_protection_id"])
|
|
750
768
|
check_type(argname="argument qtype", value=qtype, expected_type=type_hints["qtype"])
|
|
751
769
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
752
770
|
"action": action,
|
|
753
|
-
"firewall_domain_list_id": firewall_domain_list_id,
|
|
754
771
|
"priority": priority,
|
|
755
772
|
}
|
|
756
773
|
if block_override_dns_type is not None:
|
|
@@ -761,8 +778,16 @@ class CfnFirewallRuleGroup(
|
|
|
761
778
|
self._values["block_override_ttl"] = block_override_ttl
|
|
762
779
|
if block_response is not None:
|
|
763
780
|
self._values["block_response"] = block_response
|
|
781
|
+
if confidence_threshold is not None:
|
|
782
|
+
self._values["confidence_threshold"] = confidence_threshold
|
|
783
|
+
if dns_threat_protection is not None:
|
|
784
|
+
self._values["dns_threat_protection"] = dns_threat_protection
|
|
785
|
+
if firewall_domain_list_id is not None:
|
|
786
|
+
self._values["firewall_domain_list_id"] = firewall_domain_list_id
|
|
764
787
|
if firewall_domain_redirection_action is not None:
|
|
765
788
|
self._values["firewall_domain_redirection_action"] = firewall_domain_redirection_action
|
|
789
|
+
if firewall_threat_protection_id is not None:
|
|
790
|
+
self._values["firewall_threat_protection_id"] = firewall_threat_protection_id
|
|
766
791
|
if qtype is not None:
|
|
767
792
|
self._values["qtype"] = qtype
|
|
768
793
|
|
|
@@ -785,16 +810,6 @@ class CfnFirewallRuleGroup(
|
|
|
785
810
|
assert result is not None, "Required property 'action' is missing"
|
|
786
811
|
return typing.cast(builtins.str, result)
|
|
787
812
|
|
|
788
|
-
@builtins.property
|
|
789
|
-
def firewall_domain_list_id(self) -> builtins.str:
|
|
790
|
-
'''The ID of the domain list that's used in the rule.
|
|
791
|
-
|
|
792
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53resolver-firewallrulegroup-firewallrule.html#cfn-route53resolver-firewallrulegroup-firewallrule-firewalldomainlistid
|
|
793
|
-
'''
|
|
794
|
-
result = self._values.get("firewall_domain_list_id")
|
|
795
|
-
assert result is not None, "Required property 'firewall_domain_list_id' is missing"
|
|
796
|
-
return typing.cast(builtins.str, result)
|
|
797
|
-
|
|
798
813
|
@builtins.property
|
|
799
814
|
def priority(self) -> jsii.Number:
|
|
800
815
|
'''The priority of the rule in the rule group.
|
|
@@ -853,6 +868,33 @@ class CfnFirewallRuleGroup(
|
|
|
853
868
|
result = self._values.get("block_response")
|
|
854
869
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
855
870
|
|
|
871
|
+
@builtins.property
|
|
872
|
+
def confidence_threshold(self) -> typing.Optional[builtins.str]:
|
|
873
|
+
'''FirewallDomainRedirectionAction.
|
|
874
|
+
|
|
875
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53resolver-firewallrulegroup-firewallrule.html#cfn-route53resolver-firewallrulegroup-firewallrule-confidencethreshold
|
|
876
|
+
'''
|
|
877
|
+
result = self._values.get("confidence_threshold")
|
|
878
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
879
|
+
|
|
880
|
+
@builtins.property
|
|
881
|
+
def dns_threat_protection(self) -> typing.Optional[builtins.str]:
|
|
882
|
+
'''FirewallDomainRedirectionAction.
|
|
883
|
+
|
|
884
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53resolver-firewallrulegroup-firewallrule.html#cfn-route53resolver-firewallrulegroup-firewallrule-dnsthreatprotection
|
|
885
|
+
'''
|
|
886
|
+
result = self._values.get("dns_threat_protection")
|
|
887
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
888
|
+
|
|
889
|
+
@builtins.property
|
|
890
|
+
def firewall_domain_list_id(self) -> typing.Optional[builtins.str]:
|
|
891
|
+
'''The ID of the domain list that's used in the rule.
|
|
892
|
+
|
|
893
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53resolver-firewallrulegroup-firewallrule.html#cfn-route53resolver-firewallrulegroup-firewallrule-firewalldomainlistid
|
|
894
|
+
'''
|
|
895
|
+
result = self._values.get("firewall_domain_list_id")
|
|
896
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
897
|
+
|
|
856
898
|
@builtins.property
|
|
857
899
|
def firewall_domain_redirection_action(self) -> typing.Optional[builtins.str]:
|
|
858
900
|
'''How you want the the rule to evaluate DNS redirection in the DNS redirection chain, such as CNAME, or DNAME.
|
|
@@ -866,6 +908,15 @@ class CfnFirewallRuleGroup(
|
|
|
866
908
|
result = self._values.get("firewall_domain_redirection_action")
|
|
867
909
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
868
910
|
|
|
911
|
+
@builtins.property
|
|
912
|
+
def firewall_threat_protection_id(self) -> typing.Optional[builtins.str]:
|
|
913
|
+
'''ResourceId.
|
|
914
|
+
|
|
915
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53resolver-firewallrulegroup-firewallrule.html#cfn-route53resolver-firewallrulegroup-firewallrule-firewallthreatprotectionid
|
|
916
|
+
'''
|
|
917
|
+
result = self._values.get("firewall_threat_protection_id")
|
|
918
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
919
|
+
|
|
869
920
|
@builtins.property
|
|
870
921
|
def qtype(self) -> typing.Optional[builtins.str]:
|
|
871
922
|
'''The DNS query type you want the rule to evaluate. Allowed values are;
|
|
@@ -1349,7 +1400,6 @@ class CfnFirewallRuleGroupProps:
|
|
|
1349
1400
|
cfn_firewall_rule_group_props = route53resolver.CfnFirewallRuleGroupProps(
|
|
1350
1401
|
firewall_rules=[route53resolver.CfnFirewallRuleGroup.FirewallRuleProperty(
|
|
1351
1402
|
action="action",
|
|
1352
|
-
firewall_domain_list_id="firewallDomainListId",
|
|
1353
1403
|
priority=123,
|
|
1354
1404
|
|
|
1355
1405
|
# the properties below are optional
|
|
@@ -1357,7 +1407,11 @@ class CfnFirewallRuleGroupProps:
|
|
|
1357
1407
|
block_override_domain="blockOverrideDomain",
|
|
1358
1408
|
block_override_ttl=123,
|
|
1359
1409
|
block_response="blockResponse",
|
|
1410
|
+
confidence_threshold="confidenceThreshold",
|
|
1411
|
+
dns_threat_protection="dnsThreatProtection",
|
|
1412
|
+
firewall_domain_list_id="firewallDomainListId",
|
|
1360
1413
|
firewall_domain_redirection_action="firewallDomainRedirectionAction",
|
|
1414
|
+
firewall_threat_protection_id="firewallThreatProtectionId",
|
|
1361
1415
|
qtype="qtype"
|
|
1362
1416
|
)],
|
|
1363
1417
|
name="name",
|
|
@@ -4286,13 +4340,16 @@ def _typecheckingstub__68e88161bfa870a62d2b106ff0d76bb87c2d573da805d7d6852d0dff9
|
|
|
4286
4340
|
def _typecheckingstub__61f0f7aa6db62533b4486bd58a4692d76a133c14cd2281a8ea8e083c9d952e92(
|
|
4287
4341
|
*,
|
|
4288
4342
|
action: builtins.str,
|
|
4289
|
-
firewall_domain_list_id: builtins.str,
|
|
4290
4343
|
priority: jsii.Number,
|
|
4291
4344
|
block_override_dns_type: typing.Optional[builtins.str] = None,
|
|
4292
4345
|
block_override_domain: typing.Optional[builtins.str] = None,
|
|
4293
4346
|
block_override_ttl: typing.Optional[jsii.Number] = None,
|
|
4294
4347
|
block_response: typing.Optional[builtins.str] = None,
|
|
4348
|
+
confidence_threshold: typing.Optional[builtins.str] = None,
|
|
4349
|
+
dns_threat_protection: typing.Optional[builtins.str] = None,
|
|
4350
|
+
firewall_domain_list_id: typing.Optional[builtins.str] = None,
|
|
4295
4351
|
firewall_domain_redirection_action: typing.Optional[builtins.str] = None,
|
|
4352
|
+
firewall_threat_protection_id: typing.Optional[builtins.str] = None,
|
|
4296
4353
|
qtype: typing.Optional[builtins.str] = None,
|
|
4297
4354
|
) -> None:
|
|
4298
4355
|
"""Type checking stubs"""
|
|
@@ -1543,6 +1543,10 @@ class CfnCluster(
|
|
|
1543
1543
|
)
|
|
1544
1544
|
)],
|
|
1545
1545
|
on_start_deep_health_checks=["onStartDeepHealthChecks"],
|
|
1546
|
+
override_vpc_config=sagemaker.CfnCluster.VpcConfigProperty(
|
|
1547
|
+
security_group_ids=["securityGroupIds"],
|
|
1548
|
+
subnets=["subnets"]
|
|
1549
|
+
),
|
|
1546
1550
|
threads_per_core=123
|
|
1547
1551
|
)],
|
|
1548
1552
|
|
|
@@ -1843,6 +1847,7 @@ class CfnCluster(
|
|
|
1843
1847
|
"current_count": "currentCount",
|
|
1844
1848
|
"instance_storage_configs": "instanceStorageConfigs",
|
|
1845
1849
|
"on_start_deep_health_checks": "onStartDeepHealthChecks",
|
|
1850
|
+
"override_vpc_config": "overrideVpcConfig",
|
|
1846
1851
|
"threads_per_core": "threadsPerCore",
|
|
1847
1852
|
},
|
|
1848
1853
|
)
|
|
@@ -1858,6 +1863,7 @@ class CfnCluster(
|
|
|
1858
1863
|
current_count: typing.Optional[jsii.Number] = None,
|
|
1859
1864
|
instance_storage_configs: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCluster.ClusterInstanceStorageConfigProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
1860
1865
|
on_start_deep_health_checks: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
1866
|
+
override_vpc_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCluster.VpcConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1861
1867
|
threads_per_core: typing.Optional[jsii.Number] = None,
|
|
1862
1868
|
) -> None:
|
|
1863
1869
|
'''The configuration information of the instance group within the HyperPod cluster.
|
|
@@ -1870,6 +1876,7 @@ class CfnCluster(
|
|
|
1870
1876
|
:param current_count: The number of instances that are currently in the instance group of a SageMaker HyperPod cluster.
|
|
1871
1877
|
:param instance_storage_configs: The configurations of additional storage specified to the instance group where the instance (node) is launched.
|
|
1872
1878
|
:param on_start_deep_health_checks: A flag indicating whether deep health checks should be performed when the HyperPod cluster instance group is created or updated. Deep health checks are comprehensive, invasive tests that validate the health of the underlying hardware and infrastructure components.
|
|
1879
|
+
:param override_vpc_config: Specifies an Amazon Virtual Private Cloud (VPC) that your SageMaker jobs, hosted models, and compute resources have access to. You can control access to and from your resources by configuring a VPC.
|
|
1873
1880
|
:param threads_per_core: The number of threads per CPU core you specified under ``CreateCluster`` .
|
|
1874
1881
|
|
|
1875
1882
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-clusterinstancegroup.html
|
|
@@ -1899,6 +1906,10 @@ class CfnCluster(
|
|
|
1899
1906
|
)
|
|
1900
1907
|
)],
|
|
1901
1908
|
on_start_deep_health_checks=["onStartDeepHealthChecks"],
|
|
1909
|
+
override_vpc_config=sagemaker.CfnCluster.VpcConfigProperty(
|
|
1910
|
+
security_group_ids=["securityGroupIds"],
|
|
1911
|
+
subnets=["subnets"]
|
|
1912
|
+
),
|
|
1902
1913
|
threads_per_core=123
|
|
1903
1914
|
)
|
|
1904
1915
|
'''
|
|
@@ -1912,6 +1923,7 @@ class CfnCluster(
|
|
|
1912
1923
|
check_type(argname="argument current_count", value=current_count, expected_type=type_hints["current_count"])
|
|
1913
1924
|
check_type(argname="argument instance_storage_configs", value=instance_storage_configs, expected_type=type_hints["instance_storage_configs"])
|
|
1914
1925
|
check_type(argname="argument on_start_deep_health_checks", value=on_start_deep_health_checks, expected_type=type_hints["on_start_deep_health_checks"])
|
|
1926
|
+
check_type(argname="argument override_vpc_config", value=override_vpc_config, expected_type=type_hints["override_vpc_config"])
|
|
1915
1927
|
check_type(argname="argument threads_per_core", value=threads_per_core, expected_type=type_hints["threads_per_core"])
|
|
1916
1928
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1917
1929
|
"execution_role": execution_role,
|
|
@@ -1926,6 +1938,8 @@ class CfnCluster(
|
|
|
1926
1938
|
self._values["instance_storage_configs"] = instance_storage_configs
|
|
1927
1939
|
if on_start_deep_health_checks is not None:
|
|
1928
1940
|
self._values["on_start_deep_health_checks"] = on_start_deep_health_checks
|
|
1941
|
+
if override_vpc_config is not None:
|
|
1942
|
+
self._values["override_vpc_config"] = override_vpc_config
|
|
1929
1943
|
if threads_per_core is not None:
|
|
1930
1944
|
self._values["threads_per_core"] = threads_per_core
|
|
1931
1945
|
|
|
@@ -2014,6 +2028,19 @@ class CfnCluster(
|
|
|
2014
2028
|
result = self._values.get("on_start_deep_health_checks")
|
|
2015
2029
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
2016
2030
|
|
|
2031
|
+
@builtins.property
|
|
2032
|
+
def override_vpc_config(
|
|
2033
|
+
self,
|
|
2034
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.VpcConfigProperty"]]:
|
|
2035
|
+
'''Specifies an Amazon Virtual Private Cloud (VPC) that your SageMaker jobs, hosted models, and compute resources have access to.
|
|
2036
|
+
|
|
2037
|
+
You can control access to and from your resources by configuring a VPC.
|
|
2038
|
+
|
|
2039
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-clusterinstancegroup.html#cfn-sagemaker-cluster-clusterinstancegroup-overridevpcconfig
|
|
2040
|
+
'''
|
|
2041
|
+
result = self._values.get("override_vpc_config")
|
|
2042
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.VpcConfigProperty"]], result)
|
|
2043
|
+
|
|
2017
2044
|
@builtins.property
|
|
2018
2045
|
def threads_per_core(self) -> typing.Optional[jsii.Number]:
|
|
2019
2046
|
'''The number of threads per CPU core you specified under ``CreateCluster`` .
|
|
@@ -2426,6 +2453,10 @@ class CfnClusterProps:
|
|
|
2426
2453
|
)
|
|
2427
2454
|
)],
|
|
2428
2455
|
on_start_deep_health_checks=["onStartDeepHealthChecks"],
|
|
2456
|
+
override_vpc_config=sagemaker.CfnCluster.VpcConfigProperty(
|
|
2457
|
+
security_group_ids=["securityGroupIds"],
|
|
2458
|
+
subnets=["subnets"]
|
|
2459
|
+
),
|
|
2429
2460
|
threads_per_core=123
|
|
2430
2461
|
)],
|
|
2431
2462
|
|
|
@@ -48377,6 +48408,7 @@ def _typecheckingstub__3a19719ba9f3f785eebfbcc6ee996f6178944dfe9cbd5d5cdf73341bd
|
|
|
48377
48408
|
current_count: typing.Optional[jsii.Number] = None,
|
|
48378
48409
|
instance_storage_configs: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCluster.ClusterInstanceStorageConfigProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
48379
48410
|
on_start_deep_health_checks: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
48411
|
+
override_vpc_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCluster.VpcConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
48380
48412
|
threads_per_core: typing.Optional[jsii.Number] = None,
|
|
48381
48413
|
) -> None:
|
|
48382
48414
|
"""Type checking stubs"""
|