aws-cdk-lib 2.206.0__py3-none-any.whl → 2.208.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 +96 -15
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.206.0.jsii.tgz → aws-cdk-lib@2.208.0.jsii.tgz} +0 -0
- aws_cdk/aws_aiops/__init__.py +70 -76
- aws_cdk/aws_amazonmq/__init__.py +8 -18
- aws_cdk/aws_appstream/__init__.py +36 -4
- aws_cdk/aws_autoscaling/__init__.py +20 -0
- aws_cdk/aws_bedrock/__init__.py +317 -142
- aws_cdk/aws_certificatemanager/__init__.py +48 -3
- aws_cdk/aws_cleanrooms/__init__.py +6 -2
- aws_cdk/aws_cloudformation/__init__.py +28 -15
- aws_cdk/aws_cloudfront/__init__.py +12 -2
- aws_cdk/aws_cloudwatch/__init__.py +574 -33
- aws_cdk/aws_connect/__init__.py +107 -3
- aws_cdk/aws_customerprofiles/__init__.py +27 -22
- aws_cdk/aws_datasync/__init__.py +14 -15
- aws_cdk/aws_docdb/__init__.py +5 -3
- aws_cdk/aws_ec2/__init__.py +59 -13
- aws_cdk/aws_ecs/__init__.py +185 -47
- aws_cdk/aws_events/__init__.py +142 -0
- aws_cdk/aws_gamelift/__init__.py +2 -2
- aws_cdk/aws_guardduty/__init__.py +86 -0
- aws_cdk/aws_iotsitewise/__init__.py +13 -9
- aws_cdk/aws_kinesisfirehose/__init__.py +377 -4
- aws_cdk/aws_kms/__init__.py +19 -17
- aws_cdk/aws_logs/__init__.py +4775 -764
- aws_cdk/aws_mediapackagev2/__init__.py +950 -48
- aws_cdk/aws_omics/__init__.py +13 -10
- aws_cdk/aws_opsworkscm/__init__.py +2 -4
- aws_cdk/aws_quicksight/__init__.py +111 -4
- aws_cdk/aws_rds/__init__.py +358 -27
- aws_cdk/aws_s3/__init__.py +781 -8
- aws_cdk/aws_s3express/__init__.py +61 -3
- aws_cdk/aws_s3tables/__init__.py +254 -0
- aws_cdk/aws_sagemaker/__init__.py +527 -140
- aws_cdk/aws_ssm/__init__.py +106 -33
- aws_cdk/aws_transfer/__init__.py +70 -11
- aws_cdk/aws_wisdom/__init__.py +1185 -100
- {aws_cdk_lib-2.206.0.dist-info → aws_cdk_lib-2.208.0.dist-info}/METADATA +2 -2
- {aws_cdk_lib-2.206.0.dist-info → aws_cdk_lib-2.208.0.dist-info}/RECORD +44 -44
- {aws_cdk_lib-2.206.0.dist-info → aws_cdk_lib-2.208.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.206.0.dist-info → aws_cdk_lib-2.208.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.206.0.dist-info → aws_cdk_lib-2.208.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.206.0.dist-info → aws_cdk_lib-2.208.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_ec2/__init__.py
CHANGED
|
@@ -5924,9 +5924,9 @@ class CfnCapacityReservation(
|
|
|
5924
5924
|
'''
|
|
5925
5925
|
:param scope: Scope in which this resource is defined.
|
|
5926
5926
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
5927
|
-
:param instance_count: The number of instances for which to reserve capacity. .. epigraph:: You can request future-dated Capacity Reservations for an instance count with a minimum of
|
|
5927
|
+
:param instance_count: The number of instances for which to reserve capacity. .. epigraph:: You can request future-dated Capacity Reservations for an instance count with a minimum of 64 vCPUs. For example, if you request a future-dated Capacity Reservation for ``m5.xlarge`` instances, you must request at least 25 instances ( *16 * m5.xlarge = 64 vCPUs* ). Valid range: 1 - 1000
|
|
5928
5928
|
:param instance_platform: The type of operating system for which to reserve capacity.
|
|
5929
|
-
:param instance_type: The instance type for which to reserve capacity. .. epigraph:: You can request future-dated Capacity Reservations for instance types in the C, M, R, I, and
|
|
5929
|
+
:param instance_type: The instance type for which to reserve capacity. .. epigraph:: You can request future-dated Capacity Reservations for instance types in the C, M, R, I, T, and G instance families only. For more information, see `Instance types <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html>`_ in the *Amazon EC2 User Guide* .
|
|
5930
5930
|
:param availability_zone: The Availability Zone in which to create the Capacity Reservation.
|
|
5931
5931
|
:param availability_zone_id: The Availability Zone ID of the Capacity Reservation.
|
|
5932
5932
|
:param ebs_optimized: Indicates whether the Capacity Reservation supports EBS-optimized instances. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS- optimized instance.
|
|
@@ -7427,9 +7427,9 @@ class CfnCapacityReservationProps:
|
|
|
7427
7427
|
) -> None:
|
|
7428
7428
|
'''Properties for defining a ``CfnCapacityReservation``.
|
|
7429
7429
|
|
|
7430
|
-
:param instance_count: The number of instances for which to reserve capacity. .. epigraph:: You can request future-dated Capacity Reservations for an instance count with a minimum of
|
|
7430
|
+
:param instance_count: The number of instances for which to reserve capacity. .. epigraph:: You can request future-dated Capacity Reservations for an instance count with a minimum of 64 vCPUs. For example, if you request a future-dated Capacity Reservation for ``m5.xlarge`` instances, you must request at least 25 instances ( *16 * m5.xlarge = 64 vCPUs* ). Valid range: 1 - 1000
|
|
7431
7431
|
:param instance_platform: The type of operating system for which to reserve capacity.
|
|
7432
|
-
:param instance_type: The instance type for which to reserve capacity. .. epigraph:: You can request future-dated Capacity Reservations for instance types in the C, M, R, I, and
|
|
7432
|
+
:param instance_type: The instance type for which to reserve capacity. .. epigraph:: You can request future-dated Capacity Reservations for instance types in the C, M, R, I, T, and G instance families only. For more information, see `Instance types <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html>`_ in the *Amazon EC2 User Guide* .
|
|
7433
7433
|
:param availability_zone: The Availability Zone in which to create the Capacity Reservation.
|
|
7434
7434
|
:param availability_zone_id: The Availability Zone ID of the Capacity Reservation.
|
|
7435
7435
|
:param ebs_optimized: Indicates whether the Capacity Reservation supports EBS-optimized instances. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS- optimized instance.
|
|
@@ -7531,7 +7531,7 @@ class CfnCapacityReservationProps:
|
|
|
7531
7531
|
|
|
7532
7532
|
.. epigraph::
|
|
7533
7533
|
|
|
7534
|
-
You can request future-dated Capacity Reservations for an instance count with a minimum of
|
|
7534
|
+
You can request future-dated Capacity Reservations for an instance count with a minimum of 64 vCPUs. For example, if you request a future-dated Capacity Reservation for ``m5.xlarge`` instances, you must request at least 25 instances ( *16 * m5.xlarge = 64 vCPUs* ).
|
|
7535
7535
|
|
|
7536
7536
|
Valid range: 1 - 1000
|
|
7537
7537
|
|
|
@@ -7557,7 +7557,7 @@ class CfnCapacityReservationProps:
|
|
|
7557
7557
|
|
|
7558
7558
|
.. epigraph::
|
|
7559
7559
|
|
|
7560
|
-
You can request future-dated Capacity Reservations for instance types in the C, M, R, I, and
|
|
7560
|
+
You can request future-dated Capacity Reservations for instance types in the C, M, R, I, T, and G instance families only.
|
|
7561
7561
|
|
|
7562
7562
|
For more information, see `Instance types <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html>`_ in the *Amazon EC2 User Guide* .
|
|
7563
7563
|
|
|
@@ -21415,7 +21415,7 @@ class CfnInstance(
|
|
|
21415
21415
|
:param ipv6_address_count: The number of IPv6 addresses to associate with the primary network interface. Amazon EC2 chooses the IPv6 addresses from the range of your subnet. You cannot specify this option and the option to assign specific IPv6 addresses in the same request. You can specify this option if you've specified a minimum number of instances to launch. You cannot specify this option and the network interfaces option in the same request.
|
|
21416
21416
|
:param ipv6_addresses: The IPv6 addresses from the range of the subnet to associate with the primary network interface. You cannot specify this option and the option to assign a number of IPv6 addresses in the same request. You cannot specify this option if you've specified a minimum number of instances to launch. You cannot specify this option and the network interfaces option in the same request.
|
|
21417
21417
|
:param kernel_id: The ID of the kernel. .. epigraph:: We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see `PV-GRUB <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedkernels.html>`_ in the *Amazon EC2 User Guide* .
|
|
21418
|
-
:param key_name: The name of the key pair.
|
|
21418
|
+
:param key_name: The name of the key pair. For more information, see `Create a key pair for your EC2 instance <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-key-pairs.html>`_ . .. epigraph:: If you do not specify a key pair, you can't connect to the instance unless you choose an AMI that is configured to allow users another way to log in.
|
|
21419
21419
|
:param launch_template: The launch template. Any additional parameters that you specify for the new instance overwrite the corresponding parameters included in the launch template.
|
|
21420
21420
|
:param license_specifications: The license configurations.
|
|
21421
21421
|
:param metadata_options: The metadata options for the instance.
|
|
@@ -21940,7 +21940,7 @@ class CfnInstance(
|
|
|
21940
21940
|
def key_name(self) -> typing.Optional[builtins.str]:
|
|
21941
21941
|
'''The name of the key pair.
|
|
21942
21942
|
|
|
21943
|
-
|
|
21943
|
+
For more information, see `Create a key pair for your EC2 instance <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-key-pairs.html>`_ .
|
|
21944
21944
|
'''
|
|
21945
21945
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "keyName"))
|
|
21946
21946
|
|
|
@@ -24427,7 +24427,7 @@ class CfnInstanceConnectEndpoint(
|
|
|
24427
24427
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
24428
24428
|
:param subnet_id: The ID of the subnet in which to create the EC2 Instance Connect Endpoint.
|
|
24429
24429
|
:param client_token: Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
|
24430
|
-
:param preserve_client_ip: Indicates whether the client IP address is preserved as the source. The following are the possible values. - ``true`` - Use the client IP address as the source. - ``false`` - Use the network interface IP address as the source. Default: ``false``
|
|
24430
|
+
:param preserve_client_ip: Indicates whether the client IP address is preserved as the source. The following are the possible values. - ``true`` - Use the client IP address as the source. - ``false`` - Use the network interface IP address as the source. .. epigraph:: ``PreserveClientIp`` is only supported on IPv4 EC2 Instance Connect Endpoints. To use ``PreserveClientIp`` , the value for ``IpAddressType`` must be ``ipv4`` . Default: ``false``
|
|
24431
24431
|
:param security_group_ids: One or more security groups to associate with the endpoint. If you don't specify a security group, the default security group for your VPC will be associated with the endpoint.
|
|
24432
24432
|
:param tags: The tags to apply to the EC2 Instance Connect Endpoint during creation.
|
|
24433
24433
|
'''
|
|
@@ -24597,7 +24597,7 @@ class CfnInstanceConnectEndpointProps:
|
|
|
24597
24597
|
|
|
24598
24598
|
:param subnet_id: The ID of the subnet in which to create the EC2 Instance Connect Endpoint.
|
|
24599
24599
|
:param client_token: Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
|
24600
|
-
:param preserve_client_ip: Indicates whether the client IP address is preserved as the source. The following are the possible values. - ``true`` - Use the client IP address as the source. - ``false`` - Use the network interface IP address as the source. Default: ``false``
|
|
24600
|
+
:param preserve_client_ip: Indicates whether the client IP address is preserved as the source. The following are the possible values. - ``true`` - Use the client IP address as the source. - ``false`` - Use the network interface IP address as the source. .. epigraph:: ``PreserveClientIp`` is only supported on IPv4 EC2 Instance Connect Endpoints. To use ``PreserveClientIp`` , the value for ``IpAddressType`` must be ``ipv4`` . Default: ``false``
|
|
24601
24601
|
:param security_group_ids: One or more security groups to associate with the endpoint. If you don't specify a security group, the default security group for your VPC will be associated with the endpoint.
|
|
24602
24602
|
:param tags: The tags to apply to the EC2 Instance Connect Endpoint during creation.
|
|
24603
24603
|
|
|
@@ -24670,6 +24670,10 @@ class CfnInstanceConnectEndpointProps:
|
|
|
24670
24670
|
- ``true`` - Use the client IP address as the source.
|
|
24671
24671
|
- ``false`` - Use the network interface IP address as the source.
|
|
24672
24672
|
|
|
24673
|
+
.. epigraph::
|
|
24674
|
+
|
|
24675
|
+
``PreserveClientIp`` is only supported on IPv4 EC2 Instance Connect Endpoints. To use ``PreserveClientIp`` , the value for ``IpAddressType`` must be ``ipv4`` .
|
|
24676
|
+
|
|
24673
24677
|
Default: ``false``
|
|
24674
24678
|
|
|
24675
24679
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instanceconnectendpoint.html#cfn-ec2-instanceconnectendpoint-preserveclientip
|
|
@@ -24825,7 +24829,7 @@ class CfnInstanceProps:
|
|
|
24825
24829
|
:param ipv6_address_count: The number of IPv6 addresses to associate with the primary network interface. Amazon EC2 chooses the IPv6 addresses from the range of your subnet. You cannot specify this option and the option to assign specific IPv6 addresses in the same request. You can specify this option if you've specified a minimum number of instances to launch. You cannot specify this option and the network interfaces option in the same request.
|
|
24826
24830
|
:param ipv6_addresses: The IPv6 addresses from the range of the subnet to associate with the primary network interface. You cannot specify this option and the option to assign a number of IPv6 addresses in the same request. You cannot specify this option if you've specified a minimum number of instances to launch. You cannot specify this option and the network interfaces option in the same request.
|
|
24827
24831
|
:param kernel_id: The ID of the kernel. .. epigraph:: We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see `PV-GRUB <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedkernels.html>`_ in the *Amazon EC2 User Guide* .
|
|
24828
|
-
:param key_name: The name of the key pair.
|
|
24832
|
+
:param key_name: The name of the key pair. For more information, see `Create a key pair for your EC2 instance <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-key-pairs.html>`_ . .. epigraph:: If you do not specify a key pair, you can't connect to the instance unless you choose an AMI that is configured to allow users another way to log in.
|
|
24829
24833
|
:param launch_template: The launch template. Any additional parameters that you specify for the new instance overwrite the corresponding parameters included in the launch template.
|
|
24830
24834
|
:param license_specifications: The license configurations.
|
|
24831
24835
|
:param metadata_options: The metadata options for the instance.
|
|
@@ -25392,7 +25396,7 @@ class CfnInstanceProps:
|
|
|
25392
25396
|
|
|
25393
25397
|
@builtins.property
|
|
25394
25398
|
def key_name(self) -> typing.Optional[builtins.str]:
|
|
25395
|
-
'''The name of the key pair.
|
|
25399
|
+
'''The name of the key pair. For more information, see `Create a key pair for your EC2 instance <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-key-pairs.html>`_ .
|
|
25396
25400
|
|
|
25397
25401
|
.. epigraph::
|
|
25398
25402
|
|
|
@@ -55173,6 +55177,7 @@ class CfnTrafficMirrorSession(
|
|
|
55173
55177
|
|
|
55174
55178
|
# the properties below are optional
|
|
55175
55179
|
description="description",
|
|
55180
|
+
owner_id="ownerId",
|
|
55176
55181
|
packet_length=123,
|
|
55177
55182
|
tags=[CfnTag(
|
|
55178
55183
|
key="key",
|
|
@@ -55192,6 +55197,7 @@ class CfnTrafficMirrorSession(
|
|
|
55192
55197
|
traffic_mirror_filter_id: builtins.str,
|
|
55193
55198
|
traffic_mirror_target_id: builtins.str,
|
|
55194
55199
|
description: typing.Optional[builtins.str] = None,
|
|
55200
|
+
owner_id: typing.Optional[builtins.str] = None,
|
|
55195
55201
|
packet_length: typing.Optional[jsii.Number] = None,
|
|
55196
55202
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
55197
55203
|
virtual_network_id: typing.Optional[jsii.Number] = None,
|
|
@@ -55204,6 +55210,7 @@ class CfnTrafficMirrorSession(
|
|
|
55204
55210
|
:param traffic_mirror_filter_id: The ID of the Traffic Mirror filter.
|
|
55205
55211
|
:param traffic_mirror_target_id: The ID of the Traffic Mirror target.
|
|
55206
55212
|
:param description: The description of the Traffic Mirror session.
|
|
55213
|
+
:param owner_id: The ID of the account that owns the Traffic Mirror session.
|
|
55207
55214
|
:param packet_length: The number of bytes in each packet to mirror. These are bytes after the VXLAN header. Do not specify this parameter when you want to mirror the entire packet. To mirror a subset of the packet, set this to the length (in bytes) that you want to mirror. For example, if you set this value to 100, then the first 100 bytes that meet the filter criteria are copied to the target. If you do not want to mirror the entire packet, use the ``PacketLength`` parameter to specify the number of bytes in each packet to mirror. For sessions with Network Load Balancer (NLB) Traffic Mirror targets the default ``PacketLength`` will be set to 8500. Valid values are 1-8500. Setting a ``PacketLength`` greater than 8500 will result in an error response.
|
|
55208
55215
|
:param tags: The tags to assign to a Traffic Mirror session.
|
|
55209
55216
|
:param virtual_network_id: The VXLAN ID for the Traffic Mirror session. For more information about the VXLAN protocol, see `RFC 7348 <https://docs.aws.amazon.com/https://datatracker.ietf.org/doc/html/rfc7348>`_ . If you do not specify a ``VirtualNetworkId`` , an account-wide unique ID is chosen at random.
|
|
@@ -55218,6 +55225,7 @@ class CfnTrafficMirrorSession(
|
|
|
55218
55225
|
traffic_mirror_filter_id=traffic_mirror_filter_id,
|
|
55219
55226
|
traffic_mirror_target_id=traffic_mirror_target_id,
|
|
55220
55227
|
description=description,
|
|
55228
|
+
owner_id=owner_id,
|
|
55221
55229
|
packet_length=packet_length,
|
|
55222
55230
|
tags=tags,
|
|
55223
55231
|
virtual_network_id=virtual_network_id,
|
|
@@ -55258,7 +55266,8 @@ class CfnTrafficMirrorSession(
|
|
|
55258
55266
|
@builtins.property
|
|
55259
55267
|
@jsii.member(jsii_name="attrId")
|
|
55260
55268
|
def attr_id(self) -> builtins.str:
|
|
55261
|
-
'''
|
|
55269
|
+
'''The ID of a Traffic Mirror session.
|
|
55270
|
+
|
|
55262
55271
|
:cloudformationAttribute: Id
|
|
55263
55272
|
'''
|
|
55264
55273
|
return typing.cast(builtins.str, jsii.get(self, "attrId"))
|
|
@@ -55339,6 +55348,19 @@ class CfnTrafficMirrorSession(
|
|
|
55339
55348
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
55340
55349
|
jsii.set(self, "description", value) # pyright: ignore[reportArgumentType]
|
|
55341
55350
|
|
|
55351
|
+
@builtins.property
|
|
55352
|
+
@jsii.member(jsii_name="ownerId")
|
|
55353
|
+
def owner_id(self) -> typing.Optional[builtins.str]:
|
|
55354
|
+
'''The ID of the account that owns the Traffic Mirror session.'''
|
|
55355
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "ownerId"))
|
|
55356
|
+
|
|
55357
|
+
@owner_id.setter
|
|
55358
|
+
def owner_id(self, value: typing.Optional[builtins.str]) -> None:
|
|
55359
|
+
if __debug__:
|
|
55360
|
+
type_hints = typing.get_type_hints(_typecheckingstub__21588510c317dbb4d3f093aedb52504c662e37e8a686d1ea3651a49a04ed0e49)
|
|
55361
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
55362
|
+
jsii.set(self, "ownerId", value) # pyright: ignore[reportArgumentType]
|
|
55363
|
+
|
|
55342
55364
|
@builtins.property
|
|
55343
55365
|
@jsii.member(jsii_name="packetLength")
|
|
55344
55366
|
def packet_length(self) -> typing.Optional[jsii.Number]:
|
|
@@ -55388,6 +55410,7 @@ class CfnTrafficMirrorSession(
|
|
|
55388
55410
|
"traffic_mirror_filter_id": "trafficMirrorFilterId",
|
|
55389
55411
|
"traffic_mirror_target_id": "trafficMirrorTargetId",
|
|
55390
55412
|
"description": "description",
|
|
55413
|
+
"owner_id": "ownerId",
|
|
55391
55414
|
"packet_length": "packetLength",
|
|
55392
55415
|
"tags": "tags",
|
|
55393
55416
|
"virtual_network_id": "virtualNetworkId",
|
|
@@ -55402,6 +55425,7 @@ class CfnTrafficMirrorSessionProps:
|
|
|
55402
55425
|
traffic_mirror_filter_id: builtins.str,
|
|
55403
55426
|
traffic_mirror_target_id: builtins.str,
|
|
55404
55427
|
description: typing.Optional[builtins.str] = None,
|
|
55428
|
+
owner_id: typing.Optional[builtins.str] = None,
|
|
55405
55429
|
packet_length: typing.Optional[jsii.Number] = None,
|
|
55406
55430
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
55407
55431
|
virtual_network_id: typing.Optional[jsii.Number] = None,
|
|
@@ -55413,6 +55437,7 @@ class CfnTrafficMirrorSessionProps:
|
|
|
55413
55437
|
:param traffic_mirror_filter_id: The ID of the Traffic Mirror filter.
|
|
55414
55438
|
:param traffic_mirror_target_id: The ID of the Traffic Mirror target.
|
|
55415
55439
|
:param description: The description of the Traffic Mirror session.
|
|
55440
|
+
:param owner_id: The ID of the account that owns the Traffic Mirror session.
|
|
55416
55441
|
:param packet_length: The number of bytes in each packet to mirror. These are bytes after the VXLAN header. Do not specify this parameter when you want to mirror the entire packet. To mirror a subset of the packet, set this to the length (in bytes) that you want to mirror. For example, if you set this value to 100, then the first 100 bytes that meet the filter criteria are copied to the target. If you do not want to mirror the entire packet, use the ``PacketLength`` parameter to specify the number of bytes in each packet to mirror. For sessions with Network Load Balancer (NLB) Traffic Mirror targets the default ``PacketLength`` will be set to 8500. Valid values are 1-8500. Setting a ``PacketLength`` greater than 8500 will result in an error response.
|
|
55417
55442
|
:param tags: The tags to assign to a Traffic Mirror session.
|
|
55418
55443
|
:param virtual_network_id: The VXLAN ID for the Traffic Mirror session. For more information about the VXLAN protocol, see `RFC 7348 <https://docs.aws.amazon.com/https://datatracker.ietf.org/doc/html/rfc7348>`_ . If you do not specify a ``VirtualNetworkId`` , an account-wide unique ID is chosen at random.
|
|
@@ -55434,6 +55459,7 @@ class CfnTrafficMirrorSessionProps:
|
|
|
55434
55459
|
|
|
55435
55460
|
# the properties below are optional
|
|
55436
55461
|
description="description",
|
|
55462
|
+
owner_id="ownerId",
|
|
55437
55463
|
packet_length=123,
|
|
55438
55464
|
tags=[CfnTag(
|
|
55439
55465
|
key="key",
|
|
@@ -55449,6 +55475,7 @@ class CfnTrafficMirrorSessionProps:
|
|
|
55449
55475
|
check_type(argname="argument traffic_mirror_filter_id", value=traffic_mirror_filter_id, expected_type=type_hints["traffic_mirror_filter_id"])
|
|
55450
55476
|
check_type(argname="argument traffic_mirror_target_id", value=traffic_mirror_target_id, expected_type=type_hints["traffic_mirror_target_id"])
|
|
55451
55477
|
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
55478
|
+
check_type(argname="argument owner_id", value=owner_id, expected_type=type_hints["owner_id"])
|
|
55452
55479
|
check_type(argname="argument packet_length", value=packet_length, expected_type=type_hints["packet_length"])
|
|
55453
55480
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
55454
55481
|
check_type(argname="argument virtual_network_id", value=virtual_network_id, expected_type=type_hints["virtual_network_id"])
|
|
@@ -55460,6 +55487,8 @@ class CfnTrafficMirrorSessionProps:
|
|
|
55460
55487
|
}
|
|
55461
55488
|
if description is not None:
|
|
55462
55489
|
self._values["description"] = description
|
|
55490
|
+
if owner_id is not None:
|
|
55491
|
+
self._values["owner_id"] = owner_id
|
|
55463
55492
|
if packet_length is not None:
|
|
55464
55493
|
self._values["packet_length"] = packet_length
|
|
55465
55494
|
if tags is not None:
|
|
@@ -55520,6 +55549,15 @@ class CfnTrafficMirrorSessionProps:
|
|
|
55520
55549
|
result = self._values.get("description")
|
|
55521
55550
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
55522
55551
|
|
|
55552
|
+
@builtins.property
|
|
55553
|
+
def owner_id(self) -> typing.Optional[builtins.str]:
|
|
55554
|
+
'''The ID of the account that owns the Traffic Mirror session.
|
|
55555
|
+
|
|
55556
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-trafficmirrorsession.html#cfn-ec2-trafficmirrorsession-ownerid
|
|
55557
|
+
'''
|
|
55558
|
+
result = self._values.get("owner_id")
|
|
55559
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
55560
|
+
|
|
55523
55561
|
@builtins.property
|
|
55524
55562
|
def packet_length(self) -> typing.Optional[jsii.Number]:
|
|
55525
55563
|
'''The number of bytes in each packet to mirror.
|
|
@@ -111669,6 +111707,7 @@ def _typecheckingstub__9e0df29e9de2cc6eed997cd0738e89aa6fc9bdffd0c700ef4584f2c9e
|
|
|
111669
111707
|
traffic_mirror_filter_id: builtins.str,
|
|
111670
111708
|
traffic_mirror_target_id: builtins.str,
|
|
111671
111709
|
description: typing.Optional[builtins.str] = None,
|
|
111710
|
+
owner_id: typing.Optional[builtins.str] = None,
|
|
111672
111711
|
packet_length: typing.Optional[jsii.Number] = None,
|
|
111673
111712
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
111674
111713
|
virtual_network_id: typing.Optional[jsii.Number] = None,
|
|
@@ -111718,6 +111757,12 @@ def _typecheckingstub__4239210691e02d4eea905b9be001d8302bb77db3dde61743cea1aa5b6
|
|
|
111718
111757
|
"""Type checking stubs"""
|
|
111719
111758
|
pass
|
|
111720
111759
|
|
|
111760
|
+
def _typecheckingstub__21588510c317dbb4d3f093aedb52504c662e37e8a686d1ea3651a49a04ed0e49(
|
|
111761
|
+
value: typing.Optional[builtins.str],
|
|
111762
|
+
) -> None:
|
|
111763
|
+
"""Type checking stubs"""
|
|
111764
|
+
pass
|
|
111765
|
+
|
|
111721
111766
|
def _typecheckingstub__9aaf61851419d979865e5ff3ad332c3b90ca87f0fd776502a722e2ebe1429297(
|
|
111722
111767
|
value: typing.Optional[jsii.Number],
|
|
111723
111768
|
) -> None:
|
|
@@ -111743,6 +111788,7 @@ def _typecheckingstub__410c9163482a74952290246bbd3c364855d8d943a582d683fbe831b27
|
|
|
111743
111788
|
traffic_mirror_filter_id: builtins.str,
|
|
111744
111789
|
traffic_mirror_target_id: builtins.str,
|
|
111745
111790
|
description: typing.Optional[builtins.str] = None,
|
|
111791
|
+
owner_id: typing.Optional[builtins.str] = None,
|
|
111746
111792
|
packet_length: typing.Optional[jsii.Number] = None,
|
|
111747
111793
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
111748
111794
|
virtual_network_id: typing.Optional[jsii.Number] = None,
|