aws-cdk-lib 2.164.1__py3-none-any.whl → 2.165.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 +20 -0
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.164.1.jsii.tgz → aws-cdk-lib@2.165.0.jsii.tgz} +0 -0
- aws_cdk/aws_appsync/__init__.py +24 -18
- aws_cdk/aws_autoscaling/__init__.py +145 -8
- aws_cdk/aws_backup/__init__.py +598 -0
- aws_cdk/aws_bedrock/__init__.py +8 -8
- aws_cdk/aws_codebuild/__init__.py +88 -33
- aws_cdk/aws_cognito/__init__.py +657 -95
- aws_cdk/aws_ec2/__init__.py +122 -32
- aws_cdk/aws_eks/__init__.py +10 -12
- aws_cdk/aws_elasticache/__init__.py +47 -6
- aws_cdk/aws_imagebuilder/__init__.py +183 -0
- aws_cdk/aws_iot/__init__.py +37 -43
- aws_cdk/aws_iotwireless/__init__.py +2 -2
- aws_cdk/aws_memorydb/__init__.py +41 -0
- aws_cdk/aws_qbusiness/__init__.py +21 -14
- aws_cdk/aws_rds/__init__.py +122 -32
- aws_cdk/aws_redshift/__init__.py +23 -23
- aws_cdk/aws_refactorspaces/__init__.py +56 -61
- aws_cdk/aws_resiliencehub/__init__.py +4 -4
- aws_cdk/aws_route53/__init__.py +3 -1
- aws_cdk/aws_sagemaker/__init__.py +69 -0
- aws_cdk/aws_sqs/__init__.py +9 -12
- {aws_cdk_lib-2.164.1.dist-info → aws_cdk_lib-2.165.0.dist-info}/METADATA +6 -6
- {aws_cdk_lib-2.164.1.dist-info → aws_cdk_lib-2.165.0.dist-info}/RECORD +30 -30
- {aws_cdk_lib-2.164.1.dist-info → aws_cdk_lib-2.165.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.164.1.dist-info → aws_cdk_lib-2.165.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.164.1.dist-info → aws_cdk_lib-2.165.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.164.1.dist-info → aws_cdk_lib-2.165.0.dist-info}/top_level.txt +0 -0
|
@@ -593,11 +593,9 @@ class CfnEnvironment(
|
|
|
593
593
|
from aws_cdk import aws_refactorspaces as refactorspaces
|
|
594
594
|
|
|
595
595
|
cfn_environment = refactorspaces.CfnEnvironment(self, "MyCfnEnvironment",
|
|
596
|
+
description="description",
|
|
596
597
|
name="name",
|
|
597
598
|
network_fabric_type="networkFabricType",
|
|
598
|
-
|
|
599
|
-
# the properties below are optional
|
|
600
|
-
description="description",
|
|
601
599
|
tags=[CfnTag(
|
|
602
600
|
key="key",
|
|
603
601
|
value="value"
|
|
@@ -610,17 +608,17 @@ class CfnEnvironment(
|
|
|
610
608
|
scope: _constructs_77d1e7e8.Construct,
|
|
611
609
|
id: builtins.str,
|
|
612
610
|
*,
|
|
613
|
-
name: builtins.str,
|
|
614
|
-
network_fabric_type: builtins.str,
|
|
615
611
|
description: typing.Optional[builtins.str] = None,
|
|
612
|
+
name: typing.Optional[builtins.str] = None,
|
|
613
|
+
network_fabric_type: typing.Optional[builtins.str] = None,
|
|
616
614
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
617
615
|
) -> None:
|
|
618
616
|
'''
|
|
619
617
|
:param scope: Scope in which this resource is defined.
|
|
620
618
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
619
|
+
:param description: A description of the environment.
|
|
621
620
|
:param name: The name of the environment.
|
|
622
621
|
:param network_fabric_type: The network fabric type of the environment.
|
|
623
|
-
:param description: A description of the environment.
|
|
624
622
|
:param tags: The tags assigned to the environment.
|
|
625
623
|
'''
|
|
626
624
|
if __debug__:
|
|
@@ -628,9 +626,9 @@ class CfnEnvironment(
|
|
|
628
626
|
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
629
627
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
630
628
|
props = CfnEnvironmentProps(
|
|
629
|
+
description=description,
|
|
631
630
|
name=name,
|
|
632
631
|
network_fabric_type=network_fabric_type,
|
|
633
|
-
description=description,
|
|
634
632
|
tags=tags,
|
|
635
633
|
)
|
|
636
634
|
|
|
@@ -704,14 +702,27 @@ class CfnEnvironment(
|
|
|
704
702
|
'''Tag Manager which manages the tags for this resource.'''
|
|
705
703
|
return typing.cast(_TagManager_0a598cb3, jsii.get(self, "tags"))
|
|
706
704
|
|
|
705
|
+
@builtins.property
|
|
706
|
+
@jsii.member(jsii_name="description")
|
|
707
|
+
def description(self) -> typing.Optional[builtins.str]:
|
|
708
|
+
'''A description of the environment.'''
|
|
709
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "description"))
|
|
710
|
+
|
|
711
|
+
@description.setter
|
|
712
|
+
def description(self, value: typing.Optional[builtins.str]) -> None:
|
|
713
|
+
if __debug__:
|
|
714
|
+
type_hints = typing.get_type_hints(_typecheckingstub__271815f6b6299ae2b9ca94d64e6b3e5f6de740f2212fc74c92c95cfbbb1f7c99)
|
|
715
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
716
|
+
jsii.set(self, "description", value) # pyright: ignore[reportArgumentType]
|
|
717
|
+
|
|
707
718
|
@builtins.property
|
|
708
719
|
@jsii.member(jsii_name="name")
|
|
709
|
-
def name(self) -> builtins.str:
|
|
720
|
+
def name(self) -> typing.Optional[builtins.str]:
|
|
710
721
|
'''The name of the environment.'''
|
|
711
|
-
return typing.cast(builtins.str, jsii.get(self, "name"))
|
|
722
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "name"))
|
|
712
723
|
|
|
713
724
|
@name.setter
|
|
714
|
-
def name(self, value: builtins.str) -> None:
|
|
725
|
+
def name(self, value: typing.Optional[builtins.str]) -> None:
|
|
715
726
|
if __debug__:
|
|
716
727
|
type_hints = typing.get_type_hints(_typecheckingstub__78a1dd279f966e1ba560574858b8d147fa089efd23806e011056a3ab45fef84b)
|
|
717
728
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
@@ -719,30 +730,17 @@ class CfnEnvironment(
|
|
|
719
730
|
|
|
720
731
|
@builtins.property
|
|
721
732
|
@jsii.member(jsii_name="networkFabricType")
|
|
722
|
-
def network_fabric_type(self) -> builtins.str:
|
|
733
|
+
def network_fabric_type(self) -> typing.Optional[builtins.str]:
|
|
723
734
|
'''The network fabric type of the environment.'''
|
|
724
|
-
return typing.cast(builtins.str, jsii.get(self, "networkFabricType"))
|
|
735
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "networkFabricType"))
|
|
725
736
|
|
|
726
737
|
@network_fabric_type.setter
|
|
727
|
-
def network_fabric_type(self, value: builtins.str) -> None:
|
|
738
|
+
def network_fabric_type(self, value: typing.Optional[builtins.str]) -> None:
|
|
728
739
|
if __debug__:
|
|
729
740
|
type_hints = typing.get_type_hints(_typecheckingstub__7218caf601ef511e6c489e41a01233a12b0895a28a26b826e4c2c36d324becd3)
|
|
730
741
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
731
742
|
jsii.set(self, "networkFabricType", value) # pyright: ignore[reportArgumentType]
|
|
732
743
|
|
|
733
|
-
@builtins.property
|
|
734
|
-
@jsii.member(jsii_name="description")
|
|
735
|
-
def description(self) -> typing.Optional[builtins.str]:
|
|
736
|
-
'''A description of the environment.'''
|
|
737
|
-
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "description"))
|
|
738
|
-
|
|
739
|
-
@description.setter
|
|
740
|
-
def description(self, value: typing.Optional[builtins.str]) -> None:
|
|
741
|
-
if __debug__:
|
|
742
|
-
type_hints = typing.get_type_hints(_typecheckingstub__271815f6b6299ae2b9ca94d64e6b3e5f6de740f2212fc74c92c95cfbbb1f7c99)
|
|
743
|
-
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
744
|
-
jsii.set(self, "description", value) # pyright: ignore[reportArgumentType]
|
|
745
|
-
|
|
746
744
|
@builtins.property
|
|
747
745
|
@jsii.member(jsii_name="tagsRaw")
|
|
748
746
|
def tags_raw(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
@@ -761,9 +759,9 @@ class CfnEnvironment(
|
|
|
761
759
|
jsii_type="aws-cdk-lib.aws_refactorspaces.CfnEnvironmentProps",
|
|
762
760
|
jsii_struct_bases=[],
|
|
763
761
|
name_mapping={
|
|
762
|
+
"description": "description",
|
|
764
763
|
"name": "name",
|
|
765
764
|
"network_fabric_type": "networkFabricType",
|
|
766
|
-
"description": "description",
|
|
767
765
|
"tags": "tags",
|
|
768
766
|
},
|
|
769
767
|
)
|
|
@@ -771,16 +769,16 @@ class CfnEnvironmentProps:
|
|
|
771
769
|
def __init__(
|
|
772
770
|
self,
|
|
773
771
|
*,
|
|
774
|
-
name: builtins.str,
|
|
775
|
-
network_fabric_type: builtins.str,
|
|
776
772
|
description: typing.Optional[builtins.str] = None,
|
|
773
|
+
name: typing.Optional[builtins.str] = None,
|
|
774
|
+
network_fabric_type: typing.Optional[builtins.str] = None,
|
|
777
775
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
778
776
|
) -> None:
|
|
779
777
|
'''Properties for defining a ``CfnEnvironment``.
|
|
780
778
|
|
|
779
|
+
:param description: A description of the environment.
|
|
781
780
|
:param name: The name of the environment.
|
|
782
781
|
:param network_fabric_type: The network fabric type of the environment.
|
|
783
|
-
:param description: A description of the environment.
|
|
784
782
|
:param tags: The tags assigned to the environment.
|
|
785
783
|
|
|
786
784
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-refactorspaces-environment.html
|
|
@@ -793,11 +791,9 @@ class CfnEnvironmentProps:
|
|
|
793
791
|
from aws_cdk import aws_refactorspaces as refactorspaces
|
|
794
792
|
|
|
795
793
|
cfn_environment_props = refactorspaces.CfnEnvironmentProps(
|
|
794
|
+
description="description",
|
|
796
795
|
name="name",
|
|
797
796
|
network_fabric_type="networkFabricType",
|
|
798
|
-
|
|
799
|
-
# the properties below are optional
|
|
800
|
-
description="description",
|
|
801
797
|
tags=[CfnTag(
|
|
802
798
|
key="key",
|
|
803
799
|
value="value"
|
|
@@ -806,46 +802,45 @@ class CfnEnvironmentProps:
|
|
|
806
802
|
'''
|
|
807
803
|
if __debug__:
|
|
808
804
|
type_hints = typing.get_type_hints(_typecheckingstub__cc993226fa6d6cb56a25f6ae5fb96e6ea288e1bcd336e16e685ce08129bd9ae6)
|
|
805
|
+
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
809
806
|
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
810
807
|
check_type(argname="argument network_fabric_type", value=network_fabric_type, expected_type=type_hints["network_fabric_type"])
|
|
811
|
-
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
812
808
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
813
|
-
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
814
|
-
"name": name,
|
|
815
|
-
"network_fabric_type": network_fabric_type,
|
|
816
|
-
}
|
|
809
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
817
810
|
if description is not None:
|
|
818
811
|
self._values["description"] = description
|
|
812
|
+
if name is not None:
|
|
813
|
+
self._values["name"] = name
|
|
814
|
+
if network_fabric_type is not None:
|
|
815
|
+
self._values["network_fabric_type"] = network_fabric_type
|
|
819
816
|
if tags is not None:
|
|
820
817
|
self._values["tags"] = tags
|
|
821
818
|
|
|
822
819
|
@builtins.property
|
|
823
|
-
def
|
|
820
|
+
def description(self) -> typing.Optional[builtins.str]:
|
|
821
|
+
'''A description of the environment.
|
|
822
|
+
|
|
823
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-refactorspaces-environment.html#cfn-refactorspaces-environment-description
|
|
824
|
+
'''
|
|
825
|
+
result = self._values.get("description")
|
|
826
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
827
|
+
|
|
828
|
+
@builtins.property
|
|
829
|
+
def name(self) -> typing.Optional[builtins.str]:
|
|
824
830
|
'''The name of the environment.
|
|
825
831
|
|
|
826
832
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-refactorspaces-environment.html#cfn-refactorspaces-environment-name
|
|
827
833
|
'''
|
|
828
834
|
result = self._values.get("name")
|
|
829
|
-
|
|
830
|
-
return typing.cast(builtins.str, result)
|
|
835
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
831
836
|
|
|
832
837
|
@builtins.property
|
|
833
|
-
def network_fabric_type(self) -> builtins.str:
|
|
838
|
+
def network_fabric_type(self) -> typing.Optional[builtins.str]:
|
|
834
839
|
'''The network fabric type of the environment.
|
|
835
840
|
|
|
836
841
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-refactorspaces-environment.html#cfn-refactorspaces-environment-networkfabrictype
|
|
837
842
|
'''
|
|
838
843
|
result = self._values.get("network_fabric_type")
|
|
839
|
-
assert result is not None, "Required property 'network_fabric_type' is missing"
|
|
840
|
-
return typing.cast(builtins.str, result)
|
|
841
|
-
|
|
842
|
-
@builtins.property
|
|
843
|
-
def description(self) -> typing.Optional[builtins.str]:
|
|
844
|
-
'''A description of the environment.
|
|
845
|
-
|
|
846
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-refactorspaces-environment.html#cfn-refactorspaces-environment-description
|
|
847
|
-
'''
|
|
848
|
-
result = self._values.get("description")
|
|
849
844
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
850
845
|
|
|
851
846
|
@builtins.property
|
|
@@ -2228,9 +2223,9 @@ def _typecheckingstub__0a536c3debb5766a7d9c84ccebc269b62327808a31254e1265a594b32
|
|
|
2228
2223
|
scope: _constructs_77d1e7e8.Construct,
|
|
2229
2224
|
id: builtins.str,
|
|
2230
2225
|
*,
|
|
2231
|
-
name: builtins.str,
|
|
2232
|
-
network_fabric_type: builtins.str,
|
|
2233
2226
|
description: typing.Optional[builtins.str] = None,
|
|
2227
|
+
name: typing.Optional[builtins.str] = None,
|
|
2228
|
+
network_fabric_type: typing.Optional[builtins.str] = None,
|
|
2234
2229
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2235
2230
|
) -> None:
|
|
2236
2231
|
"""Type checking stubs"""
|
|
@@ -2248,19 +2243,19 @@ def _typecheckingstub__138e64a98402d3a98928b3e46ccae4a4d0dea8d23b6abe8a4b1ebce5a
|
|
|
2248
2243
|
"""Type checking stubs"""
|
|
2249
2244
|
pass
|
|
2250
2245
|
|
|
2251
|
-
def
|
|
2252
|
-
value: builtins.str,
|
|
2246
|
+
def _typecheckingstub__271815f6b6299ae2b9ca94d64e6b3e5f6de740f2212fc74c92c95cfbbb1f7c99(
|
|
2247
|
+
value: typing.Optional[builtins.str],
|
|
2253
2248
|
) -> None:
|
|
2254
2249
|
"""Type checking stubs"""
|
|
2255
2250
|
pass
|
|
2256
2251
|
|
|
2257
|
-
def
|
|
2258
|
-
value: builtins.str,
|
|
2252
|
+
def _typecheckingstub__78a1dd279f966e1ba560574858b8d147fa089efd23806e011056a3ab45fef84b(
|
|
2253
|
+
value: typing.Optional[builtins.str],
|
|
2259
2254
|
) -> None:
|
|
2260
2255
|
"""Type checking stubs"""
|
|
2261
2256
|
pass
|
|
2262
2257
|
|
|
2263
|
-
def
|
|
2258
|
+
def _typecheckingstub__7218caf601ef511e6c489e41a01233a12b0895a28a26b826e4c2c36d324becd3(
|
|
2264
2259
|
value: typing.Optional[builtins.str],
|
|
2265
2260
|
) -> None:
|
|
2266
2261
|
"""Type checking stubs"""
|
|
@@ -2274,9 +2269,9 @@ def _typecheckingstub__49a8b10d6ea6b81c02ef39ee701909acec2186e1d9db3d4d4ad464207
|
|
|
2274
2269
|
|
|
2275
2270
|
def _typecheckingstub__cc993226fa6d6cb56a25f6ae5fb96e6ea288e1bcd336e16e685ce08129bd9ae6(
|
|
2276
2271
|
*,
|
|
2277
|
-
name: builtins.str,
|
|
2278
|
-
network_fabric_type: builtins.str,
|
|
2279
2272
|
description: typing.Optional[builtins.str] = None,
|
|
2273
|
+
name: typing.Optional[builtins.str] = None,
|
|
2274
|
+
network_fabric_type: typing.Optional[builtins.str] = None,
|
|
2280
2275
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2281
2276
|
) -> None:
|
|
2282
2277
|
"""Type checking stubs"""
|
|
@@ -1347,7 +1347,7 @@ class CfnResiliencyPolicy(
|
|
|
1347
1347
|
:param policy_name: The name of the policy.
|
|
1348
1348
|
:param tier: The tier for this resiliency policy, ranging from the highest severity ( ``MissionCritical`` ) to lowest ( ``NonCritical`` ).
|
|
1349
1349
|
:param data_location_constraint: Specifies a high-level geographical location constraint for where your resilience policy data can be stored.
|
|
1350
|
-
:param policy_description:
|
|
1350
|
+
:param policy_description: Description of the resiliency policy.
|
|
1351
1351
|
:param tags: Tags assigned to the resource. A tag is a label that you assign to an AWS resource. Each tag consists of a key/value pair.
|
|
1352
1352
|
'''
|
|
1353
1353
|
if __debug__:
|
|
@@ -1475,7 +1475,7 @@ class CfnResiliencyPolicy(
|
|
|
1475
1475
|
@builtins.property
|
|
1476
1476
|
@jsii.member(jsii_name="policyDescription")
|
|
1477
1477
|
def policy_description(self) -> typing.Optional[builtins.str]:
|
|
1478
|
-
'''
|
|
1478
|
+
'''Description of the resiliency policy.'''
|
|
1479
1479
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "policyDescription"))
|
|
1480
1480
|
|
|
1481
1481
|
@policy_description.setter
|
|
@@ -1602,7 +1602,7 @@ class CfnResiliencyPolicyProps:
|
|
|
1602
1602
|
:param policy_name: The name of the policy.
|
|
1603
1603
|
:param tier: The tier for this resiliency policy, ranging from the highest severity ( ``MissionCritical`` ) to lowest ( ``NonCritical`` ).
|
|
1604
1604
|
:param data_location_constraint: Specifies a high-level geographical location constraint for where your resilience policy data can be stored.
|
|
1605
|
-
:param policy_description:
|
|
1605
|
+
:param policy_description: Description of the resiliency policy.
|
|
1606
1606
|
:param tags: Tags assigned to the resource. A tag is a label that you assign to an AWS resource. Each tag consists of a key/value pair.
|
|
1607
1607
|
|
|
1608
1608
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resiliencehub-resiliencypolicy.html
|
|
@@ -1695,7 +1695,7 @@ class CfnResiliencyPolicyProps:
|
|
|
1695
1695
|
|
|
1696
1696
|
@builtins.property
|
|
1697
1697
|
def policy_description(self) -> typing.Optional[builtins.str]:
|
|
1698
|
-
'''
|
|
1698
|
+
'''Description of the resiliency policy.
|
|
1699
1699
|
|
|
1700
1700
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resiliencehub-resiliencypolicy.html#cfn-resiliencehub-resiliencypolicy-policydescription
|
|
1701
1701
|
'''
|
aws_cdk/aws_route53/__init__.py
CHANGED
|
@@ -3485,7 +3485,7 @@ class CfnRecordSet(
|
|
|
3485
3485
|
|
|
3486
3486
|
:param dns_name: *Alias records only:* The value that you specify depends on where you want to route queries:. - **Amazon API Gateway custom regional APIs and edge-optimized APIs** - Specify the applicable domain name for your API. You can get the applicable value using the AWS CLI command `get-domain-names <https://docs.aws.amazon.com/cli/latest/reference/apigateway/get-domain-names.html>`_ : - For regional APIs, specify the value of ``regionalDomainName`` . - For edge-optimized APIs, specify the value of ``distributionDomainName`` . This is the name of the associated CloudFront distribution, such as ``da1b2c3d4e5.cloudfront.net`` . .. epigraph:: The name of the record that you're creating must match a custom domain name for your API, such as ``api.example.com`` . - **Amazon Virtual Private Cloud interface VPC endpoint** - Enter the API endpoint for the interface endpoint, such as ``vpce-123456789abcdef01-example-us-east-1a.elasticloadbalancing.us-east-1.vpce.amazonaws.com`` . For edge-optimized APIs, this is the domain name for the corresponding CloudFront distribution. You can get the value of ``DnsName`` using the AWS CLI command `describe-vpc-endpoints <https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-vpc-endpoints.html>`_ . - **CloudFront distribution** - Specify the domain name that CloudFront assigned when you created your distribution. Your CloudFront distribution must include an alternate domain name that matches the name of the record. For example, if the name of the record is *acme.example.com* , your CloudFront distribution must include *acme.example.com* as one of the alternate domain names. For more information, see `Using Alternate Domain Names (CNAMEs) <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/CNAMEs.html>`_ in the *Amazon CloudFront Developer Guide* . You can't create a record in a private hosted zone to route traffic to a CloudFront distribution. .. epigraph:: For failover alias records, you can't specify a CloudFront distribution for both the primary and secondary records. A distribution must include an alternate domain name that matches the name of the record. However, the primary and secondary records have the same name, and you can't include the same alternate domain name in more than one distribution. - **Elastic Beanstalk environment** - If the domain name for your Elastic Beanstalk environment includes the region that you deployed the environment in, you can create an alias record that routes traffic to the environment. For example, the domain name ``my-environment. *us-west-2* .elasticbeanstalk.com`` is a regionalized domain name. .. epigraph:: For environments that were created before early 2016, the domain name doesn't include the region. To route traffic to these environments, you must create a CNAME record instead of an alias record. Note that you can't create a CNAME record for the root domain name. For example, if your domain name is example.com, you can create a record that routes traffic for acme.example.com to your Elastic Beanstalk environment, but you can't create a record that routes traffic for example.com to your Elastic Beanstalk environment. For Elastic Beanstalk environments that have regionalized subdomains, specify the ``CNAME`` attribute for the environment. You can use the following methods to get the value of the CNAME attribute: - *AWS Management Console* : For information about how to get the value by using the console, see `Using Custom Domains with AWS Elastic Beanstalk <https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/customdomains.html>`_ in the *AWS Elastic Beanstalk Developer Guide* . - *Elastic Beanstalk API* : Use the ``DescribeEnvironments`` action to get the value of the ``CNAME`` attribute. For more information, see `DescribeEnvironments <https://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_DescribeEnvironments.html>`_ in the *AWS Elastic Beanstalk API Reference* . - *AWS CLI* : Use the ``describe-environments`` command to get the value of the ``CNAME`` attribute. For more information, see `describe-environments <https://docs.aws.amazon.com/cli/latest/reference/elasticbeanstalk/describe-environments.html>`_ in the *AWS CLI* . - **ELB load balancer** - Specify the DNS name that is associated with the load balancer. Get the DNS name by using the AWS Management Console , the ELB API, or the AWS CLI . - *AWS Management Console* : Go to the EC2 page, choose *Load Balancers* in the navigation pane, choose the load balancer, choose the *Description* tab, and get the value of the *DNS name* field. If you're routing traffic to a Classic Load Balancer, get the value that begins with *dualstack* . If you're routing traffic to another type of load balancer, get the value that applies to the record type, A or AAAA. - *Elastic Load Balancing API* : Use ``DescribeLoadBalancers`` to get the value of ``DNSName`` . For more information, see the applicable guide: - Classic Load Balancers: `DescribeLoadBalancers <https://docs.aws.amazon.com/elasticloadbalancing/2012-06-01/APIReference/API_DescribeLoadBalancers.html>`_ - Application and Network Load Balancers: `DescribeLoadBalancers <https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeLoadBalancers.html>`_ - *CloudFormation Fn::GetAtt intrinsic function* : Use the `Fn::GetAtt <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-getatt.html>`_ intrinsic function to get the value of ``DNSName`` : - `Classic Load Balancers <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-elb.html#aws-properties-ec2-elb-return-values>`_ . - `Application and Network Load Balancers <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-loadbalancer.html#aws-resource-elasticloadbalancingv2-loadbalancer-return-values>`_ . - *AWS CLI* : Use ``describe-load-balancers`` to get the value of ``DNSName`` . For more information, see the applicable guide: - Classic Load Balancers: `describe-load-balancers <https://docs.aws.amazon.com/cli/latest/reference/elb/describe-load-balancers.html>`_ - Application and Network Load Balancers: `describe-load-balancers <https://docs.aws.amazon.com/cli/latest/reference/elbv2/describe-load-balancers.html>`_ - **Global Accelerator accelerator** - Specify the DNS name for your accelerator: - *Global Accelerator API* : To get the DNS name, use `DescribeAccelerator <https://docs.aws.amazon.com/global-accelerator/latest/api/API_DescribeAccelerator.html>`_ . - *AWS CLI* : To get the DNS name, use `describe-accelerator <https://docs.aws.amazon.com/cli/latest/reference/globalaccelerator/describe-accelerator.html>`_ . - **Amazon S3 bucket that is configured as a static website** - Specify the domain name of the Amazon S3 website endpoint that you created the bucket in, for example, ``s3-website.us-east-2.amazonaws.com`` . For more information about valid values, see the table `Amazon S3 Website Endpoints <https://docs.aws.amazon.com/general/latest/gr/s3.html#s3_website_region_endpoints>`_ in the *Amazon Web Services General Reference* . For more information about using S3 buckets for websites, see `Getting Started with Amazon Route 53 <https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/getting-started.html>`_ in the *Amazon Route 53 Developer Guide.* - **Another Route 53 record** - Specify the value of the ``Name`` element for a record in the current hosted zone. .. epigraph:: If you're creating an alias record that has the same name as the hosted zone (known as the zone apex), you can't specify the domain name for a record for which the value of ``Type`` is ``CNAME`` . This is because the alias record must have the same type as the record that you're routing traffic to, and creating a CNAME record for the zone apex isn't supported even for an alias record.
|
|
3487
3487
|
:param hosted_zone_id: *Alias resource records sets only* : The value used depends on where you want to route traffic:. - **Amazon API Gateway custom regional APIs and edge-optimized APIs** - Specify the hosted zone ID for your API. You can get the applicable value using the AWS CLI command `get-domain-names <https://docs.aws.amazon.com/cli/latest/reference/apigateway/get-domain-names.html>`_ : - For regional APIs, specify the value of ``regionalHostedZoneId`` . - For edge-optimized APIs, specify the value of ``distributionHostedZoneId`` . - **Amazon Virtual Private Cloud interface VPC endpoint** - Specify the hosted zone ID for your interface endpoint. You can get the value of ``HostedZoneId`` using the AWS CLI command `describe-vpc-endpoints <https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-vpc-endpoints.html>`_ . - **CloudFront distribution** - Specify ``Z2FDTNDATAQYW2`` . This is always the hosted zone ID when you create an alias record that routes traffic to a CloudFront distribution. .. epigraph:: Alias records for CloudFront can't be created in a private zone. - **Elastic Beanstalk environment** - Specify the hosted zone ID for the region that you created the environment in. The environment must have a regionalized subdomain. For a list of regions and the corresponding hosted zone IDs, see `AWS Elastic Beanstalk endpoints and quotas <https://docs.aws.amazon.com/general/latest/gr/elasticbeanstalk.html>`_ in the *Amazon Web Services General Reference* . - **ELB load balancer** - Specify the value of the hosted zone ID for the load balancer. Use the following methods to get the hosted zone ID: - `Service Endpoints <https://docs.aws.amazon.com/general/latest/gr/elb.html>`_ table in the "Elastic Load Balancing Endpoints and Quotas" topic in the *Amazon Web Services General Reference* : Use the value that corresponds with the region that you created your load balancer in. Note that there are separate columns for Application and Classic Load Balancers and for Network Load Balancers. - *AWS Management Console* : Go to the Amazon EC2 page, choose *Load Balancers* in the navigation pane, select the load balancer, and get the value of the *Hosted zone* field on the *Description* tab. - *Elastic Load Balancing API* : Use ``DescribeLoadBalancers`` to get the applicable value. For more information, see the applicable guide: - Classic Load Balancers: Use `DescribeLoadBalancers <https://docs.aws.amazon.com/elasticloadbalancing/2012-06-01/APIReference/API_DescribeLoadBalancers.html>`_ to get the value of ``CanonicalHostedZoneNameID`` . - Application and Network Load Balancers: Use `DescribeLoadBalancers <https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeLoadBalancers.html>`_ to get the value of ``CanonicalHostedZoneID`` . - *CloudFormation Fn::GetAtt intrinsic function* : Use the `Fn::GetAtt <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-getatt.html>`_ intrinsic function to get the applicable value: - Classic Load Balancers: Get `CanonicalHostedZoneNameID <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-elb.html#aws-properties-ec2-elb-return-values>`_ . - Application and Network Load Balancers: Get `CanonicalHostedZoneID <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-loadbalancer.html#aws-resource-elasticloadbalancingv2-loadbalancer-return-values>`_ . - *AWS CLI* : Use ``describe-load-balancers`` to get the applicable value. For more information, see the applicable guide: - Classic Load Balancers: Use `describe-load-balancers <https://docs.aws.amazon.com/cli/latest/reference/elb/describe-load-balancers.html>`_ to get the value of ``CanonicalHostedZoneNameID`` . - Application and Network Load Balancers: Use `describe-load-balancers <https://docs.aws.amazon.com/cli/latest/reference/elbv2/describe-load-balancers.html>`_ to get the value of ``CanonicalHostedZoneID`` . - **Global Accelerator accelerator** - Specify ``Z2BJ6XQ5FK7U4H`` . - **An Amazon S3 bucket configured as a static website** - Specify the hosted zone ID for the region that you created the bucket in. For more information about valid values, see the table `Amazon S3 Website Endpoints <https://docs.aws.amazon.com/general/latest/gr/s3.html#s3_website_region_endpoints>`_ in the *Amazon Web Services General Reference* . - **Another Route 53 record in your hosted zone** - Specify the hosted zone ID of your hosted zone. (An alias record can't reference a record in a different hosted zone.)
|
|
3488
|
-
:param evaluate_target_health: *Applies only to alias, failover alias, geolocation alias, latency alias, and weighted alias resource record sets:* When ``EvaluateTargetHealth`` is ``true`` , an alias resource record set inherits the health of the referenced AWS resource, such as an ELB load balancer or another resource record set in the hosted zone. Note the following: - **CloudFront distributions** - You can't set ``EvaluateTargetHealth`` to ``true`` when the alias target is a CloudFront distribution. - **Elastic Beanstalk environments that have regionalized subdomains** - If you specify an Elastic Beanstalk environment in ``DNSName`` and the environment contains an ELB load balancer, Elastic Load Balancing routes queries only to the healthy Amazon EC2 instances that are registered with the load balancer. (An environment automatically contains an ELB load balancer if it includes more than one Amazon EC2 instance.) If you set ``EvaluateTargetHealth`` to ``true`` and either no Amazon EC2 instances are healthy or the load balancer itself is unhealthy, Route 53 routes queries to other available resources that are healthy, if any. If the environment contains a single Amazon EC2 instance, there are no special requirements. - **ELB load balancers** - Health checking behavior depends on the type of load balancer: - *Classic Load Balancers* : If you specify an ELB Classic Load Balancer in ``DNSName`` , Elastic Load Balancing routes queries only to the healthy Amazon EC2 instances that are registered with the load balancer. If you set ``EvaluateTargetHealth`` to ``true`` and either no EC2 instances are healthy or the load balancer itself is unhealthy, Route 53 routes queries to other resources. - *Application and Network Load Balancers* : If you specify an ELB Application or Network Load Balancer and you set ``EvaluateTargetHealth`` to ``true`` , Route 53 routes queries to the load balancer based on the health of the target groups that are associated with the load balancer: - For an Application or Network Load Balancer to be considered healthy, every target group that contains targets must contain at least one healthy target. If any target group contains only unhealthy targets, the load balancer is considered unhealthy, and Route 53 routes queries to other resources. - A target group that has no registered targets is considered unhealthy. .. epigraph:: When you create a load balancer, you configure settings for Elastic Load Balancing health checks; they're not Route 53 health checks, but they perform a similar function. Do not create Route 53 health checks for the EC2 instances that you register with an ELB load balancer. - **S3 buckets** - There are no special requirements for setting ``EvaluateTargetHealth`` to ``true`` when the alias target is an S3 bucket. - **Other records in the same hosted zone** - If the AWS resource that you specify in ``DNSName`` is a record or a group of records (for example, a group of weighted records) but is not another alias record, we recommend that you associate a health check with all of the records in the alias target. For more information, see `What Happens When You Omit Health Checks? <https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover-complex-configs.html#dns-failover-complex-configs-hc-omitting>`_ in the *Amazon Route 53 Developer Guide* . For more information and examples, see `Amazon Route 53 Health Checks and DNS Failover <https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover.html>`_ in the *Amazon Route 53 Developer Guide* .
|
|
3488
|
+
:param evaluate_target_health: *Applies only to alias, failover alias, geolocation alias, latency alias, and weighted alias resource record sets:* When ``EvaluateTargetHealth`` is ``true`` , an alias resource record set inherits the health of the referenced AWS resource, such as an ELB load balancer or another resource record set in the hosted zone. Note the following: - **CloudFront distributions** - You can't set ``EvaluateTargetHealth`` to ``true`` when the alias target is a CloudFront distribution. - **Elastic Beanstalk environments that have regionalized subdomains** - If you specify an Elastic Beanstalk environment in ``DNSName`` and the environment contains an ELB load balancer, Elastic Load Balancing routes queries only to the healthy Amazon EC2 instances that are registered with the load balancer. (An environment automatically contains an ELB load balancer if it includes more than one Amazon EC2 instance.) If you set ``EvaluateTargetHealth`` to ``true`` and either no Amazon EC2 instances are healthy or the load balancer itself is unhealthy, Route 53 routes queries to other available resources that are healthy, if any. If the environment contains a single Amazon EC2 instance, there are no special requirements. - **ELB load balancers** - Health checking behavior depends on the type of load balancer: - *Classic Load Balancers* : If you specify an ELB Classic Load Balancer in ``DNSName`` , Elastic Load Balancing routes queries only to the healthy Amazon EC2 instances that are registered with the load balancer. If you set ``EvaluateTargetHealth`` to ``true`` and either no EC2 instances are healthy or the load balancer itself is unhealthy, Route 53 routes queries to other resources. - *Application and Network Load Balancers* : If you specify an ELB Application or Network Load Balancer and you set ``EvaluateTargetHealth`` to ``true`` , Route 53 routes queries to the load balancer based on the health of the target groups that are associated with the load balancer: - For an Application or Network Load Balancer to be considered healthy, every target group that contains targets must contain at least one healthy target. If any target group contains only unhealthy targets, the load balancer is considered unhealthy, and Route 53 routes queries to other resources. - A target group that has no registered targets is considered unhealthy. .. epigraph:: When you create a load balancer, you configure settings for Elastic Load Balancing health checks; they're not Route 53 health checks, but they perform a similar function. Do not create Route 53 health checks for the EC2 instances that you register with an ELB load balancer. - **S3 buckets** - There are no special requirements for setting ``EvaluateTargetHealth`` to ``true`` when the alias target is an S3 bucket. - **Other records in the same hosted zone** - If the AWS resource that you specify in ``DNSName`` is a record or a group of records (for example, a group of weighted records) but is not another alias record, we recommend that you associate a health check with all of the records in the alias target. For more information, see `What Happens When You Omit Health Checks? <https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover-complex-configs.html#dns-failover-complex-configs-hc-omitting>`_ in the *Amazon Route 53 Developer Guide* . For more information and examples, see `Amazon Route 53 Health Checks and DNS Failover <https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover.html>`_ in the *Amazon Route 53 Developer Guide* . Default: - false
|
|
3489
3489
|
|
|
3490
3490
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-recordset-aliastarget.html
|
|
3491
3491
|
:exampleMetadata: fixture=_generated
|
|
@@ -3644,6 +3644,8 @@ class CfnRecordSet(
|
|
|
3644
3644
|
|
|
3645
3645
|
For more information and examples, see `Amazon Route 53 Health Checks and DNS Failover <https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover.html>`_ in the *Amazon Route 53 Developer Guide* .
|
|
3646
3646
|
|
|
3647
|
+
:default: - false
|
|
3648
|
+
|
|
3647
3649
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-recordset-aliastarget.html#cfn-route53-recordset-aliastarget-evaluatetargethealth
|
|
3648
3650
|
'''
|
|
3649
3651
|
result = self._values.get("evaluate_target_health")
|
|
@@ -6272,6 +6272,7 @@ class CfnDomain(
|
|
|
6272
6272
|
enable_docker_access="enableDockerAccess",
|
|
6273
6273
|
vpc_only_trusted_accounts=["vpcOnlyTrustedAccounts"]
|
|
6274
6274
|
),
|
|
6275
|
+
execution_role_identity_config="executionRoleIdentityConfig",
|
|
6275
6276
|
r_studio_server_pro_domain_settings=sagemaker.CfnDomain.RStudioServerProDomainSettingsProperty(
|
|
6276
6277
|
domain_execution_role_arn="domainExecutionRoleArn",
|
|
6277
6278
|
|
|
@@ -6288,6 +6289,7 @@ class CfnDomain(
|
|
|
6288
6289
|
security_group_ids=["securityGroupIds"]
|
|
6289
6290
|
),
|
|
6290
6291
|
kms_key_id="kmsKeyId",
|
|
6292
|
+
tag_propagation="tagPropagation",
|
|
6291
6293
|
tags=[CfnTag(
|
|
6292
6294
|
key="key",
|
|
6293
6295
|
value="value"
|
|
@@ -6310,6 +6312,7 @@ class CfnDomain(
|
|
|
6310
6312
|
default_space_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDomain.DefaultSpaceSettingsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6311
6313
|
domain_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDomain.DomainSettingsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6312
6314
|
kms_key_id: typing.Optional[builtins.str] = None,
|
|
6315
|
+
tag_propagation: typing.Optional[builtins.str] = None,
|
|
6313
6316
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6314
6317
|
) -> None:
|
|
6315
6318
|
'''
|
|
@@ -6325,6 +6328,7 @@ class CfnDomain(
|
|
|
6325
6328
|
:param default_space_settings: A collection of settings that apply to spaces created in the domain.
|
|
6326
6329
|
:param domain_settings: A collection of settings that apply to the ``SageMaker Domain`` . These settings are specified through the ``CreateDomain`` API call.
|
|
6327
6330
|
:param kms_key_id: SageMaker uses AWS KMS to encrypt the EFS volume attached to the Domain with an AWS managed customer master key (CMK) by default. For more control, specify a customer managed CMK. *Length Constraints* : Maximum length of 2048. *Pattern* : ``.*``
|
|
6331
|
+
:param tag_propagation: Indicates whether the tags added to Domain, User Profile and Space entity is propagated to all SageMaker resources.
|
|
6328
6332
|
:param tags: Tags to associated with the Domain. Each tag consists of a key and an optional value. Tag keys must be unique per resource. Tags are searchable using the Search API. Tags that you specify for the Domain are also added to all apps that are launched in the Domain. *Array members* : Minimum number of 0 items. Maximum number of 50 items.
|
|
6329
6333
|
'''
|
|
6330
6334
|
if __debug__:
|
|
@@ -6342,6 +6346,7 @@ class CfnDomain(
|
|
|
6342
6346
|
default_space_settings=default_space_settings,
|
|
6343
6347
|
domain_settings=domain_settings,
|
|
6344
6348
|
kms_key_id=kms_key_id,
|
|
6349
|
+
tag_propagation=tag_propagation,
|
|
6345
6350
|
tags=tags,
|
|
6346
6351
|
)
|
|
6347
6352
|
|
|
@@ -6604,6 +6609,19 @@ class CfnDomain(
|
|
|
6604
6609
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
6605
6610
|
jsii.set(self, "kmsKeyId", value) # pyright: ignore[reportArgumentType]
|
|
6606
6611
|
|
|
6612
|
+
@builtins.property
|
|
6613
|
+
@jsii.member(jsii_name="tagPropagation")
|
|
6614
|
+
def tag_propagation(self) -> typing.Optional[builtins.str]:
|
|
6615
|
+
'''Indicates whether the tags added to Domain, User Profile and Space entity is propagated to all SageMaker resources.'''
|
|
6616
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "tagPropagation"))
|
|
6617
|
+
|
|
6618
|
+
@tag_propagation.setter
|
|
6619
|
+
def tag_propagation(self, value: typing.Optional[builtins.str]) -> None:
|
|
6620
|
+
if __debug__:
|
|
6621
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c3d58c631c2c753ff6694e786e5b7271c0e621cef1413bccab572fda47a21ab3)
|
|
6622
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
6623
|
+
jsii.set(self, "tagPropagation", value) # pyright: ignore[reportArgumentType]
|
|
6624
|
+
|
|
6607
6625
|
@builtins.property
|
|
6608
6626
|
@jsii.member(jsii_name="tagsRaw")
|
|
6609
6627
|
def tags_raw(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
@@ -7551,6 +7569,7 @@ class CfnDomain(
|
|
|
7551
7569
|
jsii_struct_bases=[],
|
|
7552
7570
|
name_mapping={
|
|
7553
7571
|
"docker_settings": "dockerSettings",
|
|
7572
|
+
"execution_role_identity_config": "executionRoleIdentityConfig",
|
|
7554
7573
|
"r_studio_server_pro_domain_settings": "rStudioServerProDomainSettings",
|
|
7555
7574
|
"security_group_ids": "securityGroupIds",
|
|
7556
7575
|
},
|
|
@@ -7560,6 +7579,7 @@ class CfnDomain(
|
|
|
7560
7579
|
self,
|
|
7561
7580
|
*,
|
|
7562
7581
|
docker_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDomain.DockerSettingsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7582
|
+
execution_role_identity_config: typing.Optional[builtins.str] = None,
|
|
7563
7583
|
r_studio_server_pro_domain_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDomain.RStudioServerProDomainSettingsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7564
7584
|
security_group_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
7565
7585
|
) -> None:
|
|
@@ -7568,6 +7588,7 @@ class CfnDomain(
|
|
|
7568
7588
|
These settings are specified through the ``CreateDomain`` API call.
|
|
7569
7589
|
|
|
7570
7590
|
:param docker_settings: A collection of settings that configure the domain's Docker interaction.
|
|
7591
|
+
:param execution_role_identity_config: The configuration for attaching a SageMaker user profile name to the execution role as a sts:SourceIdentity key.
|
|
7571
7592
|
:param r_studio_server_pro_domain_settings: A collection of settings that configure the ``RStudioServerPro`` Domain-level app.
|
|
7572
7593
|
:param security_group_ids: The security groups for the Amazon Virtual Private Cloud that the ``Domain`` uses for communication between Domain-level apps and user apps.
|
|
7573
7594
|
|
|
@@ -7585,6 +7606,7 @@ class CfnDomain(
|
|
|
7585
7606
|
enable_docker_access="enableDockerAccess",
|
|
7586
7607
|
vpc_only_trusted_accounts=["vpcOnlyTrustedAccounts"]
|
|
7587
7608
|
),
|
|
7609
|
+
execution_role_identity_config="executionRoleIdentityConfig",
|
|
7588
7610
|
r_studio_server_pro_domain_settings=sagemaker.CfnDomain.RStudioServerProDomainSettingsProperty(
|
|
7589
7611
|
domain_execution_role_arn="domainExecutionRoleArn",
|
|
7590
7612
|
|
|
@@ -7604,11 +7626,14 @@ class CfnDomain(
|
|
|
7604
7626
|
if __debug__:
|
|
7605
7627
|
type_hints = typing.get_type_hints(_typecheckingstub__b23323cc301476d59d77a279da88bfc3d14a3c21fb8709a0ecc6db6074a56cf9)
|
|
7606
7628
|
check_type(argname="argument docker_settings", value=docker_settings, expected_type=type_hints["docker_settings"])
|
|
7629
|
+
check_type(argname="argument execution_role_identity_config", value=execution_role_identity_config, expected_type=type_hints["execution_role_identity_config"])
|
|
7607
7630
|
check_type(argname="argument r_studio_server_pro_domain_settings", value=r_studio_server_pro_domain_settings, expected_type=type_hints["r_studio_server_pro_domain_settings"])
|
|
7608
7631
|
check_type(argname="argument security_group_ids", value=security_group_ids, expected_type=type_hints["security_group_ids"])
|
|
7609
7632
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
7610
7633
|
if docker_settings is not None:
|
|
7611
7634
|
self._values["docker_settings"] = docker_settings
|
|
7635
|
+
if execution_role_identity_config is not None:
|
|
7636
|
+
self._values["execution_role_identity_config"] = execution_role_identity_config
|
|
7612
7637
|
if r_studio_server_pro_domain_settings is not None:
|
|
7613
7638
|
self._values["r_studio_server_pro_domain_settings"] = r_studio_server_pro_domain_settings
|
|
7614
7639
|
if security_group_ids is not None:
|
|
@@ -7625,6 +7650,15 @@ class CfnDomain(
|
|
|
7625
7650
|
result = self._values.get("docker_settings")
|
|
7626
7651
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDomain.DockerSettingsProperty"]], result)
|
|
7627
7652
|
|
|
7653
|
+
@builtins.property
|
|
7654
|
+
def execution_role_identity_config(self) -> typing.Optional[builtins.str]:
|
|
7655
|
+
'''The configuration for attaching a SageMaker user profile name to the execution role as a sts:SourceIdentity key.
|
|
7656
|
+
|
|
7657
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-domainsettings.html#cfn-sagemaker-domain-domainsettings-executionroleidentityconfig
|
|
7658
|
+
'''
|
|
7659
|
+
result = self._values.get("execution_role_identity_config")
|
|
7660
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
7661
|
+
|
|
7628
7662
|
@builtins.property
|
|
7629
7663
|
def r_studio_server_pro_domain_settings(
|
|
7630
7664
|
self,
|
|
@@ -9192,6 +9226,7 @@ class CfnDomain(
|
|
|
9192
9226
|
"default_space_settings": "defaultSpaceSettings",
|
|
9193
9227
|
"domain_settings": "domainSettings",
|
|
9194
9228
|
"kms_key_id": "kmsKeyId",
|
|
9229
|
+
"tag_propagation": "tagPropagation",
|
|
9195
9230
|
"tags": "tags",
|
|
9196
9231
|
},
|
|
9197
9232
|
)
|
|
@@ -9209,6 +9244,7 @@ class CfnDomainProps:
|
|
|
9209
9244
|
default_space_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.DefaultSpaceSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9210
9245
|
domain_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.DomainSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9211
9246
|
kms_key_id: typing.Optional[builtins.str] = None,
|
|
9247
|
+
tag_propagation: typing.Optional[builtins.str] = None,
|
|
9212
9248
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9213
9249
|
) -> None:
|
|
9214
9250
|
'''Properties for defining a ``CfnDomain``.
|
|
@@ -9223,6 +9259,7 @@ class CfnDomainProps:
|
|
|
9223
9259
|
:param default_space_settings: A collection of settings that apply to spaces created in the domain.
|
|
9224
9260
|
:param domain_settings: A collection of settings that apply to the ``SageMaker Domain`` . These settings are specified through the ``CreateDomain`` API call.
|
|
9225
9261
|
:param kms_key_id: SageMaker uses AWS KMS to encrypt the EFS volume attached to the Domain with an AWS managed customer master key (CMK) by default. For more control, specify a customer managed CMK. *Length Constraints* : Maximum length of 2048. *Pattern* : ``.*``
|
|
9262
|
+
:param tag_propagation: Indicates whether the tags added to Domain, User Profile and Space entity is propagated to all SageMaker resources.
|
|
9226
9263
|
:param tags: Tags to associated with the Domain. Each tag consists of a key and an optional value. Tag keys must be unique per resource. Tags are searchable using the Search API. Tags that you specify for the Domain are also added to all apps that are launched in the Domain. *Array members* : Minimum number of 0 items. Maximum number of 50 items.
|
|
9227
9264
|
|
|
9228
9265
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-domain.html
|
|
@@ -9454,6 +9491,7 @@ class CfnDomainProps:
|
|
|
9454
9491
|
enable_docker_access="enableDockerAccess",
|
|
9455
9492
|
vpc_only_trusted_accounts=["vpcOnlyTrustedAccounts"]
|
|
9456
9493
|
),
|
|
9494
|
+
execution_role_identity_config="executionRoleIdentityConfig",
|
|
9457
9495
|
r_studio_server_pro_domain_settings=sagemaker.CfnDomain.RStudioServerProDomainSettingsProperty(
|
|
9458
9496
|
domain_execution_role_arn="domainExecutionRoleArn",
|
|
9459
9497
|
|
|
@@ -9470,6 +9508,7 @@ class CfnDomainProps:
|
|
|
9470
9508
|
security_group_ids=["securityGroupIds"]
|
|
9471
9509
|
),
|
|
9472
9510
|
kms_key_id="kmsKeyId",
|
|
9511
|
+
tag_propagation="tagPropagation",
|
|
9473
9512
|
tags=[CfnTag(
|
|
9474
9513
|
key="key",
|
|
9475
9514
|
value="value"
|
|
@@ -9488,6 +9527,7 @@ class CfnDomainProps:
|
|
|
9488
9527
|
check_type(argname="argument default_space_settings", value=default_space_settings, expected_type=type_hints["default_space_settings"])
|
|
9489
9528
|
check_type(argname="argument domain_settings", value=domain_settings, expected_type=type_hints["domain_settings"])
|
|
9490
9529
|
check_type(argname="argument kms_key_id", value=kms_key_id, expected_type=type_hints["kms_key_id"])
|
|
9530
|
+
check_type(argname="argument tag_propagation", value=tag_propagation, expected_type=type_hints["tag_propagation"])
|
|
9491
9531
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
9492
9532
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
9493
9533
|
"auth_mode": auth_mode,
|
|
@@ -9506,6 +9546,8 @@ class CfnDomainProps:
|
|
|
9506
9546
|
self._values["domain_settings"] = domain_settings
|
|
9507
9547
|
if kms_key_id is not None:
|
|
9508
9548
|
self._values["kms_key_id"] = kms_key_id
|
|
9549
|
+
if tag_propagation is not None:
|
|
9550
|
+
self._values["tag_propagation"] = tag_propagation
|
|
9509
9551
|
if tags is not None:
|
|
9510
9552
|
self._values["tags"] = tags
|
|
9511
9553
|
|
|
@@ -9639,6 +9681,15 @@ class CfnDomainProps:
|
|
|
9639
9681
|
result = self._values.get("kms_key_id")
|
|
9640
9682
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
9641
9683
|
|
|
9684
|
+
@builtins.property
|
|
9685
|
+
def tag_propagation(self) -> typing.Optional[builtins.str]:
|
|
9686
|
+
'''Indicates whether the tags added to Domain, User Profile and Space entity is propagated to all SageMaker resources.
|
|
9687
|
+
|
|
9688
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-domain.html#cfn-sagemaker-domain-tagpropagation
|
|
9689
|
+
'''
|
|
9690
|
+
result = self._values.get("tag_propagation")
|
|
9691
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
9692
|
+
|
|
9642
9693
|
@builtins.property
|
|
9643
9694
|
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
9644
9695
|
'''Tags to associated with the Domain.
|
|
@@ -9814,6 +9865,15 @@ class CfnEndpoint(
|
|
|
9814
9865
|
'''The CloudFormation resource type name for this resource class.'''
|
|
9815
9866
|
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
9816
9867
|
|
|
9868
|
+
@builtins.property
|
|
9869
|
+
@jsii.member(jsii_name="attrEndpointArn")
|
|
9870
|
+
def attr_endpoint_arn(self) -> builtins.str:
|
|
9871
|
+
'''The Amazon Resource Name (ARN) of the endpoint.
|
|
9872
|
+
|
|
9873
|
+
:cloudformationAttribute: EndpointArn
|
|
9874
|
+
'''
|
|
9875
|
+
return typing.cast(builtins.str, jsii.get(self, "attrEndpointArn"))
|
|
9876
|
+
|
|
9817
9877
|
@builtins.property
|
|
9818
9878
|
@jsii.member(jsii_name="attrEndpointName")
|
|
9819
9879
|
def attr_endpoint_name(self) -> builtins.str:
|
|
@@ -48809,6 +48869,7 @@ def _typecheckingstub__6a98e719c58aab3299db52c4086bfb65ee6438882423af805478e9ea3
|
|
|
48809
48869
|
default_space_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.DefaultSpaceSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
48810
48870
|
domain_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.DomainSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
48811
48871
|
kms_key_id: typing.Optional[builtins.str] = None,
|
|
48872
|
+
tag_propagation: typing.Optional[builtins.str] = None,
|
|
48812
48873
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
48813
48874
|
) -> None:
|
|
48814
48875
|
"""Type checking stubs"""
|
|
@@ -48886,6 +48947,12 @@ def _typecheckingstub__705995dde312c66454de0b9e9f6a8d7e895beb5c34f61395d1dab1369
|
|
|
48886
48947
|
"""Type checking stubs"""
|
|
48887
48948
|
pass
|
|
48888
48949
|
|
|
48950
|
+
def _typecheckingstub__c3d58c631c2c753ff6694e786e5b7271c0e621cef1413bccab572fda47a21ab3(
|
|
48951
|
+
value: typing.Optional[builtins.str],
|
|
48952
|
+
) -> None:
|
|
48953
|
+
"""Type checking stubs"""
|
|
48954
|
+
pass
|
|
48955
|
+
|
|
48889
48956
|
def _typecheckingstub__6d1a70c209913231f1eb30dba814eb3a3bc58f6f4341ea1392c5061d8dbc8d51(
|
|
48890
48957
|
value: typing.Optional[typing.List[_CfnTag_f6864754]],
|
|
48891
48958
|
) -> None:
|
|
@@ -48980,6 +49047,7 @@ def _typecheckingstub__1936e7c64bbc1c0c5b8c086a1111acac047651d9cb6495a9c2f8961d2
|
|
|
48980
49047
|
def _typecheckingstub__b23323cc301476d59d77a279da88bfc3d14a3c21fb8709a0ecc6db6074a56cf9(
|
|
48981
49048
|
*,
|
|
48982
49049
|
docker_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.DockerSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
49050
|
+
execution_role_identity_config: typing.Optional[builtins.str] = None,
|
|
48983
49051
|
r_studio_server_pro_domain_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.RStudioServerProDomainSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
48984
49052
|
security_group_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
48985
49053
|
) -> None:
|
|
@@ -49118,6 +49186,7 @@ def _typecheckingstub__d70b90cbf9af0f3b53a18e5f11f7de868ef5fe3e6110bb229fd135001
|
|
|
49118
49186
|
default_space_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.DefaultSpaceSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
49119
49187
|
domain_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.DomainSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
49120
49188
|
kms_key_id: typing.Optional[builtins.str] = None,
|
|
49189
|
+
tag_propagation: typing.Optional[builtins.str] = None,
|
|
49121
49190
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
49122
49191
|
) -> None:
|
|
49123
49192
|
"""Type checking stubs"""
|
aws_cdk/aws_sqs/__init__.py
CHANGED
|
@@ -3829,22 +3829,19 @@ class Queue(QueueBase, metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_sqs.Q
|
|
|
3829
3829
|
|
|
3830
3830
|
Example::
|
|
3831
3831
|
|
|
3832
|
-
|
|
3832
|
+
# source_queue: sqs.Queue
|
|
3833
|
+
# target_queue: sqs.Queue
|
|
3833
3834
|
|
|
3834
|
-
# workgroup: redshiftserverless.CfnWorkgroup
|
|
3835
3835
|
|
|
3836
|
-
|
|
3837
|
-
|
|
3838
|
-
|
|
3836
|
+
pipe_source = sources.SqsSource(source_queue,
|
|
3837
|
+
batch_size=10,
|
|
3838
|
+
maximum_batching_window=cdk.Duration.seconds(10)
|
|
3839
3839
|
)
|
|
3840
3840
|
|
|
3841
|
-
|
|
3842
|
-
|
|
3843
|
-
|
|
3844
|
-
|
|
3845
|
-
dead_letter_queue=dlq,
|
|
3846
|
-
sql=["SELECT * FROM foo", "SELECT * FROM baz"]
|
|
3847
|
-
))
|
|
3841
|
+
pipe = pipes.Pipe(self, "Pipe",
|
|
3842
|
+
source=pipe_source,
|
|
3843
|
+
target=SomeTarget(target_queue)
|
|
3844
|
+
)
|
|
3848
3845
|
'''
|
|
3849
3846
|
|
|
3850
3847
|
def __init__(
|