aws-cdk-lib 2.105.0__py3-none-any.whl → 2.106.1__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 +59 -69
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.105.0.jsii.tgz → aws-cdk-lib@2.106.1.jsii.tgz} +0 -0
- aws_cdk/aws_amplify/__init__.py +12 -12
- aws_cdk/aws_appconfig/__init__.py +25 -11
- aws_cdk/aws_appintegrations/__init__.py +60 -60
- aws_cdk/aws_apprunner/__init__.py +22 -3
- aws_cdk/aws_appstream/__init__.py +12 -5
- aws_cdk/aws_appsync/__init__.py +4 -4
- aws_cdk/aws_autoscaling/__init__.py +8 -0
- aws_cdk/aws_cloudformation/__init__.py +59 -69
- aws_cdk/aws_codepipeline/__init__.py +3 -0
- aws_cdk/aws_cognito/__init__.py +23 -31
- aws_cdk/aws_config/__init__.py +46 -41
- aws_cdk/aws_datapipeline/__init__.py +54 -54
- aws_cdk/aws_directoryservice/__init__.py +45 -45
- aws_cdk/aws_ec2/__init__.py +163 -21
- aws_cdk/aws_ecs/__init__.py +52 -68
- aws_cdk/aws_eks/__init__.py +55 -9
- aws_cdk/aws_entityresolution/__init__.py +9 -0
- aws_cdk/aws_events/__init__.py +0 -8
- aws_cdk/aws_eventschemas/__init__.py +12 -12
- aws_cdk/aws_gamelift/__init__.py +4 -6
- aws_cdk/aws_internetmonitor/__init__.py +12 -10
- aws_cdk/aws_iot/__init__.py +10 -11
- aws_cdk/aws_lakeformation/__init__.py +8 -5
- aws_cdk/aws_lambda/__init__.py +30 -0
- aws_cdk/aws_msk/__init__.py +3 -3
- aws_cdk/aws_networkmanager/__init__.py +1 -1
- aws_cdk/aws_pinpoint/__init__.py +94 -94
- aws_cdk/aws_quicksight/__init__.py +189 -264
- aws_cdk/aws_rds/__init__.py +267 -36
- aws_cdk/aws_rolesanywhere/__init__.py +53 -41
- aws_cdk/aws_route53/__init__.py +3 -7
- aws_cdk/aws_s3/__init__.py +191 -2
- aws_cdk/aws_sam/__init__.py +42 -47
- aws_cdk/aws_servicecatalogappregistry/__init__.py +2 -4
- aws_cdk/aws_ssm/__init__.py +4 -4
- aws_cdk/aws_stepfunctions_tasks/__init__.py +9 -2
- aws_cdk/aws_vpclattice/__init__.py +2 -6
- aws_cdk/aws_wafv2/__init__.py +21 -8
- {aws_cdk_lib-2.105.0.dist-info → aws_cdk_lib-2.106.1.dist-info}/METADATA +3 -3
- {aws_cdk_lib-2.105.0.dist-info → aws_cdk_lib-2.106.1.dist-info}/RECORD +47 -47
- {aws_cdk_lib-2.105.0.dist-info → aws_cdk_lib-2.106.1.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.105.0.dist-info → aws_cdk_lib-2.106.1.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.105.0.dist-info → aws_cdk_lib-2.106.1.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.105.0.dist-info → aws_cdk_lib-2.106.1.dist-info}/top_level.txt +0 -0
aws_cdk/aws_ec2/__init__.py
CHANGED
|
@@ -928,10 +928,19 @@ generic_windows = ec2.MachineImage.generic_windows({
|
|
|
928
928
|
Create your VPC with VPN connections by specifying the `vpnConnections` props (keys are construct `id`s):
|
|
929
929
|
|
|
930
930
|
```python
|
|
931
|
+
from aws_cdk import SecretValue
|
|
932
|
+
|
|
933
|
+
|
|
931
934
|
vpc = ec2.Vpc(self, "MyVpc",
|
|
932
935
|
vpn_connections={
|
|
933
936
|
"dynamic": ec2.VpnConnectionOptions( # Dynamic routing (BGP)
|
|
934
|
-
ip="1.2.3.4"
|
|
937
|
+
ip="1.2.3.4",
|
|
938
|
+
tunnel_options=[ec2.VpnTunnelOption(
|
|
939
|
+
pre_shared_key_secret=SecretValue.unsafe_plain_text("secretkey1234")
|
|
940
|
+
), ec2.VpnTunnelOption(
|
|
941
|
+
pre_shared_key_secret=SecretValue.unsafe_plain_text("secretkey5678")
|
|
942
|
+
)
|
|
943
|
+
]),
|
|
935
944
|
"static": ec2.VpnConnectionOptions( # Static routing
|
|
936
945
|
ip="4.5.6.7",
|
|
937
946
|
static_routes=["192.168.10.0/24", "192.168.20.0/24"
|
|
@@ -1821,6 +1830,20 @@ ec2.FlowLog(self, "FlowLogWithKeyPrefix",
|
|
|
1821
1830
|
)
|
|
1822
1831
|
```
|
|
1823
1832
|
|
|
1833
|
+
*Kinesis Data Firehose*
|
|
1834
|
+
|
|
1835
|
+
```python
|
|
1836
|
+
import aws_cdk.aws_kinesisfirehose as firehose
|
|
1837
|
+
|
|
1838
|
+
# vpc: ec2.Vpc
|
|
1839
|
+
# delivery_stream: firehose.CfnDeliveryStream
|
|
1840
|
+
|
|
1841
|
+
|
|
1842
|
+
vpc.add_flow_log("FlowLogsKinesisDataFirehose",
|
|
1843
|
+
destination=ec2.FlowLogDestination.to_kinesis_data_firehose_destination(delivery_stream.attr_arn)
|
|
1844
|
+
)
|
|
1845
|
+
```
|
|
1846
|
+
|
|
1824
1847
|
When the S3 destination is configured, AWS will automatically create an S3 bucket policy
|
|
1825
1848
|
that allows the service to write logs to the bucket. This makes it impossible to later update
|
|
1826
1849
|
that bucket policy. To have CDK create the bucket policy so that future updates can be made,
|
|
@@ -15567,7 +15590,8 @@ class CfnIPAM(
|
|
|
15567
15590
|
tags=[CfnTag(
|
|
15568
15591
|
key="key",
|
|
15569
15592
|
value="value"
|
|
15570
|
-
)]
|
|
15593
|
+
)],
|
|
15594
|
+
tier="tier"
|
|
15571
15595
|
)
|
|
15572
15596
|
'''
|
|
15573
15597
|
|
|
@@ -15579,6 +15603,7 @@ class CfnIPAM(
|
|
|
15579
15603
|
description: typing.Optional[builtins.str] = None,
|
|
15580
15604
|
operating_regions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnIPAM.IpamOperatingRegionProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
15581
15605
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15606
|
+
tier: typing.Optional[builtins.str] = None,
|
|
15582
15607
|
) -> None:
|
|
15583
15608
|
'''
|
|
15584
15609
|
:param scope: Scope in which this resource is defined.
|
|
@@ -15586,13 +15611,17 @@ class CfnIPAM(
|
|
|
15586
15611
|
:param description: The description for the IPAM.
|
|
15587
15612
|
:param operating_regions: The operating Regions for an IPAM. Operating Regions are AWS Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only discovers and monitors resources in the AWS Regions you select as operating Regions. For more information about operating Regions, see `Create an IPAM <https://docs.aws.amazon.com//vpc/latest/ipam/create-ipam.html>`_ in the *Amazon VPC IPAM User Guide* .
|
|
15588
15613
|
:param tags: The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key ``Owner`` and the value ``TeamA`` , specify ``tag:Owner`` for the filter name and ``TeamA`` for the filter value.
|
|
15614
|
+
:param tier: The tier of the IPAM.
|
|
15589
15615
|
'''
|
|
15590
15616
|
if __debug__:
|
|
15591
15617
|
type_hints = typing.get_type_hints(_typecheckingstub__5dd8d015864426e689ac2f72f1fdd70371d242931964ab4d571ea56017f00045)
|
|
15592
15618
|
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
15593
15619
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
15594
15620
|
props = CfnIPAMProps(
|
|
15595
|
-
description=description,
|
|
15621
|
+
description=description,
|
|
15622
|
+
operating_regions=operating_regions,
|
|
15623
|
+
tags=tags,
|
|
15624
|
+
tier=tier,
|
|
15596
15625
|
)
|
|
15597
15626
|
|
|
15598
15627
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
@@ -15754,6 +15783,19 @@ class CfnIPAM(
|
|
|
15754
15783
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
15755
15784
|
jsii.set(self, "tagsRaw", value)
|
|
15756
15785
|
|
|
15786
|
+
@builtins.property
|
|
15787
|
+
@jsii.member(jsii_name="tier")
|
|
15788
|
+
def tier(self) -> typing.Optional[builtins.str]:
|
|
15789
|
+
'''The tier of the IPAM.'''
|
|
15790
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "tier"))
|
|
15791
|
+
|
|
15792
|
+
@tier.setter
|
|
15793
|
+
def tier(self, value: typing.Optional[builtins.str]) -> None:
|
|
15794
|
+
if __debug__:
|
|
15795
|
+
type_hints = typing.get_type_hints(_typecheckingstub__2c8cecf24bfc36bfa727b2bcc8526f504fce30463cb6dcc5d49d5b9d67749d5e)
|
|
15796
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
15797
|
+
jsii.set(self, "tier", value)
|
|
15798
|
+
|
|
15757
15799
|
@jsii.data_type(
|
|
15758
15800
|
jsii_type="aws-cdk-lib.aws_ec2.CfnIPAM.IpamOperatingRegionProperty",
|
|
15759
15801
|
jsii_struct_bases=[],
|
|
@@ -17179,6 +17221,7 @@ class CfnIPAMPoolProps:
|
|
|
17179
17221
|
"description": "description",
|
|
17180
17222
|
"operating_regions": "operatingRegions",
|
|
17181
17223
|
"tags": "tags",
|
|
17224
|
+
"tier": "tier",
|
|
17182
17225
|
},
|
|
17183
17226
|
)
|
|
17184
17227
|
class CfnIPAMProps:
|
|
@@ -17188,12 +17231,14 @@ class CfnIPAMProps:
|
|
|
17188
17231
|
description: typing.Optional[builtins.str] = None,
|
|
17189
17232
|
operating_regions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnIPAM.IpamOperatingRegionProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
17190
17233
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
17234
|
+
tier: typing.Optional[builtins.str] = None,
|
|
17191
17235
|
) -> None:
|
|
17192
17236
|
'''Properties for defining a ``CfnIPAM``.
|
|
17193
17237
|
|
|
17194
17238
|
:param description: The description for the IPAM.
|
|
17195
17239
|
:param operating_regions: The operating Regions for an IPAM. Operating Regions are AWS Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only discovers and monitors resources in the AWS Regions you select as operating Regions. For more information about operating Regions, see `Create an IPAM <https://docs.aws.amazon.com//vpc/latest/ipam/create-ipam.html>`_ in the *Amazon VPC IPAM User Guide* .
|
|
17196
17240
|
:param tags: The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key ``Owner`` and the value ``TeamA`` , specify ``tag:Owner`` for the filter name and ``TeamA`` for the filter value.
|
|
17241
|
+
:param tier: The tier of the IPAM.
|
|
17197
17242
|
|
|
17198
17243
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-ipam.html
|
|
17199
17244
|
:exampleMetadata: fixture=_generated
|
|
@@ -17212,7 +17257,8 @@ class CfnIPAMProps:
|
|
|
17212
17257
|
tags=[CfnTag(
|
|
17213
17258
|
key="key",
|
|
17214
17259
|
value="value"
|
|
17215
|
-
)]
|
|
17260
|
+
)],
|
|
17261
|
+
tier="tier"
|
|
17216
17262
|
)
|
|
17217
17263
|
'''
|
|
17218
17264
|
if __debug__:
|
|
@@ -17220,6 +17266,7 @@ class CfnIPAMProps:
|
|
|
17220
17266
|
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
17221
17267
|
check_type(argname="argument operating_regions", value=operating_regions, expected_type=type_hints["operating_regions"])
|
|
17222
17268
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
17269
|
+
check_type(argname="argument tier", value=tier, expected_type=type_hints["tier"])
|
|
17223
17270
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
17224
17271
|
if description is not None:
|
|
17225
17272
|
self._values["description"] = description
|
|
@@ -17227,6 +17274,8 @@ class CfnIPAMProps:
|
|
|
17227
17274
|
self._values["operating_regions"] = operating_regions
|
|
17228
17275
|
if tags is not None:
|
|
17229
17276
|
self._values["tags"] = tags
|
|
17277
|
+
if tier is not None:
|
|
17278
|
+
self._values["tier"] = tier
|
|
17230
17279
|
|
|
17231
17280
|
@builtins.property
|
|
17232
17281
|
def description(self) -> typing.Optional[builtins.str]:
|
|
@@ -17263,6 +17312,15 @@ class CfnIPAMProps:
|
|
|
17263
17312
|
result = self._values.get("tags")
|
|
17264
17313
|
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
|
|
17265
17314
|
|
|
17315
|
+
@builtins.property
|
|
17316
|
+
def tier(self) -> typing.Optional[builtins.str]:
|
|
17317
|
+
'''The tier of the IPAM.
|
|
17318
|
+
|
|
17319
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-ipam.html#cfn-ec2-ipam-tier
|
|
17320
|
+
'''
|
|
17321
|
+
result = self._values.get("tier")
|
|
17322
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
17323
|
+
|
|
17266
17324
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
17267
17325
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
17268
17326
|
|
|
@@ -55496,12 +55554,13 @@ class CfnVPCGatewayAttachment(
|
|
|
55496
55554
|
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
55497
55555
|
|
|
55498
55556
|
@builtins.property
|
|
55499
|
-
@jsii.member(jsii_name="
|
|
55500
|
-
def
|
|
55501
|
-
'''
|
|
55502
|
-
|
|
55557
|
+
@jsii.member(jsii_name="attrAttachmentType")
|
|
55558
|
+
def attr_attachment_type(self) -> builtins.str:
|
|
55559
|
+
'''Used to identify if this resource is an Internet Gateway or Vpn Gateway Attachment.
|
|
55560
|
+
|
|
55561
|
+
:cloudformationAttribute: AttachmentType
|
|
55503
55562
|
'''
|
|
55504
|
-
return typing.cast(builtins.str, jsii.get(self, "
|
|
55563
|
+
return typing.cast(builtins.str, jsii.get(self, "attrAttachmentType"))
|
|
55505
55564
|
|
|
55506
55565
|
@builtins.property
|
|
55507
55566
|
@jsii.member(jsii_name="cfnProperties")
|
|
@@ -64031,6 +64090,21 @@ class FlowLogDestination(
|
|
|
64031
64090
|
check_type(argname="argument iam_role", value=iam_role, expected_type=type_hints["iam_role"])
|
|
64032
64091
|
return typing.cast("FlowLogDestination", jsii.sinvoke(cls, "toCloudWatchLogs", [log_group, iam_role]))
|
|
64033
64092
|
|
|
64093
|
+
@jsii.member(jsii_name="toKinesisDataFirehoseDestination")
|
|
64094
|
+
@builtins.classmethod
|
|
64095
|
+
def to_kinesis_data_firehose_destination(
|
|
64096
|
+
cls,
|
|
64097
|
+
delivery_stream_arn: builtins.str,
|
|
64098
|
+
) -> "FlowLogDestination":
|
|
64099
|
+
'''Use Kinesis Data Firehose as the destination.
|
|
64100
|
+
|
|
64101
|
+
:param delivery_stream_arn: the ARN of Kinesis Data Firehose delivery stream to publish logs to.
|
|
64102
|
+
'''
|
|
64103
|
+
if __debug__:
|
|
64104
|
+
type_hints = typing.get_type_hints(_typecheckingstub__b3ea932697fa6e2a914a77fa81659cb98c5eed106039fb226a25f275e5820211)
|
|
64105
|
+
check_type(argname="argument delivery_stream_arn", value=delivery_stream_arn, expected_type=type_hints["delivery_stream_arn"])
|
|
64106
|
+
return typing.cast("FlowLogDestination", jsii.sinvoke(cls, "toKinesisDataFirehoseDestination", [delivery_stream_arn]))
|
|
64107
|
+
|
|
64034
64108
|
@jsii.member(jsii_name="toS3")
|
|
64035
64109
|
@builtins.classmethod
|
|
64036
64110
|
def to_s3(
|
|
@@ -64104,6 +64178,7 @@ typing.cast(typing.Any, FlowLogDestination).__jsii_proxy_class__ = lambda : _Flo
|
|
|
64104
64178
|
jsii_struct_bases=[],
|
|
64105
64179
|
name_mapping={
|
|
64106
64180
|
"log_destination_type": "logDestinationType",
|
|
64181
|
+
"delivery_stream_arn": "deliveryStreamArn",
|
|
64107
64182
|
"destination_options": "destinationOptions",
|
|
64108
64183
|
"iam_role": "iamRole",
|
|
64109
64184
|
"key_prefix": "keyPrefix",
|
|
@@ -64116,6 +64191,7 @@ class FlowLogDestinationConfig:
|
|
|
64116
64191
|
self,
|
|
64117
64192
|
*,
|
|
64118
64193
|
log_destination_type: "FlowLogDestinationType",
|
|
64194
|
+
delivery_stream_arn: typing.Optional[builtins.str] = None,
|
|
64119
64195
|
destination_options: typing.Optional[typing.Union["DestinationOptions", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
64120
64196
|
iam_role: typing.Optional[_IRole_235f5d8e] = None,
|
|
64121
64197
|
key_prefix: typing.Optional[builtins.str] = None,
|
|
@@ -64125,6 +64201,7 @@ class FlowLogDestinationConfig:
|
|
|
64125
64201
|
'''Flow Log Destination configuration.
|
|
64126
64202
|
|
|
64127
64203
|
:param log_destination_type: The type of destination to publish the flow logs to. Default: - CLOUD_WATCH_LOGS
|
|
64204
|
+
:param delivery_stream_arn: The ARN of Kinesis Data Firehose delivery stream to publish the flow logs to. Default: - undefined
|
|
64128
64205
|
:param destination_options: Options for writing flow logs to a supported destination. Default: - undefined
|
|
64129
64206
|
:param iam_role: The IAM Role that has access to publish to CloudWatch logs. Default: - default IAM role is created for you
|
|
64130
64207
|
:param key_prefix: S3 bucket key prefix to publish the flow logs to. Default: - undefined
|
|
@@ -64150,6 +64227,7 @@ class FlowLogDestinationConfig:
|
|
|
64150
64227
|
log_destination_type=ec2.FlowLogDestinationType.CLOUD_WATCH_LOGS,
|
|
64151
64228
|
|
|
64152
64229
|
# the properties below are optional
|
|
64230
|
+
delivery_stream_arn="deliveryStreamArn",
|
|
64153
64231
|
destination_options=ec2.DestinationOptions(
|
|
64154
64232
|
file_format=ec2.FlowLogFileFormat.PLAIN_TEXT,
|
|
64155
64233
|
hive_compatible_partitions=False,
|
|
@@ -64166,6 +64244,7 @@ class FlowLogDestinationConfig:
|
|
|
64166
64244
|
if __debug__:
|
|
64167
64245
|
type_hints = typing.get_type_hints(_typecheckingstub__ba6998f7072b44609280cd797e9230fb710a52e9376635e4a577c44a0389bdd6)
|
|
64168
64246
|
check_type(argname="argument log_destination_type", value=log_destination_type, expected_type=type_hints["log_destination_type"])
|
|
64247
|
+
check_type(argname="argument delivery_stream_arn", value=delivery_stream_arn, expected_type=type_hints["delivery_stream_arn"])
|
|
64169
64248
|
check_type(argname="argument destination_options", value=destination_options, expected_type=type_hints["destination_options"])
|
|
64170
64249
|
check_type(argname="argument iam_role", value=iam_role, expected_type=type_hints["iam_role"])
|
|
64171
64250
|
check_type(argname="argument key_prefix", value=key_prefix, expected_type=type_hints["key_prefix"])
|
|
@@ -64174,6 +64253,8 @@ class FlowLogDestinationConfig:
|
|
|
64174
64253
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
64175
64254
|
"log_destination_type": log_destination_type,
|
|
64176
64255
|
}
|
|
64256
|
+
if delivery_stream_arn is not None:
|
|
64257
|
+
self._values["delivery_stream_arn"] = delivery_stream_arn
|
|
64177
64258
|
if destination_options is not None:
|
|
64178
64259
|
self._values["destination_options"] = destination_options
|
|
64179
64260
|
if iam_role is not None:
|
|
@@ -64195,6 +64276,15 @@ class FlowLogDestinationConfig:
|
|
|
64195
64276
|
assert result is not None, "Required property 'log_destination_type' is missing"
|
|
64196
64277
|
return typing.cast("FlowLogDestinationType", result)
|
|
64197
64278
|
|
|
64279
|
+
@builtins.property
|
|
64280
|
+
def delivery_stream_arn(self) -> typing.Optional[builtins.str]:
|
|
64281
|
+
'''The ARN of Kinesis Data Firehose delivery stream to publish the flow logs to.
|
|
64282
|
+
|
|
64283
|
+
:default: - undefined
|
|
64284
|
+
'''
|
|
64285
|
+
result = self._values.get("delivery_stream_arn")
|
|
64286
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
64287
|
+
|
|
64198
64288
|
@builtins.property
|
|
64199
64289
|
def destination_options(self) -> typing.Optional["DestinationOptions"]:
|
|
64200
64290
|
'''Options for writing flow logs to a supported destination.
|
|
@@ -64260,6 +64350,8 @@ class FlowLogDestinationType(enum.Enum):
|
|
|
64260
64350
|
'''Send flow logs to CloudWatch Logs Group.'''
|
|
64261
64351
|
S3 = "S3"
|
|
64262
64352
|
'''Send flow logs to S3 Bucket.'''
|
|
64353
|
+
KINESIS_DATA_FIREHOSE = "KINESIS_DATA_FIREHOSE"
|
|
64354
|
+
'''Send flow logs to Kinesis Data Firehose.'''
|
|
64263
64355
|
|
|
64264
64356
|
|
|
64265
64357
|
@jsii.enum(jsii_type="aws-cdk-lib.aws_ec2.FlowLogFileFormat")
|
|
@@ -69936,10 +70028,18 @@ class InstanceClass(enum.Enum):
|
|
|
69936
70028
|
|
|
69937
70029
|
This instance class is currently only available in US East (Ohio), US East (N. Virginia), US West (Oregon), and Europe (Ireland).
|
|
69938
70030
|
'''
|
|
70031
|
+
MEMORY7_INTEL_BASE = "MEMORY7_INTEL_BASE"
|
|
70032
|
+
'''Memory optimized instances based on Intel Xeon Scalable (Sapphire Rapids) processors, 7th generation w/ 3.2GHz turbo frequency.'''
|
|
70033
|
+
R7I = "R7I"
|
|
70034
|
+
'''Memory optimized instances based on Intel Xeon Scalable (Sapphire Rapids) processors, 7th generation w/ 3.2GHz turbo frequency.'''
|
|
69939
70035
|
MEMORY7_INTEL = "MEMORY7_INTEL"
|
|
69940
|
-
'''Memory optimized instances based on Intel Xeon Scalable (Sapphire Rapids) processors, 7th generation.'''
|
|
70036
|
+
'''Memory optimized instances based on Intel Xeon Scalable (Sapphire Rapids) processors, 7th generation, with sustained 3.9GHz turbo frequency.'''
|
|
69941
70037
|
R7IZ = "R7IZ"
|
|
69942
|
-
'''Memory optimized instances based on Intel Xeon Scalable (Sapphire Rapids) processors, 7th generation.'''
|
|
70038
|
+
'''Memory optimized instances based on Intel Xeon Scalable (Sapphire Rapids) processors, 7th generation, with sustained 3.9GHz turbo frequency.'''
|
|
70039
|
+
MEMORY7_AMD = "MEMORY7_AMD"
|
|
70040
|
+
'''Memory optimized instances based on 4th generation AMD EPYC (codename Genoa), 7th generation.'''
|
|
70041
|
+
R7A = "R7A"
|
|
70042
|
+
'''Memory optimized instances based on 4th generation AMD EPYC (codename Genoa), 7th generation.'''
|
|
69943
70043
|
COMPUTE3 = "COMPUTE3"
|
|
69944
70044
|
'''Compute optimized instances, 3rd generation.'''
|
|
69945
70045
|
C3 = "C3"
|
|
@@ -70018,6 +70118,10 @@ class InstanceClass(enum.Enum):
|
|
|
70018
70118
|
'''Compute optimized instances based on Intel Xeon Scalable (Sapphire Rapids) processors, 7th generation.'''
|
|
70019
70119
|
C7I = "C7I"
|
|
70020
70120
|
'''Compute optimized instances based on Intel Xeon Scalable (Sapphire Rapids) processors, 7th generation.'''
|
|
70121
|
+
COMPUTE7_AMD = "COMPUTE7_AMD"
|
|
70122
|
+
'''Compute optimized instances based on 4th generation AMD EPYC (codename Genoa), 7th generation.'''
|
|
70123
|
+
C7A = "C7A"
|
|
70124
|
+
'''Compute optimized instances based on 4th generation AMD EPYC (codename Genoa), 7th generation.'''
|
|
70021
70125
|
STORAGE2 = "STORAGE2"
|
|
70022
70126
|
'''Storage-optimized instances, 2nd generation.'''
|
|
70023
70127
|
D2 = "D2"
|
|
@@ -70226,6 +70330,10 @@ class InstanceClass(enum.Enum):
|
|
|
70226
70330
|
'''Flexible instances with high memory and compute capacity based on Intel Xeon Scalable (Sapphire Rapids) processors, 7th generation The M7i-Flex instances deliver a baseline of 40% CPU performance, and can scale up to full CPU performance 95% of the time.'''
|
|
70227
70331
|
M7I_FLEX = "M7I_FLEX"
|
|
70228
70332
|
'''Flexible instances with high memory and compute capacity based on Intel Xeon Scalable (Sapphire Rapids) processors, 7th generation The M7i-Flex instances deliver a baseline of 40% CPU performance, and can scale up to full CPU performance 95% of the time.'''
|
|
70333
|
+
STANDARD7_AMD = "STANDARD7_AMD"
|
|
70334
|
+
'''Standard instances based on 4th generation AMD EPYC (codename Genoa), 7th generation.'''
|
|
70335
|
+
M7A = "M7A"
|
|
70336
|
+
'''Standard instances based on 4th generation AMD EPYC (codename Genoa), 7th generation.'''
|
|
70229
70337
|
HIGH_COMPUTE_MEMORY1 = "HIGH_COMPUTE_MEMORY1"
|
|
70230
70338
|
'''High memory and compute capacity instances, 1st generation.'''
|
|
70231
70339
|
Z1D = "Z1D"
|
|
@@ -71314,11 +71422,21 @@ class InterfaceVpcEndpointAwsService(
|
|
|
71314
71422
|
@jsii.python.classproperty
|
|
71315
71423
|
@jsii.member(jsii_name="CLOUDWATCH")
|
|
71316
71424
|
def CLOUDWATCH(cls) -> "InterfaceVpcEndpointAwsService":
|
|
71425
|
+
'''
|
|
71426
|
+
:deprecated: - Use InterfaceVpcEndpointAwsService.CLOUDWATCH_MONITORING instead.
|
|
71427
|
+
|
|
71428
|
+
:stability: deprecated
|
|
71429
|
+
'''
|
|
71317
71430
|
return typing.cast("InterfaceVpcEndpointAwsService", jsii.sget(cls, "CLOUDWATCH"))
|
|
71318
71431
|
|
|
71319
71432
|
@jsii.python.classproperty
|
|
71320
71433
|
@jsii.member(jsii_name="CLOUDWATCH_EVENTS")
|
|
71321
71434
|
def CLOUDWATCH_EVENTS(cls) -> "InterfaceVpcEndpointAwsService":
|
|
71435
|
+
'''
|
|
71436
|
+
:deprecated: - Use InterfaceVpcEndpointAwsService.EVENTBRIDGE instead.
|
|
71437
|
+
|
|
71438
|
+
:stability: deprecated
|
|
71439
|
+
'''
|
|
71322
71440
|
return typing.cast("InterfaceVpcEndpointAwsService", jsii.sget(cls, "CLOUDWATCH_EVENTS"))
|
|
71323
71441
|
|
|
71324
71442
|
@jsii.python.classproperty
|
|
@@ -72089,6 +72207,11 @@ class InterfaceVpcEndpointAwsService(
|
|
|
72089
72207
|
@jsii.python.classproperty
|
|
72090
72208
|
@jsii.member(jsii_name="SES")
|
|
72091
72209
|
def SES(cls) -> "InterfaceVpcEndpointAwsService":
|
|
72210
|
+
'''
|
|
72211
|
+
:deprecated: - Use InterfaceVpcEndpointAwsService.EMAIL_SMTP instead.
|
|
72212
|
+
|
|
72213
|
+
:stability: deprecated
|
|
72214
|
+
'''
|
|
72092
72215
|
return typing.cast("InterfaceVpcEndpointAwsService", jsii.sget(cls, "SES"))
|
|
72093
72216
|
|
|
72094
72217
|
@jsii.python.classproperty
|
|
@@ -83642,20 +83765,18 @@ class VpnConnectionOptions:
|
|
|
83642
83765
|
:param static_routes: The static routes to be routed from the VPN gateway to the customer gateway. Default: Dynamic routing (BGP)
|
|
83643
83766
|
:param tunnel_options: The tunnel options for the VPN connection. At most two elements (one per tunnel). Duplicates not allowed. Default: Amazon generated tunnel options
|
|
83644
83767
|
|
|
83645
|
-
:exampleMetadata: infused
|
|
83768
|
+
:exampleMetadata: fixture=with-vpc infused
|
|
83646
83769
|
|
|
83647
83770
|
Example::
|
|
83648
83771
|
|
|
83649
|
-
|
|
83650
|
-
|
|
83651
|
-
|
|
83652
|
-
|
|
83653
|
-
|
|
83654
|
-
|
|
83655
|
-
static_routes=["192.168.10.0/24", "192.168.20.0/24"
|
|
83656
|
-
])
|
|
83657
|
-
}
|
|
83772
|
+
# Across all tunnels in the account/region
|
|
83773
|
+
all_data_out = ec2.VpnConnection.metric_all_tunnel_data_out()
|
|
83774
|
+
|
|
83775
|
+
# For a specific vpn connection
|
|
83776
|
+
vpn_connection = vpc.add_vpn_connection("Dynamic",
|
|
83777
|
+
ip="1.2.3.4"
|
|
83658
83778
|
)
|
|
83779
|
+
state = vpn_connection.metric_tunnel_state()
|
|
83659
83780
|
'''
|
|
83660
83781
|
if __debug__:
|
|
83661
83782
|
type_hints = typing.get_type_hints(_typecheckingstub__ff732227dca01f55f135b6bdb24565135067d5dad83456915cda99ffe9a2f9be)
|
|
@@ -86168,6 +86289,12 @@ class FlowLog(
|
|
|
86168
86289
|
'''The S3 bucket to publish flow logs to.'''
|
|
86169
86290
|
return typing.cast(typing.Optional[_IBucket_42e086fd], jsii.get(self, "bucket"))
|
|
86170
86291
|
|
|
86292
|
+
@builtins.property
|
|
86293
|
+
@jsii.member(jsii_name="deliveryStreamArn")
|
|
86294
|
+
def delivery_stream_arn(self) -> typing.Optional[builtins.str]:
|
|
86295
|
+
'''The ARN of the Kinesis Data Firehose delivery stream to publish flow logs to.'''
|
|
86296
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "deliveryStreamArn"))
|
|
86297
|
+
|
|
86171
86298
|
@builtins.property
|
|
86172
86299
|
@jsii.member(jsii_name="iamRole")
|
|
86173
86300
|
def iam_role(self) -> typing.Optional[_IRole_235f5d8e]:
|
|
@@ -91713,6 +91840,7 @@ def _typecheckingstub__5dd8d015864426e689ac2f72f1fdd70371d242931964ab4d571ea5601
|
|
|
91713
91840
|
description: typing.Optional[builtins.str] = None,
|
|
91714
91841
|
operating_regions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnIPAM.IpamOperatingRegionProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
91715
91842
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
91843
|
+
tier: typing.Optional[builtins.str] = None,
|
|
91716
91844
|
) -> None:
|
|
91717
91845
|
"""Type checking stubs"""
|
|
91718
91846
|
pass
|
|
@@ -91747,6 +91875,12 @@ def _typecheckingstub__6e1f584e5fc1ac961e5449d71a22aa5c200ae3632e3bd5a9caba51ea5
|
|
|
91747
91875
|
"""Type checking stubs"""
|
|
91748
91876
|
pass
|
|
91749
91877
|
|
|
91878
|
+
def _typecheckingstub__2c8cecf24bfc36bfa727b2bcc8526f504fce30463cb6dcc5d49d5b9d67749d5e(
|
|
91879
|
+
value: typing.Optional[builtins.str],
|
|
91880
|
+
) -> None:
|
|
91881
|
+
"""Type checking stubs"""
|
|
91882
|
+
pass
|
|
91883
|
+
|
|
91750
91884
|
def _typecheckingstub__76ae7ea9478fca86299eafd84b20c22db0b753cea0096278a3be708fdccb0c7d(
|
|
91751
91885
|
*,
|
|
91752
91886
|
region_name: builtins.str,
|
|
@@ -92020,6 +92154,7 @@ def _typecheckingstub__f1252b3f41198f9c0d9b0c751334626e1084e0106d3be9d92d7720073
|
|
|
92020
92154
|
description: typing.Optional[builtins.str] = None,
|
|
92021
92155
|
operating_regions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnIPAM.IpamOperatingRegionProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
92022
92156
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
92157
|
+
tier: typing.Optional[builtins.str] = None,
|
|
92023
92158
|
) -> None:
|
|
92024
92159
|
"""Type checking stubs"""
|
|
92025
92160
|
pass
|
|
@@ -98749,6 +98884,12 @@ def _typecheckingstub__e81eb717688593829094f61ef25c08b527f0c126ef12a4f4501f14ff1
|
|
|
98749
98884
|
"""Type checking stubs"""
|
|
98750
98885
|
pass
|
|
98751
98886
|
|
|
98887
|
+
def _typecheckingstub__b3ea932697fa6e2a914a77fa81659cb98c5eed106039fb226a25f275e5820211(
|
|
98888
|
+
delivery_stream_arn: builtins.str,
|
|
98889
|
+
) -> None:
|
|
98890
|
+
"""Type checking stubs"""
|
|
98891
|
+
pass
|
|
98892
|
+
|
|
98752
98893
|
def _typecheckingstub__79cf07d488e6d092fa437a996f1a5bdfa11272e368448e3cf26aafe3fdaba2a7(
|
|
98753
98894
|
bucket: typing.Optional[_IBucket_42e086fd] = None,
|
|
98754
98895
|
key_prefix: typing.Optional[builtins.str] = None,
|
|
@@ -98770,6 +98911,7 @@ def _typecheckingstub__6de3e83d4f326681c20b1dcb1ee71d599559b05ce0028cfc61d592f89
|
|
|
98770
98911
|
def _typecheckingstub__ba6998f7072b44609280cd797e9230fb710a52e9376635e4a577c44a0389bdd6(
|
|
98771
98912
|
*,
|
|
98772
98913
|
log_destination_type: FlowLogDestinationType,
|
|
98914
|
+
delivery_stream_arn: typing.Optional[builtins.str] = None,
|
|
98773
98915
|
destination_options: typing.Optional[typing.Union[DestinationOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
98774
98916
|
iam_role: typing.Optional[_IRole_235f5d8e] = None,
|
|
98775
98917
|
key_prefix: typing.Optional[builtins.str] = None,
|