aws-cdk-lib 2.216.0__py3-none-any.whl → 2.218.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 +60 -28
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.216.0.jsii.tgz → aws-cdk-lib@2.218.0.jsii.tgz} +0 -0
- aws_cdk/aws_acmpca/__init__.py +1 -1
- aws_cdk/aws_amazonmq/__init__.py +87 -0
- aws_cdk/aws_amplify/__init__.py +8 -8
- aws_cdk/aws_apigateway/__init__.py +229 -6
- aws_cdk/aws_apigatewayv2/__init__.py +60 -2
- aws_cdk/aws_appconfig/__init__.py +145 -0
- aws_cdk/aws_appflow/__init__.py +116 -0
- aws_cdk/aws_appintegrations/__init__.py +116 -0
- aws_cdk/aws_appmesh/__init__.py +12 -12
- aws_cdk/aws_appstream/__init__.py +101 -4
- aws_cdk/aws_appsync/__init__.py +61 -3
- aws_cdk/aws_apptest/__init__.py +58 -0
- aws_cdk/aws_aps/__init__.py +459 -0
- aws_cdk/aws_athena/__init__.py +58 -0
- aws_cdk/aws_auditmanager/__init__.py +58 -0
- aws_cdk/aws_backup/__init__.py +145 -0
- aws_cdk/aws_batch/__init__.py +64 -2
- aws_cdk/aws_bedrock/__init__.py +277 -0
- aws_cdk/aws_bedrockagentcore/__init__.py +3178 -0
- aws_cdk/aws_cassandra/__init__.py +29 -0
- aws_cdk/aws_certificatemanager/__init__.py +38 -10
- aws_cdk/aws_cleanrooms/__init__.py +163 -0
- aws_cdk/aws_cloudformation/__init__.py +14 -14
- aws_cdk/aws_cloudfront/__init__.py +69 -8
- aws_cdk/aws_cloudfront_origins/__init__.py +87 -7
- aws_cdk/aws_cloudtrail/__init__.py +58 -0
- aws_cdk/aws_cloudwatch/__init__.py +145 -0
- aws_cdk/aws_codebuild/__init__.py +115 -12
- aws_cdk/aws_codedeploy/__init__.py +29 -0
- aws_cdk/aws_codeguruprofiler/__init__.py +58 -0
- aws_cdk/aws_codepipeline/__init__.py +29 -0
- aws_cdk/aws_cognito/__init__.py +89 -2
- aws_cdk/aws_config/__init__.py +58 -0
- aws_cdk/aws_connect/__init__.py +138 -10
- aws_cdk/aws_cur/__init__.py +86 -3
- aws_cdk/aws_customerprofiles/__init__.py +58 -0
- aws_cdk/aws_datapipeline/__init__.py +29 -0
- aws_cdk/aws_datasync/__init__.py +351 -0
- aws_cdk/aws_datazone/__init__.py +733 -2
- aws_cdk/aws_directoryservice/__init__.py +29 -0
- aws_cdk/aws_dms/__init__.py +58 -0
- aws_cdk/aws_docdb/__init__.py +153 -25
- aws_cdk/aws_dsql/__init__.py +29 -0
- aws_cdk/aws_dynamodb/__init__.py +181 -0
- aws_cdk/aws_ec2/__init__.py +2031 -10
- aws_cdk/aws_ecr/__init__.py +116 -0
- aws_cdk/aws_ecs/__init__.py +142 -12
- aws_cdk/aws_efs/__init__.py +116 -0
- aws_cdk/aws_eks/__init__.py +118 -0
- aws_cdk/aws_elasticache/__init__.py +261 -0
- aws_cdk/aws_elasticbeanstalk/__init__.py +29 -0
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +48 -0
- aws_cdk/aws_elasticsearch/__init__.py +2 -2
- aws_cdk/aws_emr/__init__.py +87 -0
- aws_cdk/aws_emrcontainers/__init__.py +58 -0
- aws_cdk/aws_emrserverless/__init__.py +58 -0
- aws_cdk/aws_entityresolution/__init__.py +145 -0
- aws_cdk/aws_events/__init__.py +290 -0
- aws_cdk/aws_evs/__init__.py +58 -4
- aws_cdk/aws_finspace/__init__.py +58 -0
- aws_cdk/aws_gamelift/__init__.py +507 -56
- aws_cdk/aws_glue/__init__.py +145 -0
- aws_cdk/aws_greengrass/__init__.py +464 -0
- aws_cdk/aws_groundstation/__init__.py +87 -0
- aws_cdk/aws_guardduty/__init__.py +87 -0
- aws_cdk/aws_healthimaging/__init__.py +58 -0
- aws_cdk/aws_healthlake/__init__.py +29 -0
- aws_cdk/aws_iam/__init__.py +1 -1
- aws_cdk/aws_internetmonitor/__init__.py +58 -0
- aws_cdk/aws_iot/__init__.py +957 -0
- aws_cdk/aws_iotanalytics/__init__.py +116 -0
- aws_cdk/aws_iotcoredeviceadvisor/__init__.py +93 -38
- aws_cdk/aws_iotevents/__init__.py +87 -0
- aws_cdk/aws_iotfleethub/__init__.py +58 -0
- aws_cdk/aws_iotfleetwise/__init__.py +116 -0
- aws_cdk/aws_iotsitewise/__init__.py +568 -111
- aws_cdk/aws_iottwinmaker/__init__.py +145 -0
- aws_cdk/aws_iotwireless/__init__.py +464 -0
- aws_cdk/aws_kendra/__init__.py +116 -0
- aws_cdk/aws_kinesis/__init__.py +58 -0
- aws_cdk/aws_kinesisanalytics/__init__.py +31 -0
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +29 -0
- aws_cdk/aws_kinesisfirehose/__init__.py +58 -0
- aws_cdk/aws_kinesisvideo/__init__.py +29 -0
- aws_cdk/aws_kms/__init__.py +68 -2
- aws_cdk/aws_lambda/__init__.py +104 -0
- aws_cdk/aws_lex/__init__.py +29 -0
- aws_cdk/aws_location/__init__.py +348 -0
- aws_cdk/aws_logs/__init__.py +232 -0
- aws_cdk/aws_lookoutequipment/__init__.py +29 -0
- aws_cdk/aws_lookoutvision/__init__.py +58 -0
- aws_cdk/aws_managedblockchain/__init__.py +145 -0
- aws_cdk/aws_medialive/__init__.py +562 -0
- aws_cdk/aws_mediapackage/__init__.py +2 -2
- aws_cdk/aws_mediatailor/__init__.py +174 -0
- aws_cdk/aws_memorydb/__init__.py +203 -0
- aws_cdk/aws_mwaa/__init__.py +58 -0
- aws_cdk/aws_networkfirewall/__init__.py +10 -10
- aws_cdk/aws_networkmanager/__init__.py +92 -0
- aws_cdk/aws_nimblestudio/__init__.py +29 -0
- aws_cdk/aws_odb/__init__.py +2082 -195
- aws_cdk/aws_omics/__init__.py +1520 -103
- aws_cdk/aws_opensearchserverless/__init__.py +222 -21
- aws_cdk/aws_opensearchservice/__init__.py +5 -4
- aws_cdk/aws_opsworks/__init__.py +29 -0
- aws_cdk/aws_opsworkscm/__init__.py +29 -0
- aws_cdk/aws_organizations/__init__.py +116 -0
- aws_cdk/aws_panorama/__init__.py +116 -0
- aws_cdk/aws_pcs/__init__.py +9 -9
- aws_cdk/aws_pinpoint/__init__.py +116 -0
- aws_cdk/aws_qbusiness/__init__.py +232 -0
- aws_cdk/aws_qldb/__init__.py +29 -0
- aws_cdk/aws_quicksight/__init__.py +295 -3
- aws_cdk/aws_rds/__init__.py +402 -58
- aws_cdk/aws_redshift/__init__.py +29 -0
- aws_cdk/aws_rekognition/__init__.py +87 -0
- aws_cdk/aws_resourcegroups/__init__.py +58 -0
- aws_cdk/aws_rolesanywhere/__init__.py +145 -0
- aws_cdk/aws_route53recoveryreadiness/__init__.py +58 -0
- aws_cdk/aws_route53resolver/__init__.py +29 -0
- aws_cdk/aws_s3/__init__.py +116 -0
- aws_cdk/aws_s3express/__init__.py +116 -0
- aws_cdk/aws_sagemaker/__init__.py +715 -1
- aws_cdk/aws_scheduler/__init__.py +29 -0
- aws_cdk/aws_secretsmanager/__init__.py +29 -0
- aws_cdk/aws_servicecatalog/__init__.py +191 -154
- aws_cdk/aws_servicecatalogappregistry/__init__.py +116 -0
- aws_cdk/aws_servicediscovery/__init__.py +58 -0
- aws_cdk/aws_ses/__init__.py +261 -0
- aws_cdk/aws_simspaceweaver/__init__.py +29 -0
- aws_cdk/aws_smsvoice/__init__.py +5218 -0
- aws_cdk/aws_ssm/__init__.py +87 -0
- aws_cdk/aws_synthetics/__init__.py +29 -0
- aws_cdk/aws_timestream/__init__.py +87 -0
- aws_cdk/aws_transfer/__init__.py +274 -12
- aws_cdk/aws_verifiedpermissions/__init__.py +59 -1
- aws_cdk/aws_voiceid/__init__.py +29 -0
- aws_cdk/aws_wisdom/__init__.py +232 -0
- aws_cdk/aws_workspaces/__init__.py +58 -0
- aws_cdk/aws_workspacesinstances/__init__.py +670 -2
- aws_cdk/aws_workspacesthinclient/__init__.py +58 -0
- aws_cdk/pipelines/__init__.py +5 -1
- {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.218.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.218.0.dist-info}/RECORD +151 -149
- {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.218.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.218.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.218.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.218.0.dist-info}/top_level.txt +0 -0
|
@@ -593,6 +593,20 @@ cloudfront.Distribution(self, "myDist",
|
|
|
593
593
|
)
|
|
594
594
|
```
|
|
595
595
|
|
|
596
|
+
You can specify the IP address type for connecting to the origin:
|
|
597
|
+
|
|
598
|
+
```python
|
|
599
|
+
origin = origins.HttpOrigin("www.example.com",
|
|
600
|
+
ip_address_type=cloudfront.OriginIpAddressType.IPV6
|
|
601
|
+
)
|
|
602
|
+
|
|
603
|
+
cloudfront.Distribution(self, "Distribution",
|
|
604
|
+
default_behavior=cloudfront.BehaviorOptions(origin=origin)
|
|
605
|
+
)
|
|
606
|
+
```
|
|
607
|
+
|
|
608
|
+
The `ipAddressType` property allows you to specify whether CloudFront should use IPv4, IPv6, or both (dual-stack) when connecting to your origin.
|
|
609
|
+
|
|
596
610
|
The origin can be customized with timeout settings to handle different response scenarios:
|
|
597
611
|
|
|
598
612
|
```python
|
|
@@ -929,6 +943,7 @@ from ..aws_cloudfront import (
|
|
|
929
943
|
OriginBase as _OriginBase_b8fe5bcc,
|
|
930
944
|
OriginBindConfig as _OriginBindConfig_25a57096,
|
|
931
945
|
OriginBindOptions as _OriginBindOptions_088c2b51,
|
|
946
|
+
OriginIpAddressType as _OriginIpAddressType_1c01e1a0,
|
|
932
947
|
OriginProps as _OriginProps_0675928d,
|
|
933
948
|
OriginProtocolPolicy as _OriginProtocolPolicy_967ed73c,
|
|
934
949
|
OriginSelectionCriteria as _OriginSelectionCriteria_ba6d3e21,
|
|
@@ -1826,6 +1841,7 @@ class HttpOrigin(
|
|
|
1826
1841
|
*,
|
|
1827
1842
|
http_port: typing.Optional[jsii.Number] = None,
|
|
1828
1843
|
https_port: typing.Optional[jsii.Number] = None,
|
|
1844
|
+
ip_address_type: typing.Optional[_OriginIpAddressType_1c01e1a0] = None,
|
|
1829
1845
|
keepalive_timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
1830
1846
|
origin_ssl_protocols: typing.Optional[typing.Sequence[_OriginSslPolicy_d65cede2]] = None,
|
|
1831
1847
|
protocol_policy: typing.Optional[_OriginProtocolPolicy_967ed73c] = None,
|
|
@@ -1844,6 +1860,7 @@ class HttpOrigin(
|
|
|
1844
1860
|
:param domain_name: -
|
|
1845
1861
|
:param http_port: The HTTP port that CloudFront uses to connect to the origin. Default: 80
|
|
1846
1862
|
:param https_port: The HTTPS port that CloudFront uses to connect to the origin. Default: 443
|
|
1863
|
+
:param ip_address_type: Specifies which IP protocol CloudFront uses when connecting to your origin. If your origin uses both IPv4 and IPv6 protocols, you can choose dualstack to help optimize reliability. Default: undefined - AWS Cloudfront default is IPv4
|
|
1847
1864
|
:param keepalive_timeout: Specifies how long, in seconds, CloudFront persists its connection to the origin. The valid range is from 1 to 180 seconds, inclusive. Note that values over 60 seconds are possible only after a limit increase request for the origin response timeout quota has been approved in the target account; otherwise, values over 60 seconds will produce an error at deploy time. Default: Duration.seconds(5)
|
|
1848
1865
|
:param origin_ssl_protocols: The SSL versions to use when interacting with the origin. Default: OriginSslPolicy.TLS_V1_2
|
|
1849
1866
|
:param protocol_policy: Specifies the protocol (HTTP or HTTPS) that CloudFront uses to connect to the origin. Default: OriginProtocolPolicy.HTTPS_ONLY
|
|
@@ -1864,6 +1881,7 @@ class HttpOrigin(
|
|
|
1864
1881
|
props = HttpOriginProps(
|
|
1865
1882
|
http_port=http_port,
|
|
1866
1883
|
https_port=https_port,
|
|
1884
|
+
ip_address_type=ip_address_type,
|
|
1867
1885
|
keepalive_timeout=keepalive_timeout,
|
|
1868
1886
|
origin_ssl_protocols=origin_ssl_protocols,
|
|
1869
1887
|
protocol_policy=protocol_policy,
|
|
@@ -1903,6 +1921,7 @@ class HttpOrigin(
|
|
|
1903
1921
|
"origin_path": "originPath",
|
|
1904
1922
|
"http_port": "httpPort",
|
|
1905
1923
|
"https_port": "httpsPort",
|
|
1924
|
+
"ip_address_type": "ipAddressType",
|
|
1906
1925
|
"keepalive_timeout": "keepaliveTimeout",
|
|
1907
1926
|
"origin_ssl_protocols": "originSslProtocols",
|
|
1908
1927
|
"protocol_policy": "protocolPolicy",
|
|
@@ -1924,6 +1943,7 @@ class HttpOriginProps(_OriginProps_0675928d):
|
|
|
1924
1943
|
origin_path: typing.Optional[builtins.str] = None,
|
|
1925
1944
|
http_port: typing.Optional[jsii.Number] = None,
|
|
1926
1945
|
https_port: typing.Optional[jsii.Number] = None,
|
|
1946
|
+
ip_address_type: typing.Optional[_OriginIpAddressType_1c01e1a0] = None,
|
|
1927
1947
|
keepalive_timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
1928
1948
|
origin_ssl_protocols: typing.Optional[typing.Sequence[_OriginSslPolicy_d65cede2]] = None,
|
|
1929
1949
|
protocol_policy: typing.Optional[_OriginProtocolPolicy_967ed73c] = None,
|
|
@@ -1942,6 +1962,7 @@ class HttpOriginProps(_OriginProps_0675928d):
|
|
|
1942
1962
|
: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: '/'
|
|
1943
1963
|
:param http_port: The HTTP port that CloudFront uses to connect to the origin. Default: 80
|
|
1944
1964
|
:param https_port: The HTTPS port that CloudFront uses to connect to the origin. Default: 443
|
|
1965
|
+
:param ip_address_type: Specifies which IP protocol CloudFront uses when connecting to your origin. If your origin uses both IPv4 and IPv6 protocols, you can choose dualstack to help optimize reliability. Default: undefined - AWS Cloudfront default is IPv4
|
|
1945
1966
|
:param keepalive_timeout: Specifies how long, in seconds, CloudFront persists its connection to the origin. The valid range is from 1 to 180 seconds, inclusive. Note that values over 60 seconds are possible only after a limit increase request for the origin response timeout quota has been approved in the target account; otherwise, values over 60 seconds will produce an error at deploy time. Default: Duration.seconds(5)
|
|
1946
1967
|
:param origin_ssl_protocols: The SSL versions to use when interacting with the origin. Default: OriginSslPolicy.TLS_V1_2
|
|
1947
1968
|
:param protocol_policy: Specifies the protocol (HTTP or HTTPS) that CloudFront uses to connect to the origin. Default: OriginProtocolPolicy.HTTPS_ONLY
|
|
@@ -1951,14 +1972,12 @@ class HttpOriginProps(_OriginProps_0675928d):
|
|
|
1951
1972
|
|
|
1952
1973
|
Example::
|
|
1953
1974
|
|
|
1975
|
+
origin = origins.HttpOrigin("www.example.com",
|
|
1976
|
+
ip_address_type=cloudfront.OriginIpAddressType.IPV6
|
|
1977
|
+
)
|
|
1978
|
+
|
|
1954
1979
|
cloudfront.Distribution(self, "Distribution",
|
|
1955
|
-
default_behavior=cloudfront.BehaviorOptions(
|
|
1956
|
-
origin=origins.HttpOrigin("api.example.com",
|
|
1957
|
-
read_timeout=Duration.seconds(60),
|
|
1958
|
-
response_completion_timeout=Duration.seconds(120),
|
|
1959
|
-
keepalive_timeout=Duration.seconds(45)
|
|
1960
|
-
)
|
|
1961
|
-
)
|
|
1980
|
+
default_behavior=cloudfront.BehaviorOptions(origin=origin)
|
|
1962
1981
|
)
|
|
1963
1982
|
'''
|
|
1964
1983
|
if __debug__:
|
|
@@ -1974,6 +1993,7 @@ class HttpOriginProps(_OriginProps_0675928d):
|
|
|
1974
1993
|
check_type(argname="argument origin_path", value=origin_path, expected_type=type_hints["origin_path"])
|
|
1975
1994
|
check_type(argname="argument http_port", value=http_port, expected_type=type_hints["http_port"])
|
|
1976
1995
|
check_type(argname="argument https_port", value=https_port, expected_type=type_hints["https_port"])
|
|
1996
|
+
check_type(argname="argument ip_address_type", value=ip_address_type, expected_type=type_hints["ip_address_type"])
|
|
1977
1997
|
check_type(argname="argument keepalive_timeout", value=keepalive_timeout, expected_type=type_hints["keepalive_timeout"])
|
|
1978
1998
|
check_type(argname="argument origin_ssl_protocols", value=origin_ssl_protocols, expected_type=type_hints["origin_ssl_protocols"])
|
|
1979
1999
|
check_type(argname="argument protocol_policy", value=protocol_policy, expected_type=type_hints["protocol_policy"])
|
|
@@ -2001,6 +2021,8 @@ class HttpOriginProps(_OriginProps_0675928d):
|
|
|
2001
2021
|
self._values["http_port"] = http_port
|
|
2002
2022
|
if https_port is not None:
|
|
2003
2023
|
self._values["https_port"] = https_port
|
|
2024
|
+
if ip_address_type is not None:
|
|
2025
|
+
self._values["ip_address_type"] = ip_address_type
|
|
2004
2026
|
if keepalive_timeout is not None:
|
|
2005
2027
|
self._values["keepalive_timeout"] = keepalive_timeout
|
|
2006
2028
|
if origin_ssl_protocols is not None:
|
|
@@ -2127,6 +2149,17 @@ class HttpOriginProps(_OriginProps_0675928d):
|
|
|
2127
2149
|
result = self._values.get("https_port")
|
|
2128
2150
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
2129
2151
|
|
|
2152
|
+
@builtins.property
|
|
2153
|
+
def ip_address_type(self) -> typing.Optional[_OriginIpAddressType_1c01e1a0]:
|
|
2154
|
+
'''Specifies which IP protocol CloudFront uses when connecting to your origin.
|
|
2155
|
+
|
|
2156
|
+
If your origin uses both IPv4 and IPv6 protocols, you can choose dualstack to help optimize reliability.
|
|
2157
|
+
|
|
2158
|
+
:default: undefined - AWS Cloudfront default is IPv4
|
|
2159
|
+
'''
|
|
2160
|
+
result = self._values.get("ip_address_type")
|
|
2161
|
+
return typing.cast(typing.Optional[_OriginIpAddressType_1c01e1a0], result)
|
|
2162
|
+
|
|
2130
2163
|
@builtins.property
|
|
2131
2164
|
def keepalive_timeout(self) -> typing.Optional[_Duration_4839e8c3]:
|
|
2132
2165
|
'''Specifies how long, in seconds, CloudFront persists its connection to the origin.
|
|
@@ -2218,6 +2251,7 @@ class LoadBalancerV2Origin(
|
|
|
2218
2251
|
*,
|
|
2219
2252
|
http_port: typing.Optional[jsii.Number] = None,
|
|
2220
2253
|
https_port: typing.Optional[jsii.Number] = None,
|
|
2254
|
+
ip_address_type: typing.Optional[_OriginIpAddressType_1c01e1a0] = None,
|
|
2221
2255
|
keepalive_timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
2222
2256
|
origin_ssl_protocols: typing.Optional[typing.Sequence[_OriginSslPolicy_d65cede2]] = None,
|
|
2223
2257
|
protocol_policy: typing.Optional[_OriginProtocolPolicy_967ed73c] = None,
|
|
@@ -2236,6 +2270,7 @@ class LoadBalancerV2Origin(
|
|
|
2236
2270
|
:param load_balancer: -
|
|
2237
2271
|
:param http_port: The HTTP port that CloudFront uses to connect to the origin. Default: 80
|
|
2238
2272
|
:param https_port: The HTTPS port that CloudFront uses to connect to the origin. Default: 443
|
|
2273
|
+
:param ip_address_type: Specifies which IP protocol CloudFront uses when connecting to your origin. If your origin uses both IPv4 and IPv6 protocols, you can choose dualstack to help optimize reliability. Default: undefined - AWS Cloudfront default is IPv4
|
|
2239
2274
|
:param keepalive_timeout: Specifies how long, in seconds, CloudFront persists its connection to the origin. The valid range is from 1 to 180 seconds, inclusive. Note that values over 60 seconds are possible only after a limit increase request for the origin response timeout quota has been approved in the target account; otherwise, values over 60 seconds will produce an error at deploy time. Default: Duration.seconds(5)
|
|
2240
2275
|
:param origin_ssl_protocols: The SSL versions to use when interacting with the origin. Default: OriginSslPolicy.TLS_V1_2
|
|
2241
2276
|
:param protocol_policy: Specifies the protocol (HTTP or HTTPS) that CloudFront uses to connect to the origin. Default: OriginProtocolPolicy.HTTPS_ONLY
|
|
@@ -2256,6 +2291,7 @@ class LoadBalancerV2Origin(
|
|
|
2256
2291
|
props = LoadBalancerV2OriginProps(
|
|
2257
2292
|
http_port=http_port,
|
|
2258
2293
|
https_port=https_port,
|
|
2294
|
+
ip_address_type=ip_address_type,
|
|
2259
2295
|
keepalive_timeout=keepalive_timeout,
|
|
2260
2296
|
origin_ssl_protocols=origin_ssl_protocols,
|
|
2261
2297
|
protocol_policy=protocol_policy,
|
|
@@ -2289,6 +2325,7 @@ class LoadBalancerV2Origin(
|
|
|
2289
2325
|
"origin_path": "originPath",
|
|
2290
2326
|
"http_port": "httpPort",
|
|
2291
2327
|
"https_port": "httpsPort",
|
|
2328
|
+
"ip_address_type": "ipAddressType",
|
|
2292
2329
|
"keepalive_timeout": "keepaliveTimeout",
|
|
2293
2330
|
"origin_ssl_protocols": "originSslProtocols",
|
|
2294
2331
|
"protocol_policy": "protocolPolicy",
|
|
@@ -2310,6 +2347,7 @@ class LoadBalancerV2OriginProps(HttpOriginProps):
|
|
|
2310
2347
|
origin_path: typing.Optional[builtins.str] = None,
|
|
2311
2348
|
http_port: typing.Optional[jsii.Number] = None,
|
|
2312
2349
|
https_port: typing.Optional[jsii.Number] = None,
|
|
2350
|
+
ip_address_type: typing.Optional[_OriginIpAddressType_1c01e1a0] = None,
|
|
2313
2351
|
keepalive_timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
2314
2352
|
origin_ssl_protocols: typing.Optional[typing.Sequence[_OriginSslPolicy_d65cede2]] = None,
|
|
2315
2353
|
protocol_policy: typing.Optional[_OriginProtocolPolicy_967ed73c] = None,
|
|
@@ -2328,6 +2366,7 @@ class LoadBalancerV2OriginProps(HttpOriginProps):
|
|
|
2328
2366
|
: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: '/'
|
|
2329
2367
|
:param http_port: The HTTP port that CloudFront uses to connect to the origin. Default: 80
|
|
2330
2368
|
:param https_port: The HTTPS port that CloudFront uses to connect to the origin. Default: 443
|
|
2369
|
+
:param ip_address_type: Specifies which IP protocol CloudFront uses when connecting to your origin. If your origin uses both IPv4 and IPv6 protocols, you can choose dualstack to help optimize reliability. Default: undefined - AWS Cloudfront default is IPv4
|
|
2331
2370
|
:param keepalive_timeout: Specifies how long, in seconds, CloudFront persists its connection to the origin. The valid range is from 1 to 180 seconds, inclusive. Note that values over 60 seconds are possible only after a limit increase request for the origin response timeout quota has been approved in the target account; otherwise, values over 60 seconds will produce an error at deploy time. Default: Duration.seconds(5)
|
|
2332
2371
|
:param origin_ssl_protocols: The SSL versions to use when interacting with the origin. Default: OriginSslPolicy.TLS_V1_2
|
|
2333
2372
|
:param protocol_policy: Specifies the protocol (HTTP or HTTPS) that CloudFront uses to connect to the origin. Default: OriginProtocolPolicy.HTTPS_ONLY
|
|
@@ -2361,6 +2400,7 @@ class LoadBalancerV2OriginProps(HttpOriginProps):
|
|
|
2361
2400
|
check_type(argname="argument origin_path", value=origin_path, expected_type=type_hints["origin_path"])
|
|
2362
2401
|
check_type(argname="argument http_port", value=http_port, expected_type=type_hints["http_port"])
|
|
2363
2402
|
check_type(argname="argument https_port", value=https_port, expected_type=type_hints["https_port"])
|
|
2403
|
+
check_type(argname="argument ip_address_type", value=ip_address_type, expected_type=type_hints["ip_address_type"])
|
|
2364
2404
|
check_type(argname="argument keepalive_timeout", value=keepalive_timeout, expected_type=type_hints["keepalive_timeout"])
|
|
2365
2405
|
check_type(argname="argument origin_ssl_protocols", value=origin_ssl_protocols, expected_type=type_hints["origin_ssl_protocols"])
|
|
2366
2406
|
check_type(argname="argument protocol_policy", value=protocol_policy, expected_type=type_hints["protocol_policy"])
|
|
@@ -2388,6 +2428,8 @@ class LoadBalancerV2OriginProps(HttpOriginProps):
|
|
|
2388
2428
|
self._values["http_port"] = http_port
|
|
2389
2429
|
if https_port is not None:
|
|
2390
2430
|
self._values["https_port"] = https_port
|
|
2431
|
+
if ip_address_type is not None:
|
|
2432
|
+
self._values["ip_address_type"] = ip_address_type
|
|
2391
2433
|
if keepalive_timeout is not None:
|
|
2392
2434
|
self._values["keepalive_timeout"] = keepalive_timeout
|
|
2393
2435
|
if origin_ssl_protocols is not None:
|
|
@@ -2514,6 +2556,17 @@ class LoadBalancerV2OriginProps(HttpOriginProps):
|
|
|
2514
2556
|
result = self._values.get("https_port")
|
|
2515
2557
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
2516
2558
|
|
|
2559
|
+
@builtins.property
|
|
2560
|
+
def ip_address_type(self) -> typing.Optional[_OriginIpAddressType_1c01e1a0]:
|
|
2561
|
+
'''Specifies which IP protocol CloudFront uses when connecting to your origin.
|
|
2562
|
+
|
|
2563
|
+
If your origin uses both IPv4 and IPv6 protocols, you can choose dualstack to help optimize reliability.
|
|
2564
|
+
|
|
2565
|
+
:default: undefined - AWS Cloudfront default is IPv4
|
|
2566
|
+
'''
|
|
2567
|
+
result = self._values.get("ip_address_type")
|
|
2568
|
+
return typing.cast(typing.Optional[_OriginIpAddressType_1c01e1a0], result)
|
|
2569
|
+
|
|
2517
2570
|
@builtins.property
|
|
2518
2571
|
def keepalive_timeout(self) -> typing.Optional[_Duration_4839e8c3]:
|
|
2519
2572
|
'''Specifies how long, in seconds, CloudFront persists its connection to the origin.
|
|
@@ -4306,6 +4359,7 @@ class S3StaticWebsiteOrigin(
|
|
|
4306
4359
|
*,
|
|
4307
4360
|
http_port: typing.Optional[jsii.Number] = None,
|
|
4308
4361
|
https_port: typing.Optional[jsii.Number] = None,
|
|
4362
|
+
ip_address_type: typing.Optional[_OriginIpAddressType_1c01e1a0] = None,
|
|
4309
4363
|
keepalive_timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
4310
4364
|
origin_ssl_protocols: typing.Optional[typing.Sequence[_OriginSslPolicy_d65cede2]] = None,
|
|
4311
4365
|
protocol_policy: typing.Optional[_OriginProtocolPolicy_967ed73c] = None,
|
|
@@ -4324,6 +4378,7 @@ class S3StaticWebsiteOrigin(
|
|
|
4324
4378
|
:param bucket: -
|
|
4325
4379
|
:param http_port: The HTTP port that CloudFront uses to connect to the origin. Default: 80
|
|
4326
4380
|
:param https_port: The HTTPS port that CloudFront uses to connect to the origin. Default: 443
|
|
4381
|
+
:param ip_address_type: Specifies which IP protocol CloudFront uses when connecting to your origin. If your origin uses both IPv4 and IPv6 protocols, you can choose dualstack to help optimize reliability. Default: undefined - AWS Cloudfront default is IPv4
|
|
4327
4382
|
:param keepalive_timeout: Specifies how long, in seconds, CloudFront persists its connection to the origin. The valid range is from 1 to 180 seconds, inclusive. Note that values over 60 seconds are possible only after a limit increase request for the origin response timeout quota has been approved in the target account; otherwise, values over 60 seconds will produce an error at deploy time. Default: Duration.seconds(5)
|
|
4328
4383
|
:param origin_ssl_protocols: The SSL versions to use when interacting with the origin. Default: OriginSslPolicy.TLS_V1_2
|
|
4329
4384
|
:param protocol_policy: Specifies the protocol (HTTP or HTTPS) that CloudFront uses to connect to the origin. Default: OriginProtocolPolicy.HTTPS_ONLY
|
|
@@ -4344,6 +4399,7 @@ class S3StaticWebsiteOrigin(
|
|
|
4344
4399
|
props = S3StaticWebsiteOriginProps(
|
|
4345
4400
|
http_port=http_port,
|
|
4346
4401
|
https_port=https_port,
|
|
4402
|
+
ip_address_type=ip_address_type,
|
|
4347
4403
|
keepalive_timeout=keepalive_timeout,
|
|
4348
4404
|
origin_ssl_protocols=origin_ssl_protocols,
|
|
4349
4405
|
protocol_policy=protocol_policy,
|
|
@@ -4377,6 +4433,7 @@ class S3StaticWebsiteOrigin(
|
|
|
4377
4433
|
"origin_path": "originPath",
|
|
4378
4434
|
"http_port": "httpPort",
|
|
4379
4435
|
"https_port": "httpsPort",
|
|
4436
|
+
"ip_address_type": "ipAddressType",
|
|
4380
4437
|
"keepalive_timeout": "keepaliveTimeout",
|
|
4381
4438
|
"origin_ssl_protocols": "originSslProtocols",
|
|
4382
4439
|
"protocol_policy": "protocolPolicy",
|
|
@@ -4398,6 +4455,7 @@ class S3StaticWebsiteOriginProps(HttpOriginProps):
|
|
|
4398
4455
|
origin_path: typing.Optional[builtins.str] = None,
|
|
4399
4456
|
http_port: typing.Optional[jsii.Number] = None,
|
|
4400
4457
|
https_port: typing.Optional[jsii.Number] = None,
|
|
4458
|
+
ip_address_type: typing.Optional[_OriginIpAddressType_1c01e1a0] = None,
|
|
4401
4459
|
keepalive_timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
4402
4460
|
origin_ssl_protocols: typing.Optional[typing.Sequence[_OriginSslPolicy_d65cede2]] = None,
|
|
4403
4461
|
protocol_policy: typing.Optional[_OriginProtocolPolicy_967ed73c] = None,
|
|
@@ -4416,6 +4474,7 @@ class S3StaticWebsiteOriginProps(HttpOriginProps):
|
|
|
4416
4474
|
: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: '/'
|
|
4417
4475
|
:param http_port: The HTTP port that CloudFront uses to connect to the origin. Default: 80
|
|
4418
4476
|
:param https_port: The HTTPS port that CloudFront uses to connect to the origin. Default: 443
|
|
4477
|
+
:param ip_address_type: Specifies which IP protocol CloudFront uses when connecting to your origin. If your origin uses both IPv4 and IPv6 protocols, you can choose dualstack to help optimize reliability. Default: undefined - AWS Cloudfront default is IPv4
|
|
4419
4478
|
:param keepalive_timeout: Specifies how long, in seconds, CloudFront persists its connection to the origin. The valid range is from 1 to 180 seconds, inclusive. Note that values over 60 seconds are possible only after a limit increase request for the origin response timeout quota has been approved in the target account; otherwise, values over 60 seconds will produce an error at deploy time. Default: Duration.seconds(5)
|
|
4420
4479
|
:param origin_ssl_protocols: The SSL versions to use when interacting with the origin. Default: OriginSslPolicy.TLS_V1_2
|
|
4421
4480
|
:param protocol_policy: Specifies the protocol (HTTP or HTTPS) that CloudFront uses to connect to the origin. Default: OriginProtocolPolicy.HTTPS_ONLY
|
|
@@ -4439,6 +4498,7 @@ class S3StaticWebsiteOriginProps(HttpOriginProps):
|
|
|
4439
4498
|
},
|
|
4440
4499
|
http_port=123,
|
|
4441
4500
|
https_port=123,
|
|
4501
|
+
ip_address_type=cloudfront.OriginIpAddressType.IPV4,
|
|
4442
4502
|
keepalive_timeout=cdk.Duration.minutes(30),
|
|
4443
4503
|
origin_access_control_id="originAccessControlId",
|
|
4444
4504
|
origin_id="originId",
|
|
@@ -4464,6 +4524,7 @@ class S3StaticWebsiteOriginProps(HttpOriginProps):
|
|
|
4464
4524
|
check_type(argname="argument origin_path", value=origin_path, expected_type=type_hints["origin_path"])
|
|
4465
4525
|
check_type(argname="argument http_port", value=http_port, expected_type=type_hints["http_port"])
|
|
4466
4526
|
check_type(argname="argument https_port", value=https_port, expected_type=type_hints["https_port"])
|
|
4527
|
+
check_type(argname="argument ip_address_type", value=ip_address_type, expected_type=type_hints["ip_address_type"])
|
|
4467
4528
|
check_type(argname="argument keepalive_timeout", value=keepalive_timeout, expected_type=type_hints["keepalive_timeout"])
|
|
4468
4529
|
check_type(argname="argument origin_ssl_protocols", value=origin_ssl_protocols, expected_type=type_hints["origin_ssl_protocols"])
|
|
4469
4530
|
check_type(argname="argument protocol_policy", value=protocol_policy, expected_type=type_hints["protocol_policy"])
|
|
@@ -4491,6 +4552,8 @@ class S3StaticWebsiteOriginProps(HttpOriginProps):
|
|
|
4491
4552
|
self._values["http_port"] = http_port
|
|
4492
4553
|
if https_port is not None:
|
|
4493
4554
|
self._values["https_port"] = https_port
|
|
4555
|
+
if ip_address_type is not None:
|
|
4556
|
+
self._values["ip_address_type"] = ip_address_type
|
|
4494
4557
|
if keepalive_timeout is not None:
|
|
4495
4558
|
self._values["keepalive_timeout"] = keepalive_timeout
|
|
4496
4559
|
if origin_ssl_protocols is not None:
|
|
@@ -4617,6 +4680,17 @@ class S3StaticWebsiteOriginProps(HttpOriginProps):
|
|
|
4617
4680
|
result = self._values.get("https_port")
|
|
4618
4681
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
4619
4682
|
|
|
4683
|
+
@builtins.property
|
|
4684
|
+
def ip_address_type(self) -> typing.Optional[_OriginIpAddressType_1c01e1a0]:
|
|
4685
|
+
'''Specifies which IP protocol CloudFront uses when connecting to your origin.
|
|
4686
|
+
|
|
4687
|
+
If your origin uses both IPv4 and IPv6 protocols, you can choose dualstack to help optimize reliability.
|
|
4688
|
+
|
|
4689
|
+
:default: undefined - AWS Cloudfront default is IPv4
|
|
4690
|
+
'''
|
|
4691
|
+
result = self._values.get("ip_address_type")
|
|
4692
|
+
return typing.cast(typing.Optional[_OriginIpAddressType_1c01e1a0], result)
|
|
4693
|
+
|
|
4620
4694
|
@builtins.property
|
|
4621
4695
|
def keepalive_timeout(self) -> typing.Optional[_Duration_4839e8c3]:
|
|
4622
4696
|
'''Specifies how long, in seconds, CloudFront persists its connection to the origin.
|
|
@@ -5785,6 +5859,7 @@ def _typecheckingstub__57d13f69f251622e0723aa73c3eb93e482e0deb7a7b1e8439c7d7ad35
|
|
|
5785
5859
|
*,
|
|
5786
5860
|
http_port: typing.Optional[jsii.Number] = None,
|
|
5787
5861
|
https_port: typing.Optional[jsii.Number] = None,
|
|
5862
|
+
ip_address_type: typing.Optional[_OriginIpAddressType_1c01e1a0] = None,
|
|
5788
5863
|
keepalive_timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
5789
5864
|
origin_ssl_protocols: typing.Optional[typing.Sequence[_OriginSslPolicy_d65cede2]] = None,
|
|
5790
5865
|
protocol_policy: typing.Optional[_OriginProtocolPolicy_967ed73c] = None,
|
|
@@ -5815,6 +5890,7 @@ def _typecheckingstub__13f43bf70f0a97ee8ca0e4f7aca38d43089ed2bc254d5c2b57c73b51c
|
|
|
5815
5890
|
origin_path: typing.Optional[builtins.str] = None,
|
|
5816
5891
|
http_port: typing.Optional[jsii.Number] = None,
|
|
5817
5892
|
https_port: typing.Optional[jsii.Number] = None,
|
|
5893
|
+
ip_address_type: typing.Optional[_OriginIpAddressType_1c01e1a0] = None,
|
|
5818
5894
|
keepalive_timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
5819
5895
|
origin_ssl_protocols: typing.Optional[typing.Sequence[_OriginSslPolicy_d65cede2]] = None,
|
|
5820
5896
|
protocol_policy: typing.Optional[_OriginProtocolPolicy_967ed73c] = None,
|
|
@@ -5828,6 +5904,7 @@ def _typecheckingstub__2e5124d4f469d6539077a529c09cfba685fe4a7037b9417216b18f6cc
|
|
|
5828
5904
|
*,
|
|
5829
5905
|
http_port: typing.Optional[jsii.Number] = None,
|
|
5830
5906
|
https_port: typing.Optional[jsii.Number] = None,
|
|
5907
|
+
ip_address_type: typing.Optional[_OriginIpAddressType_1c01e1a0] = None,
|
|
5831
5908
|
keepalive_timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
5832
5909
|
origin_ssl_protocols: typing.Optional[typing.Sequence[_OriginSslPolicy_d65cede2]] = None,
|
|
5833
5910
|
protocol_policy: typing.Optional[_OriginProtocolPolicy_967ed73c] = None,
|
|
@@ -5858,6 +5935,7 @@ def _typecheckingstub__c72b63200b184ae3f51c9b6a19be2eef9bddae313ee00c7378396c0dc
|
|
|
5858
5935
|
origin_path: typing.Optional[builtins.str] = None,
|
|
5859
5936
|
http_port: typing.Optional[jsii.Number] = None,
|
|
5860
5937
|
https_port: typing.Optional[jsii.Number] = None,
|
|
5938
|
+
ip_address_type: typing.Optional[_OriginIpAddressType_1c01e1a0] = None,
|
|
5861
5939
|
keepalive_timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
5862
5940
|
origin_ssl_protocols: typing.Optional[typing.Sequence[_OriginSslPolicy_d65cede2]] = None,
|
|
5863
5941
|
protocol_policy: typing.Optional[_OriginProtocolPolicy_967ed73c] = None,
|
|
@@ -6082,6 +6160,7 @@ def _typecheckingstub__f0edd2083352b96faf3ea9eb05136629dff841fa272ecdb6dfb52772a
|
|
|
6082
6160
|
*,
|
|
6083
6161
|
http_port: typing.Optional[jsii.Number] = None,
|
|
6084
6162
|
https_port: typing.Optional[jsii.Number] = None,
|
|
6163
|
+
ip_address_type: typing.Optional[_OriginIpAddressType_1c01e1a0] = None,
|
|
6085
6164
|
keepalive_timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
6086
6165
|
origin_ssl_protocols: typing.Optional[typing.Sequence[_OriginSslPolicy_d65cede2]] = None,
|
|
6087
6166
|
protocol_policy: typing.Optional[_OriginProtocolPolicy_967ed73c] = None,
|
|
@@ -6112,6 +6191,7 @@ def _typecheckingstub__5bc18cdba7c0e6d7d0a68d2a1cf3c3f91f50a7e3e7384f5f62ebee600
|
|
|
6112
6191
|
origin_path: typing.Optional[builtins.str] = None,
|
|
6113
6192
|
http_port: typing.Optional[jsii.Number] = None,
|
|
6114
6193
|
https_port: typing.Optional[jsii.Number] = None,
|
|
6194
|
+
ip_address_type: typing.Optional[_OriginIpAddressType_1c01e1a0] = None,
|
|
6115
6195
|
keepalive_timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
6116
6196
|
origin_ssl_protocols: typing.Optional[typing.Sequence[_OriginSslPolicy_d65cede2]] = None,
|
|
6117
6197
|
protocol_policy: typing.Optional[_OriginProtocolPolicy_967ed73c] = None,
|
|
@@ -4742,6 +4742,48 @@ class CfnTrail(
|
|
|
4742
4742
|
|
|
4743
4743
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
4744
4744
|
|
|
4745
|
+
@jsii.member(jsii_name="fromTrailArn")
|
|
4746
|
+
@builtins.classmethod
|
|
4747
|
+
def from_trail_arn(
|
|
4748
|
+
cls,
|
|
4749
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
4750
|
+
id: builtins.str,
|
|
4751
|
+
arn: builtins.str,
|
|
4752
|
+
) -> ITrailRef:
|
|
4753
|
+
'''Creates a new ITrailRef from an ARN.
|
|
4754
|
+
|
|
4755
|
+
:param scope: -
|
|
4756
|
+
:param id: -
|
|
4757
|
+
:param arn: -
|
|
4758
|
+
'''
|
|
4759
|
+
if __debug__:
|
|
4760
|
+
type_hints = typing.get_type_hints(_typecheckingstub__de13fd6629dabd92566f74df031bb3846b1f0c60616e28f88435c2f70ea1f0dd)
|
|
4761
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
4762
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
4763
|
+
check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
|
|
4764
|
+
return typing.cast(ITrailRef, jsii.sinvoke(cls, "fromTrailArn", [scope, id, arn]))
|
|
4765
|
+
|
|
4766
|
+
@jsii.member(jsii_name="fromTrailName")
|
|
4767
|
+
@builtins.classmethod
|
|
4768
|
+
def from_trail_name(
|
|
4769
|
+
cls,
|
|
4770
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
4771
|
+
id: builtins.str,
|
|
4772
|
+
trail_name: builtins.str,
|
|
4773
|
+
) -> ITrailRef:
|
|
4774
|
+
'''Creates a new ITrailRef from a trailName.
|
|
4775
|
+
|
|
4776
|
+
:param scope: -
|
|
4777
|
+
:param id: -
|
|
4778
|
+
:param trail_name: -
|
|
4779
|
+
'''
|
|
4780
|
+
if __debug__:
|
|
4781
|
+
type_hints = typing.get_type_hints(_typecheckingstub__de86420b3e78209dc350b0fda0b9e94a90b38d019fdd7b81692f6899942ea4ae)
|
|
4782
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
4783
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
4784
|
+
check_type(argname="argument trail_name", value=trail_name, expected_type=type_hints["trail_name"])
|
|
4785
|
+
return typing.cast(ITrailRef, jsii.sinvoke(cls, "fromTrailName", [scope, id, trail_name]))
|
|
4786
|
+
|
|
4745
4787
|
@jsii.member(jsii_name="inspect")
|
|
4746
4788
|
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
4747
4789
|
'''Examines the CloudFormation resource and discloses attributes.
|
|
@@ -6345,6 +6387,22 @@ def _typecheckingstub__2259d5765ec84e4697f55f0d491871f1aa010feb94b3445a33a9e4b9f
|
|
|
6345
6387
|
"""Type checking stubs"""
|
|
6346
6388
|
pass
|
|
6347
6389
|
|
|
6390
|
+
def _typecheckingstub__de13fd6629dabd92566f74df031bb3846b1f0c60616e28f88435c2f70ea1f0dd(
|
|
6391
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
6392
|
+
id: builtins.str,
|
|
6393
|
+
arn: builtins.str,
|
|
6394
|
+
) -> None:
|
|
6395
|
+
"""Type checking stubs"""
|
|
6396
|
+
pass
|
|
6397
|
+
|
|
6398
|
+
def _typecheckingstub__de86420b3e78209dc350b0fda0b9e94a90b38d019fdd7b81692f6899942ea4ae(
|
|
6399
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
6400
|
+
id: builtins.str,
|
|
6401
|
+
trail_name: builtins.str,
|
|
6402
|
+
) -> None:
|
|
6403
|
+
"""Type checking stubs"""
|
|
6404
|
+
pass
|
|
6405
|
+
|
|
6348
6406
|
def _typecheckingstub__27c0b3977f3ce3e2ad80b21e158e38a08a45c6700ebeed895b3710e8c214a1bb(
|
|
6349
6407
|
inspector: _TreeInspector_488e0dd5,
|
|
6350
6408
|
) -> None:
|
|
@@ -11728,6 +11728,48 @@ class CfnAlarm(
|
|
|
11728
11728
|
|
|
11729
11729
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
11730
11730
|
|
|
11731
|
+
@jsii.member(jsii_name="fromAlarmArn")
|
|
11732
|
+
@builtins.classmethod
|
|
11733
|
+
def from_alarm_arn(
|
|
11734
|
+
cls,
|
|
11735
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
11736
|
+
id: builtins.str,
|
|
11737
|
+
arn: builtins.str,
|
|
11738
|
+
) -> IAlarmRef:
|
|
11739
|
+
'''Creates a new IAlarmRef from an ARN.
|
|
11740
|
+
|
|
11741
|
+
:param scope: -
|
|
11742
|
+
:param id: -
|
|
11743
|
+
:param arn: -
|
|
11744
|
+
'''
|
|
11745
|
+
if __debug__:
|
|
11746
|
+
type_hints = typing.get_type_hints(_typecheckingstub__544b0968def3d9b72962fb1bbce7dec4b2d60b4c2518711cc9df447306ed6c4c)
|
|
11747
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
11748
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
11749
|
+
check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
|
|
11750
|
+
return typing.cast(IAlarmRef, jsii.sinvoke(cls, "fromAlarmArn", [scope, id, arn]))
|
|
11751
|
+
|
|
11752
|
+
@jsii.member(jsii_name="fromAlarmName")
|
|
11753
|
+
@builtins.classmethod
|
|
11754
|
+
def from_alarm_name(
|
|
11755
|
+
cls,
|
|
11756
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
11757
|
+
id: builtins.str,
|
|
11758
|
+
alarm_name: builtins.str,
|
|
11759
|
+
) -> IAlarmRef:
|
|
11760
|
+
'''Creates a new IAlarmRef from a alarmName.
|
|
11761
|
+
|
|
11762
|
+
:param scope: -
|
|
11763
|
+
:param id: -
|
|
11764
|
+
:param alarm_name: -
|
|
11765
|
+
'''
|
|
11766
|
+
if __debug__:
|
|
11767
|
+
type_hints = typing.get_type_hints(_typecheckingstub__191b683ee20d5f420eb03eb2e0b1a6e0e7cfed31f66a3afa94d14da0767a90f4)
|
|
11768
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
11769
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
11770
|
+
check_type(argname="argument alarm_name", value=alarm_name, expected_type=type_hints["alarm_name"])
|
|
11771
|
+
return typing.cast(IAlarmRef, jsii.sinvoke(cls, "fromAlarmName", [scope, id, alarm_name]))
|
|
11772
|
+
|
|
11731
11773
|
@jsii.member(jsii_name="inspect")
|
|
11732
11774
|
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
11733
11775
|
'''Examines the CloudFormation resource and discloses attributes.
|
|
@@ -14209,6 +14251,27 @@ class CfnDashboard(
|
|
|
14209
14251
|
|
|
14210
14252
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
14211
14253
|
|
|
14254
|
+
@jsii.member(jsii_name="fromDashboardName")
|
|
14255
|
+
@builtins.classmethod
|
|
14256
|
+
def from_dashboard_name(
|
|
14257
|
+
cls,
|
|
14258
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
14259
|
+
id: builtins.str,
|
|
14260
|
+
dashboard_name: builtins.str,
|
|
14261
|
+
) -> IDashboardRef:
|
|
14262
|
+
'''Creates a new IDashboardRef from a dashboardName.
|
|
14263
|
+
|
|
14264
|
+
:param scope: -
|
|
14265
|
+
:param id: -
|
|
14266
|
+
:param dashboard_name: -
|
|
14267
|
+
'''
|
|
14268
|
+
if __debug__:
|
|
14269
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f2a65575230b6782811b6cc1c4a4d1c6cc87f971ef5aa437442cc859d489ff82)
|
|
14270
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
14271
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
14272
|
+
check_type(argname="argument dashboard_name", value=dashboard_name, expected_type=type_hints["dashboard_name"])
|
|
14273
|
+
return typing.cast(IDashboardRef, jsii.sinvoke(cls, "fromDashboardName", [scope, id, dashboard_name]))
|
|
14274
|
+
|
|
14212
14275
|
@jsii.member(jsii_name="inspect")
|
|
14213
14276
|
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
14214
14277
|
'''Examines the CloudFormation resource and discloses attributes.
|
|
@@ -14601,6 +14664,48 @@ class CfnMetricStream(
|
|
|
14601
14664
|
|
|
14602
14665
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
14603
14666
|
|
|
14667
|
+
@jsii.member(jsii_name="fromMetricStreamArn")
|
|
14668
|
+
@builtins.classmethod
|
|
14669
|
+
def from_metric_stream_arn(
|
|
14670
|
+
cls,
|
|
14671
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
14672
|
+
id: builtins.str,
|
|
14673
|
+
arn: builtins.str,
|
|
14674
|
+
) -> IMetricStreamRef:
|
|
14675
|
+
'''Creates a new IMetricStreamRef from an ARN.
|
|
14676
|
+
|
|
14677
|
+
:param scope: -
|
|
14678
|
+
:param id: -
|
|
14679
|
+
:param arn: -
|
|
14680
|
+
'''
|
|
14681
|
+
if __debug__:
|
|
14682
|
+
type_hints = typing.get_type_hints(_typecheckingstub__50e36a4aae3592a141f72295c65ce2cf6f01c0153925f610e589758abcc065e2)
|
|
14683
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
14684
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
14685
|
+
check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
|
|
14686
|
+
return typing.cast(IMetricStreamRef, jsii.sinvoke(cls, "fromMetricStreamArn", [scope, id, arn]))
|
|
14687
|
+
|
|
14688
|
+
@jsii.member(jsii_name="fromMetricStreamName")
|
|
14689
|
+
@builtins.classmethod
|
|
14690
|
+
def from_metric_stream_name(
|
|
14691
|
+
cls,
|
|
14692
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
14693
|
+
id: builtins.str,
|
|
14694
|
+
metric_stream_name: builtins.str,
|
|
14695
|
+
) -> IMetricStreamRef:
|
|
14696
|
+
'''Creates a new IMetricStreamRef from a metricStreamName.
|
|
14697
|
+
|
|
14698
|
+
:param scope: -
|
|
14699
|
+
:param id: -
|
|
14700
|
+
:param metric_stream_name: -
|
|
14701
|
+
'''
|
|
14702
|
+
if __debug__:
|
|
14703
|
+
type_hints = typing.get_type_hints(_typecheckingstub__635a32b621fbf5f4f1c0d44f6749043dfa44bfb3ec257d8fe8a02439751244c1)
|
|
14704
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
14705
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
14706
|
+
check_type(argname="argument metric_stream_name", value=metric_stream_name, expected_type=type_hints["metric_stream_name"])
|
|
14707
|
+
return typing.cast(IMetricStreamRef, jsii.sinvoke(cls, "fromMetricStreamName", [scope, id, metric_stream_name]))
|
|
14708
|
+
|
|
14604
14709
|
@jsii.member(jsii_name="inspect")
|
|
14605
14710
|
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
14606
14711
|
'''Examines the CloudFormation resource and discloses attributes.
|
|
@@ -18417,6 +18522,22 @@ def _typecheckingstub__5adc477b9cef758736625389f1a51dec08eb7b348be35f42b0e37d6d4
|
|
|
18417
18522
|
"""Type checking stubs"""
|
|
18418
18523
|
pass
|
|
18419
18524
|
|
|
18525
|
+
def _typecheckingstub__544b0968def3d9b72962fb1bbce7dec4b2d60b4c2518711cc9df447306ed6c4c(
|
|
18526
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
18527
|
+
id: builtins.str,
|
|
18528
|
+
arn: builtins.str,
|
|
18529
|
+
) -> None:
|
|
18530
|
+
"""Type checking stubs"""
|
|
18531
|
+
pass
|
|
18532
|
+
|
|
18533
|
+
def _typecheckingstub__191b683ee20d5f420eb03eb2e0b1a6e0e7cfed31f66a3afa94d14da0767a90f4(
|
|
18534
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
18535
|
+
id: builtins.str,
|
|
18536
|
+
alarm_name: builtins.str,
|
|
18537
|
+
) -> None:
|
|
18538
|
+
"""Type checking stubs"""
|
|
18539
|
+
pass
|
|
18540
|
+
|
|
18420
18541
|
def _typecheckingstub__83bef261115d965bc301e33589e4c9b4a854da5d951fb8e2186758fba16c7f57(
|
|
18421
18542
|
inspector: _TreeInspector_488e0dd5,
|
|
18422
18543
|
) -> None:
|
|
@@ -18865,6 +18986,14 @@ def _typecheckingstub__5add67d5fc6c551e627bade2623b719ee8c8de03ff6216bc3471bbe52
|
|
|
18865
18986
|
"""Type checking stubs"""
|
|
18866
18987
|
pass
|
|
18867
18988
|
|
|
18989
|
+
def _typecheckingstub__f2a65575230b6782811b6cc1c4a4d1c6cc87f971ef5aa437442cc859d489ff82(
|
|
18990
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
18991
|
+
id: builtins.str,
|
|
18992
|
+
dashboard_name: builtins.str,
|
|
18993
|
+
) -> None:
|
|
18994
|
+
"""Type checking stubs"""
|
|
18995
|
+
pass
|
|
18996
|
+
|
|
18868
18997
|
def _typecheckingstub__ea2b521a69d5f78d24dc5aba9c387baa4fc450da2dc68bb876531861ee0929b2(
|
|
18869
18998
|
inspector: _TreeInspector_488e0dd5,
|
|
18870
18999
|
) -> None:
|
|
@@ -18961,6 +19090,22 @@ def _typecheckingstub__324083d9d1c11bed8d2cf8d1d0cab6adbcb8194552cea34115b984457
|
|
|
18961
19090
|
"""Type checking stubs"""
|
|
18962
19091
|
pass
|
|
18963
19092
|
|
|
19093
|
+
def _typecheckingstub__50e36a4aae3592a141f72295c65ce2cf6f01c0153925f610e589758abcc065e2(
|
|
19094
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
19095
|
+
id: builtins.str,
|
|
19096
|
+
arn: builtins.str,
|
|
19097
|
+
) -> None:
|
|
19098
|
+
"""Type checking stubs"""
|
|
19099
|
+
pass
|
|
19100
|
+
|
|
19101
|
+
def _typecheckingstub__635a32b621fbf5f4f1c0d44f6749043dfa44bfb3ec257d8fe8a02439751244c1(
|
|
19102
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
19103
|
+
id: builtins.str,
|
|
19104
|
+
metric_stream_name: builtins.str,
|
|
19105
|
+
) -> None:
|
|
19106
|
+
"""Type checking stubs"""
|
|
19107
|
+
pass
|
|
19108
|
+
|
|
18964
19109
|
def _typecheckingstub__3d75d145801429f4f9f0daaae66adb695e6690f2bd7b00a62aedff30952bef4c(
|
|
18965
19110
|
inspector: _TreeInspector_488e0dd5,
|
|
18966
19111
|
) -> None:
|