aws-cdk-lib 2.149.0__py3-none-any.whl → 2.151.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.

Files changed (48) hide show
  1. aws_cdk/__init__.py +6 -16
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.149.0.jsii.tgz → aws-cdk-lib@2.151.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_apigatewayv2/__init__.py +94 -21
  5. aws_cdk/aws_appconfig/__init__.py +3 -3
  6. aws_cdk/aws_backup/__init__.py +3 -3
  7. aws_cdk/aws_bedrock/__init__.py +58 -46
  8. aws_cdk/aws_cleanrooms/__init__.py +5 -5
  9. aws_cdk/aws_cloudformation/__init__.py +4 -8
  10. aws_cdk/aws_cloudfront/__init__.py +102 -32
  11. aws_cdk/aws_cloudtrail/__init__.py +34 -558
  12. aws_cdk/aws_cloudwatch/__init__.py +1 -1
  13. aws_cdk/aws_codepipeline/__init__.py +11 -5
  14. aws_cdk/aws_cognito/__init__.py +1 -2
  15. aws_cdk/aws_ec2/__init__.py +263 -7
  16. aws_cdk/aws_ecs/__init__.py +16 -10
  17. aws_cdk/aws_eks/__init__.py +26 -20
  18. aws_cdk/aws_elasticloadbalancingv2/__init__.py +106 -11
  19. aws_cdk/aws_emr/__init__.py +18 -20
  20. aws_cdk/aws_entityresolution/__init__.py +27 -21
  21. aws_cdk/aws_events/__init__.py +83 -16
  22. aws_cdk/aws_fsx/__init__.py +25 -23
  23. aws_cdk/aws_glue/__init__.py +3 -3
  24. aws_cdk/aws_guardduty/__init__.py +6 -4
  25. aws_cdk/aws_iam/__init__.py +19 -29
  26. aws_cdk/aws_iotsitewise/__init__.py +8 -8
  27. aws_cdk/aws_lambda/__init__.py +21 -2
  28. aws_cdk/aws_logs/__init__.py +9 -0
  29. aws_cdk/aws_mwaa/__init__.py +3 -3
  30. aws_cdk/aws_pipes/__init__.py +2 -2
  31. aws_cdk/aws_qbusiness/__init__.py +21 -7
  32. aws_cdk/aws_rds/__init__.py +252 -206
  33. aws_cdk/aws_s3/__init__.py +8 -2
  34. aws_cdk/aws_sagemaker/__init__.py +10 -10
  35. aws_cdk/aws_ses/__init__.py +3 -3
  36. aws_cdk/aws_sns/__init__.py +5 -2
  37. aws_cdk/aws_stepfunctions/__init__.py +5 -2
  38. aws_cdk/aws_stepfunctions_tasks/__init__.py +23 -8
  39. aws_cdk/aws_synthetics/__init__.py +174 -22
  40. aws_cdk/custom_resources/__init__.py +91 -23
  41. aws_cdk/pipelines/__init__.py +1 -1
  42. aws_cdk/region_info/__init__.py +32 -12
  43. {aws_cdk_lib-2.149.0.dist-info → aws_cdk_lib-2.151.0.dist-info}/METADATA +1 -1
  44. {aws_cdk_lib-2.149.0.dist-info → aws_cdk_lib-2.151.0.dist-info}/RECORD +48 -48
  45. {aws_cdk_lib-2.149.0.dist-info → aws_cdk_lib-2.151.0.dist-info}/LICENSE +0 -0
  46. {aws_cdk_lib-2.149.0.dist-info → aws_cdk_lib-2.151.0.dist-info}/NOTICE +0 -0
  47. {aws_cdk_lib-2.149.0.dist-info → aws_cdk_lib-2.151.0.dist-info}/WHEEL +0 -0
  48. {aws_cdk_lib-2.149.0.dist-info → aws_cdk_lib-2.151.0.dist-info}/top_level.txt +0 -0
@@ -4184,9 +4184,14 @@ class CfnContinuousDeploymentPolicy(
4184
4184
  )
4185
4185
  class SingleHeaderPolicyConfigProperty:
4186
4186
  def __init__(self, *, header: builtins.str, value: builtins.str) -> None:
