aws-cdk-lib 2.194.0__py3-none-any.whl → 2.195.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 +2 -0
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.194.0.jsii.tgz → aws-cdk-lib@2.195.0.jsii.tgz} +0 -0
- aws_cdk/aws_apigateway/__init__.py +60 -1
- aws_cdk/aws_bedrock/__init__.py +581 -4
- aws_cdk/aws_cloudfront/__init__.py +190 -120
- aws_cdk/aws_codepipeline/__init__.py +108 -0
- aws_cdk/aws_cognito/__init__.py +132 -6
- aws_cdk/aws_datazone/__init__.py +370 -0
- aws_cdk/aws_dsql/__init__.py +9 -0
- aws_cdk/aws_dynamodb/__init__.py +5 -3
- aws_cdk/aws_ec2/__init__.py +132 -8
- aws_cdk/aws_ecr/__init__.py +16 -14
- aws_cdk/aws_ecs/__init__.py +4 -15
- aws_cdk/aws_fsx/__init__.py +2 -3
- aws_cdk/aws_imagebuilder/__init__.py +160 -10
- aws_cdk/aws_kinesisanalytics/__init__.py +4 -2
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +4 -2
- aws_cdk/aws_medialive/__init__.py +4 -6
- aws_cdk/aws_mediatailor/__init__.py +115 -0
- aws_cdk/aws_oam/__init__.py +43 -10
- aws_cdk/aws_opensearchservice/__init__.py +6 -0
- aws_cdk/aws_qbusiness/__init__.py +2 -2
- aws_cdk/aws_rds/__init__.py +41 -6
- aws_cdk/aws_route53/__init__.py +18 -14
- aws_cdk/aws_route53_targets/__init__.py +62 -1
- aws_cdk/aws_route53profiles/__init__.py +1 -1
- aws_cdk/aws_s3_notifications/__init__.py +5 -5
- aws_cdk/aws_sagemaker/__init__.py +253 -4
- aws_cdk/aws_ssmguiconnect/__init__.py +544 -0
- aws_cdk/cloud_assembly_schema/__init__.py +7 -1
- {aws_cdk_lib-2.194.0.dist-info → aws_cdk_lib-2.195.0.dist-info}/METADATA +2 -2
- {aws_cdk_lib-2.194.0.dist-info → aws_cdk_lib-2.195.0.dist-info}/RECORD +37 -36
- {aws_cdk_lib-2.194.0.dist-info → aws_cdk_lib-2.195.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.194.0.dist-info → aws_cdk_lib-2.195.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.194.0.dist-info → aws_cdk_lib-2.195.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.194.0.dist-info → aws_cdk_lib-2.195.0.dist-info}/top_level.txt +0 -0
aws_cdk/__init__.py
CHANGED
|
@@ -37504,6 +37504,7 @@ __all__ = [
|
|
|
37504
37504
|
"aws_sqs",
|
|
37505
37505
|
"aws_ssm",
|
|
37506
37506
|
"aws_ssmcontacts",
|
|
37507
|
+
"aws_ssmguiconnect",
|
|
37507
37508
|
"aws_ssmincidents",
|
|
37508
37509
|
"aws_ssmquicksetup",
|
|
37509
37510
|
"aws_sso",
|
|
@@ -37801,6 +37802,7 @@ from . import aws_sns_subscriptions
|
|
|
37801
37802
|
from . import aws_sqs
|
|
37802
37803
|
from . import aws_ssm
|
|
37803
37804
|
from . import aws_ssmcontacts
|
|
37805
|
+
from . import aws_ssmguiconnect
|
|
37804
37806
|
from . import aws_ssmincidents
|
|
37805
37807
|
from . import aws_ssmquicksetup
|
|
37806
37808
|
from . import aws_sso
|
aws_cdk/_jsii/__init__.py
CHANGED
|
@@ -34,7 +34,7 @@ import aws_cdk.cloud_assembly_schema._jsii
|
|
|
34
34
|
import constructs._jsii
|
|
35
35
|
|
|
36
36
|
__jsii_assembly__ = jsii.JSIIAssembly.load(
|
|
37
|
-
"aws-cdk-lib", "2.
|
|
37
|
+
"aws-cdk-lib", "2.195.0", __name__[0:-6], "aws-cdk-lib@2.195.0.jsii.tgz"
|
|
38
38
|
)
|
|
39
39
|
|
|
40
40
|
__all__ = [
|
|
Binary file
|
|
@@ -1664,6 +1664,20 @@ api = apigateway.RestApi(self, "api",
|
|
|
1664
1664
|
)
|
|
1665
1665
|
```
|
|
1666
1666
|
|
|
1667
|
+
You can also configure [endpoint IP address type](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-ip-address-type.html).
|
|
1668
|
+
The default value is `IpAddressType.DUAL_STACK` for private API, and `IpAddressType.IPV4` for regional and edge-optimized API.
|
|
1669
|
+
|
|
1670
|
+
```python
|
|
1671
|
+
api = apigateway.RestApi(self, "api",
|
|
1672
|
+
endpoint_configuration=apigateway.EndpointConfiguration(
|
|
1673
|
+
types=[apigateway.EndpointType.REGIONAL],
|
|
1674
|
+
ip_address_type=apigateway.IpAddressType.DUAL_STACK
|
|
1675
|
+
)
|
|
1676
|
+
)
|
|
1677
|
+
```
|
|
1678
|
+
|
|
1679
|
+
**Note**: If creating a private API, the `IPV4` IP address type is not supported.
|
|
1680
|
+
|
|
1667
1681
|
You can also create an association between your Rest API and a VPC endpoint. By doing so,
|
|
1668
1682
|
API Gateway will generate a new
|
|
1669
1683
|
Route53 Alias DNS record which you can use to invoke your private APIs. More info can be found
|
|
@@ -15755,13 +15769,18 @@ class DomainNameProps(DomainNameOptions):
|
|
|
15755
15769
|
@jsii.data_type(
|
|
15756
15770
|
jsii_type="aws-cdk-lib.aws_apigateway.EndpointConfiguration",
|
|
15757
15771
|
jsii_struct_bases=[],
|
|
15758
|
-
name_mapping={
|
|
15772
|
+
name_mapping={
|
|
15773
|
+
"types": "types",
|
|
15774
|
+
"ip_address_type": "ipAddressType",
|
|
15775
|
+
"vpc_endpoints": "vpcEndpoints",
|
|
15776
|
+
},
|
|
15759
15777
|
)
|
|
15760
15778
|
class EndpointConfiguration:
|
|
15761
15779
|
def __init__(
|
|
15762
15780
|
self,
|
|
15763
15781
|
*,
|
|
15764
15782
|
types: typing.Sequence["EndpointType"],
|
|
15783
|
+
ip_address_type: typing.Optional["IpAddressType"] = None,
|
|
15765
15784
|
vpc_endpoints: typing.Optional[typing.Sequence[_IVpcEndpoint_d8ea9bc3]] = None,
|
|
15766
15785
|
) -> None:
|
|
15767
15786
|
'''The endpoint configuration of a REST API, including VPCs and endpoint types.
|
|
@@ -15769,6 +15788,7 @@ class EndpointConfiguration:
|
|
|
15769
15788
|
EndpointConfiguration is a property of the AWS::ApiGateway::RestApi resource.
|
|
15770
15789
|
|
|
15771
15790
|
:param types: A list of endpoint types of an API or its custom domain name. Default: EndpointType.EDGE
|
|
15791
|
+
:param ip_address_type: The IP address types that can invoke the API. Default: undefined - AWS default is DUAL_STACK for private API, IPV4 for all other APIs.
|
|
15772
15792
|
:param vpc_endpoints: A list of VPC Endpoints against which to create Route53 ALIASes. Default: - no ALIASes are created for the endpoint.
|
|
15773
15793
|
|
|
15774
15794
|
:exampleMetadata: infused
|
|
@@ -15788,10 +15808,13 @@ class EndpointConfiguration:
|
|
|
15788
15808
|
if __debug__:
|
|
15789
15809
|
type_hints = typing.get_type_hints(_typecheckingstub__2f3c0216cf00594a10062c97bb84b39e25b55231c15de867663dd59bbbede54a)
|
|
15790
15810
|
check_type(argname="argument types", value=types, expected_type=type_hints["types"])
|
|
15811
|
+
check_type(argname="argument ip_address_type", value=ip_address_type, expected_type=type_hints["ip_address_type"])
|
|
15791
15812
|
check_type(argname="argument vpc_endpoints", value=vpc_endpoints, expected_type=type_hints["vpc_endpoints"])
|
|
15792
15813
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
15793
15814
|
"types": types,
|
|
15794
15815
|
}
|
|
15816
|
+
if ip_address_type is not None:
|
|
15817
|
+
self._values["ip_address_type"] = ip_address_type
|
|
15795
15818
|
if vpc_endpoints is not None:
|
|
15796
15819
|
self._values["vpc_endpoints"] = vpc_endpoints
|
|
15797
15820
|
|
|
@@ -15805,6 +15828,17 @@ class EndpointConfiguration:
|
|
|
15805
15828
|
assert result is not None, "Required property 'types' is missing"
|
|
15806
15829
|
return typing.cast(typing.List["EndpointType"], result)
|
|
15807
15830
|
|
|
15831
|
+
@builtins.property
|
|
15832
|
+
def ip_address_type(self) -> typing.Optional["IpAddressType"]:
|
|
15833
|
+
'''The IP address types that can invoke the API.
|
|
15834
|
+
|
|
15835
|
+
:default: undefined - AWS default is DUAL_STACK for private API, IPV4 for all other APIs.
|
|
15836
|
+
|
|
15837
|
+
:see: https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-ip-address-type.html
|
|
15838
|
+
'''
|
|
15839
|
+
result = self._values.get("ip_address_type")
|
|
15840
|
+
return typing.cast(typing.Optional["IpAddressType"], result)
|
|
15841
|
+
|
|
15808
15842
|
@builtins.property
|
|
15809
15843
|
def vpc_endpoints(self) -> typing.Optional[typing.List[_IVpcEndpoint_d8ea9bc3]]:
|
|
15810
15844
|
'''A list of VPC Endpoints against which to create Route53 ALIASes.
|
|
@@ -18289,6 +18323,28 @@ class IntegrationType(enum.Enum):
|
|
|
18289
18323
|
'''For integrating the API method request with API Gateway as a "loop-back" endpoint without invoking any backend.'''
|
|
18290
18324
|
|
|
18291
18325
|
|
|
18326
|
+
@jsii.enum(jsii_type="aws-cdk-lib.aws_apigateway.IpAddressType")
|
|
18327
|
+
class IpAddressType(enum.Enum):
|
|
18328
|
+
'''Supported IP Address Types.
|
|
18329
|
+
|
|
18330
|
+
:exampleMetadata: infused
|
|
18331
|
+
|
|
18332
|
+
Example::
|
|
18333
|
+
|
|
18334
|
+
api = apigateway.RestApi(self, "api",
|
|
18335
|
+
endpoint_configuration=apigateway.EndpointConfiguration(
|
|
18336
|
+
types=[apigateway.EndpointType.REGIONAL],
|
|
18337
|
+
ip_address_type=apigateway.IpAddressType.DUAL_STACK
|
|
18338
|
+
)
|
|
18339
|
+
)
|
|
18340
|
+
'''
|
|
18341
|
+
|
|
18342
|
+
IPV4 = "IPV4"
|
|
18343
|
+
'''IPv4 address type.'''
|
|
18344
|
+
DUAL_STACK = "DUAL_STACK"
|
|
18345
|
+
'''IPv4 and IPv6 address type.'''
|
|
18346
|
+
|
|
18347
|
+
|
|
18292
18348
|
@jsii.data_type(
|
|
18293
18349
|
jsii_type="aws-cdk-lib.aws_apigateway.JsonSchema",
|
|
18294
18350
|
jsii_struct_bases=[],
|
|
@@ -24585,6 +24641,7 @@ class RestApiBaseProps:
|
|
|
24585
24641
|
types=[apigateway.EndpointType.EDGE],
|
|
24586
24642
|
|
|
24587
24643
|
# the properties below are optional
|
|
24644
|
+
ip_address_type=apigateway.IpAddressType.IPV4,
|
|
24588
24645
|
vpc_endpoints=[vpc_endpoint]
|
|
24589
24646
|
),
|
|
24590
24647
|
endpoint_export_name="endpointExportName",
|
|
@@ -33281,6 +33338,7 @@ __all__ = [
|
|
|
33281
33338
|
"IntegrationProps",
|
|
33282
33339
|
"IntegrationResponse",
|
|
33283
33340
|
"IntegrationType",
|
|
33341
|
+
"IpAddressType",
|
|
33284
33342
|
"JsonSchema",
|
|
33285
33343
|
"JsonSchemaType",
|
|
33286
33344
|
"JsonSchemaVersion",
|
|
@@ -35496,6 +35554,7 @@ def _typecheckingstub__fd56e3d47a950d5babcb79f21442620ade11693af8810f3b0b64fa029
|
|
|
35496
35554
|
def _typecheckingstub__2f3c0216cf00594a10062c97bb84b39e25b55231c15de867663dd59bbbede54a(
|
|
35497
35555
|
*,
|
|
35498
35556
|
types: typing.Sequence[EndpointType],
|
|
35557
|
+
ip_address_type: typing.Optional[IpAddressType] = None,
|
|
35499
35558
|
vpc_endpoints: typing.Optional[typing.Sequence[_IVpcEndpoint_d8ea9bc3]] = None,
|
|
35500
35559
|
) -> None:
|
|
35501
35560
|
"""Type checking stubs"""
|