aws-cdk-lib 2.218.0__py3-none-any.whl → 2.220.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 +31 -36
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.218.0.jsii.tgz → aws-cdk-lib@2.220.0.jsii.tgz} +0 -0
- aws_cdk/aws_amazonmq/__init__.py +98 -87
- aws_cdk/aws_apigateway/__init__.py +39 -0
- aws_cdk/aws_applicationsignals/__init__.py +450 -2
- aws_cdk/aws_arcregionswitch/__init__.py +8 -0
- aws_cdk/aws_backup/__init__.py +29 -0
- aws_cdk/aws_batch/__init__.py +109 -7
- aws_cdk/aws_bcmdataexports/__init__.py +9 -0
- aws_cdk/aws_bedrock/__init__.py +384 -1
- aws_cdk/aws_bedrockagentcore/__init__.py +7862 -1568
- aws_cdk/aws_cloudfront/experimental/__init__.py +4 -0
- aws_cdk/aws_cloudfront_origins/__init__.py +87 -6
- aws_cdk/aws_cloudwatch/__init__.py +5 -5
- aws_cdk/aws_codebuild/__init__.py +339 -62
- aws_cdk/aws_cognito/__init__.py +6 -4
- aws_cdk/aws_connect/__init__.py +9 -9
- aws_cdk/aws_cur/__init__.py +5 -3
- aws_cdk/aws_datasync/__init__.py +44 -22
- aws_cdk/aws_datazone/__init__.py +35 -33
- aws_cdk/aws_dax/__init__.py +12 -3
- aws_cdk/aws_dms/__init__.py +3 -5
- aws_cdk/aws_ec2/__init__.py +2721 -30
- aws_cdk/aws_ecs/__init__.py +2900 -90
- aws_cdk/aws_eks/__init__.py +114 -9
- aws_cdk/aws_entityresolution/__init__.py +18 -0
- aws_cdk/aws_fsx/__init__.py +4 -4
- aws_cdk/aws_greengrassv2/__init__.py +29 -0
- aws_cdk/aws_imagebuilder/__init__.py +397 -0
- aws_cdk/aws_iotsitewise/__init__.py +136 -80
- aws_cdk/aws_kinesis/__init__.py +95 -4
- aws_cdk/aws_lambda/__init__.py +43 -0
- aws_cdk/aws_lightsail/__init__.py +584 -0
- aws_cdk/aws_logs/__init__.py +57 -0
- aws_cdk/aws_lookoutmetrics/__init__.py +14 -2
- aws_cdk/aws_m2/__init__.py +59 -13
- aws_cdk/aws_medialive/__init__.py +108 -0
- aws_cdk/aws_msk/__init__.py +4 -2
- aws_cdk/aws_mwaa/__init__.py +5 -5
- aws_cdk/aws_neptune/__init__.py +133 -70
- aws_cdk/aws_networkfirewall/__init__.py +6 -2
- aws_cdk/aws_networkmanager/__init__.py +29 -0
- aws_cdk/aws_observabilityadmin/__init__.py +1227 -83
- aws_cdk/aws_omics/__init__.py +7 -1
- aws_cdk/aws_opensearchservice/__init__.py +64 -0
- aws_cdk/aws_opsworkscm/__init__.py +0 -29
- aws_cdk/aws_pcs/__init__.py +224 -33
- aws_cdk/aws_pinpoint/__init__.py +58 -0
- aws_cdk/aws_quicksight/__init__.py +118 -0
- aws_cdk/aws_rds/__init__.py +62 -37
- aws_cdk/aws_refactorspaces/__init__.py +18 -6
- aws_cdk/aws_route53/__init__.py +138 -8
- aws_cdk/aws_s3/__init__.py +29 -2
- aws_cdk/aws_s3objectlambda/__init__.py +44 -12
- aws_cdk/aws_servicecatalog/__init__.py +103 -106
- aws_cdk/aws_smsvoice/__init__.py +319 -0
- aws_cdk/aws_ssmquicksetup/__init__.py +3 -3
- aws_cdk/aws_synthetics/__init__.py +21 -1
- {aws_cdk_lib-2.218.0.dist-info → aws_cdk_lib-2.220.0.dist-info}/METADATA +2 -2
- {aws_cdk_lib-2.218.0.dist-info → aws_cdk_lib-2.220.0.dist-info}/RECORD +65 -65
- {aws_cdk_lib-2.218.0.dist-info → aws_cdk_lib-2.220.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.218.0.dist-info → aws_cdk_lib-2.220.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.218.0.dist-info → aws_cdk_lib-2.220.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.218.0.dist-info → aws_cdk_lib-2.220.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_route53/__init__.py
CHANGED
|
@@ -572,6 +572,18 @@ zone_from_attributes = route53.PublicHostedZone.from_public_hosted_zone_attribut
|
|
|
572
572
|
zone_from_id = route53.PublicHostedZone.from_public_hosted_zone_id(self, "MyZone", "ZOJJZC49E0EPZ")
|
|
573
573
|
```
|
|
574
574
|
|
|
575
|
+
You can import a Private Hosted Zone with `PrivateHostedZone.fromPrivateHostedZoneId` and `PrivateHostedZone.fromPrivateHostedZoneAttributes` methods:
|
|
576
|
+
|
|
577
|
+
```python
|
|
578
|
+
private_zone_from_attributes = route53.PrivateHostedZone.from_private_hosted_zone_attributes(self, "MyPrivateZone",
|
|
579
|
+
zone_name="example.local",
|
|
580
|
+
hosted_zone_id="ZOJJZC49E0EPZ"
|
|
581
|
+
)
|
|
582
|
+
|
|
583
|
+
# Does not know zoneName
|
|
584
|
+
private_zone_from_id = route53.PrivateHostedZone.from_private_hosted_zone_id(self, "MyPrivateZone", "ZOJJZC49E0EPZ")
|
|
585
|
+
```
|
|
586
|
+
|
|
575
587
|
You can use `CrossAccountZoneDelegationRecord` on imported Hosted Zones with the `grantDelegation` method:
|
|
576
588
|
|
|
577
589
|
```python
|
|
@@ -5069,6 +5081,70 @@ class MxRecordValue:
|
|
|
5069
5081
|
)
|
|
5070
5082
|
|
|
5071
5083
|
|
|
5084
|
+
@jsii.data_type(
|
|
5085
|
+
jsii_type="aws-cdk-lib.aws_route53.PrivateHostedZoneAttributes",
|
|
5086
|
+
jsii_struct_bases=[HostedZoneAttributes],
|
|
5087
|
+
name_mapping={"hosted_zone_id": "hostedZoneId", "zone_name": "zoneName"},
|
|
5088
|
+
)
|
|
5089
|
+
class PrivateHostedZoneAttributes(HostedZoneAttributes):
|
|
5090
|
+
def __init__(
|
|
5091
|
+
self,
|
|
5092
|
+
*,
|
|
5093
|
+
hosted_zone_id: builtins.str,
|
|
5094
|
+
zone_name: builtins.str,
|
|
5095
|
+
) -> None:
|
|
5096
|
+
'''Reference to a private hosted zone.
|
|
5097
|
+
|
|
5098
|
+
:param hosted_zone_id: Identifier of the hosted zone.
|
|
5099
|
+
:param zone_name: Name of the hosted zone.
|
|
5100
|
+
|
|
5101
|
+
:exampleMetadata: infused
|
|
5102
|
+
|
|
5103
|
+
Example::
|
|
5104
|
+
|
|
5105
|
+
private_zone_from_attributes = route53.PrivateHostedZone.from_private_hosted_zone_attributes(self, "MyPrivateZone",
|
|
5106
|
+
zone_name="example.local",
|
|
5107
|
+
hosted_zone_id="ZOJJZC49E0EPZ"
|
|
5108
|
+
)
|
|
5109
|
+
|
|
5110
|
+
# Does not know zoneName
|
|
5111
|
+
private_zone_from_id = route53.PrivateHostedZone.from_private_hosted_zone_id(self, "MyPrivateZone", "ZOJJZC49E0EPZ")
|
|
5112
|
+
'''
|
|
5113
|
+
if __debug__:
|
|
5114
|
+
type_hints = typing.get_type_hints(_typecheckingstub__7d59e6606b03cf3d00569e659297984570c743e09eb89316ce4d0048cd192732)
|
|
5115
|
+
check_type(argname="argument hosted_zone_id", value=hosted_zone_id, expected_type=type_hints["hosted_zone_id"])
|
|
5116
|
+
check_type(argname="argument zone_name", value=zone_name, expected_type=type_hints["zone_name"])
|
|
5117
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
5118
|
+
"hosted_zone_id": hosted_zone_id,
|
|
5119
|
+
"zone_name": zone_name,
|
|
5120
|
+
}
|
|
5121
|
+
|
|
5122
|
+
@builtins.property
|
|
5123
|
+
def hosted_zone_id(self) -> builtins.str:
|
|
5124
|
+
'''Identifier of the hosted zone.'''
|
|
5125
|
+
result = self._values.get("hosted_zone_id")
|
|
5126
|
+
assert result is not None, "Required property 'hosted_zone_id' is missing"
|
|
5127
|
+
return typing.cast(builtins.str, result)
|
|
5128
|
+
|
|
5129
|
+
@builtins.property
|
|
5130
|
+
def zone_name(self) -> builtins.str:
|
|
5131
|
+
'''Name of the hosted zone.'''
|
|
5132
|
+
result = self._values.get("zone_name")
|
|
5133
|
+
assert result is not None, "Required property 'zone_name' is missing"
|
|
5134
|
+
return typing.cast(builtins.str, result)
|
|
5135
|
+
|
|
5136
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
5137
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
5138
|
+
|
|
5139
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
5140
|
+
return not (rhs == self)
|
|
5141
|
+
|
|
5142
|
+
def __repr__(self) -> str:
|
|
5143
|
+
return "PrivateHostedZoneAttributes(%s)" % ", ".join(
|
|
5144
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
5145
|
+
)
|
|
5146
|
+
|
|
5147
|
+
|
|
5072
5148
|
@jsii.data_type(
|
|
5073
5149
|
jsii_type="aws-cdk-lib.aws_route53.PrivateHostedZoneProps",
|
|
5074
5150
|
jsii_struct_bases=[CommonHostedZoneProps],
|
|
@@ -12686,7 +12762,7 @@ class CfnRecordSet(
|
|
|
12686
12762
|
|
|
12687
12763
|
: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.
|
|
12688
12764
|
: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.)
|
|
12689
|
-
: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* .
|
|
12765
|
+
: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. - **API Gateway APIs** - There are no special requirements for setting ``EvaluateTargetHealth`` to ``true`` when the alias target is an API Gateway API. However, because API Gateway is highly available by design, ``EvaluateTargetHealth`` provides no operational benefit and `Route 53 health checks <https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover.html>`_ are recommended instead for failover scenarios. - **S3 buckets** - There are no special requirements for setting ``EvaluateTargetHealth`` to ``true`` when the alias target is an S3 bucket. However, because S3 buckets are highly available by design, ``EvaluateTargetHealth`` provides no operational benefit and `Route 53 health checks <https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover.html>`_ are recommended instead for failover scenarios. - **VPC interface endpoints** - There are no special requirements for setting ``EvaluateTargetHealth`` to ``true`` when the alias target is a VPC interface endpoint. However, because VPC interface endpoints are highly available by design, ``EvaluateTargetHealth`` provides no operational benefit and `Route 53 health checks <https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover.html>`_ are recommended instead for failover scenarios. - **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* . .. epigraph:: While ``EvaluateTargetHealth`` can be set to ``true`` for highly available AWS services (such as S3 buckets, VPC interface endpoints, and API Gateway), these services are designed for high availability and rarely experience outages that would be detected by this feature. For failover scenarios with these services, consider using `Route 53 health checks <https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover.html>`_ that monitor your application's ability to access the service instead. 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* .
|
|
12690
12766
|
|
|
12691
12767
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-recordset-aliastarget.html
|
|
12692
12768
|
:exampleMetadata: fixture=_generated
|
|
@@ -12840,9 +12916,15 @@ class CfnRecordSet(
|
|
|
12840
12916
|
|
|
12841
12917
|
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.
|
|
12842
12918
|
|
|
12843
|
-
- **
|
|
12919
|
+
- **API Gateway APIs** - There are no special requirements for setting ``EvaluateTargetHealth`` to ``true`` when the alias target is an API Gateway API. However, because API Gateway is highly available by design, ``EvaluateTargetHealth`` provides no operational benefit and `Route 53 health checks <https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover.html>`_ are recommended instead for failover scenarios.
|
|
12920
|
+
- **S3 buckets** - There are no special requirements for setting ``EvaluateTargetHealth`` to ``true`` when the alias target is an S3 bucket. However, because S3 buckets are highly available by design, ``EvaluateTargetHealth`` provides no operational benefit and `Route 53 health checks <https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover.html>`_ are recommended instead for failover scenarios.
|
|
12921
|
+
- **VPC interface endpoints** - There are no special requirements for setting ``EvaluateTargetHealth`` to ``true`` when the alias target is a VPC interface endpoint. However, because VPC interface endpoints are highly available by design, ``EvaluateTargetHealth`` provides no operational benefit and `Route 53 health checks <https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover.html>`_ are recommended instead for failover scenarios.
|
|
12844
12922
|
- **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* .
|
|
12845
12923
|
|
|
12924
|
+
.. epigraph::
|
|
12925
|
+
|
|
12926
|
+
While ``EvaluateTargetHealth`` can be set to ``true`` for highly available AWS services (such as S3 buckets, VPC interface endpoints, and API Gateway), these services are designed for high availability and rarely experience outages that would be detected by this feature. For failover scenarios with these services, consider using `Route 53 health checks <https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover.html>`_ that monitor your application's ability to access the service instead.
|
|
12927
|
+
|
|
12846
12928
|
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* .
|
|
12847
12929
|
|
|
12848
12930
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-recordset-aliastarget.html#cfn-route53-recordset-aliastarget-evaluatetargethealth
|
|
@@ -17074,13 +17156,13 @@ class PrivateHostedZone(
|
|
|
17074
17156
|
|
|
17075
17157
|
Example::
|
|
17076
17158
|
|
|
17077
|
-
|
|
17078
|
-
|
|
17079
|
-
|
|
17080
|
-
zone = route53.PrivateHostedZone(self, "HostedZone",
|
|
17081
|
-
zone_name="fully.qualified.domain.com",
|
|
17082
|
-
vpc=vpc
|
|
17159
|
+
private_zone_from_attributes = route53.PrivateHostedZone.from_private_hosted_zone_attributes(self, "MyPrivateZone",
|
|
17160
|
+
zone_name="example.local",
|
|
17161
|
+
hosted_zone_id="ZOJJZC49E0EPZ"
|
|
17083
17162
|
)
|
|
17163
|
+
|
|
17164
|
+
# Does not know zoneName
|
|
17165
|
+
private_zone_from_id = route53.PrivateHostedZone.from_private_hosted_zone_id(self, "MyPrivateZone", "ZOJJZC49E0EPZ")
|
|
17084
17166
|
'''
|
|
17085
17167
|
|
|
17086
17168
|
def __init__(
|
|
@@ -17117,6 +17199,35 @@ class PrivateHostedZone(
|
|
|
17117
17199
|
|
|
17118
17200
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
17119
17201
|
|
|
17202
|
+
@jsii.member(jsii_name="fromPrivateHostedZoneAttributes")
|
|
17203
|
+
@builtins.classmethod
|
|
17204
|
+
def from_private_hosted_zone_attributes(
|
|
17205
|
+
cls,
|
|
17206
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
17207
|
+
id: builtins.str,
|
|
17208
|
+
*,
|
|
17209
|
+
hosted_zone_id: builtins.str,
|
|
17210
|
+
zone_name: builtins.str,
|
|
17211
|
+
) -> IPrivateHostedZone:
|
|
17212
|
+
'''Imports a private hosted zone from another stack.
|
|
17213
|
+
|
|
17214
|
+
Use when both hosted zone ID and hosted zone name are known.
|
|
17215
|
+
|
|
17216
|
+
:param scope: the parent Construct for this Construct.
|
|
17217
|
+
:param id: the logical name of this Construct.
|
|
17218
|
+
:param hosted_zone_id: Identifier of the hosted zone.
|
|
17219
|
+
:param zone_name: Name of the hosted zone.
|
|
17220
|
+
'''
|
|
17221
|
+
if __debug__:
|
|
17222
|
+
type_hints = typing.get_type_hints(_typecheckingstub__2854fdc710e9385a23e0748e6a26b1a8050ddd16e7e432970959903de7650f09)
|
|
17223
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
17224
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
17225
|
+
attrs = PrivateHostedZoneAttributes(
|
|
17226
|
+
hosted_zone_id=hosted_zone_id, zone_name=zone_name
|
|
17227
|
+
)
|
|
17228
|
+
|
|
17229
|
+
return typing.cast(IPrivateHostedZone, jsii.sinvoke(cls, "fromPrivateHostedZoneAttributes", [scope, id, attrs]))
|
|
17230
|
+
|
|
17120
17231
|
@jsii.member(jsii_name="fromPrivateHostedZoneId")
|
|
17121
17232
|
@builtins.classmethod
|
|
17122
17233
|
def from_private_hosted_zone_id(
|
|
@@ -17511,6 +17622,7 @@ __all__ = [
|
|
|
17511
17622
|
"NsRecord",
|
|
17512
17623
|
"NsRecordProps",
|
|
17513
17624
|
"PrivateHostedZone",
|
|
17625
|
+
"PrivateHostedZoneAttributes",
|
|
17514
17626
|
"PrivateHostedZoneProps",
|
|
17515
17627
|
"PublicHostedZone",
|
|
17516
17628
|
"PublicHostedZoneAttributes",
|
|
@@ -17876,6 +17988,14 @@ def _typecheckingstub__2600b3ca2027fe7d531738c20a112cef3282c7ef114758a51ee386360
|
|
|
17876
17988
|
"""Type checking stubs"""
|
|
17877
17989
|
pass
|
|
17878
17990
|
|
|
17991
|
+
def _typecheckingstub__7d59e6606b03cf3d00569e659297984570c743e09eb89316ce4d0048cd192732(
|
|
17992
|
+
*,
|
|
17993
|
+
hosted_zone_id: builtins.str,
|
|
17994
|
+
zone_name: builtins.str,
|
|
17995
|
+
) -> None:
|
|
17996
|
+
"""Type checking stubs"""
|
|
17997
|
+
pass
|
|
17998
|
+
|
|
17879
17999
|
def _typecheckingstub__3dc8529d9382b27a0613e5ea30e125e3af07550dc23754412bd1f99368cfc62d(
|
|
17880
18000
|
*,
|
|
17881
18001
|
zone_name: builtins.str,
|
|
@@ -19305,6 +19425,16 @@ def _typecheckingstub__b5513b0f840f5eafaeee3e3a9c7776204d075ee417c3cce2c38a14213
|
|
|
19305
19425
|
"""Type checking stubs"""
|
|
19306
19426
|
pass
|
|
19307
19427
|
|
|
19428
|
+
def _typecheckingstub__2854fdc710e9385a23e0748e6a26b1a8050ddd16e7e432970959903de7650f09(
|
|
19429
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
19430
|
+
id: builtins.str,
|
|
19431
|
+
*,
|
|
19432
|
+
hosted_zone_id: builtins.str,
|
|
19433
|
+
zone_name: builtins.str,
|
|
19434
|
+
) -> None:
|
|
19435
|
+
"""Type checking stubs"""
|
|
19436
|
+
pass
|
|
19437
|
+
|
|
19308
19438
|
def _typecheckingstub__b376eac72cdb24a91e277cf6c9c277d3ed571280fb5b90bd23b7e1e1d5f88dac(
|
|
19309
19439
|
scope: _constructs_77d1e7e8.Construct,
|
|
19310
19440
|
id: builtins.str,
|
aws_cdk/aws_s3/__init__.py
CHANGED
|
@@ -2110,17 +2110,23 @@ class BucketNotificationDestinationType(enum.Enum):
|
|
|
2110
2110
|
@jsii.data_type(
|
|
2111
2111
|
jsii_type="aws-cdk-lib.aws_s3.BucketPolicyProps",
|
|
2112
2112
|
jsii_struct_bases=[],
|
|
2113
|
-
name_mapping={
|
|
2113
|
+
name_mapping={
|
|
2114
|
+
"bucket": "bucket",
|
|
2115
|
+
"document": "document",
|
|
2116
|
+
"removal_policy": "removalPolicy",
|
|
2117
|
+
},
|
|
2114
2118
|
)
|
|
2115
2119
|
class BucketPolicyProps:
|
|
2116
2120
|
def __init__(
|
|
2117
2121
|
self,
|
|
2118
2122
|
*,
|
|
2119
2123
|
bucket: "IBucket",
|
|
2124
|
+
document: typing.Optional[_PolicyDocument_3ac34393] = None,
|
|
2120
2125
|
removal_policy: typing.Optional[_RemovalPolicy_9f93c814] = None,
|
|
2121
2126
|
) -> None:
|
|
2122
2127
|
'''
|
|
2123
2128
|
:param bucket: The Amazon S3 bucket that the policy applies to.
|
|
2129
|
+
:param document: Policy document to apply to the bucket. Default: - A new empty PolicyDocument will be created.
|
|
2124
2130
|
:param removal_policy: Policy to apply when the policy is removed from this stack. Default: - RemovalPolicy.DESTROY.
|
|
2125
2131
|
|
|
2126
2132
|
:exampleMetadata: fixture=_generated
|
|
@@ -2130,24 +2136,30 @@ class BucketPolicyProps:
|
|
|
2130
2136
|
# The code below shows an example of how to instantiate this type.
|
|
2131
2137
|
# The values are placeholders you should change.
|
|
2132
2138
|
import aws_cdk as cdk
|
|
2139
|
+
from aws_cdk import aws_iam as iam
|
|
2133
2140
|
from aws_cdk import aws_s3 as s3
|
|
2134
2141
|
|
|
2135
2142
|
# bucket: s3.Bucket
|
|
2143
|
+
# policy_document: iam.PolicyDocument
|
|
2136
2144
|
|
|
2137
2145
|
bucket_policy_props = s3.BucketPolicyProps(
|
|
2138
2146
|
bucket=bucket,
|
|
2139
2147
|
|
|
2140
2148
|
# the properties below are optional
|
|
2149
|
+
document=policy_document,
|
|
2141
2150
|
removal_policy=cdk.RemovalPolicy.DESTROY
|
|
2142
2151
|
)
|
|
2143
2152
|
'''
|
|
2144
2153
|
if __debug__:
|
|
2145
2154
|
type_hints = typing.get_type_hints(_typecheckingstub__4d7b9233434273933326211f004f27c2982fedd89ad904dc86d84c54f0f50ac6)
|
|
2146
2155
|
check_type(argname="argument bucket", value=bucket, expected_type=type_hints["bucket"])
|
|
2156
|
+
check_type(argname="argument document", value=document, expected_type=type_hints["document"])
|
|
2147
2157
|
check_type(argname="argument removal_policy", value=removal_policy, expected_type=type_hints["removal_policy"])
|
|
2148
2158
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2149
2159
|
"bucket": bucket,
|
|
2150
2160
|
}
|
|
2161
|
+
if document is not None:
|
|
2162
|
+
self._values["document"] = document
|
|
2151
2163
|
if removal_policy is not None:
|
|
2152
2164
|
self._values["removal_policy"] = removal_policy
|
|
2153
2165
|
|
|
@@ -2158,6 +2170,15 @@ class BucketPolicyProps:
|
|
|
2158
2170
|
assert result is not None, "Required property 'bucket' is missing"
|
|
2159
2171
|
return typing.cast("IBucket", result)
|
|
2160
2172
|
|
|
2173
|
+
@builtins.property
|
|
2174
|
+
def document(self) -> typing.Optional[_PolicyDocument_3ac34393]:
|
|
2175
|
+
'''Policy document to apply to the bucket.
|
|
2176
|
+
|
|
2177
|
+
:default: - A new empty PolicyDocument will be created.
|
|
2178
|
+
'''
|
|
2179
|
+
result = self._values.get("document")
|
|
2180
|
+
return typing.cast(typing.Optional[_PolicyDocument_3ac34393], result)
|
|
2181
|
+
|
|
2161
2182
|
@builtins.property
|
|
2162
2183
|
def removal_policy(self) -> typing.Optional[_RemovalPolicy_9f93c814]:
|
|
2163
2184
|
'''Policy to apply when the policy is removed from this stack.
|
|
@@ -8546,19 +8567,23 @@ class BucketPolicy(
|
|
|
8546
8567
|
id: builtins.str,
|
|
8547
8568
|
*,
|
|
8548
8569
|
bucket: "IBucket",
|
|
8570
|
+
document: typing.Optional[_PolicyDocument_3ac34393] = None,
|
|
8549
8571
|
removal_policy: typing.Optional[_RemovalPolicy_9f93c814] = None,
|
|
8550
8572
|
) -> None:
|
|
8551
8573
|
'''
|
|
8552
8574
|
:param scope: -
|
|
8553
8575
|
:param id: -
|
|
8554
8576
|
:param bucket: The Amazon S3 bucket that the policy applies to.
|
|
8577
|
+
:param document: Policy document to apply to the bucket. Default: - A new empty PolicyDocument will be created.
|
|
8555
8578
|
:param removal_policy: Policy to apply when the policy is removed from this stack. Default: - RemovalPolicy.DESTROY.
|
|
8556
8579
|
'''
|
|
8557
8580
|
if __debug__:
|
|
8558
8581
|
type_hints = typing.get_type_hints(_typecheckingstub__910b3df1208e67cb52dad0b0b8c5feb43c7bddb0ced50eaf6c953477298a840e)
|
|
8559
8582
|
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
8560
8583
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
8561
|
-
props = BucketPolicyProps(
|
|
8584
|
+
props = BucketPolicyProps(
|
|
8585
|
+
bucket=bucket, document=document, removal_policy=removal_policy
|
|
8586
|
+
)
|
|
8562
8587
|
|
|
8563
8588
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
8564
8589
|
|
|
@@ -23634,6 +23659,7 @@ def _typecheckingstub__d6a435bc6f062bf994c2d09482e0e60e726c10272a9b728fd3ffc4281
|
|
|
23634
23659
|
def _typecheckingstub__4d7b9233434273933326211f004f27c2982fedd89ad904dc86d84c54f0f50ac6(
|
|
23635
23660
|
*,
|
|
23636
23661
|
bucket: IBucket,
|
|
23662
|
+
document: typing.Optional[_PolicyDocument_3ac34393] = None,
|
|
23637
23663
|
removal_policy: typing.Optional[_RemovalPolicy_9f93c814] = None,
|
|
23638
23664
|
) -> None:
|
|
23639
23665
|
"""Type checking stubs"""
|
|
@@ -24088,6 +24114,7 @@ def _typecheckingstub__910b3df1208e67cb52dad0b0b8c5feb43c7bddb0ced50eaf6c9534772
|
|
|
24088
24114
|
id: builtins.str,
|
|
24089
24115
|
*,
|
|
24090
24116
|
bucket: IBucket,
|
|
24117
|
+
document: typing.Optional[_PolicyDocument_3ac34393] = None,
|
|
24091
24118
|
removal_policy: typing.Optional[_RemovalPolicy_9f93c814] = None,
|
|
24092
24119
|
) -> None:
|
|
24093
24120
|
"""Type checking stubs"""
|
|
@@ -205,7 +205,7 @@ class CfnAccessPointPolicyProps:
|
|
|
205
205
|
) -> None:
|
|
206
206
|
'''Properties for defining a ``CfnAccessPointPolicy``.
|
|
207
207
|
|
|
208
|
-
:param object_lambda_access_point: An access point with an attached AWS Lambda function used to access transformed data from an Amazon S3 bucket.
|
|
208
|
+
:param object_lambda_access_point: .. epigraph:: Amazon S3 Object Lambda will no longer be open to new customers starting on 11/7/2025. If you would like to use the service, please sign up prior to 11/7/2025. For capabilities similar to S3 Object Lambda, learn more here - `Amazon S3 Object Lambda availability change <https://docs.aws.amazon.com/AmazonS3/latest/userguide/amazons3-ol-change.html>`_ . An access point with an attached AWS Lambda function used to access transformed data from an Amazon S3 bucket.
|
|
209
209
|
:param policy_document: Object Lambda Access Point resource policy document.
|
|
210
210
|
|
|
211
211
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3objectlambda-accesspointpolicy.html
|
|
@@ -235,7 +235,13 @@ class CfnAccessPointPolicyProps:
|
|
|
235
235
|
|
|
236
236
|
@builtins.property
|
|
237
237
|
def object_lambda_access_point(self) -> builtins.str:
|
|
238
|
-
'''
|
|
238
|
+
'''.. epigraph::
|
|
239
|
+
|
|
240
|
+
Amazon S3 Object Lambda will no longer be open to new customers starting on 11/7/2025.
|
|
241
|
+
|
|
242
|
+
If you would like to use the service, please sign up prior to 11/7/2025. For capabilities similar to S3 Object Lambda, learn more here - `Amazon S3 Object Lambda availability change <https://docs.aws.amazon.com/AmazonS3/latest/userguide/amazons3-ol-change.html>`_ .
|
|
243
|
+
|
|
244
|
+
An access point with an attached AWS Lambda function used to access transformed data from an Amazon S3 bucket.
|
|
239
245
|
|
|
240
246
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3objectlambda-accesspointpolicy.html#cfn-s3objectlambda-accesspointpolicy-objectlambdaaccesspoint
|
|
241
247
|
'''
|
|
@@ -282,7 +288,7 @@ class CfnAccessPointProps:
|
|
|
282
288
|
) -> None:
|
|
283
289
|
'''Properties for defining a ``CfnAccessPoint``.
|
|
284
290
|
|
|
285
|
-
:param object_lambda_configuration: A configuration used when creating an Object Lambda Access Point.
|
|
291
|
+
:param object_lambda_configuration: .. epigraph:: Amazon S3 Object Lambda will no longer be open to new customers starting on 11/7/2025. If you would like to use the service, please sign up prior to 11/7/2025. For capabilities similar to S3 Object Lambda, learn more here - `Amazon S3 Object Lambda availability change <https://docs.aws.amazon.com/AmazonS3/latest/userguide/amazons3-ol-change.html>`_ . A configuration used when creating an Object Lambda Access Point.
|
|
286
292
|
:param name: The name of this access point.
|
|
287
293
|
|
|
288
294
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3objectlambda-accesspoint.html
|
|
@@ -327,7 +333,13 @@ class CfnAccessPointProps:
|
|
|
327
333
|
def object_lambda_configuration(
|
|
328
334
|
self,
|
|
329
335
|
) -> typing.Union[_IResolvable_da3f097b, "CfnAccessPoint.ObjectLambdaConfigurationProperty"]:
|
|
330
|
-
'''
|
|
336
|
+
'''.. epigraph::
|
|
337
|
+
|
|
338
|
+
Amazon S3 Object Lambda will no longer be open to new customers starting on 11/7/2025.
|
|
339
|
+
|
|
340
|
+
If you would like to use the service, please sign up prior to 11/7/2025. For capabilities similar to S3 Object Lambda, learn more here - `Amazon S3 Object Lambda availability change <https://docs.aws.amazon.com/AmazonS3/latest/userguide/amazons3-ol-change.html>`_ .
|
|
341
|
+
|
|
342
|
+
A configuration used when creating an Object Lambda Access Point.
|
|
331
343
|
|
|
332
344
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3objectlambda-accesspoint.html#cfn-s3objectlambda-accesspoint-objectlambdaconfiguration
|
|
333
345
|
'''
|
|
@@ -488,7 +500,7 @@ class CfnAccessPoint(
|
|
|
488
500
|
'''
|
|
489
501
|
:param scope: Scope in which this resource is defined.
|
|
490
502
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
491
|
-
:param object_lambda_configuration: A configuration used when creating an Object Lambda Access Point.
|
|
503
|
+
:param object_lambda_configuration: .. epigraph:: Amazon S3 Object Lambda will no longer be open to new customers starting on 11/7/2025. If you would like to use the service, please sign up prior to 11/7/2025. For capabilities similar to S3 Object Lambda, learn more here - `Amazon S3 Object Lambda availability change <https://docs.aws.amazon.com/AmazonS3/latest/userguide/amazons3-ol-change.html>`_ . A configuration used when creating an Object Lambda Access Point.
|
|
492
504
|
:param name: The name of this access point.
|
|
493
505
|
'''
|
|
494
506
|
if __debug__:
|
|
@@ -665,7 +677,9 @@ class CfnAccessPoint(
|
|
|
665
677
|
def object_lambda_configuration(
|
|
666
678
|
self,
|
|
667
679
|
) -> typing.Union[_IResolvable_da3f097b, "CfnAccessPoint.ObjectLambdaConfigurationProperty"]:
|
|
668
|
-
'''
|
|
680
|
+
'''.. epigraph::
|
|
681
|
+
|
|
682
|
+
Amazon S3 Object Lambda will no longer be open to new customers starting on 11/7/2025.'''
|
|
669
683
|
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnAccessPoint.ObjectLambdaConfigurationProperty"], jsii.get(self, "objectLambdaConfiguration"))
|
|
670
684
|
|
|
671
685
|
@object_lambda_configuration.setter
|
|
@@ -703,9 +717,13 @@ class CfnAccessPoint(
|
|
|
703
717
|
value: builtins.str,
|
|
704
718
|
status: typing.Optional[builtins.str] = None,
|
|
705
719
|
) -> None:
|
|
706
|
-
'''
|
|
720
|
+
'''.. epigraph::
|
|
721
|
+
|
|
722
|
+
Amazon S3 Object Lambda will no longer be open to new customers starting on 11/7/2025.
|
|
707
723
|
|
|
708
|
-
|
|
724
|
+
If you would like to use the service, please sign up prior to 11/7/2025. For capabilities similar to S3 Object Lambda, learn more here - `Amazon S3 Object Lambda availability change <https://docs.aws.amazon.com/AmazonS3/latest/userguide/amazons3-ol-change.html>`_ .
|
|
725
|
+
|
|
726
|
+
The alias of an Object Lambda Access Point. For more information, see `How to use a bucket-style alias for your S3 bucket Object Lambda Access Point <https://docs.aws.amazon.com/AmazonS3/latest/userguide/olap-use.html#ol-access-points-alias>`_ .
|
|
709
727
|
|
|
710
728
|
:param value: The alias value of the Object Lambda Access Point.
|
|
711
729
|
:param status: The status of the Object Lambda Access Point alias. If the status is ``PROVISIONING`` , the Object Lambda Access Point is provisioning the alias and the alias is not ready for use yet. If the status is ``READY`` , the Object Lambda Access Point alias is successfully provisioned and ready for use.
|
|
@@ -921,7 +939,13 @@ class CfnAccessPoint(
|
|
|
921
939
|
allowed_features: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
922
940
|
cloud_watch_metrics_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
923
941
|
) -> None:
|
|
924
|
-
'''
|
|
942
|
+
'''.. epigraph::
|
|
943
|
+
|
|
944
|
+
Amazon S3 Object Lambda will no longer be open to new customers starting on 11/7/2025.
|
|
945
|
+
|
|
946
|
+
If you would like to use the service, please sign up prior to 11/7/2025. For capabilities similar to S3 Object Lambda, learn more here - `Amazon S3 Object Lambda availability change <https://docs.aws.amazon.com/AmazonS3/latest/userguide/amazons3-ol-change.html>`_ .
|
|
947
|
+
|
|
948
|
+
A configuration used when creating an Object Lambda Access Point.
|
|
925
949
|
|
|
926
950
|
:param supporting_access_point: Standard access point associated with the Object Lambda Access Point.
|
|
927
951
|
:param transformation_configurations: A container for transformation configurations for an Object Lambda Access Point.
|
|
@@ -1239,7 +1263,13 @@ class CfnAccessPoint(
|
|
|
1239
1263
|
actions: typing.Sequence[builtins.str],
|
|
1240
1264
|
content_transformation: typing.Any,
|
|
1241
1265
|
) -> None:
|
|
1242
|
-
'''
|
|
1266
|
+
'''.. epigraph::
|
|
1267
|
+
|
|
1268
|
+
Amazon S3 Object Lambda will no longer be open to new customers starting on 11/7/2025.
|
|
1269
|
+
|
|
1270
|
+
If you would like to use the service, please sign up prior to 11/7/2025. For capabilities similar to S3 Object Lambda, learn more here - `Amazon S3 Object Lambda availability change <https://docs.aws.amazon.com/AmazonS3/latest/userguide/amazons3-ol-change.html>`_ .
|
|
1271
|
+
|
|
1272
|
+
A configuration used when creating an Object Lambda Access Point transformation.
|
|
1243
1273
|
|
|
1244
1274
|
:param actions: A container for the action of an Object Lambda Access Point configuration. Valid inputs are ``GetObject`` , ``HeadObject`` , ``ListObject`` , and ``ListObjectV2`` .
|
|
1245
1275
|
:param content_transformation: A container for the content transformation of an Object Lambda Access Point configuration. Can include the FunctionArn and FunctionPayload. For more information, see `AwsLambdaTransformation <https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_AwsLambdaTransformation.html>`_ in the *Amazon S3 API Reference* .
|
|
@@ -1342,7 +1372,7 @@ class CfnAccessPointPolicy(
|
|
|
1342
1372
|
'''
|
|
1343
1373
|
:param scope: Scope in which this resource is defined.
|
|
1344
1374
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
1345
|
-
:param object_lambda_access_point: An access point with an attached AWS Lambda function used to access transformed data from an Amazon S3 bucket.
|
|
1375
|
+
:param object_lambda_access_point: .. epigraph:: Amazon S3 Object Lambda will no longer be open to new customers starting on 11/7/2025. If you would like to use the service, please sign up prior to 11/7/2025. For capabilities similar to S3 Object Lambda, learn more here - `Amazon S3 Object Lambda availability change <https://docs.aws.amazon.com/AmazonS3/latest/userguide/amazons3-ol-change.html>`_ . An access point with an attached AWS Lambda function used to access transformed data from an Amazon S3 bucket.
|
|
1346
1376
|
:param policy_document: Object Lambda Access Point resource policy document.
|
|
1347
1377
|
'''
|
|
1348
1378
|
if __debug__:
|
|
@@ -1400,7 +1430,9 @@ class CfnAccessPointPolicy(
|
|
|
1400
1430
|
@builtins.property
|
|
1401
1431
|
@jsii.member(jsii_name="objectLambdaAccessPoint")
|
|
1402
1432
|
def object_lambda_access_point(self) -> builtins.str:
|
|
1403
|
-
'''
|
|
1433
|
+
'''.. epigraph::
|
|
1434
|
+
|
|
1435
|
+
Amazon S3 Object Lambda will no longer be open to new customers starting on 11/7/2025.'''
|
|
1404
1436
|
return typing.cast(builtins.str, jsii.get(self, "objectLambdaAccessPoint"))
|
|
1405
1437
|
|
|
1406
1438
|
@object_lambda_access_point.setter
|