4187
- '''
4188
- :param header:
4189
- :param value:
4187
+ '''Defines a single header policy for a CloudFront distribution.
4188
+
4189
+ .. epigraph::
4190
+
4191
+ This property is legacy. We recommend that you use `TrafficConfig <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-continuousdeploymentpolicy-trafficconfig.html>`_ and specify the `SingleHeaderConfig <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-continuousdeploymentpolicy-trafficconfig.html#cfn-cloudfront-continuousdeploymentpolicy-trafficconfig-singleheaderconfig>`_ property instead.
4192
+
4193
+ :param header: The name of the HTTP header that CloudFront uses to configure for the single header policy.
4194
+ :param value: Specifies the value to assign to the header for a single header policy.
4190
4195
 
4191
4196
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-continuousdeploymentpolicy-singleheaderpolicyconfig.html
4192
4197
  :exampleMetadata: fixture=_generated
@@ -4213,7 +4218,8 @@ class CfnContinuousDeploymentPolicy(
4213
4218
 
4214
4219
  @builtins.property
4215
4220
  def header(self) -> builtins.str:
4216
- '''
4221
+ '''The name of the HTTP header that CloudFront uses to configure for the single header policy.
4222
+
4217
4223
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-continuousdeploymentpolicy-singleheaderpolicyconfig.html#cfn-cloudfront-continuousdeploymentpolicy-singleheaderpolicyconfig-header
4218
4224
  '''
4219
4225
  result = self._values.get("header")
@@ -4222,7 +4228,8 @@ class CfnContinuousDeploymentPolicy(
4222
4228
 
4223
4229
  @builtins.property
4224
4230
  def value(self) -> builtins.str:
4225
- '''
4231
+ '''Specifies the value to assign to the header for a single header policy.
4232
+
4226
4233
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-continuousdeploymentpolicy-singleheaderpolicyconfig.html#cfn-cloudfront-continuousdeploymentpolicy-singleheaderpolicyconfig-value
4227
4234
  '''
4228
4235
  result = self._values.get("value")
@@ -4338,9 +4345,14 @@ class CfnContinuousDeploymentPolicy(
4338
4345
  weight: jsii.Number,
4339
4346
  session_stickiness_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnContinuousDeploymentPolicy.SessionStickinessConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
4340
4347
  ) -> None:
4341
- '''
4342
- :param weight:
4343
- :param session_stickiness_config:
4348
+ '''Configure a policy that CloudFront uses to route requests to different origins or use different cache settings, based on the weight assigned to each option.
4349
+
4350
+ .. epigraph::
4351
+
4352
+ This property is legacy. We recommend that you use `TrafficConfig <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-continuousdeploymentpolicy-trafficconfig.html>`_ and specify the `SingleWeightConfig <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-continuousdeploymentpolicy-trafficconfig.html#cfn-cloudfront-continuousdeploymentpolicy-trafficconfig-singleweightconfig>`_ property instead.
4353
+
4354
+ :param weight: The percentage of requests that CloudFront will use to send to an associated origin or cache settings.
4355
+ :param session_stickiness_config: Enable session stickiness for the associated origin or cache settings.
4344
4356
 
4345
4357
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-continuousdeploymentpolicy-singleweightpolicyconfig.html
4346
4358
  :exampleMetadata: fixture=_generated
@@ -4373,7 +4385,8 @@ class CfnContinuousDeploymentPolicy(
4373
4385
 
4374
4386
  @builtins.property
4375
4387
  def weight(self) -> jsii.Number:
4376
- '''
4388
+ '''The percentage of requests that CloudFront will use to send to an associated origin or cache settings.
4389
+
4377
4390
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-continuousdeploymentpolicy-singleweightpolicyconfig.html#cfn-cloudfront-continuousdeploymentpolicy-singleweightpolicyconfig-weight
4378
4391
  '''
4379
4392
  result = self._values.get("weight")
@@ -4384,7 +4397,8 @@ class CfnContinuousDeploymentPolicy(
4384
4397
  def session_stickiness_config(
4385
4398
  self,
4386
4399
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnContinuousDeploymentPolicy.SessionStickinessConfigProperty"]]:
4387
- '''
4400
+ '''Enable session stickiness for the associated origin or cache settings.
4401
+
4388
4402
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-continuousdeploymentpolicy-singleweightpolicyconfig.html#cfn-cloudfront-continuousdeploymentpolicy-singleweightpolicyconfig-sessionstickinessconfig
4389
4403
  '''
4390
4404
  result = self._values.get("session_stickiness_config")
@@ -6183,11 +6197,11 @@ class CfnDistribution(
6183
6197
  :param enabled: From this field, you can enable or disable the selected distribution.
6184
6198
  :param aliases: A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.
6185
6199
  :param cache_behaviors: A complex type that contains zero or more ``CacheBehavior`` elements.
6186
- :param cnam_es:
6200
+ :param cnam_es: An alias for the CloudFront distribution's domain name. .. epigraph:: This property is legacy. We recommend that you use `Aliases <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-distributionconfig.html#cfn-cloudfront-distribution-distributionconfig-aliases>`_ instead.
6187
6201
  :param comment: A comment to describe the distribution. The comment cannot be longer than 128 characters. Default: - ""
6188
6202
  :param continuous_deployment_policy_id: The identifier of a continuous deployment policy. For more information, see ``CreateContinuousDeploymentPolicy`` .
6189
6203
  :param custom_error_responses: A complex type that controls the following:. - Whether CloudFront replaces HTTP status codes in the 4xx and 5xx range with custom error messages before returning the response to the viewer. - How long CloudFront caches HTTP status codes in the 4xx and 5xx range. For more information about custom error pages, see `Customizing Error Responses <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/custom-error-pages.html>`_ in the *Amazon CloudFront Developer Guide* .
6190
- :param custom_origin:
6204
+ :param custom_origin: The user-defined HTTP server that serves as the origin for content that CloudFront distributes. .. epigraph:: This property is legacy. We recommend that you use `Origin <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-origin.html>`_ instead.
6191
6205
  :param default_root_object: The object that you want CloudFront to request from your origin (for example, ``index.html`` ) when a viewer requests the root URL for your distribution ( ``https://www.example.com`` ) instead of an object in your distribution ( ``https://www.example.com/product-description.html`` ). Specifying a default root object avoids exposing the contents of your distribution. Specify only the object name, for example, ``index.html`` . Don't add a ``/`` before the object name. If you don't want to specify a default root object when you create a distribution, include an empty ``DefaultRootObject`` element. To delete the default root object from an existing distribution, update the distribution configuration and include an empty ``DefaultRootObject`` element. To replace the default root object, update the distribution configuration and specify the new object. For more information about the default root object, see `Creating a Default Root Object <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DefaultRootObject.html>`_ in the *Amazon CloudFront Developer Guide* . Default: - ""
6192
6206
  :param http_version: (Optional) Specify the HTTP version(s) that you want viewers to use to communicate with CloudFront . The default value for new distributions is ``http1.1`` . For viewers and CloudFront to use HTTP/2, viewers must support TLSv1.2 or later, and must support Server Name Indication (SNI). For viewers and CloudFront to use HTTP/3, viewers must support TLSv1.3 and Server Name Indication (SNI). CloudFront supports HTTP/3 connection migration to allow the viewer to switch networks without losing connection. For more information about connection migration, see `Connection Migration <https://docs.aws.amazon.com/https://www.rfc-editor.org/rfc/rfc9000.html#name-connection-migration>`_ at RFC 9000. For more information about supported TLSv1.3 ciphers, see `Supported protocols and ciphers between viewers and CloudFront <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/secure-connections-supported-viewer-protocols-ciphers.html>`_ . Default: - "http1.1"
6193
6207
  :param ipv6_enabled: If you want CloudFront to respond to IPv6 DNS requests with an IPv6 address for your distribution, specify ``true`` . If you specify ``false`` , CloudFront responds to IPv6 DNS requests with the DNS response code ``NOERROR`` and with no IP addresses. This allows viewers to submit a second request, for an IPv4 address for your distribution. In general, you should enable IPv6 if you have users on IPv6 networks who want to access your content. However, if you're using signed URLs or signed cookies to restrict access to your content, and if you're using a custom policy that includes the ``IpAddress`` parameter to restrict the IP addresses that can access your content, don't enable IPv6. If you want to restrict access to some content by IP address and not restrict access to other content (or restrict access but not by IP address), you can create two distributions. For more information, see `Creating a Signed URL Using a Custom Policy <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-creating-signed-url-custom-policy.html>`_ in the *Amazon CloudFront Developer Guide* . If you're using an Amazon Route 53 AWS Integration alias resource record set to route traffic to your CloudFront distribution, you need to create a second alias resource record set when both of the following are true: - You enable IPv6 for the distribution - You're using alternate domain names in the URLs for your objects For more information, see `Routing Traffic to an Amazon CloudFront Web Distribution by Using Your Domain Name <https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/routing-to-cloudfront-distribution.html>`_ in the *Amazon Route 53 AWS Integration Developer Guide* . If you created a CNAME resource record set, either with Amazon Route 53 AWS Integration or with another DNS service, you don't need to make any changes. A CNAME record will route traffic to your distribution regardless of the IP address format of the viewer request.
@@ -6196,7 +6210,7 @@ class CfnDistribution(
6196
6210
  :param origins: A complex type that contains information about origins for this distribution. Specify a value for either the ``Origins`` or ``OriginGroups`` property.
6197
6211
  :param price_class: The price class that corresponds with the maximum price that you want to pay for CloudFront service. If you specify ``PriceClass_All`` , CloudFront responds to requests for your objects from all CloudFront edge locations. If you specify a price class other than ``PriceClass_All`` , CloudFront serves your objects from the CloudFront edge location that has the lowest latency among the edge locations in your price class. Viewers who are in or near regions that are excluded from your specified price class may encounter slower performance. For more information about price classes, see `Choosing the Price Class for a CloudFront Distribution <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PriceClass.html>`_ in the *Amazon CloudFront Developer Guide* . For information about CloudFront pricing, including how price classes (such as Price Class 100) map to CloudFront regions, see `Amazon CloudFront Pricing <https://docs.aws.amazon.com/cloudfront/pricing/>`_ . Default: - "PriceClass_All"
6198
6212
  :param restrictions: A complex type that identifies ways in which you want to restrict distribution of your content.
6199
- :param s3_origin:
6213
+ :param s3_origin: The origin as an Amazon S3 bucket. .. epigraph:: This property is legacy. We recommend that you use `Origin <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-origin.html>`_ instead.
6200
6214
  :param staging: A Boolean that indicates whether this is a staging distribution. When this value is ``true`` , this is a staging distribution. When this value is ``false`` , this is not a staging distribution.
6201
6215
  :param viewer_certificate: A complex type that determines the distribution's SSL/TLS configuration for communicating with viewers.
6202
6216
  :param web_acl_id: A unique identifier that specifies the AWS WAF web ACL, if any, to associate with this distribution. To specify a web ACL created using the latest version of AWS WAF , use the ACL ARN, for example ``arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111`` . To specify a web ACL created using AWS WAF Classic, use the ACL ID, for example ``a1b2c3d4-5678-90ab-cdef-EXAMPLE11111`` . AWS WAF is a web application firewall that lets you monitor the HTTP and HTTPS requests that are forwarded to CloudFront, and lets you control access to your content. Based on conditions that you specify, such as the IP addresses that requests originate from or the values of query strings, CloudFront responds to requests either with the requested content or with an HTTP 403 status code (Forbidden). You can also configure CloudFront to return a custom error page when a request is blocked. For more information about AWS WAF , see the `AWS WAF Developer Guide <https://docs.aws.amazon.com/waf/latest/developerguide/what-is-aws-waf.html>`_ . Default: - ""
@@ -6519,7 +6533,12 @@ class CfnDistribution(
6519
6533
 
6520
6534
  @builtins.property
6521
6535
  def cnam_es(self) -> typing.Optional[typing.List[builtins.str]]:
6522
- '''
6536
+ '''An alias for the CloudFront distribution's domain name.
6537
+
6538
+ .. epigraph::
6539
+
6540
+ This property is legacy. We recommend that you use `Aliases <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-distributionconfig.html#cfn-cloudfront-distribution-distributionconfig-aliases>`_ instead.
6541
+
6523
6542
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-distributionconfig.html#cfn-cloudfront-distribution-distributionconfig-cnames
6524
6543
  '''
6525
6544
  result = self._values.get("cnam_es")
@@ -6569,7 +6588,12 @@ class CfnDistribution(
6569
6588
  def custom_origin(
6570
6589
  self,
6571
6590
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDistribution.LegacyCustomOriginProperty"]]:
6572
- '''
6591
+ '''The user-defined HTTP server that serves as the origin for content that CloudFront distributes.
6592
+
6593
+ .. epigraph::
6594
+
6595
+ This property is legacy. We recommend that you use `Origin <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-origin.html>`_ instead.
6596
+
6573
6597
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-distributionconfig.html#cfn-cloudfront-distribution-distributionconfig-customorigin
6574
6598
  '''
6575
6599
  result = self._values.get("custom_origin")
@@ -6708,7 +6732,12 @@ class CfnDistribution(
6708
6732
  def s3_origin(
6709
6733
  self,
6710
6734
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDistribution.LegacyS3OriginProperty"]]:
6711
- '''
6735
+ '''The origin as an Amazon S3 bucket.
6736
+
6737
+ .. epigraph::
6738
+
6739
+ This property is legacy. We recommend that you use `Origin <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-origin.html>`_ instead.
6740
+
6712
6741
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-distributionconfig.html#cfn-cloudfront-distribution-distributionconfig-s3origin
6713
6742
  '''
6714
6743
  result = self._values.get("s3_origin")
@@ -7207,12 +7236,18 @@ class CfnDistribution(
7207
7236
  http_port: typing.Optional[jsii.Number] = None,
7208
7237
  https_port: typing.Optional[jsii.Number] = None,
7209
7238
  ) -> None:
7210
- '''
7211
- :param dns_name:
7212
- :param origin_protocol_policy:
7213
- :param origin_ssl_protocols:
7214
- :param http_port: Default: - 80
7215
- :param https_port: Default: - 443
7239
+ '''A custom origin.
7240
+
7241
+ A custom origin is any origin that is *not* an Amazon S3 bucket, with one exception. An Amazon S3 bucket that is `configured with static website hosting <https://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHosting.html>`_ *is* a custom origin.
7242
+ .. epigraph::
7243
+
7244
+ This property is legacy. We recommend that you use `Origin <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-origin.html>`_ instead.
7245
+
7246
+ :param dns_name: The domain name assigned to your CloudFront distribution.
7247
+ :param origin_protocol_policy: Specifies the protocol (HTTP or HTTPS) that CloudFront uses to connect to the origin.
7248
+ :param origin_ssl_protocols: The minimum SSL/TLS protocol version that CloudFront uses when communicating with your origin server over HTTPs. For more information, see `Minimum Origin SSL Protocol <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValuesOriginSSLProtocols>`_ in the *Amazon CloudFront Developer Guide* .
7249
+ :param http_port: The HTTP port that CloudFront uses to connect to the origin. Specify the HTTP port that the origin listens on. Default: - 80
7250
+ :param https_port: The HTTPS port that CloudFront uses to connect to the origin. Specify the HTTPS port that the origin listens on. Default: - 443
7216
7251
 
7217
7252
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-legacycustomorigin.html
7218
7253
  :exampleMetadata: fixture=_generated
@@ -7252,7 +7287,8 @@ class CfnDistribution(
7252
7287
 
7253
7288
  @builtins.property
7254
7289
  def dns_name(self) -> builtins.str:
7255
- '''
7290
+ '''The domain name assigned to your CloudFront distribution.
7291
+
7256
7292
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-legacycustomorigin.html#cfn-cloudfront-distribution-legacycustomorigin-dnsname
7257
7293
  '''
7258
7294
  result = self._values.get("dns_name")
@@ -7261,7 +7297,8 @@ class CfnDistribution(
7261
7297
 
7262
7298
  @builtins.property
7263
7299
  def origin_protocol_policy(self) -> builtins.str:
7264
- '''
7300
+ '''Specifies the protocol (HTTP or HTTPS) that CloudFront uses to connect to the origin.
7301
+
7265
7302
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-legacycustomorigin.html#cfn-cloudfront-distribution-legacycustomorigin-originprotocolpolicy
7266
7303
  '''
7267
7304
  result = self._values.get("origin_protocol_policy")
@@ -7270,7 +7307,10 @@ class CfnDistribution(
7270
7307
 
7271
7308
  @builtins.property
7272
7309
  def origin_ssl_protocols(self) -> typing.List[builtins.str]:
7273
- '''
7310
+ '''The minimum SSL/TLS protocol version that CloudFront uses when communicating with your origin server over HTTPs.
7311
+
7312
+ For more information, see `Minimum Origin SSL Protocol <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValuesOriginSSLProtocols>`_ in the *Amazon CloudFront Developer Guide* .
7313
+
7274
7314
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-legacycustomorigin.html#cfn-cloudfront-distribution-legacycustomorigin-originsslprotocols
7275
7315
  '''
7276
7316
  result = self._values.get("origin_ssl_protocols")
@@ -7279,7 +7319,10 @@ class CfnDistribution(
7279
7319
 
7280
7320
  @builtins.property
7281
7321
  def http_port(self) -> typing.Optional[jsii.Number]:
7282
- '''
7322
+ '''The HTTP port that CloudFront uses to connect to the origin.
7323
+
7324
+ Specify the HTTP port that the origin listens on.
7325
+
7283
7326
  :default: - 80
7284
7327
 
7285
7328
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-legacycustomorigin.html#cfn-cloudfront-distribution-legacycustomorigin-httpport
@@ -7289,7 +7332,10 @@ class CfnDistribution(
7289
7332
 
7290
7333
  @builtins.property
7291
7334
  def https_port(self) -> typing.Optional[jsii.Number]:
7292
- '''
7335
+ '''The HTTPS port that CloudFront uses to connect to the origin.
7336
+
7337
+ Specify the HTTPS port that the origin listens on.
7338
+
7293
7339
  :default: - 443
7294
7340
 
7295
7341
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-legacycustomorigin.html#cfn-cloudfront-distribution-legacycustomorigin-httpsport
@@ -7323,9 +7369,14 @@ class CfnDistribution(
7323
7369
  dns_name: builtins.str,
7324
7370
  origin_access_identity: typing.Optional[builtins.str] = None,
7325
7371
  ) -> None:
7326
- '''
7327
- :param dns_name:
7328
- :param origin_access_identity: Default: - ""
7372
+ '''The origin as an Amazon S3 bucket.
7373
+
7374
+ .. epigraph::
7375
+
7376
+ This property is legacy. We recommend that you use `Origin <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-origin.html>`_ instead.
7377
+
7378
+ :param dns_name: The domain name assigned to your CloudFront distribution.
7379
+ :param origin_access_identity: The CloudFront origin access identity to associate with the distribution. Use an origin access identity to configure the distribution so that end users can only access objects in an Amazon S3 through CloudFront . .. epigraph:: This property is legacy. We recommend that you use `OriginAccessControl <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-originaccesscontrol.html>`_ instead. Default: - ""
7329
7380
 
7330
7381
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-legacys3origin.html
7331
7382
  :exampleMetadata: fixture=_generated
@@ -7355,7 +7406,8 @@ class CfnDistribution(
7355
7406
 
7356
7407
  @builtins.property
7357
7408
  def dns_name(self) -> builtins.str:
7358
- '''
7409
+ '''The domain name assigned to your CloudFront distribution.
7410
+
7359
7411
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-legacys3origin.html#cfn-cloudfront-distribution-legacys3origin-dnsname
7360
7412
  '''
7361
7413
  result = self._values.get("dns_name")
@@ -7364,7 +7416,13 @@ class CfnDistribution(
7364
7416
 
7365
7417
  @builtins.property
7366
7418
  def origin_access_identity(self) -> typing.Optional[builtins.str]:
7367
- '''
7419
+ '''The CloudFront origin access identity to associate with the distribution.
7420
+
7421
+ Use an origin access identity to configure the distribution so that end users can only access objects in an Amazon S3 through CloudFront .
7422
+ .. epigraph::
7423
+
7424
+ This property is legacy. We recommend that you use `OriginAccessControl <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-originaccesscontrol.html>`_ instead.
7425
+
7368
7426
  :default: - ""
7369
7427
 
7370
7428
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-legacys3origin.html#cfn-cloudfront-distribution-legacys3origin-originaccessidentity
@@ -22709,6 +22767,18 @@ class CachePolicy(
22709
22767
  '''Designed for use with an origin that is an AWS Elemental MediaPackage endpoint.'''
22710
22768
  return typing.cast(ICachePolicy, jsii.sget(cls, "ELEMENTAL_MEDIA_PACKAGE"))
22711
22769
 
22770
+ @jsii.python.classproperty
22771
+ @jsii.member(jsii_name="USE_ORIGIN_CACHE_CONTROL_HEADERS")
22772
+ def USE_ORIGIN_CACHE_CONTROL_HEADERS(cls) -> ICachePolicy:
22773
+ '''Designed for use with an origin that returns Cache-Control HTTP response headers and does not serve different content based on values present in the query string.'''
22774
+ return typing.cast(ICachePolicy, jsii.sget(cls, "USE_ORIGIN_CACHE_CONTROL_HEADERS"))
22775
+
22776
+ @jsii.python.classproperty
22777
+ @jsii.member(jsii_name="USE_ORIGIN_CACHE_CONTROL_HEADERS_QUERY_STRINGS")
22778
+ def USE_ORIGIN_CACHE_CONTROL_HEADERS_QUERY_STRINGS(cls) -> ICachePolicy:
22779
+ '''Designed for use with an origin that returns Cache-Control HTTP response headers and serves different content based on values present in the query string.'''
22780
+ return typing.cast(ICachePolicy, jsii.sget(cls, "USE_ORIGIN_CACHE_CONTROL_HEADERS_QUERY_STRINGS"))
22781
+
22712
22782
  @builtins.property
22713
22783
  @jsii.member(jsii_name="cachePolicyId")
22714
22784
  def cache_policy_id(self) -> builtins.str: