aws-cdk-lib 2.215.0__py3-none-any.whl → 2.217.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 +90 -58
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.215.0.jsii.tgz → aws-cdk-lib@2.217.0.jsii.tgz} +0 -0
- aws_cdk/aws_acmpca/__init__.py +1 -1
- aws_cdk/aws_amplify/__init__.py +8 -8
- aws_cdk/aws_apigateway/__init__.py +26 -6
- aws_cdk/aws_apigatewayv2/__init__.py +32 -21
- aws_cdk/aws_appmesh/__init__.py +12 -12
- aws_cdk/aws_appstream/__init__.py +14 -4
- aws_cdk/aws_appsync/__init__.py +3 -3
- aws_cdk/aws_aps/__init__.py +459 -0
- aws_cdk/aws_batch/__init__.py +6 -2
- aws_cdk/aws_bedrock/__init__.py +162 -0
- aws_cdk/aws_bedrockagentcore/__init__.py +3178 -0
- aws_cdk/aws_certificatemanager/__init__.py +9 -10
- aws_cdk/aws_cleanrooms/__init__.py +163 -0
- aws_cdk/aws_cloudformation/__init__.py +14 -14
- aws_cdk/aws_cloudfront/__init__.py +91 -10
- aws_cdk/aws_cloudfront_origins/__init__.py +422 -47
- aws_cdk/aws_cognito/__init__.py +2 -2
- aws_cdk/aws_connect/__init__.py +138 -10
- aws_cdk/aws_cur/__init__.py +57 -3
- aws_cdk/aws_datasync/__init__.py +351 -0
- aws_cdk/aws_datazone/__init__.py +675 -2
- aws_cdk/aws_dynamodb/__init__.py +123 -0
- aws_cdk/aws_ec2/__init__.py +55 -10
- aws_cdk/aws_ecr/__init__.py +4 -0
- aws_cdk/aws_ecs/__init__.py +55 -12
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +275 -0
- aws_cdk/aws_elasticsearch/__init__.py +2 -2
- aws_cdk/aws_events/__init__.py +187 -0
- aws_cdk/aws_evs/__init__.py +58 -4
- aws_cdk/aws_gamelift/__init__.py +72 -56
- aws_cdk/aws_iam/__init__.py +1 -1
- aws_cdk/aws_iotcoredeviceadvisor/__init__.py +35 -38
- aws_cdk/aws_iotsitewise/__init__.py +75 -111
- aws_cdk/aws_kinesisanalytics/__init__.py +315 -125
- aws_cdk/aws_kms/__init__.py +10 -2
- aws_cdk/aws_lambda/__init__.py +62 -8
- aws_cdk/aws_medialive/__init__.py +127 -0
- aws_cdk/aws_mediapackage/__init__.py +2 -2
- aws_cdk/aws_networkfirewall/__init__.py +10 -10
- aws_cdk/aws_networkmanager/__init__.py +63 -0
- aws_cdk/aws_odb/__init__.py +2082 -195
- aws_cdk/aws_omics/__init__.py +1414 -171
- aws_cdk/aws_opensearchserverless/__init__.py +164 -21
- aws_cdk/aws_opensearchservice/__init__.py +5 -4
- aws_cdk/aws_pcs/__init__.py +9 -9
- aws_cdk/aws_quicksight/__init__.py +295 -3
- aws_cdk/aws_rds/__init__.py +338 -58
- aws_cdk/aws_route53/__init__.py +5926 -4376
- aws_cdk/aws_sagemaker/__init__.py +251 -1
- aws_cdk/aws_servicecatalog/__init__.py +162 -154
- aws_cdk/aws_smsvoice/__init__.py +5218 -0
- aws_cdk/aws_stepfunctions_tasks/__init__.py +669 -81
- aws_cdk/aws_transfer/__init__.py +13 -12
- aws_cdk/aws_verifiedpermissions/__init__.py +1 -1
- aws_cdk/aws_workspacesinstances/__init__.py +641 -2
- {aws_cdk_lib-2.215.0.dist-info → aws_cdk_lib-2.217.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.215.0.dist-info → aws_cdk_lib-2.217.0.dist-info}/RECORD +64 -62
- {aws_cdk_lib-2.215.0.dist-info → aws_cdk_lib-2.217.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.215.0.dist-info → aws_cdk_lib-2.217.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.215.0.dist-info → aws_cdk_lib-2.217.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.215.0.dist-info → aws_cdk_lib-2.217.0.dist-info}/top_level.txt +0 -0
|
@@ -9903,6 +9903,7 @@ class OriginBase(
|
|
|
9903
9903
|
origin_id: typing.Optional[builtins.str] = None,
|
|
9904
9904
|
origin_shield_enabled: typing.Optional[builtins.bool] = None,
|
|
9905
9905
|
origin_shield_region: typing.Optional[builtins.str] = None,
|
|
9906
|
+
response_completion_timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
9906
9907
|
) -> None:
|
|
9907
9908
|
'''
|
|
9908
9909
|
:param domain_name: -
|
|
@@ -9914,6 +9915,7 @@ class OriginBase(
|
|
|
9914
9915
|
:param origin_id: A unique identifier for the origin. This value must be unique within the distribution. Default: - an originid will be generated for you
|
|
9915
9916
|
:param origin_shield_enabled: Origin Shield is enabled by setting originShieldRegion to a valid region, after this to disable Origin Shield again you must set this flag to false. Default: - true
|
|
9916
9917
|
:param origin_shield_region: When you enable Origin Shield in the AWS Region that has the lowest latency to your origin, you can get better network performance. Default: - origin shield not enabled
|
|
9918
|
+
:param response_completion_timeout: The time that a request from CloudFront to the origin can stay open and wait for a response. If the complete response isn't received from the origin by this time, CloudFront ends the connection. Valid values are 1-3600 seconds, inclusive. Default: undefined - AWS CloudFront default is not enforcing a maximum value
|
|
9917
9919
|
'''
|
|
9918
9920
|
if __debug__:
|
|
9919
9921
|
type_hints = typing.get_type_hints(_typecheckingstub__5b13f814bf47a5f3949ffc4b53034b4702a02836213167c9ba4c6a8d6e8f623e)
|
|
@@ -9927,6 +9929,7 @@ class OriginBase(
|
|
|
9927
9929
|
origin_id=origin_id,
|
|
9928
9930
|
origin_shield_enabled=origin_shield_enabled,
|
|
9929
9931
|
origin_shield_region=origin_shield_region,
|
|
9932
|
+
response_completion_timeout=response_completion_timeout,
|
|
9930
9933
|
)
|
|
9931
9934
|
|
|
9932
9935
|
jsii.create(self.__class__, self, [domain_name, props])
|
|
@@ -9974,6 +9977,25 @@ class OriginBase(
|
|
|
9974
9977
|
) -> typing.Optional["CfnDistribution.VpcOriginConfigProperty"]:
|
|
9975
9978
|
return typing.cast(typing.Optional["CfnDistribution.VpcOriginConfigProperty"], jsii.invoke(self, "renderVpcOriginConfig", []))
|
|
9976
9979
|
|
|
9980
|
+
@jsii.member(jsii_name="validateResponseCompletionTimeoutWithReadTimeout")
|
|
9981
|
+
def _validate_response_completion_timeout_with_read_timeout(
|
|
9982
|
+
self,
|
|
9983
|
+
response_completion_timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
9984
|
+
read_timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
9985
|
+
) -> None:
|
|
9986
|
+
'''Validates that responseCompletionTimeout is greater than or equal to readTimeout when both are specified.
|
|
9987
|
+
|
|
9988
|
+
This method should be called by subclasses that support readTimeout.
|
|
9989
|
+
|
|
9990
|
+
:param response_completion_timeout: -
|
|
9991
|
+
:param read_timeout: -
|
|
9992
|
+
'''
|
|
9993
|
+
if __debug__:
|
|
9994
|
+
type_hints = typing.get_type_hints(_typecheckingstub__2a6162e2b8ea3b5399119fc8b631f66d8bac30203424ac043fac74ad6d5bf84d)
|
|
9995
|
+
check_type(argname="argument response_completion_timeout", value=response_completion_timeout, expected_type=type_hints["response_completion_timeout"])
|
|
9996
|
+
check_type(argname="argument read_timeout", value=read_timeout, expected_type=type_hints["read_timeout"])
|
|
9997
|
+
return typing.cast(None, jsii.invoke(self, "validateResponseCompletionTimeoutWithReadTimeout", [response_completion_timeout, read_timeout]))
|
|
9998
|
+
|
|
9977
9999
|
|
|
9978
10000
|
class _OriginBaseProxy(OriginBase):
|
|
9979
10001
|
pass
|
|
@@ -10279,6 +10301,7 @@ class OriginFailoverConfig:
|
|
|
10279
10301
|
"origin_id": "originId",
|
|
10280
10302
|
"origin_shield_enabled": "originShieldEnabled",
|
|
10281
10303
|
"origin_shield_region": "originShieldRegion",
|
|
10304
|
+
"response_completion_timeout": "responseCompletionTimeout",
|
|
10282
10305
|
},
|
|
10283
10306
|
)
|
|
10284
10307
|
class OriginOptions:
|
|
@@ -10292,6 +10315,7 @@ class OriginOptions:
|
|
|
10292
10315
|
origin_id: typing.Optional[builtins.str] = None,
|
|
10293
10316
|
origin_shield_enabled: typing.Optional[builtins.bool] = None,
|
|
10294
10317
|
origin_shield_region: typing.Optional[builtins.str] = None,
|
|
10318
|
+
response_completion_timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
10295
10319
|
) -> None:
|
|
10296
10320
|
'''Options to define an Origin.
|
|
10297
10321
|
|
|
@@ -10302,6 +10326,7 @@ class OriginOptions:
|
|
|
10302
10326
|
:param origin_id: A unique identifier for the origin. This value must be unique within the distribution. Default: - an originid will be generated for you
|
|
10303
10327
|
:param origin_shield_enabled: Origin Shield is enabled by setting originShieldRegion to a valid region, after this to disable Origin Shield again you must set this flag to false. Default: - true
|
|
10304
10328
|
:param origin_shield_region: When you enable Origin Shield in the AWS Region that has the lowest latency to your origin, you can get better network performance. Default: - origin shield not enabled
|
|
10329
|
+
:param response_completion_timeout: The time that a request from CloudFront to the origin can stay open and wait for a response. If the complete response isn't received from the origin by this time, CloudFront ends the connection. Valid values are 1-3600 seconds, inclusive. Default: undefined - AWS CloudFront default is not enforcing a maximum value
|
|
10305
10330
|
|
|
10306
10331
|
:exampleMetadata: fixture=_generated
|
|
10307
10332
|
|
|
@@ -10321,7 +10346,8 @@ class OriginOptions:
|
|
|
10321
10346
|
origin_access_control_id="originAccessControlId",
|
|
10322
10347
|
origin_id="originId",
|
|
10323
10348
|
origin_shield_enabled=False,
|
|
10324
|
-
origin_shield_region="originShieldRegion"
|
|
10349
|
+
origin_shield_region="originShieldRegion",
|
|
10350
|
+
response_completion_timeout=cdk.Duration.minutes(30)
|
|
10325
10351
|
)
|
|
10326
10352
|
'''
|
|
10327
10353
|
if __debug__:
|
|
@@ -10333,6 +10359,7 @@ class OriginOptions:
|
|
|
10333
10359
|
check_type(argname="argument origin_id", value=origin_id, expected_type=type_hints["origin_id"])
|
|
10334
10360
|
check_type(argname="argument origin_shield_enabled", value=origin_shield_enabled, expected_type=type_hints["origin_shield_enabled"])
|
|
10335
10361
|
check_type(argname="argument origin_shield_region", value=origin_shield_region, expected_type=type_hints["origin_shield_region"])
|
|
10362
|
+
check_type(argname="argument response_completion_timeout", value=response_completion_timeout, expected_type=type_hints["response_completion_timeout"])
|
|
10336
10363
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
10337
10364
|
if connection_attempts is not None:
|
|
10338
10365
|
self._values["connection_attempts"] = connection_attempts
|
|
@@ -10348,6 +10375,8 @@ class OriginOptions:
|
|
|
10348
10375
|
self._values["origin_shield_enabled"] = origin_shield_enabled
|
|
10349
10376
|
if origin_shield_region is not None:
|
|
10350
10377
|
self._values["origin_shield_region"] = origin_shield_region
|
|
10378
|
+
if response_completion_timeout is not None:
|
|
10379
|
+
self._values["response_completion_timeout"] = response_completion_timeout
|
|
10351
10380
|
|
|
10352
10381
|
@builtins.property
|
|
10353
10382
|
def connection_attempts(self) -> typing.Optional[jsii.Number]:
|
|
@@ -10422,6 +10451,21 @@ class OriginOptions:
|
|
|
10422
10451
|
result = self._values.get("origin_shield_region")
|
|
10423
10452
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
10424
10453
|
|
|
10454
|
+
@builtins.property
|
|
10455
|
+
def response_completion_timeout(self) -> typing.Optional[_Duration_4839e8c3]:
|
|
10456
|
+
'''The time that a request from CloudFront to the origin can stay open and wait for a response.
|
|
10457
|
+
|
|
10458
|
+
If the complete response isn't received from the origin by this time, CloudFront ends the connection.
|
|
10459
|
+
|
|
10460
|
+
Valid values are 1-3600 seconds, inclusive.
|
|
10461
|
+
|
|
10462
|
+
:default: undefined - AWS CloudFront default is not enforcing a maximum value
|
|
10463
|
+
|
|
10464
|
+
:see: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.html#response-completion-timeout
|
|
10465
|
+
'''
|
|
10466
|
+
result = self._values.get("response_completion_timeout")
|
|
10467
|
+
return typing.cast(typing.Optional[_Duration_4839e8c3], result)
|
|
10468
|
+
|
|
10425
10469
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
10426
10470
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
10427
10471
|
|
|
@@ -10445,6 +10489,7 @@ class OriginOptions:
|
|
|
10445
10489
|
"origin_id": "originId",
|
|
10446
10490
|
"origin_shield_enabled": "originShieldEnabled",
|
|
10447
10491
|
"origin_shield_region": "originShieldRegion",
|
|
10492
|
+
"response_completion_timeout": "responseCompletionTimeout",
|
|
10448
10493
|
"origin_path": "originPath",
|
|
10449
10494
|
},
|
|
10450
10495
|
)
|
|
@@ -10459,6 +10504,7 @@ class OriginProps(OriginOptions):
|
|
|
10459
10504
|
origin_id: typing.Optional[builtins.str] = None,
|
|
10460
10505
|
origin_shield_enabled: typing.Optional[builtins.bool] = None,
|
|
10461
10506
|
origin_shield_region: typing.Optional[builtins.str] = None,
|
|
10507
|
+
response_completion_timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
10462
10508
|
origin_path: typing.Optional[builtins.str] = None,
|
|
10463
10509
|
) -> None:
|
|
10464
10510
|
'''Properties to define an Origin.
|
|
@@ -10470,6 +10516,7 @@ class OriginProps(OriginOptions):
|
|
|
10470
10516
|
:param origin_id: A unique identifier for the origin. This value must be unique within the distribution. Default: - an originid will be generated for you
|
|
10471
10517
|
:param origin_shield_enabled: Origin Shield is enabled by setting originShieldRegion to a valid region, after this to disable Origin Shield again you must set this flag to false. Default: - true
|
|
10472
10518
|
:param origin_shield_region: When you enable Origin Shield in the AWS Region that has the lowest latency to your origin, you can get better network performance. Default: - origin shield not enabled
|
|
10519
|
+
:param response_completion_timeout: The time that a request from CloudFront to the origin can stay open and wait for a response. If the complete response isn't received from the origin by this time, CloudFront ends the connection. Valid values are 1-3600 seconds, inclusive. Default: undefined - AWS CloudFront default is not enforcing a maximum value
|
|
10473
10520
|
:param origin_path: An optional path that CloudFront appends to the origin domain name when CloudFront requests content from the origin. Must begin, but not end, with '/' (e.g., '/production/images'). Default: '/'
|
|
10474
10521
|
|
|
10475
10522
|
:exampleMetadata: fixture=_generated
|
|
@@ -10491,7 +10538,8 @@ class OriginProps(OriginOptions):
|
|
|
10491
10538
|
origin_id="originId",
|
|
10492
10539
|
origin_path="originPath",
|
|
10493
10540
|
origin_shield_enabled=False,
|
|
10494
|
-
origin_shield_region="originShieldRegion"
|
|
10541
|
+
origin_shield_region="originShieldRegion",
|
|
10542
|
+
response_completion_timeout=cdk.Duration.minutes(30)
|
|
10495
10543
|
)
|
|
10496
10544
|
'''
|
|
10497
10545
|
if __debug__:
|
|
@@ -10503,6 +10551,7 @@ class OriginProps(OriginOptions):
|
|
|
10503
10551
|
check_type(argname="argument origin_id", value=origin_id, expected_type=type_hints["origin_id"])
|
|
10504
10552
|
check_type(argname="argument origin_shield_enabled", value=origin_shield_enabled, expected_type=type_hints["origin_shield_enabled"])
|
|
10505
10553
|
check_type(argname="argument origin_shield_region", value=origin_shield_region, expected_type=type_hints["origin_shield_region"])
|
|
10554
|
+
check_type(argname="argument response_completion_timeout", value=response_completion_timeout, expected_type=type_hints["response_completion_timeout"])
|
|
10506
10555
|
check_type(argname="argument origin_path", value=origin_path, expected_type=type_hints["origin_path"])
|
|
10507
10556
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
10508
10557
|
if connection_attempts is not None:
|
|
@@ -10519,6 +10568,8 @@ class OriginProps(OriginOptions):
|
|
|
10519
10568
|
self._values["origin_shield_enabled"] = origin_shield_enabled
|
|
10520
10569
|
if origin_shield_region is not None:
|
|
10521
10570
|
self._values["origin_shield_region"] = origin_shield_region
|
|
10571
|
+
if response_completion_timeout is not None:
|
|
10572
|
+
self._values["response_completion_timeout"] = response_completion_timeout
|
|
10522
10573
|
if origin_path is not None:
|
|
10523
10574
|
self._values["origin_path"] = origin_path
|
|
10524
10575
|
|
|
@@ -10595,6 +10646,21 @@ class OriginProps(OriginOptions):
|
|
|
10595
10646
|
result = self._values.get("origin_shield_region")
|
|
10596
10647
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
10597
10648
|
|
|
10649
|
+
@builtins.property
|
|
10650
|
+
def response_completion_timeout(self) -> typing.Optional[_Duration_4839e8c3]:
|
|
10651
|
+
'''The time that a request from CloudFront to the origin can stay open and wait for a response.
|
|
10652
|
+
|
|
10653
|
+
If the complete response isn't received from the origin by this time, CloudFront ends the connection.
|
|
10654
|
+
|
|
10655
|
+
Valid values are 1-3600 seconds, inclusive.
|
|
10656
|
+
|
|
10657
|
+
:default: undefined - AWS CloudFront default is not enforcing a maximum value
|
|
10658
|
+
|
|
10659
|
+
:see: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.html#response-completion-timeout
|
|
10660
|
+
'''
|
|
10661
|
+
result = self._values.get("response_completion_timeout")
|
|
10662
|
+
return typing.cast(typing.Optional[_Duration_4839e8c3], result)
|
|
10663
|
+
|
|
10598
10664
|
@builtins.property
|
|
10599
10665
|
def origin_path(self) -> typing.Optional[builtins.str]:
|
|
10600
10666
|
'''An optional path that CloudFront appends to the origin domain name when CloudFront requests content from the origin.
|
|
@@ -10632,6 +10698,7 @@ class OriginProtocolPolicy(enum.Enum):
|
|
|
10632
10698
|
connection_attempts=3,
|
|
10633
10699
|
connection_timeout=Duration.seconds(5),
|
|
10634
10700
|
read_timeout=Duration.seconds(45),
|
|
10701
|
+
response_completion_timeout=Duration.seconds(120),
|
|
10635
10702
|
keepalive_timeout=Duration.seconds(45),
|
|
10636
10703
|
protocol_policy=cloudfront.OriginProtocolPolicy.MATCH_VIEWER
|
|
10637
10704
|
)
|
|
@@ -21805,7 +21872,7 @@ class CfnDistribution(
|
|
|
21805
21872
|
- To accept HTTPS connections from only viewers that support SNI, set ``SSLSupportMethod`` to ``sni-only`` . This is recommended. Most browsers and clients support SNI. (In CloudFormation, the field name is ``SslSupportMethod`` . Note the different capitalization.)
|
|
21806
21873
|
- To accept HTTPS connections from all viewers, including those that don't support SNI, set ``SSLSupportMethod`` to ``vip`` . This is not recommended, and results in additional monthly charges from CloudFront. (In CloudFormation, the field name is ``SslSupportMethod`` . Note the different capitalization.)
|
|
21807
21874
|
- The minimum SSL/TLS protocol version that the distribution can use to communicate with viewers. To specify a minimum version, choose a value for ``MinimumProtocolVersion`` . For more information, see `Security Policy <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValues-security-policy>`_ in the *Amazon CloudFront Developer Guide* .
|
|
21808
|
-
- The location of the SSL/TLS certificate, `
|
|
21875
|
+
- The location of the SSL/TLS certificate, `Certificate Manager (ACM) <https://docs.aws.amazon.com/acm/latest/userguide/acm-overview.html>`_ (recommended) or `AWS Identity and Access Management (IAM) <https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_server-certs.html>`_ . You specify the location by setting a value in one of the following fields (not both):
|
|
21809
21876
|
- ``ACMCertificateArn`` (In CloudFormation, this field name is ``AcmCertificateArn`` . Note the different capitalization.)
|
|
21810
21877
|
- ``IAMCertificateId`` (In CloudFormation, this field name is ``IamCertificateId`` . Note the different capitalization.)
|
|
21811
21878
|
|
|
@@ -21813,7 +21880,7 @@ class CfnDistribution(
|
|
|
21813
21880
|
|
|
21814
21881
|
For more information, see `Using HTTPS with CloudFront <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-https.html>`_ and `Using Alternate Domain Names and HTTPS <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-https-alternate-domain-names.html>`_ in the *Amazon CloudFront Developer Guide* .
|
|
21815
21882
|
|
|
21816
|
-
:param acm_certificate_arn: .. epigraph:: In CloudFormation, this field name is ``AcmCertificateArn`` . Note the different capitalization. If the distribution uses ``Aliases`` (alternate domain names or CNAMEs) and the SSL/TLS certificate is stored in `
|
|
21883
|
+
:param acm_certificate_arn: .. epigraph:: In CloudFormation, this field name is ``AcmCertificateArn`` . Note the different capitalization. If the distribution uses ``Aliases`` (alternate domain names or CNAMEs) and the SSL/TLS certificate is stored in `Certificate Manager (ACM) <https://docs.aws.amazon.com/acm/latest/userguide/acm-overview.html>`_ , provide the Amazon Resource Name (ARN) of the ACM certificate. CloudFront only supports ACM certificates in the US East (N. Virginia) Region ( ``us-east-1`` ). If you specify an ACM certificate ARN, you must also specify values for ``MinimumProtocolVersion`` and ``SSLSupportMethod`` . (In CloudFormation, the field name is ``SslSupportMethod`` . Note the different capitalization.)
|
|
21817
21884
|
:param cloud_front_default_certificate: If the distribution uses the CloudFront domain name such as ``d111111abcdef8.cloudfront.net`` , set this field to ``true`` . If the distribution uses ``Aliases`` (alternate domain names or CNAMEs), omit this field and specify values for the following fields: - ``AcmCertificateArn`` or ``IamCertificateId`` (specify a value for one, not both) - ``MinimumProtocolVersion`` - ``SslSupportMethod``
|
|
21818
21885
|
:param iam_certificate_id: .. epigraph:: This field only supports standard distributions. You can't specify this field for multi-tenant distributions. For more information, see `Unsupported features for SaaS Manager for Amazon CloudFront <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas>`_ in the *Amazon CloudFront Developer Guide* . > In CloudFormation, this field name is ``IamCertificateId`` . Note the different capitalization. If the distribution uses ``Aliases`` (alternate domain names or CNAMEs) and the SSL/TLS certificate is stored in `AWS Identity and Access Management (IAM) <https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_server-certs.html>`_ , provide the ID of the IAM certificate. If you specify an IAM certificate ID, you must also specify values for ``MinimumProtocolVersion`` and ``SSLSupportMethod`` . (In CloudFormation, the field name is ``SslSupportMethod`` . Note the different capitalization.)
|
|
21819
21886
|
:param minimum_protocol_version: If the distribution uses ``Aliases`` (alternate domain names or CNAMEs), specify the security policy that you want CloudFront to use for HTTPS connections with viewers. The security policy determines two settings: - The minimum SSL/TLS protocol that CloudFront can use to communicate with viewers. - The ciphers that CloudFront can use to encrypt the content that it returns to viewers. For more information, see `Security Policy <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValues-security-policy>`_ and `Supported Protocols and Ciphers Between Viewers and CloudFront <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/secure-connections-supported-viewer-protocols-ciphers.html#secure-connections-supported-ciphers>`_ in the *Amazon CloudFront Developer Guide* . .. epigraph:: On the CloudFront console, this setting is called *Security Policy* . When you're using SNI only (you set ``SSLSupportMethod`` to ``sni-only`` ), you must specify ``TLSv1`` or higher. (In CloudFormation, the field name is ``SslSupportMethod`` . Note the different capitalization.) If the distribution uses the CloudFront domain name such as ``d111111abcdef8.cloudfront.net`` (you set ``CloudFrontDefaultCertificate`` to ``true`` ), CloudFront automatically sets the security policy to ``TLSv1`` regardless of the value that you set here.
|
|
@@ -21861,7 +21928,7 @@ class CfnDistribution(
|
|
|
21861
21928
|
|
|
21862
21929
|
In CloudFormation, this field name is ``AcmCertificateArn`` . Note the different capitalization.
|
|
21863
21930
|
|
|
21864
|
-
If the distribution uses ``Aliases`` (alternate domain names or CNAMEs) and the SSL/TLS certificate is stored in `
|
|
21931
|
+
If the distribution uses ``Aliases`` (alternate domain names or CNAMEs) and the SSL/TLS certificate is stored in `Certificate Manager (ACM) <https://docs.aws.amazon.com/acm/latest/userguide/acm-overview.html>`_ , provide the Amazon Resource Name (ARN) of the ACM certificate. CloudFront only supports ACM certificates in the US East (N. Virginia) Region ( ``us-east-1`` ).
|
|
21865
21932
|
|
|
21866
21933
|
If you specify an ACM certificate ARN, you must also specify values for ``MinimumProtocolVersion`` and ``SSLSupportMethod`` . (In CloudFormation, the field name is ``SslSupportMethod`` . Note the different capitalization.)
|
|
21867
21934
|
|
|
@@ -22458,7 +22525,7 @@ class CfnDistributionTenant(
|
|
|
22458
22525
|
)
|
|
22459
22526
|
class CertificateProperty:
|
|
22460
22527
|
def __init__(self, *, arn: typing.Optional[builtins.str] = None) -> None:
|
|
22461
|
-
'''The
|
|
22528
|
+
'''The Certificate Manager (ACM) certificate associated with your distribution.
|
|
22462
22529
|
|
|
22463
22530
|
:param arn: The Amazon Resource Name (ARN) of the ACM certificate.
|
|
22464
22531
|
|
|
@@ -22523,7 +22590,7 @@ class CfnDistributionTenant(
|
|
|
22523
22590
|
|
|
22524
22591
|
For each distribution tenant, you can specify the geographic restrictions, and the Amazon Resource Names (ARNs) for the ACM certificate and AWS WAF web ACL. These are specific values that you can override or disable from the multi-tenant distribution that was used to create the distribution tenant.
|
|
22525
22592
|
|
|
22526
|
-
:param certificate: The
|
|
22593
|
+
:param certificate: The Certificate Manager (ACM) certificate.
|
|
22527
22594
|
:param geo_restrictions: The geographic restrictions.
|
|
22528
22595
|
:param web_acl: The AWS WAF web ACL.
|
|
22529
22596
|
|
|
@@ -22567,7 +22634,7 @@ class CfnDistributionTenant(
|
|
|
22567
22634
|
def certificate(
|
|
22568
22635
|
self,
|
|
22569
22636
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDistributionTenant.CertificateProperty"]]:
|
|
22570
|
-
'''The
|
|
22637
|
+
'''The Certificate Manager (ACM) certificate.
|
|
22571
22638
|
|
|
22572
22639
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distributiontenant-customizations.html#cfn-cloudfront-distributiontenant-customizations-certificate
|
|
22573
22640
|
'''
|
|
@@ -22770,7 +22837,7 @@ class CfnDistributionTenant(
|
|
|
22770
22837
|
) -> None:
|
|
22771
22838
|
'''An object that represents the request for the Amazon CloudFront managed ACM certificate.
|
|
22772
22839
|
|
|
22773
|
-
:param certificate_transparency_logging_preference: You can opt out of certificate transparency logging by specifying the ``disabled`` option. Opt in by specifying ``enabled`` . For more information, see `Certificate Transparency Logging <https://docs.aws.amazon.com/acm/latest/userguide/acm-concepts.html#concept-transparency>`_ in the *
|
|
22840
|
+
:param certificate_transparency_logging_preference: You can opt out of certificate transparency logging by specifying the ``disabled`` option. Opt in by specifying ``enabled`` . For more information, see `Certificate Transparency Logging <https://docs.aws.amazon.com/acm/latest/userguide/acm-concepts.html#concept-transparency>`_ in the *Certificate Manager User Guide* .
|
|
22774
22841
|
:param primary_domain_name: The primary domain name associated with the CloudFront managed ACM certificate.
|
|
22775
22842
|
:param validation_token_host: Specify how the HTTP validation token will be served when requesting the CloudFront managed ACM certificate. - For ``cloudfront`` , CloudFront will automatically serve the validation token. Choose this mode if you can point the domain's DNS to CloudFront immediately. - For ``self-hosted`` , you serve the validation token from your existing infrastructure. Choose this mode when you need to maintain current traffic flow while your certificate is being issued. You can place the validation token at the well-known path on your existing web server, wait for ACM to validate and issue the certificate, and then update your DNS to point to CloudFront.
|
|
22776
22843
|
|
|
@@ -22808,7 +22875,7 @@ class CfnDistributionTenant(
|
|
|
22808
22875
|
) -> typing.Optional[builtins.str]:
|
|
22809
22876
|
'''You can opt out of certificate transparency logging by specifying the ``disabled`` option.
|
|
22810
22877
|
|
|
22811
|
-
Opt in by specifying ``enabled`` . For more information, see `Certificate Transparency Logging <https://docs.aws.amazon.com/acm/latest/userguide/acm-concepts.html#concept-transparency>`_ in the *
|
|
22878
|
+
Opt in by specifying ``enabled`` . For more information, see `Certificate Transparency Logging <https://docs.aws.amazon.com/acm/latest/userguide/acm-concepts.html#concept-transparency>`_ in the *Certificate Manager User Guide* .
|
|
22812
22879
|
|
|
22813
22880
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distributiontenant-managedcertificaterequest.html#cfn-cloudfront-distributiontenant-managedcertificaterequest-certificatetransparencyloggingpreference
|
|
22814
22881
|
'''
|
|
@@ -24979,6 +25046,8 @@ class CfnPublicKey(
|
|
|
24979
25046
|
):
|
|
24980
25047
|
'''A public key that you can use with `signed URLs and signed cookies <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html>`_ , or with `field-level encryption <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/field-level-encryption.html>`_ .
|
|
24981
25048
|
|
|
25049
|
+
CloudFront supports signed URLs and signed cookies with RSA 2048 or ECDSA 256 key signatures. Field-level encryption is only compatible with RSA 2048 key signatures.
|
|
25050
|
+
|
|
24982
25051
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-publickey.html
|
|
24983
25052
|
:cloudformationResource: AWS::CloudFront::PublicKey
|
|
24984
25053
|
:exampleMetadata: fixture=_generated
|
|
@@ -25119,6 +25188,8 @@ class CfnPublicKey(
|
|
|
25119
25188
|
) -> None:
|
|
25120
25189
|
'''Configuration information about a public key that you can use with `signed URLs and signed cookies <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html>`_ , or with `field-level encryption <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/field-level-encryption.html>`_ .
|
|
25121
25190
|
|
|
25191
|
+
CloudFront supports signed URLs and signed cookies with RSA 2048 or ECDSA 256 key signatures. Field-level encryption is only compatible with RSA 2048 key signatures.
|
|
25192
|
+
|
|
25122
25193
|
:param caller_reference: A string included in the request to help make sure that the request can't be replayed.
|
|
25123
25194
|
:param encoded_key: The public key that you can use with `signed URLs and signed cookies <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html>`_ , or with `field-level encryption <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/field-level-encryption.html>`_ .
|
|
25124
25195
|
:param name: A name to help identify the public key.
|
|
@@ -32539,6 +32610,7 @@ def _typecheckingstub__5b13f814bf47a5f3949ffc4b53034b4702a02836213167c9ba4c6a8d6
|
|
|
32539
32610
|
origin_id: typing.Optional[builtins.str] = None,
|
|
32540
32611
|
origin_shield_enabled: typing.Optional[builtins.bool] = None,
|
|
32541
32612
|
origin_shield_region: typing.Optional[builtins.str] = None,
|
|
32613
|
+
response_completion_timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
32542
32614
|
) -> None:
|
|
32543
32615
|
"""Type checking stubs"""
|
|
32544
32616
|
pass
|
|
@@ -32552,6 +32624,13 @@ def _typecheckingstub__8428dfc90e69bdd5363e69afd9c590a4ed2f1363b22242197295117dc
|
|
|
32552
32624
|
"""Type checking stubs"""
|
|
32553
32625
|
pass
|
|
32554
32626
|
|
|
32627
|
+
def _typecheckingstub__2a6162e2b8ea3b5399119fc8b631f66d8bac30203424ac043fac74ad6d5bf84d(
|
|
32628
|
+
response_completion_timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
32629
|
+
read_timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
32630
|
+
) -> None:
|
|
32631
|
+
"""Type checking stubs"""
|
|
32632
|
+
pass
|
|
32633
|
+
|
|
32555
32634
|
def _typecheckingstub__d3e6a8992dd905a0c0d851cfed62aa0f881803068317a0b59eb84571249e84f1(
|
|
32556
32635
|
*,
|
|
32557
32636
|
failover_config: typing.Optional[typing.Union[OriginFailoverConfig, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -32586,6 +32665,7 @@ def _typecheckingstub__554f93c57439378c8175676cc442eaea5c8ec961a156b1f26e60df9cd
|
|
|
32586
32665
|
origin_id: typing.Optional[builtins.str] = None,
|
|
32587
32666
|
origin_shield_enabled: typing.Optional[builtins.bool] = None,
|
|
32588
32667
|
origin_shield_region: typing.Optional[builtins.str] = None,
|
|
32668
|
+
response_completion_timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
32589
32669
|
) -> None:
|
|
32590
32670
|
"""Type checking stubs"""
|
|
32591
32671
|
pass
|
|
@@ -32599,6 +32679,7 @@ def _typecheckingstub__e1f5da480c426bb32e14bbbeb482146cc90bcd3678f902c46f0f2f739
|
|
|
32599
32679
|
origin_id: typing.Optional[builtins.str] = None,
|
|
32600
32680
|
origin_shield_enabled: typing.Optional[builtins.bool] = None,
|
|
32601
32681
|
origin_shield_region: typing.Optional[builtins.str] = None,
|
|
32682
|
+
response_completion_timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
32602
32683
|
origin_path: typing.Optional[builtins.str] = None,
|
|
32603
32684
|
) -> None:
|
|
32604
32685
|
"""Type checking stubs"""
|