aws-cdk-lib 2.201.0__py3-none-any.whl → 2.203.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 +70 -71
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.201.0.jsii.tgz → aws-cdk-lib@2.203.0.jsii.tgz} +0 -0
- aws_cdk/aws_accessanalyzer/__init__.py +310 -4
- aws_cdk/aws_aiops/__init__.py +964 -0
- aws_cdk/aws_amplify/__init__.py +127 -0
- aws_cdk/aws_arczonalshift/__init__.py +8 -8
- aws_cdk/aws_athena/__init__.py +12 -11
- aws_cdk/aws_b2bi/__init__.py +782 -3
- aws_cdk/aws_backup/__init__.py +22 -0
- aws_cdk/aws_batch/__init__.py +53 -1
- aws_cdk/aws_bedrock/__init__.py +123 -9
- aws_cdk/aws_cleanrooms/__init__.py +157 -154
- aws_cdk/aws_cloudformation/__init__.py +28 -28
- aws_cdk/aws_cloudfront/__init__.py +92 -57
- aws_cdk/aws_cloudfront/experimental/__init__.py +42 -3
- aws_cdk/aws_cloudwatch/__init__.py +228 -2
- aws_cdk/aws_connect/__init__.py +120 -8
- aws_cdk/aws_connectcampaignsv2/__init__.py +25 -4
- aws_cdk/aws_customerprofiles/__init__.py +150 -30
- aws_cdk/aws_datazone/__init__.py +23 -4
- aws_cdk/aws_deadline/__init__.py +4 -4
- aws_cdk/aws_dsql/__init__.py +148 -0
- aws_cdk/aws_ec2/__init__.py +321 -19
- aws_cdk/aws_ecr/__init__.py +3 -3
- aws_cdk/aws_ecs/__init__.py +48 -13
- aws_cdk/aws_efs/__init__.py +17 -6
- aws_cdk/aws_eks/__init__.py +180 -158
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +4 -2
- aws_cdk/aws_emrserverless/__init__.py +118 -0
- aws_cdk/aws_fsx/__init__.py +891 -0
- aws_cdk/aws_glue/__init__.py +58 -24
- aws_cdk/aws_iam/__init__.py +11 -11
- aws_cdk/aws_inspectorv2/__init__.py +442 -3
- aws_cdk/aws_kendra/__init__.py +10 -5
- aws_cdk/aws_kms/__init__.py +24 -12
- aws_cdk/aws_lambda/__init__.py +938 -36
- aws_cdk/aws_lambda_event_sources/__init__.py +638 -1
- aws_cdk/aws_lambda_nodejs/__init__.py +37 -3
- aws_cdk/aws_lex/__init__.py +703 -0
- aws_cdk/aws_logs/__init__.py +144 -0
- aws_cdk/aws_mediatailor/__init__.py +399 -0
- aws_cdk/aws_mpa/__init__.py +1475 -0
- aws_cdk/aws_msk/__init__.py +21 -2
- aws_cdk/aws_mwaa/__init__.py +45 -2
- aws_cdk/aws_networkfirewall/__init__.py +4 -2
- aws_cdk/aws_networkmanager/__init__.py +51 -3
- aws_cdk/aws_opsworkscm/__init__.py +44 -2
- aws_cdk/aws_rds/__init__.py +175 -42
- aws_cdk/aws_redshiftserverless/__init__.py +632 -0
- aws_cdk/aws_route53resolver/__init__.py +58 -10
- aws_cdk/aws_s3/__init__.py +19 -1
- aws_cdk/aws_s3tables/__init__.py +230 -0
- aws_cdk/aws_sagemaker/__init__.py +14 -10
- aws_cdk/aws_securityhub/__init__.py +2887 -56
- aws_cdk/aws_synthetics/__init__.py +21 -0
- aws_cdk/aws_vpclattice/__init__.py +6 -4
- aws_cdk/aws_wafv2/__init__.py +849 -18
- aws_cdk/aws_workspacesinstances/__init__.py +3243 -0
- aws_cdk/cloud_assembly_schema/__init__.py +200 -4
- aws_cdk/cx_api/__init__.py +29 -14
- aws_cdk/pipelines/__init__.py +178 -41
- aws_cdk/triggers/__init__.py +41 -4
- {aws_cdk_lib-2.201.0.dist-info → aws_cdk_lib-2.203.0.dist-info}/METADATA +3 -3
- {aws_cdk_lib-2.201.0.dist-info → aws_cdk_lib-2.203.0.dist-info}/RECORD +69 -66
- {aws_cdk_lib-2.201.0.dist-info → aws_cdk_lib-2.203.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.201.0.dist-info → aws_cdk_lib-2.203.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.201.0.dist-info → aws_cdk_lib-2.203.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.201.0.dist-info → aws_cdk_lib-2.203.0.dist-info}/top_level.txt +0 -0
|
@@ -2317,13 +2317,13 @@ class CfnResolverEndpoint(
|
|
|
2317
2317
|
'''
|
|
2318
2318
|
:param scope: Scope in which this resource is defined.
|
|
2319
2319
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
2320
|
-
:param direction: Indicates whether the Resolver endpoint allows inbound or outbound DNS queries:. - ``INBOUND`` : allows DNS queries to your VPC from your network - ``OUTBOUND`` : allows DNS queries from your VPC to your network
|
|
2320
|
+
:param direction: Indicates whether the Resolver endpoint allows inbound or outbound DNS queries:. - ``INBOUND`` : allows DNS queries to your VPC from your network - ``OUTBOUND`` : allows DNS queries from your VPC to your network - ``INBOUND_DELEGATION`` : Resolver delegates queries to Route 53 private hosted zones from your network.
|
|
2321
2321
|
:param ip_addresses: The subnets and IP addresses in your VPC that DNS queries originate from (for outbound endpoints) or that you forward DNS queries to (for inbound endpoints). The subnet ID uniquely identifies a VPC. .. epigraph:: Even though the minimum is 1, Route 53 requires that you create at least two.
|
|
2322
2322
|
:param security_group_ids: The ID of one or more security groups that control access to this VPC. The security group must include one or more inbound rules (for inbound endpoints) or outbound rules (for outbound endpoints). Inbound and outbound rules must allow TCP and UDP access. For inbound access, open port 53. For outbound access, open the port that you're using for DNS queries on your network.
|
|
2323
2323
|
:param name: A friendly name that lets you easily find a configuration in the Resolver dashboard in the Route 53 console.
|
|
2324
2324
|
:param outpost_arn: The ARN (Amazon Resource Name) for the Outpost.
|
|
2325
2325
|
:param preferred_instance_type: The Amazon EC2 instance type.
|
|
2326
|
-
:param protocols: Protocols used for the endpoint. DoH-FIPS is applicable for inbound endpoints only. For an inbound endpoint you can apply the protocols as follows: - Do53 and DoH in combination. - Do53 and DoH-FIPS in combination. - Do53 alone. - DoH alone. - DoH-FIPS alone. - None, which is treated as Do53. For an outbound endpoint you can apply the protocols as follows: - Do53 and DoH in combination. - Do53 alone. - DoH alone. - None, which is treated as Do53.
|
|
2326
|
+
:param protocols: Protocols used for the endpoint. DoH-FIPS is applicable for a default inbound endpoints only. For an inbound endpoint you can apply the protocols as follows: - Do53 and DoH in combination. - Do53 and DoH-FIPS in combination. - Do53 alone. - DoH alone. - DoH-FIPS alone. - None, which is treated as Do53. For a delegation inbound endpoint you can use Do53 only. For an outbound endpoint you can apply the protocols as follows: - Do53 and DoH in combination. - Do53 alone. - DoH alone. - None, which is treated as Do53.
|
|
2327
2327
|
:param resolver_endpoint_type: The Resolver endpoint IP address type.
|
|
2328
2328
|
:param tags: Route 53 Resolver doesn't support updating tags through CloudFormation.
|
|
2329
2329
|
'''
|
|
@@ -2552,7 +2552,7 @@ class CfnResolverEndpoint(
|
|
|
2552
2552
|
def protocols(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
2553
2553
|
'''Protocols used for the endpoint.
|
|
2554
2554
|
|
|
2555
|
-
DoH-FIPS is applicable for inbound endpoints only.
|
|
2555
|
+
DoH-FIPS is applicable for a default inbound endpoints only.
|
|
2556
2556
|
'''
|
|
2557
2557
|
return typing.cast(typing.Optional[typing.List[builtins.str]], jsii.get(self, "protocols"))
|
|
2558
2558
|
|
|
@@ -2709,13 +2709,13 @@ class CfnResolverEndpointProps:
|
|
|
2709
2709
|
) -> None:
|
|
2710
2710
|
'''Properties for defining a ``CfnResolverEndpoint``.
|
|
2711
2711
|
|
|
2712
|
-
:param direction: Indicates whether the Resolver endpoint allows inbound or outbound DNS queries:. - ``INBOUND`` : allows DNS queries to your VPC from your network - ``OUTBOUND`` : allows DNS queries from your VPC to your network
|
|
2712
|
+
:param direction: Indicates whether the Resolver endpoint allows inbound or outbound DNS queries:. - ``INBOUND`` : allows DNS queries to your VPC from your network - ``OUTBOUND`` : allows DNS queries from your VPC to your network - ``INBOUND_DELEGATION`` : Resolver delegates queries to Route 53 private hosted zones from your network.
|
|
2713
2713
|
:param ip_addresses: The subnets and IP addresses in your VPC that DNS queries originate from (for outbound endpoints) or that you forward DNS queries to (for inbound endpoints). The subnet ID uniquely identifies a VPC. .. epigraph:: Even though the minimum is 1, Route 53 requires that you create at least two.
|
|
2714
2714
|
:param security_group_ids: The ID of one or more security groups that control access to this VPC. The security group must include one or more inbound rules (for inbound endpoints) or outbound rules (for outbound endpoints). Inbound and outbound rules must allow TCP and UDP access. For inbound access, open port 53. For outbound access, open the port that you're using for DNS queries on your network.
|
|
2715
2715
|
:param name: A friendly name that lets you easily find a configuration in the Resolver dashboard in the Route 53 console.
|
|
2716
2716
|
:param outpost_arn: The ARN (Amazon Resource Name) for the Outpost.
|
|
2717
2717
|
:param preferred_instance_type: The Amazon EC2 instance type.
|
|
2718
|
-
:param protocols: Protocols used for the endpoint. DoH-FIPS is applicable for inbound endpoints only. For an inbound endpoint you can apply the protocols as follows: - Do53 and DoH in combination. - Do53 and DoH-FIPS in combination. - Do53 alone. - DoH alone. - DoH-FIPS alone. - None, which is treated as Do53. For an outbound endpoint you can apply the protocols as follows: - Do53 and DoH in combination. - Do53 alone. - DoH alone. - None, which is treated as Do53.
|
|
2718
|
+
:param protocols: Protocols used for the endpoint. DoH-FIPS is applicable for a default inbound endpoints only. For an inbound endpoint you can apply the protocols as follows: - Do53 and DoH in combination. - Do53 and DoH-FIPS in combination. - Do53 alone. - DoH alone. - DoH-FIPS alone. - None, which is treated as Do53. For a delegation inbound endpoint you can use Do53 only. For an outbound endpoint you can apply the protocols as follows: - Do53 and DoH in combination. - Do53 alone. - DoH alone. - None, which is treated as Do53.
|
|
2719
2719
|
:param resolver_endpoint_type: The Resolver endpoint IP address type.
|
|
2720
2720
|
:param tags: Route 53 Resolver doesn't support updating tags through CloudFormation.
|
|
2721
2721
|
|
|
@@ -2786,6 +2786,7 @@ class CfnResolverEndpointProps:
|
|
|
2786
2786
|
|
|
2787
2787
|
- ``INBOUND`` : allows DNS queries to your VPC from your network
|
|
2788
2788
|
- ``OUTBOUND`` : allows DNS queries from your VPC to your network
|
|
2789
|
+
- ``INBOUND_DELEGATION`` : Resolver delegates queries to Route 53 private hosted zones from your network.
|
|
2789
2790
|
|
|
2790
2791
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-resolverendpoint.html#cfn-route53resolver-resolverendpoint-direction
|
|
2791
2792
|
'''
|
|
@@ -2851,7 +2852,7 @@ class CfnResolverEndpointProps:
|
|
|
2851
2852
|
|
|
2852
2853
|
@builtins.property
|
|
2853
2854
|
def protocols(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
2854
|
-
'''Protocols used for the endpoint. DoH-FIPS is applicable for inbound endpoints only.
|
|
2855
|
+
'''Protocols used for the endpoint. DoH-FIPS is applicable for a default inbound endpoints only.
|
|
2855
2856
|
|
|
2856
2857
|
For an inbound endpoint you can apply the protocols as follows:
|
|
2857
2858
|
|
|
@@ -2862,6 +2863,8 @@ class CfnResolverEndpointProps:
|
|
|
2862
2863
|
- DoH-FIPS alone.
|
|
2863
2864
|
- None, which is treated as Do53.
|
|
2864
2865
|
|
|
2866
|
+
For a delegation inbound endpoint you can use Do53 only.
|
|
2867
|
+
|
|
2865
2868
|
For an outbound endpoint you can apply the protocols as follows:
|
|
2866
2869
|
|
|
2867
2870
|
- Do53 and DoH in combination.
|
|
@@ -3480,6 +3483,7 @@ class CfnResolverRule(
|
|
|
3480
3483
|
rule_type="ruleType",
|
|
3481
3484
|
|
|
3482
3485
|
# the properties below are optional
|
|
3486
|
+
delegation_record="delegationRecord",
|
|
3483
3487
|
domain_name="domainName",
|
|
3484
3488
|
name="name",
|
|
3485
3489
|
resolver_endpoint_id="resolverEndpointId",
|
|
@@ -3503,6 +3507,7 @@ class CfnResolverRule(
|
|
|
3503
3507
|
id: builtins.str,
|
|
3504
3508
|
*,
|
|
3505
3509
|
rule_type: builtins.str,
|
|
3510
|
+
delegation_record: typing.Optional[builtins.str] = None,
|
|
3506
3511
|
domain_name: typing.Optional[builtins.str] = None,
|
|
3507
3512
|
name: typing.Optional[builtins.str] = None,
|
|
3508
3513
|
resolver_endpoint_id: typing.Optional[builtins.str] = None,
|
|
@@ -3512,7 +3517,8 @@ class CfnResolverRule(
|
|
|
3512
3517
|
'''
|
|
3513
3518
|
:param scope: Scope in which this resource is defined.
|
|
3514
3519
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
3515
|
-
:param rule_type: When you want to forward DNS queries for specified domain name to resolvers on your network, specify ``FORWARD`` . When you have a forwarding rule to forward DNS queries for a domain to your network and you want Resolver to process queries for a subdomain of that domain, specify ``SYSTEM`` . For example, to forward DNS queries for example.com to resolvers on your network, you create a rule and specify ``FORWARD`` for ``RuleType`` . To then have Resolver process queries for apex.example.com, you create a rule and specify ``SYSTEM`` for ``RuleType`` . Currently, only Resolver can create rules that have a value of ``RECURSIVE`` for ``RuleType`` .
|
|
3520
|
+
:param rule_type: When you want to forward DNS queries for specified domain name to resolvers on your network, specify ``FORWARD`` or ``DELEGATE`` . If a query matches multiple Resolver rules (example.com and www.example.com), outbound DNS queries are routed using the Resolver rule that contains the most specific domain name (www.example.com). When you have a forwarding rule to forward DNS queries for a domain to your network and you want Resolver to process queries for a subdomain of that domain, specify ``SYSTEM`` . For example, to forward DNS queries for example.com to resolvers on your network, you create a rule and specify ``FORWARD`` for ``RuleType`` . To then have Resolver process queries for apex.example.com, you create a rule and specify ``SYSTEM`` for ``RuleType`` . Currently, only Resolver can create rules that have a value of ``RECURSIVE`` for ``RuleType`` .
|
|
3521
|
+
:param delegation_record: DNS queries with delegation records that point to this domain name are forwarded to resolvers on your network.
|
|
3516
3522
|
:param domain_name: DNS queries for this domain name are forwarded to the IP addresses that are specified in ``TargetIps`` . If a query matches multiple Resolver rules (example.com and www.example.com), the query is routed using the Resolver rule that contains the most specific domain name (www.example.com).
|
|
3517
3523
|
:param name: The name for the Resolver rule, which you specified when you created the Resolver rule.
|
|
3518
3524
|
:param resolver_endpoint_id: The ID of the endpoint that the rule is associated with.
|
|
@@ -3525,6 +3531,7 @@ class CfnResolverRule(
|
|
|
3525
3531
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
3526
3532
|
props = CfnResolverRuleProps(
|
|
3527
3533
|
rule_type=rule_type,
|
|
3534
|
+
delegation_record=delegation_record,
|
|
3528
3535
|
domain_name=domain_name,
|
|
3529
3536
|
name=name,
|
|
3530
3537
|
resolver_endpoint_id=resolver_endpoint_id,
|
|
@@ -3620,6 +3627,8 @@ class CfnResolverRule(
|
|
|
3620
3627
|
|
|
3621
3628
|
This value isn't applicable when ``RuleType`` is ``SYSTEM`` .
|
|
3622
3629
|
|
|
3630
|
+
``TargetIps`` is available only when the value of ``RuleType`` is ``FORWARD`` . You should not provide ``TargetIps`` when the ``RuleType`` is ``DELEGATE`` .
|
|
3631
|
+
|
|
3623
3632
|
:cloudformationAttribute: TargetIps
|
|
3624
3633
|
'''
|
|
3625
3634
|
return typing.cast(_IResolvable_da3f097b, jsii.get(self, "attrTargetIps"))
|
|
@@ -3638,7 +3647,7 @@ class CfnResolverRule(
|
|
|
3638
3647
|
@builtins.property
|
|
3639
3648
|
@jsii.member(jsii_name="ruleType")
|
|
3640
3649
|
def rule_type(self) -> builtins.str:
|
|
3641
|
-
'''When you want to forward DNS queries for specified domain name to resolvers on your network, specify ``FORWARD`` .'''
|
|
3650
|
+
'''When you want to forward DNS queries for specified domain name to resolvers on your network, specify ``FORWARD`` or ``DELEGATE`` .'''
|
|
3642
3651
|
return typing.cast(builtins.str, jsii.get(self, "ruleType"))
|
|
3643
3652
|
|
|
3644
3653
|
@rule_type.setter
|
|
@@ -3648,6 +3657,19 @@ class CfnResolverRule(
|
|
|
3648
3657
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3649
3658
|
jsii.set(self, "ruleType", value) # pyright: ignore[reportArgumentType]
|
|
3650
3659
|
|
|
3660
|
+
@builtins.property
|
|
3661
|
+
@jsii.member(jsii_name="delegationRecord")
|
|
3662
|
+
def delegation_record(self) -> typing.Optional[builtins.str]:
|
|
3663
|
+
'''DNS queries with delegation records that point to this domain name are forwarded to resolvers on your network.'''
|
|
3664
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "delegationRecord"))
|
|
3665
|
+
|
|
3666
|
+
@delegation_record.setter
|
|
3667
|
+
def delegation_record(self, value: typing.Optional[builtins.str]) -> None:
|
|
3668
|
+
if __debug__:
|
|
3669
|
+
type_hints = typing.get_type_hints(_typecheckingstub__b1126d07ce449d0d6220e3fbf183f2d786e81574a4f131914dfe0914a55bb851)
|
|
3670
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3671
|
+
jsii.set(self, "delegationRecord", value) # pyright: ignore[reportArgumentType]
|
|
3672
|
+
|
|
3651
3673
|
@builtins.property
|
|
3652
3674
|
@jsii.member(jsii_name="domainName")
|
|
3653
3675
|
def domain_name(self) -> typing.Optional[builtins.str]:
|
|
@@ -4106,6 +4128,7 @@ class CfnResolverRuleAssociationProps:
|
|
|
4106
4128
|
jsii_struct_bases=[],
|
|
4107
4129
|
name_mapping={
|
|
4108
4130
|
"rule_type": "ruleType",
|
|
4131
|
+
"delegation_record": "delegationRecord",
|
|
4109
4132
|
"domain_name": "domainName",
|
|
4110
4133
|
"name": "name",
|
|
4111
4134
|
"resolver_endpoint_id": "resolverEndpointId",
|
|
@@ -4118,6 +4141,7 @@ class CfnResolverRuleProps:
|
|
|
4118
4141
|
self,
|
|
4119
4142
|
*,
|
|
4120
4143
|
rule_type: builtins.str,
|
|
4144
|
+
delegation_record: typing.Optional[builtins.str] = None,
|
|
4121
4145
|
domain_name: typing.Optional[builtins.str] = None,
|
|
4122
4146
|
name: typing.Optional[builtins.str] = None,
|
|
4123
4147
|
resolver_endpoint_id: typing.Optional[builtins.str] = None,
|
|
@@ -4126,7 +4150,8 @@ class CfnResolverRuleProps:
|
|
|
4126
4150
|
) -> None:
|
|
4127
4151
|
'''Properties for defining a ``CfnResolverRule``.
|
|
4128
4152
|
|
|
4129
|
-
:param rule_type: When you want to forward DNS queries for specified domain name to resolvers on your network, specify ``FORWARD`` . When you have a forwarding rule to forward DNS queries for a domain to your network and you want Resolver to process queries for a subdomain of that domain, specify ``SYSTEM`` . For example, to forward DNS queries for example.com to resolvers on your network, you create a rule and specify ``FORWARD`` for ``RuleType`` . To then have Resolver process queries for apex.example.com, you create a rule and specify ``SYSTEM`` for ``RuleType`` . Currently, only Resolver can create rules that have a value of ``RECURSIVE`` for ``RuleType`` .
|
|
4153
|
+
:param rule_type: When you want to forward DNS queries for specified domain name to resolvers on your network, specify ``FORWARD`` or ``DELEGATE`` . If a query matches multiple Resolver rules (example.com and www.example.com), outbound DNS queries are routed using the Resolver rule that contains the most specific domain name (www.example.com). When you have a forwarding rule to forward DNS queries for a domain to your network and you want Resolver to process queries for a subdomain of that domain, specify ``SYSTEM`` . For example, to forward DNS queries for example.com to resolvers on your network, you create a rule and specify ``FORWARD`` for ``RuleType`` . To then have Resolver process queries for apex.example.com, you create a rule and specify ``SYSTEM`` for ``RuleType`` . Currently, only Resolver can create rules that have a value of ``RECURSIVE`` for ``RuleType`` .
|
|
4154
|
+
:param delegation_record: DNS queries with delegation records that point to this domain name are forwarded to resolvers on your network.
|
|
4130
4155
|
:param domain_name: DNS queries for this domain name are forwarded to the IP addresses that are specified in ``TargetIps`` . If a query matches multiple Resolver rules (example.com and www.example.com), the query is routed using the Resolver rule that contains the most specific domain name (www.example.com).
|
|
4131
4156
|
:param name: The name for the Resolver rule, which you specified when you created the Resolver rule.
|
|
4132
4157
|
:param resolver_endpoint_id: The ID of the endpoint that the rule is associated with.
|
|
@@ -4146,6 +4171,7 @@ class CfnResolverRuleProps:
|
|
|
4146
4171
|
rule_type="ruleType",
|
|
4147
4172
|
|
|
4148
4173
|
# the properties below are optional
|
|
4174
|
+
delegation_record="delegationRecord",
|
|
4149
4175
|
domain_name="domainName",
|
|
4150
4176
|
name="name",
|
|
4151
4177
|
resolver_endpoint_id="resolverEndpointId",
|
|
@@ -4165,6 +4191,7 @@ class CfnResolverRuleProps:
|
|
|
4165
4191
|
if __debug__:
|
|
4166
4192
|
type_hints = typing.get_type_hints(_typecheckingstub__fdcaea1870aaf2dc13fe56b2d15a89d6adba2ad5884071fc618c9e4bb2c3ddec)
|
|
4167
4193
|
check_type(argname="argument rule_type", value=rule_type, expected_type=type_hints["rule_type"])
|
|
4194
|
+
check_type(argname="argument delegation_record", value=delegation_record, expected_type=type_hints["delegation_record"])
|
|
4168
4195
|
check_type(argname="argument domain_name", value=domain_name, expected_type=type_hints["domain_name"])
|
|
4169
4196
|
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
4170
4197
|
check_type(argname="argument resolver_endpoint_id", value=resolver_endpoint_id, expected_type=type_hints["resolver_endpoint_id"])
|
|
@@ -4173,6 +4200,8 @@ class CfnResolverRuleProps:
|
|
|
4173
4200
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
4174
4201
|
"rule_type": rule_type,
|
|
4175
4202
|
}
|
|
4203
|
+
if delegation_record is not None:
|
|
4204
|
+
self._values["delegation_record"] = delegation_record
|
|
4176
4205
|
if domain_name is not None:
|
|
4177
4206
|
self._values["domain_name"] = domain_name
|
|
4178
4207
|
if name is not None:
|
|
@@ -4186,7 +4215,9 @@ class CfnResolverRuleProps:
|
|
|
4186
4215
|
|
|
4187
4216
|
@builtins.property
|
|
4188
4217
|
def rule_type(self) -> builtins.str:
|
|
4189
|
-
'''When you want to forward DNS queries for specified domain name to resolvers on your network, specify ``FORWARD`` .
|
|
4218
|
+
'''When you want to forward DNS queries for specified domain name to resolvers on your network, specify ``FORWARD`` or ``DELEGATE`` .
|
|
4219
|
+
|
|
4220
|
+
If a query matches multiple Resolver rules (example.com and www.example.com), outbound DNS queries are routed using the Resolver rule that contains the most specific domain name (www.example.com).
|
|
4190
4221
|
|
|
4191
4222
|
When you have a forwarding rule to forward DNS queries for a domain to your network and you want Resolver to process queries for a subdomain of that domain, specify ``SYSTEM`` .
|
|
4192
4223
|
|
|
@@ -4200,6 +4231,15 @@ class CfnResolverRuleProps:
|
|
|
4200
4231
|
assert result is not None, "Required property 'rule_type' is missing"
|
|
4201
4232
|
return typing.cast(builtins.str, result)
|
|
4202
4233
|
|
|
4234
|
+
@builtins.property
|
|
4235
|
+
def delegation_record(self) -> typing.Optional[builtins.str]:
|
|
4236
|
+
'''DNS queries with delegation records that point to this domain name are forwarded to resolvers on your network.
|
|
4237
|
+
|
|
4238
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-resolverrule.html#cfn-route53resolver-resolverrule-delegationrecord
|
|
4239
|
+
'''
|
|
4240
|
+
result = self._values.get("delegation_record")
|
|
4241
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
4242
|
+
|
|
4203
4243
|
@builtins.property
|
|
4204
4244
|
def domain_name(self) -> typing.Optional[builtins.str]:
|
|
4205
4245
|
'''DNS queries for this domain name are forwarded to the IP addresses that are specified in ``TargetIps`` .
|
|
@@ -4838,6 +4878,7 @@ def _typecheckingstub__7253810e416357d129df95b3c7aa9aa0f08e68de7d465658e598912cf
|
|
|
4838
4878
|
id: builtins.str,
|
|
4839
4879
|
*,
|
|
4840
4880
|
rule_type: builtins.str,
|
|
4881
|
+
delegation_record: typing.Optional[builtins.str] = None,
|
|
4841
4882
|
domain_name: typing.Optional[builtins.str] = None,
|
|
4842
4883
|
name: typing.Optional[builtins.str] = None,
|
|
4843
4884
|
resolver_endpoint_id: typing.Optional[builtins.str] = None,
|
|
@@ -4865,6 +4906,12 @@ def _typecheckingstub__13530a5c4f7ce175ae03b85dc7d4550ae7a3cb68cb2be12c89a167e8d
|
|
|
4865
4906
|
"""Type checking stubs"""
|
|
4866
4907
|
pass
|
|
4867
4908
|
|
|
4909
|
+
def _typecheckingstub__b1126d07ce449d0d6220e3fbf183f2d786e81574a4f131914dfe0914a55bb851(
|
|
4910
|
+
value: typing.Optional[builtins.str],
|
|
4911
|
+
) -> None:
|
|
4912
|
+
"""Type checking stubs"""
|
|
4913
|
+
pass
|
|
4914
|
+
|
|
4868
4915
|
def _typecheckingstub__3e83136a81b10aed2481c602cdca3f63e1c2bcaed82fe69b1ab2413af7c0b7c0(
|
|
4869
4916
|
value: typing.Optional[builtins.str],
|
|
4870
4917
|
) -> None:
|
|
@@ -4959,6 +5006,7 @@ def _typecheckingstub__3b7cd1048ae30851b3480dc04a365c7bd487212f9328f80bc61e1bae1
|
|
|
4959
5006
|
def _typecheckingstub__fdcaea1870aaf2dc13fe56b2d15a89d6adba2ad5884071fc618c9e4bb2c3ddec(
|
|
4960
5007
|
*,
|
|
4961
5008
|
rule_type: builtins.str,
|
|
5009
|
+
delegation_record: typing.Optional[builtins.str] = None,
|
|
4962
5010
|
domain_name: typing.Optional[builtins.str] = None,
|
|
4963
5011
|
name: typing.Optional[builtins.str] = None,
|
|
4964
5012
|
resolver_endpoint_id: typing.Optional[builtins.str] = None,
|
aws_cdk/aws_s3/__init__.py
CHANGED
|
@@ -152,6 +152,22 @@ bucket.grant_read_write(my_lambda)
|
|
|
152
152
|
Will give the Lambda's execution role permissions to read and write
|
|
153
153
|
from the bucket.
|
|
154
154
|
|
|
155
|
+
### Understanding "grant" Methods
|
|
156
|
+
|
|
157
|
+
The S3 construct library provides several grant methods for the `Bucket` resource, but two of them have a special behavior. This two accept an `objectsKeyPattern` parameter to restrict granted permissions to specific resources:
|
|
158
|
+
|
|
159
|
+
* `grantRead`
|
|
160
|
+
* `grantReadWrite`
|
|
161
|
+
|
|
162
|
+
When examining the synthesized policy, you'll notice it includes both your specified object key patterns and the bucket itself.
|
|
163
|
+
This is by design. Some permissions (like `s3:ListBucket`) apply at the bucket level, while others (like `s3:GetObject`) apply to specific objects.
|
|
164
|
+
|
|
165
|
+
Specifically, the [`s3:ListBucket` action operates on bucket resources](https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazons3.html#amazons3-bucket)
|
|
166
|
+
and requires the bucket ARN to work properly. This might be seen as a bug, giving the impression that more permissions were granted than the ones you intended, but the reality is that the policy does not ignore your `objectsKeyPattern` - object-specific actions like `s3:GetObject`
|
|
167
|
+
will still be limited to the resources defined in your pattern.
|
|
168
|
+
|
|
169
|
+
If you need to restrict the `s3:ListBucket` action to specific paths, you can add a `Condition` to your policy that limits the `objectsKeyPattern` to specific folders. For more details and examples, see the [AWS documentation on bucket policies](https://docs.aws.amazon.com/AmazonS3/latest/userguide/example-bucket-policies.html#example-bucket-policies-folders).
|
|
170
|
+
|
|
155
171
|
## AWS Foundational Security Best Practices
|
|
156
172
|
|
|
157
173
|
### Enforcing SSL
|
|
@@ -8431,7 +8447,7 @@ class CfnBucket(
|
|
|
8431
8447
|
:param encryption_configuration: Specifies encryption-related information.
|
|
8432
8448
|
:param metrics: A container specifying replication metrics-related settings enabling replication metrics and events.
|
|
8433
8449
|
:param replication_time: A container specifying S3 Replication Time Control (S3 RTC), including whether S3 RTC is enabled and the time when all objects and operations on objects must be replicated. Must be specified together with a ``Metrics`` block.
|
|
8434
|
-
:param storage_class: The storage class to use when replicating objects, such as S3 Standard or reduced redundancy. By default, Amazon S3 uses the storage class of the source object to create the object replica. For valid values, see the ``StorageClass`` element of the `PUT Bucket replication <https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTreplication.html>`_ action in the *Amazon S3 API Reference* .
|
|
8450
|
+
:param storage_class: The storage class to use when replicating objects, such as S3 Standard or reduced redundancy. By default, Amazon S3 uses the storage class of the source object to create the object replica. For valid values, see the ``StorageClass`` element of the `PUT Bucket replication <https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTreplication.html>`_ action in the *Amazon S3 API Reference* . ``FSX_OPENZFS`` is not an accepted value when replicating objects.
|
|
8435
8451
|
|
|
8436
8452
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-replicationdestination.html
|
|
8437
8453
|
:exampleMetadata: fixture=_generated
|
|
@@ -8574,6 +8590,8 @@ class CfnBucket(
|
|
|
8574
8590
|
|
|
8575
8591
|
For valid values, see the ``StorageClass`` element of the `PUT Bucket replication <https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTreplication.html>`_ action in the *Amazon S3 API Reference* .
|
|
8576
8592
|
|
|
8593
|
+
``FSX_OPENZFS`` is not an accepted value when replicating objects.
|
|
8594
|
+
|
|
8577
8595
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-replicationdestination.html#cfn-s3-bucket-replicationdestination-storageclass
|
|
8578
8596
|
'''
|
|
8579
8597
|
result = self._values.get("storage_class")
|
aws_cdk/aws_s3tables/__init__.py
CHANGED
|
@@ -76,6 +76,192 @@ from .. import (
|
|
|
76
76
|
)
|
|
77
77
|
|
|
78
78
|
|
|
79
|
+
@jsii.implements(_IInspectable_c2943556)
|
|
80
|
+
class CfnNamespace(
|
|
81
|
+
_CfnResource_9df397a6,
|
|
82
|
+
metaclass=jsii.JSIIMeta,
|
|
83
|
+
jsii_type="aws-cdk-lib.aws_s3tables.CfnNamespace",
|
|
84
|
+
):
|
|
85
|
+
'''Creates a namespace.
|
|
86
|
+
|
|
87
|
+
A namespace is a logical grouping of tables within your table bucket, which you can use to organize tables. For more information, see `Create a namespace <https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-namespace-create.html>`_ in the *Amazon Simple Storage Service User Guide* .
|
|
88
|
+
|
|
89
|
+
- **Permissions** - You must have the ``s3tables:CreateNamespace`` permission to use this operation.
|
|
90
|
+
|
|
91
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3tables-namespace.html
|
|
92
|
+
:cloudformationResource: AWS::S3Tables::Namespace
|
|
93
|
+
:exampleMetadata: fixture=_generated
|
|
94
|
+
|
|
95
|
+
Example::
|
|
96
|
+
|
|
97
|
+
# The code below shows an example of how to instantiate this type.
|
|
98
|
+
# The values are placeholders you should change.
|
|
99
|
+
from aws_cdk import aws_s3tables as s3tables
|
|
100
|
+
|
|
101
|
+
cfn_namespace = s3tables.CfnNamespace(self, "MyCfnNamespace",
|
|
102
|
+
namespace="namespace",
|
|
103
|
+
table_bucket_arn="tableBucketArn"
|
|
104
|
+
)
|
|
105
|
+
'''
|
|
106
|
+
|
|
107
|
+
def __init__(
|
|
108
|
+
self,
|
|
109
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
110
|
+
id: builtins.str,
|
|
111
|
+
*,
|
|
112
|
+
namespace: builtins.str,
|
|
113
|
+
table_bucket_arn: builtins.str,
|
|
114
|
+
) -> None:
|
|
115
|
+
'''
|
|
116
|
+
:param scope: Scope in which this resource is defined.
|
|
117
|
+
:param id: Construct identifier for this resource (unique in its scope).
|
|
118
|
+
:param namespace: The name of the namespace.
|
|
119
|
+
:param table_bucket_arn: The Amazon Resource Name (ARN) of the specified table bucket.
|
|
120
|
+
'''
|
|
121
|
+
if __debug__:
|
|
122
|
+
type_hints = typing.get_type_hints(_typecheckingstub__fd79dcff4893fe1cd3464c1f48689d2a01ad4a5eed6acfd35e21266683ab1f1c)
|
|
123
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
124
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
125
|
+
props = CfnNamespaceProps(
|
|
126
|
+
namespace=namespace, table_bucket_arn=table_bucket_arn
|
|
127
|
+
)
|
|
128
|
+
|
|
129
|
+
jsii.create(self.__class__, self, [scope, id, props])
|
|
130
|
+
|
|
131
|
+
@jsii.member(jsii_name="inspect")
|
|
132
|
+
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
133
|
+
'''Examines the CloudFormation resource and discloses attributes.
|
|
134
|
+
|
|
135
|
+
:param inspector: tree inspector to collect and process attributes.
|
|
136
|
+
'''
|
|
137
|
+
if __debug__:
|
|
138
|
+
type_hints = typing.get_type_hints(_typecheckingstub__0dae368df5e118b03066ac5fbad3765e81aa23b31a7288aa2bb824379578614f)
|
|
139
|
+
check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
|
|
140
|
+
return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
|
|
141
|
+
|
|
142
|
+
@jsii.member(jsii_name="renderProperties")
|
|
143
|
+
def _render_properties(
|
|
144
|
+
self,
|
|
145
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
146
|
+
) -> typing.Mapping[builtins.str, typing.Any]:
|
|
147
|
+
'''
|
|
148
|
+
:param props: -
|
|
149
|
+
'''
|
|
150
|
+
if __debug__:
|
|
151
|
+
type_hints = typing.get_type_hints(_typecheckingstub__2c772aad560ab6b4e840f54665ca3a18a9fcbf362512eb78423617db138b70b0)
|
|
152
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
153
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
|
|
154
|
+
|
|
155
|
+
@jsii.python.classproperty
|
|
156
|
+
@jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
|
|
157
|
+
def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
|
|
158
|
+
'''The CloudFormation resource type name for this resource class.'''
|
|
159
|
+
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
160
|
+
|
|
161
|
+
@builtins.property
|
|
162
|
+
@jsii.member(jsii_name="cfnProperties")
|
|
163
|
+
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
164
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
165
|
+
|
|
166
|
+
@builtins.property
|
|
167
|
+
@jsii.member(jsii_name="namespace")
|
|
168
|
+
def namespace(self) -> builtins.str:
|
|
169
|
+
'''The name of the namespace.'''
|
|
170
|
+
return typing.cast(builtins.str, jsii.get(self, "namespace"))
|
|
171
|
+
|
|
172
|
+
@namespace.setter
|
|
173
|
+
def namespace(self, value: builtins.str) -> None:
|
|
174
|
+
if __debug__:
|
|
175
|
+
type_hints = typing.get_type_hints(_typecheckingstub__083038783d9a592008992f105965913f4b10d8bc23252afb9a929c22e7cebd06)
|
|
176
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
177
|
+
jsii.set(self, "namespace", value) # pyright: ignore[reportArgumentType]
|
|
178
|
+
|
|
179
|
+
@builtins.property
|
|
180
|
+
@jsii.member(jsii_name="tableBucketArn")
|
|
181
|
+
def table_bucket_arn(self) -> builtins.str:
|
|
182
|
+
'''The Amazon Resource Name (ARN) of the specified table bucket.'''
|
|
183
|
+
return typing.cast(builtins.str, jsii.get(self, "tableBucketArn"))
|
|
184
|
+
|
|
185
|
+
@table_bucket_arn.setter
|
|
186
|
+
def table_bucket_arn(self, value: builtins.str) -> None:
|
|
187
|
+
if __debug__:
|
|
188
|
+
type_hints = typing.get_type_hints(_typecheckingstub__8560b7f29623bc1f753b1cf34442c874c6958096b39accf37244c9341879fd81)
|
|
189
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
190
|
+
jsii.set(self, "tableBucketArn", value) # pyright: ignore[reportArgumentType]
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
@jsii.data_type(
|
|
194
|
+
jsii_type="aws-cdk-lib.aws_s3tables.CfnNamespaceProps",
|
|
195
|
+
jsii_struct_bases=[],
|
|
196
|
+
name_mapping={"namespace": "namespace", "table_bucket_arn": "tableBucketArn"},
|
|
197
|
+
)
|
|
198
|
+
class CfnNamespaceProps:
|
|
199
|
+
def __init__(
|
|
200
|
+
self,
|
|
201
|
+
*,
|
|
202
|
+
namespace: builtins.str,
|
|
203
|
+
table_bucket_arn: builtins.str,
|
|
204
|
+
) -> None:
|
|
205
|
+
'''Properties for defining a ``CfnNamespace``.
|
|
206
|
+
|
|
207
|
+
:param namespace: The name of the namespace.
|
|
208
|
+
:param table_bucket_arn: The Amazon Resource Name (ARN) of the specified table bucket.
|
|
209
|
+
|
|
210
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3tables-namespace.html
|
|
211
|
+
:exampleMetadata: fixture=_generated
|
|
212
|
+
|
|
213
|
+
Example::
|
|
214
|
+
|
|
215
|
+
# The code below shows an example of how to instantiate this type.
|
|
216
|
+
# The values are placeholders you should change.
|
|
217
|
+
from aws_cdk import aws_s3tables as s3tables
|
|
218
|
+
|
|
219
|
+
cfn_namespace_props = s3tables.CfnNamespaceProps(
|
|
220
|
+
namespace="namespace",
|
|
221
|
+
table_bucket_arn="tableBucketArn"
|
|
222
|
+
)
|
|
223
|
+
'''
|
|
224
|
+
if __debug__:
|
|
225
|
+
type_hints = typing.get_type_hints(_typecheckingstub__5fdadc8758c9f96fac22200567c0d51cfd3e36c943cb9fa46e50cbf9abf25faf)
|
|
226
|
+
check_type(argname="argument namespace", value=namespace, expected_type=type_hints["namespace"])
|
|
227
|
+
check_type(argname="argument table_bucket_arn", value=table_bucket_arn, expected_type=type_hints["table_bucket_arn"])
|
|
228
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
229
|
+
"namespace": namespace,
|
|
230
|
+
"table_bucket_arn": table_bucket_arn,
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
@builtins.property
|
|
234
|
+
def namespace(self) -> builtins.str:
|
|
235
|
+
'''The name of the namespace.
|
|
236
|
+
|
|
237
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3tables-namespace.html#cfn-s3tables-namespace-namespace
|
|
238
|
+
'''
|
|
239
|
+
result = self._values.get("namespace")
|
|
240
|
+
assert result is not None, "Required property 'namespace' is missing"
|
|
241
|
+
return typing.cast(builtins.str, result)
|
|
242
|
+
|
|
243
|
+
@builtins.property
|
|
244
|
+
def table_bucket_arn(self) -> builtins.str:
|
|
245
|
+
'''The Amazon Resource Name (ARN) of the specified table bucket.
|
|
246
|
+
|
|
247
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3tables-namespace.html#cfn-s3tables-namespace-tablebucketarn
|
|
248
|
+
'''
|
|
249
|
+
result = self._values.get("table_bucket_arn")
|
|
250
|
+
assert result is not None, "Required property 'table_bucket_arn' is missing"
|
|
251
|
+
return typing.cast(builtins.str, result)
|
|
252
|
+
|
|
253
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
254
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
255
|
+
|
|
256
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
257
|
+
return not (rhs == self)
|
|
258
|
+
|
|
259
|
+
def __repr__(self) -> str:
|
|
260
|
+
return "CfnNamespaceProps(%s)" % ", ".join(
|
|
261
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
262
|
+
)
|
|
263
|
+
|
|
264
|
+
|
|
79
265
|
@jsii.implements(_IInspectable_c2943556)
|
|
80
266
|
class CfnTableBucket(
|
|
81
267
|
_CfnResource_9df397a6,
|
|
@@ -706,6 +892,8 @@ class CfnTableBucketProps:
|
|
|
706
892
|
|
|
707
893
|
|
|
708
894
|
__all__ = [
|
|
895
|
+
"CfnNamespace",
|
|
896
|
+
"CfnNamespaceProps",
|
|
709
897
|
"CfnTableBucket",
|
|
710
898
|
"CfnTableBucketPolicy",
|
|
711
899
|
"CfnTableBucketPolicyProps",
|
|
@@ -714,6 +902,48 @@ __all__ = [
|
|
|
714
902
|
|
|
715
903
|
publication.publish()
|
|
716
904
|
|
|
905
|
+
def _typecheckingstub__fd79dcff4893fe1cd3464c1f48689d2a01ad4a5eed6acfd35e21266683ab1f1c(
|
|
906
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
907
|
+
id: builtins.str,
|
|
908
|
+
*,
|
|
909
|
+
namespace: builtins.str,
|
|
910
|
+
table_bucket_arn: builtins.str,
|
|
911
|
+
) -> None:
|
|
912
|
+
"""Type checking stubs"""
|
|
913
|
+
pass
|
|
914
|
+
|
|
915
|
+
def _typecheckingstub__0dae368df5e118b03066ac5fbad3765e81aa23b31a7288aa2bb824379578614f(
|
|
916
|
+
inspector: _TreeInspector_488e0dd5,
|
|
917
|
+
) -> None:
|
|
918
|
+
"""Type checking stubs"""
|
|
919
|
+
pass
|
|
920
|
+
|
|
921
|
+
def _typecheckingstub__2c772aad560ab6b4e840f54665ca3a18a9fcbf362512eb78423617db138b70b0(
|
|
922
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
923
|
+
) -> None:
|
|
924
|
+
"""Type checking stubs"""
|
|
925
|
+
pass
|
|
926
|
+
|
|
927
|
+
def _typecheckingstub__083038783d9a592008992f105965913f4b10d8bc23252afb9a929c22e7cebd06(
|
|
928
|
+
value: builtins.str,
|
|
929
|
+
) -> None:
|
|
930
|
+
"""Type checking stubs"""
|
|
931
|
+
pass
|
|
932
|
+
|
|
933
|
+
def _typecheckingstub__8560b7f29623bc1f753b1cf34442c874c6958096b39accf37244c9341879fd81(
|
|
934
|
+
value: builtins.str,
|
|
935
|
+
) -> None:
|
|
936
|
+
"""Type checking stubs"""
|
|
937
|
+
pass
|
|
938
|
+
|
|
939
|
+
def _typecheckingstub__5fdadc8758c9f96fac22200567c0d51cfd3e36c943cb9fa46e50cbf9abf25faf(
|
|
940
|
+
*,
|
|
941
|
+
namespace: builtins.str,
|
|
942
|
+
table_bucket_arn: builtins.str,
|
|
943
|
+
) -> None:
|
|
944
|
+
"""Type checking stubs"""
|
|
945
|
+
pass
|
|
946
|
+
|
|
717
947
|
def _typecheckingstub__de433918cd34eecbcaab0e81b6a287f71a48dd308c2f4d42e07a0e19ce5af0e2(
|
|
718
948
|
scope: _constructs_77d1e7e8.Construct,
|
|
719
949
|
id: builtins.str,
|
|
@@ -7763,7 +7763,7 @@ class CfnDomain(
|
|
|
7763
7763
|
:param execution_role_identity_config: The configuration for attaching a SageMaker AI user profile name to the execution role as a `sts:SourceIdentity key <https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_control-access_monitor.html>`_ .
|
|
7764
7764
|
:param r_studio_server_pro_domain_settings: A collection of settings that configure the ``RStudioServerPro`` Domain-level app.
|
|
7765
7765
|
: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.
|
|
7766
|
-
:param unified_studio_settings:
|
|
7766
|
+
:param unified_studio_settings: The settings that apply to an SageMaker AI domain when you use it in Amazon SageMaker Unified Studio.
|
|
7767
7767
|
|
|
7768
7768
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-domainsettings.html
|
|
7769
7769
|
:exampleMetadata: fixture=_generated
|
|
@@ -7868,7 +7868,7 @@ class CfnDomain(
|
|
|
7868
7868
|
def unified_studio_settings(
|
|
7869
7869
|
self,
|
|
7870
7870
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDomain.UnifiedStudioSettingsProperty"]]:
|
|
7871
|
-
'''
|
|
7871
|
+
'''The settings that apply to an SageMaker AI domain when you use it in Amazon SageMaker Unified Studio.
|
|
7872
7872
|
|
|
7873
7873
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-domainsettings.html#cfn-sagemaker-domain-domainsettings-unifiedstudiosettings
|
|
7874
7874
|
'''
|
|
@@ -9216,7 +9216,7 @@ class CfnDomain(
|
|
|
9216
9216
|
project_s3_path: typing.Optional[builtins.str] = None,
|
|
9217
9217
|
studio_web_portal_access: typing.Optional[builtins.str] = None,
|
|
9218
9218
|
) -> None:
|
|
9219
|
-
'''
|
|
9219
|
+
'''The settings that apply to an Amazon SageMaker AI domain when you use it in Amazon SageMaker Unified Studio.
|
|
9220
9220
|
|
|
9221
9221
|
:param domain_account_id: The ID of the AWS account that has the Amazon SageMaker Unified Studio domain. The default value, if you don't specify an ID, is the ID of the account that has the Amazon SageMaker AI domain.
|
|
9222
9222
|
:param domain_id: The ID of the Amazon SageMaker Unified Studio domain associated with this domain.
|
|
@@ -9224,7 +9224,7 @@ class CfnDomain(
|
|
|
9224
9224
|
:param environment_id: The ID of the environment that Amazon SageMaker Unified Studio associates with the domain.
|
|
9225
9225
|
:param project_id: The ID of the Amazon SageMaker Unified Studio project that corresponds to the domain.
|
|
9226
9226
|
:param project_s3_path: The location where Amazon S3 stores temporary execution data and other artifacts for the project that corresponds to the domain.
|
|
9227
|
-
:param studio_web_portal_access: Sets whether you can access the domain in Amazon SageMaker Studio:. ENABLED You can access the domain in Amazon SageMaker Studio. If you migrate the domain to Amazon SageMaker Unified Studio, you can access it in both studio interfaces. DISABLED You can't access the domain in Amazon SageMaker Studio. If you migrate the domain to Amazon SageMaker Unified Studio, you can access it only in that studio interface.
|
|
9227
|
+
:param studio_web_portal_access: Sets whether you can access the domain in Amazon SageMaker Studio:. - **ENABLED** - You can access the domain in Amazon SageMaker Studio. If you migrate the domain to Amazon SageMaker Unified Studio, you can access it in both studio interfaces. - **DISABLED** - You can't access the domain in Amazon SageMaker Studio. If you migrate the domain to Amazon SageMaker Unified Studio, you can access it only in that studio interface. To migrate a domain to Amazon SageMaker Unified Studio, you specify the UnifiedStudioSettings data type when you use the UpdateDomain action.
|
|
9228
9228
|
|
|
9229
9229
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-unifiedstudiosettings.html
|
|
9230
9230
|
:exampleMetadata: fixture=_generated
|
|
@@ -9332,10 +9332,10 @@ class CfnDomain(
|
|
|
9332
9332
|
def studio_web_portal_access(self) -> typing.Optional[builtins.str]:
|
|
9333
9333
|
'''Sets whether you can access the domain in Amazon SageMaker Studio:.
|
|
9334
9334
|
|
|
9335
|
-
ENABLED
|
|
9336
|
-
You can access the domain in Amazon SageMaker Studio. If you migrate the domain to Amazon SageMaker Unified Studio, you can access it in
|
|
9337
|
-
|
|
9338
|
-
|
|
9335
|
+
- **ENABLED** - You can access the domain in Amazon SageMaker Studio. If you migrate the domain to Amazon SageMaker Unified Studio, you can access it in both studio interfaces.
|
|
9336
|
+
- **DISABLED** - You can't access the domain in Amazon SageMaker Studio. If you migrate the domain to Amazon SageMaker Unified Studio, you can access it only in that studio interface.
|
|
9337
|
+
|
|
9338
|
+
To migrate a domain to Amazon SageMaker Unified Studio, you specify the UnifiedStudioSettings data type when you use the UpdateDomain action.
|
|
9339
9339
|
|
|
9340
9340
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-unifiedstudiosettings.html#cfn-sagemaker-domain-unifiedstudiosettings-studiowebportalaccess
|
|
9341
9341
|
'''
|
|
@@ -21309,7 +21309,7 @@ class CfnModel(
|
|
|
21309
21309
|
Your input bucket must be in the same AWS region as your training job.
|
|
21310
21310
|
|
|
21311
21311
|
:param compression_type:
|
|
21312
|
-
:param s3_data_type: If you choose ``S3Prefix`` , ``S3Uri`` identifies a key name prefix. SageMaker uses all objects that match the specified key name prefix for model training. If you choose ``ManifestFile`` , ``S3Uri`` identifies an object that is a manifest file containing a list of object keys that you want SageMaker to use for model training. If you choose ``AugmentedManifestFile`` , ``S3Uri`` identifies an object that is an augmented manifest file in JSON lines format. This file contains the data you want to use for model training. ``AugmentedManifestFile`` can only be used if the Channel's input mode is ``Pipe`` .
|
|
21312
|
+
:param s3_data_type: If you choose ``S3Prefix`` , ``S3Uri`` identifies a key name prefix. SageMaker uses all objects that match the specified key name prefix for model training. If you choose ``ManifestFile`` , ``S3Uri`` identifies an object that is a manifest file containing a list of object keys that you want SageMaker to use for model training. If you choose ``AugmentedManifestFile`` , ``S3Uri`` identifies an object that is an augmented manifest file in JSON lines format. This file contains the data you want to use for model training. ``AugmentedManifestFile`` can only be used if the Channel's input mode is ``Pipe`` . If you choose ``Converse`` , ``S3Uri`` identifies an Amazon S3 location that contains data formatted according to Converse format. This format structures conversational messages with specific roles and content types used for training and fine-tuning foundational models.
|
|
21313
21313
|
:param s3_uri: Depending on the value specified for the ``S3DataType`` , identifies either a key name prefix or a manifest. For example: - A key name prefix might look like this: ``s3://bucketname/exampleprefix/`` - A manifest might look like this: ``s3://bucketname/example.manifest`` A manifest is an S3 object which is a JSON file consisting of an array of elements. The first element is a prefix which is followed by one or more suffixes. SageMaker appends the suffix elements to the prefix to get a full set of ``S3Uri`` . Note that the prefix must be a valid non-empty ``S3Uri`` that precludes users from specifying a manifest whose individual ``S3Uri`` is sourced from different S3 buckets. The following code example shows a valid manifest format: ``[ {"prefix": "s3://customer_bucket/some/prefix/"},`` ``"relative/path/to/custdata-1",`` ``"relative/path/custdata-2",`` ``...`` ``"relative/path/custdata-N"`` ``]`` This JSON is equivalent to the following ``S3Uri`` list: ``s3://customer_bucket/some/prefix/relative/path/to/custdata-1`` ``s3://customer_bucket/some/prefix/relative/path/custdata-2`` ``...`` ``s3://customer_bucket/some/prefix/relative/path/custdata-N`` The complete set of ``S3Uri`` in this manifest is the input data for the channel for this data source. The object that each ``S3Uri`` points to must be readable by the IAM role that SageMaker uses to perform tasks on your behalf. Your input bucket must be located in same AWS region as your training job.
|
|
21314
21314
|
:param hub_access_config: The configuration for a private hub model reference that points to a SageMaker JumpStart public hub model.
|
|
21315
21315
|
:param model_access_config:
|
|
@@ -21373,6 +21373,8 @@ class CfnModel(
|
|
|
21373
21373
|
|
|
21374
21374
|
If you choose ``AugmentedManifestFile`` , ``S3Uri`` identifies an object that is an augmented manifest file in JSON lines format. This file contains the data you want to use for model training. ``AugmentedManifestFile`` can only be used if the Channel's input mode is ``Pipe`` .
|
|
21375
21375
|
|
|
21376
|
+
If you choose ``Converse`` , ``S3Uri`` identifies an Amazon S3 location that contains data formatted according to Converse format. This format structures conversational messages with specific roles and content types used for training and fine-tuning foundational models.
|
|
21377
|
+
|
|
21376
21378
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-model-s3datasource.html#cfn-sagemaker-model-s3datasource-s3datatype
|
|
21377
21379
|
'''
|
|
21378
21380
|
result = self._values.get("s3_data_type")
|
|
@@ -33164,7 +33166,7 @@ class CfnModelPackage(
|
|
|
33164
33166
|
|
|
33165
33167
|
Your input bucket must be in the same AWS region as your training job.
|
|
33166
33168
|
|
|
33167
|
-
:param s3_data_type: If you choose ``S3Prefix`` , ``S3Uri`` identifies a key name prefix. SageMaker uses all objects that match the specified key name prefix for model training. If you choose ``ManifestFile`` , ``S3Uri`` identifies an object that is a manifest file containing a list of object keys that you want SageMaker to use for model training. If you choose ``AugmentedManifestFile`` , ``S3Uri`` identifies an object that is an augmented manifest file in JSON lines format. This file contains the data you want to use for model training. ``AugmentedManifestFile`` can only be used if the Channel's input mode is ``Pipe`` .
|
|
33169
|
+
:param s3_data_type: If you choose ``S3Prefix`` , ``S3Uri`` identifies a key name prefix. SageMaker uses all objects that match the specified key name prefix for model training. If you choose ``ManifestFile`` , ``S3Uri`` identifies an object that is a manifest file containing a list of object keys that you want SageMaker to use for model training. If you choose ``AugmentedManifestFile`` , ``S3Uri`` identifies an object that is an augmented manifest file in JSON lines format. This file contains the data you want to use for model training. ``AugmentedManifestFile`` can only be used if the Channel's input mode is ``Pipe`` . If you choose ``Converse`` , ``S3Uri`` identifies an Amazon S3 location that contains data formatted according to Converse format. This format structures conversational messages with specific roles and content types used for training and fine-tuning foundational models.
|
|
33168
33170
|
:param s3_uri: Depending on the value specified for the ``S3DataType`` , identifies either a key name prefix or a manifest. For example: - A key name prefix might look like this: ``s3://bucketname/exampleprefix/`` - A manifest might look like this: ``s3://bucketname/example.manifest`` A manifest is an S3 object which is a JSON file consisting of an array of elements. The first element is a prefix which is followed by one or more suffixes. SageMaker appends the suffix elements to the prefix to get a full set of ``S3Uri`` . Note that the prefix must be a valid non-empty ``S3Uri`` that precludes users from specifying a manifest whose individual ``S3Uri`` is sourced from different S3 buckets. The following code example shows a valid manifest format: ``[ {"prefix": "s3://customer_bucket/some/prefix/"},`` ``"relative/path/to/custdata-1",`` ``"relative/path/custdata-2",`` ``...`` ``"relative/path/custdata-N"`` ``]`` This JSON is equivalent to the following ``S3Uri`` list: ``s3://customer_bucket/some/prefix/relative/path/to/custdata-1`` ``s3://customer_bucket/some/prefix/relative/path/custdata-2`` ``...`` ``s3://customer_bucket/some/prefix/relative/path/custdata-N`` The complete set of ``S3Uri`` in this manifest is the input data for the channel for this data source. The object that each ``S3Uri`` points to must be readable by the IAM role that SageMaker uses to perform tasks on your behalf. Your input bucket must be located in same AWS region as your training job.
|
|
33169
33171
|
|
|
33170
33172
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelpackage-s3datasource.html
|
|
@@ -33200,6 +33202,8 @@ class CfnModelPackage(
|
|
|
33200
33202
|
|
|
33201
33203
|
If you choose ``AugmentedManifestFile`` , ``S3Uri`` identifies an object that is an augmented manifest file in JSON lines format. This file contains the data you want to use for model training. ``AugmentedManifestFile`` can only be used if the Channel's input mode is ``Pipe`` .
|
|
33202
33204
|
|
|
33205
|
+
If you choose ``Converse`` , ``S3Uri`` identifies an Amazon S3 location that contains data formatted according to Converse format. This format structures conversational messages with specific roles and content types used for training and fine-tuning foundational models.
|
|
33206
|
+
|
|
33203
33207
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelpackage-s3datasource.html#cfn-sagemaker-modelpackage-s3datasource-s3datatype
|
|
33204
33208
|
'''
|
|
33205
33209
|
result = self._values.get("s3_data_type")
|