aws-cdk-lib 2.114.0__py3-none-any.whl → 2.115.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.

Files changed (47) hide show
  1. aws_cdk/__init__.py +7 -1
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.114.0.jsii.tgz → aws-cdk-lib@2.115.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_apigateway/__init__.py +6 -0
  5. aws_cdk/aws_apigatewayv2/__init__.py +223 -574
  6. aws_cdk/aws_autoscaling/__init__.py +99 -86
  7. aws_cdk/aws_bedrock/__init__.py +355 -0
  8. aws_cdk/aws_billingconductor/__init__.py +41 -0
  9. aws_cdk/aws_cleanrooms/__init__.py +46 -20
  10. aws_cdk/aws_cloudformation/__init__.py +5 -1
  11. aws_cdk/aws_cloudtrail/__init__.py +89 -0
  12. aws_cdk/aws_codedeploy/__init__.py +233 -1
  13. aws_cdk/aws_connect/__init__.py +49 -2
  14. aws_cdk/aws_dlm/__init__.py +8 -11
  15. aws_cdk/aws_dms/__init__.py +3861 -1643
  16. aws_cdk/aws_ec2/__init__.py +91 -47
  17. aws_cdk/aws_ecs/__init__.py +18 -0
  18. aws_cdk/aws_efs/__init__.py +1 -1
  19. aws_cdk/aws_eks/__init__.py +26 -13
  20. aws_cdk/aws_elasticloadbalancingv2/__init__.py +110 -54
  21. aws_cdk/aws_emr/__init__.py +287 -18
  22. aws_cdk/aws_eventschemas/__init__.py +1 -1
  23. aws_cdk/aws_fis/__init__.py +466 -34
  24. aws_cdk/aws_iam/__init__.py +47 -35
  25. aws_cdk/aws_internetmonitor/__init__.py +10 -12
  26. aws_cdk/aws_lightsail/__init__.py +4 -2
  27. aws_cdk/aws_logs/__init__.py +5 -4
  28. aws_cdk/aws_opensearchservice/__init__.py +47 -0
  29. aws_cdk/aws_osis/__init__.py +272 -32
  30. aws_cdk/aws_rds/__init__.py +205 -87
  31. aws_cdk/aws_resiliencehub/__init__.py +9 -14
  32. aws_cdk/aws_rolesanywhere/__init__.py +41 -53
  33. aws_cdk/aws_route53/__init__.py +3 -3
  34. aws_cdk/aws_route53_targets/__init__.py +2 -2
  35. aws_cdk/aws_s3/__init__.py +2 -6
  36. aws_cdk/aws_s3express/__init__.py +3 -3
  37. aws_cdk/aws_sagemaker/__init__.py +82 -11
  38. aws_cdk/aws_sns/__init__.py +181 -0
  39. aws_cdk/aws_stepfunctions/__init__.py +16 -8
  40. aws_cdk/aws_stepfunctions_tasks/__init__.py +975 -139
  41. aws_cdk/aws_workspacesthinclient/__init__.py +44 -35
  42. {aws_cdk_lib-2.114.0.dist-info → aws_cdk_lib-2.115.0.dist-info}/METADATA +2 -2
  43. {aws_cdk_lib-2.114.0.dist-info → aws_cdk_lib-2.115.0.dist-info}/RECORD +47 -46
  44. {aws_cdk_lib-2.114.0.dist-info → aws_cdk_lib-2.115.0.dist-info}/LICENSE +0 -0
  45. {aws_cdk_lib-2.114.0.dist-info → aws_cdk_lib-2.115.0.dist-info}/NOTICE +0 -0
  46. {aws_cdk_lib-2.114.0.dist-info → aws_cdk_lib-2.115.0.dist-info}/WHEEL +0 -0
  47. {aws_cdk_lib-2.114.0.dist-info → aws_cdk_lib-2.115.0.dist-info}/top_level.txt +0 -0
@@ -86,6 +86,12 @@ class CfnPipeline(
86
86
  pipeline_name="pipelineName",
87
87
 
88
88
  # the properties below are optional
89
+ buffer_options=osis.CfnPipeline.BufferOptionsProperty(
90
+ persistent_buffer_enabled=False
91
+ ),
92
+ encryption_at_rest_options=osis.CfnPipeline.EncryptionAtRestOptionsProperty(
93
+ kms_key_arn="kmsKeyArn"
94
+ ),
89
95
  log_publishing_options=osis.CfnPipeline.LogPublishingOptionsProperty(
90
96
  cloud_watch_log_destination=osis.CfnPipeline.CloudWatchLogDestinationProperty(
91
97
  log_group="logGroup"
@@ -97,8 +103,10 @@ class CfnPipeline(
97
103
  value="value"
98
104
  )],
99
105
  vpc_options=osis.CfnPipeline.VpcOptionsProperty(
100
- security_group_ids=["securityGroupIds"],
101
- subnet_ids=["subnetIds"]
106
+ subnet_ids=["subnetIds"],
107
+
108
+ # the properties below are optional
109
+ security_group_ids=["securityGroupIds"]
102
110
  )
103
111
  )
104
112
  '''
@@ -112,6 +120,8 @@ class CfnPipeline(
112
120
  min_units: jsii.Number,
113
121
  pipeline_configuration_body: builtins.str,
114
122
  pipeline_name: builtins.str,
123
+ buffer_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnPipeline.BufferOptionsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
124
+ encryption_at_rest_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnPipeline.EncryptionAtRestOptionsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
115
125
  log_publishing_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnPipeline.LogPublishingOptionsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
116
126
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
117
127
  vpc_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnPipeline.VpcOptionsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
@@ -123,6 +133,8 @@ class CfnPipeline(
123
133
  :param min_units: The minimum pipeline capacity, in Ingestion Compute Units (ICUs).
124
134
  :param pipeline_configuration_body: The Data Prepper pipeline configuration in YAML format.
125
135
  :param pipeline_name: The name of the pipeline.
136
+ :param buffer_options: Key-value pairs to configure buffering.
137
+ :param encryption_at_rest_options: Key-value pairs to configure encryption at rest.
126
138
  :param log_publishing_options: Key-value pairs that represent log publishing settings.
127
139
  :param tags: List of tags to add to the pipeline upon creation.
128
140
  :param vpc_options: Options that specify the subnets and security groups for an OpenSearch Ingestion VPC endpoint.
@@ -136,6 +148,8 @@ class CfnPipeline(
136
148
  min_units=min_units,
137
149
  pipeline_configuration_body=pipeline_configuration_body,
138
150
  pipeline_name=pipeline_name,
151
+ buffer_options=buffer_options,
152
+ encryption_at_rest_options=encryption_at_rest_options,
139
153
  log_publishing_options=log_publishing_options,
140
154
  tags=tags,
141
155
  vpc_options=vpc_options,
@@ -265,6 +279,42 @@ class CfnPipeline(
265
279
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
266
280
  jsii.set(self, "pipelineName", value)
267
281
 
282
+ @builtins.property
283
+ @jsii.member(jsii_name="bufferOptions")
284
+ def buffer_options(
285
+ self,
286
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPipeline.BufferOptionsProperty"]]:
287
+ '''Key-value pairs to configure buffering.'''
288
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPipeline.BufferOptionsProperty"]], jsii.get(self, "bufferOptions"))
289
+
290
+ @buffer_options.setter
291
+ def buffer_options(
292
+ self,
293
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPipeline.BufferOptionsProperty"]],
294
+ ) -> None:
295
+ if __debug__:
296
+ type_hints = typing.get_type_hints(_typecheckingstub__d00e2cf3fae8142030b7b5fa75217999bc55c7eb83542426d67106c91e81edd5)
297
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
298
+ jsii.set(self, "bufferOptions", value)
299
+
300
+ @builtins.property
301
+ @jsii.member(jsii_name="encryptionAtRestOptions")
302
+ def encryption_at_rest_options(
303
+ self,
304
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPipeline.EncryptionAtRestOptionsProperty"]]:
305
+ '''Key-value pairs to configure encryption at rest.'''
306
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPipeline.EncryptionAtRestOptionsProperty"]], jsii.get(self, "encryptionAtRestOptions"))
307
+
308
+ @encryption_at_rest_options.setter
309
+ def encryption_at_rest_options(
310
+ self,
311
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPipeline.EncryptionAtRestOptionsProperty"]],
312
+ ) -> None:
313
+ if __debug__:
314
+ type_hints = typing.get_type_hints(_typecheckingstub__d27de1df9c78cfecd6df162610dde3c9c50557e18c7a7ac3bed2b1cb75723764)
315
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
316
+ jsii.set(self, "encryptionAtRestOptions", value)
317
+
268
318
  @builtins.property
269
319
  @jsii.member(jsii_name="logPublishingOptions")
270
320
  def log_publishing_options(
@@ -314,13 +364,71 @@ class CfnPipeline(
314
364
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
315
365
  jsii.set(self, "vpcOptions", value)
316
366
 
367
+ @jsii.data_type(
368
+ jsii_type="aws-cdk-lib.aws_osis.CfnPipeline.BufferOptionsProperty",
369
+ jsii_struct_bases=[],
370
+ name_mapping={"persistent_buffer_enabled": "persistentBufferEnabled"},
371
+ )
372
+ class BufferOptionsProperty:
373
+ def __init__(
374
+ self,
375
+ *,
376
+ persistent_buffer_enabled: typing.Union[builtins.bool, _IResolvable_da3f097b],
377
+ ) -> None:
378
+ '''Key-value pairs to configure buffering.
379
+
380
+ :param persistent_buffer_enabled: Whether persistent buffering should be enabled.
381
+
382
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-osis-pipeline-bufferoptions.html
383
+ :exampleMetadata: fixture=_generated
384
+
385
+ Example::
386
+
387
+ # The code below shows an example of how to instantiate this type.
388
+ # The values are placeholders you should change.
389
+ from aws_cdk import aws_osis as osis
390
+
391
+ buffer_options_property = osis.CfnPipeline.BufferOptionsProperty(
392
+ persistent_buffer_enabled=False
393
+ )
394
+ '''
395
+ if __debug__:
396
+ type_hints = typing.get_type_hints(_typecheckingstub__39aa771d8b0dadf0e9b1441bf7e19531dc29409c35fdaa760d67c3d2024e7cec)
397
+ check_type(argname="argument persistent_buffer_enabled", value=persistent_buffer_enabled, expected_type=type_hints["persistent_buffer_enabled"])
398
+ self._values: typing.Dict[builtins.str, typing.Any] = {
399
+ "persistent_buffer_enabled": persistent_buffer_enabled,
400
+ }
401
+
402
+ @builtins.property
403
+ def persistent_buffer_enabled(
404
+ self,
405
+ ) -> typing.Union[builtins.bool, _IResolvable_da3f097b]:
406
+ '''Whether persistent buffering should be enabled.
407
+
408
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-osis-pipeline-bufferoptions.html#cfn-osis-pipeline-bufferoptions-persistentbufferenabled
409
+ '''
410
+ result = self._values.get("persistent_buffer_enabled")
411
+ assert result is not None, "Required property 'persistent_buffer_enabled' is missing"
412
+ return typing.cast(typing.Union[builtins.bool, _IResolvable_da3f097b], result)
413
+
414
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
415
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
416
+
417
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
418
+ return not (rhs == self)
419
+
420
+ def __repr__(self) -> str:
421
+ return "BufferOptionsProperty(%s)" % ", ".join(
422
+ k + "=" + repr(v) for k, v in self._values.items()
423
+ )
424
+
317
425
  @jsii.data_type(
318
426
  jsii_type="aws-cdk-lib.aws_osis.CfnPipeline.CloudWatchLogDestinationProperty",
319
427
  jsii_struct_bases=[],
320
428
  name_mapping={"log_group": "logGroup"},
321
429
  )
322
430
  class CloudWatchLogDestinationProperty:
323
- def __init__(self, *, log_group: typing.Optional[builtins.str] = None) -> None:
431
+ def __init__(self, *, log_group: builtins.str) -> None:
324
432
  '''The destination for OpenSearch Ingestion logs sent to Amazon CloudWatch.
325
433
 
326
434
  :param log_group: The name of the CloudWatch Logs group to send pipeline logs to. You can specify an existing log group or create a new one. For example, ``/aws/OpenSearchService/IngestionService/my-pipeline`` .
@@ -341,12 +449,12 @@ class CfnPipeline(
341
449
  if __debug__:
342
450
  type_hints = typing.get_type_hints(_typecheckingstub__c01b8e66d5b6049eed2691204d06b883fc5ba0ecb3ef2a6ff58958057fa34ad9)
343
451
  check_type(argname="argument log_group", value=log_group, expected_type=type_hints["log_group"])
344
- self._values: typing.Dict[builtins.str, typing.Any] = {}
345
- if log_group is not None:
346
- self._values["log_group"] = log_group
452
+ self._values: typing.Dict[builtins.str, typing.Any] = {
453
+ "log_group": log_group,
454
+ }
347
455
 
348
456
  @builtins.property
349
- def log_group(self) -> typing.Optional[builtins.str]:
457
+ def log_group(self) -> builtins.str:
350
458
  '''The name of the CloudWatch Logs group to send pipeline logs to.
351
459
 
352
460
  You can specify an existing log group or create a new one. For example, ``/aws/OpenSearchService/IngestionService/my-pipeline`` .
@@ -354,7 +462,8 @@ class CfnPipeline(
354
462
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-osis-pipeline-cloudwatchlogdestination.html#cfn-osis-pipeline-cloudwatchlogdestination-loggroup
355
463
  '''
356
464
  result = self._values.get("log_group")
357
- return typing.cast(typing.Optional[builtins.str], result)
465
+ assert result is not None, "Required property 'log_group' is missing"
466
+ return typing.cast(builtins.str, result)
358
467
 
359
468
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
360
469
  return isinstance(rhs, self.__class__) and rhs._values == self._values
@@ -367,6 +476,60 @@ class CfnPipeline(
367
476
  k + "=" + repr(v) for k, v in self._values.items()
368
477
  )
369
478
 
479
+ @jsii.data_type(
480
+ jsii_type="aws-cdk-lib.aws_osis.CfnPipeline.EncryptionAtRestOptionsProperty",
481
+ jsii_struct_bases=[],
482
+ name_mapping={"kms_key_arn": "kmsKeyArn"},
483
+ )
484
+ class EncryptionAtRestOptionsProperty:
485
+ def __init__(self, *, kms_key_arn: builtins.str) -> None:
486
+ '''Key-value pairs to configure encryption at rest.
487
+
488
+ :param kms_key_arn: The KMS key to use for encrypting data. By default an AWS owned key is used
489
+
490
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-osis-pipeline-encryptionatrestoptions.html
491
+ :exampleMetadata: fixture=_generated
492
+
493
+ Example::
494
+
495
+ # The code below shows an example of how to instantiate this type.
496
+ # The values are placeholders you should change.
497
+ from aws_cdk import aws_osis as osis
498
+
499
+ encryption_at_rest_options_property = osis.CfnPipeline.EncryptionAtRestOptionsProperty(
500
+ kms_key_arn="kmsKeyArn"
501
+ )
502
+ '''
503
+ if __debug__:
504
+ type_hints = typing.get_type_hints(_typecheckingstub__41ca1d23f63f6886c5d45b8bf5914e9055fcd47e780492e168c4e248bb79c92f)
505
+ check_type(argname="argument kms_key_arn", value=kms_key_arn, expected_type=type_hints["kms_key_arn"])
506
+ self._values: typing.Dict[builtins.str, typing.Any] = {
507
+ "kms_key_arn": kms_key_arn,
508
+ }
509
+
510
+ @builtins.property
511
+ def kms_key_arn(self) -> builtins.str:
512
+ '''The KMS key to use for encrypting data.
513
+
514
+ By default an AWS owned key is used
515
+
516
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-osis-pipeline-encryptionatrestoptions.html#cfn-osis-pipeline-encryptionatrestoptions-kmskeyarn
517
+ '''
518
+ result = self._values.get("kms_key_arn")
519
+ assert result is not None, "Required property 'kms_key_arn' is missing"
520
+ return typing.cast(builtins.str, result)
521
+
522
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
523
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
524
+
525
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
526
+ return not (rhs == self)
527
+
528
+ def __repr__(self) -> str:
529
+ return "EncryptionAtRestOptionsProperty(%s)" % ", ".join(
530
+ k + "=" + repr(v) for k, v in self._values.items()
531
+ )
532
+
370
533
  @jsii.data_type(
371
534
  jsii_type="aws-cdk-lib.aws_osis.CfnPipeline.LogPublishingOptionsProperty",
372
535
  jsii_struct_bases=[],
@@ -486,8 +649,10 @@ class CfnPipeline(
486
649
  vpc_endpoint_id="vpcEndpointId",
487
650
  vpc_id="vpcId",
488
651
  vpc_options=osis.CfnPipeline.VpcOptionsProperty(
489
- security_group_ids=["securityGroupIds"],
490
- subnet_ids=["subnetIds"]
652
+ subnet_ids=["subnetIds"],
653
+
654
+ # the properties below are optional
655
+ security_group_ids=["securityGroupIds"]
491
656
  )
492
657
  )
493
658
  '''
@@ -550,21 +715,21 @@ class CfnPipeline(
550
715
  jsii_type="aws-cdk-lib.aws_osis.CfnPipeline.VpcOptionsProperty",
551
716
  jsii_struct_bases=[],
552
717
  name_mapping={
553
- "security_group_ids": "securityGroupIds",
554
718
  "subnet_ids": "subnetIds",
719
+ "security_group_ids": "securityGroupIds",
555
720
  },
556
721
  )
557
722
  class VpcOptionsProperty:
558
723
  def __init__(
559
724
  self,
560
725
  *,
726
+ subnet_ids: typing.Sequence[builtins.str],
561
727
  security_group_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
562
- subnet_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
563
728
  ) -> None:
564
729
  '''Options that specify the subnets and security groups for an OpenSearch Ingestion VPC endpoint.
565
730
 
566
- :param security_group_ids: A list of security groups associated with the VPC endpoint.
567
731
  :param subnet_ids: A list of subnet IDs associated with the VPC endpoint.
732
+ :param security_group_ids: A list of security groups associated with the VPC endpoint.
568
733
 
569
734
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-osis-pipeline-vpcoptions.html
570
735
  :exampleMetadata: fixture=_generated
@@ -576,36 +741,39 @@ class CfnPipeline(
576
741
  from aws_cdk import aws_osis as osis
577
742
 
578
743
  vpc_options_property = osis.CfnPipeline.VpcOptionsProperty(
579
- security_group_ids=["securityGroupIds"],
580
- subnet_ids=["subnetIds"]
744
+ subnet_ids=["subnetIds"],
745
+
746
+ # the properties below are optional
747
+ security_group_ids=["securityGroupIds"]
581
748
  )
582
749
  '''
583
750
  if __debug__:
584
751
  type_hints = typing.get_type_hints(_typecheckingstub__d6c7fc6663c9baefdd81f02e0e69deb4e81a8e210a00a4346752ffa95aa926ac)
585
- check_type(argname="argument security_group_ids", value=security_group_ids, expected_type=type_hints["security_group_ids"])
586
752
  check_type(argname="argument subnet_ids", value=subnet_ids, expected_type=type_hints["subnet_ids"])
587
- self._values: typing.Dict[builtins.str, typing.Any] = {}
753
+ check_type(argname="argument security_group_ids", value=security_group_ids, expected_type=type_hints["security_group_ids"])
754
+ self._values: typing.Dict[builtins.str, typing.Any] = {
755
+ "subnet_ids": subnet_ids,
756
+ }
588
757
  if security_group_ids is not None:
589
758
  self._values["security_group_ids"] = security_group_ids
590
- if subnet_ids is not None:
591
- self._values["subnet_ids"] = subnet_ids
592
759
 
593
760
  @builtins.property
594
- def security_group_ids(self) -> typing.Optional[typing.List[builtins.str]]:
595
- '''A list of security groups associated with the VPC endpoint.
761
+ def subnet_ids(self) -> typing.List[builtins.str]:
762
+ '''A list of subnet IDs associated with the VPC endpoint.
596
763
 
597
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-osis-pipeline-vpcoptions.html#cfn-osis-pipeline-vpcoptions-securitygroupids
764
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-osis-pipeline-vpcoptions.html#cfn-osis-pipeline-vpcoptions-subnetids
598
765
  '''
599
- result = self._values.get("security_group_ids")
600
- return typing.cast(typing.Optional[typing.List[builtins.str]], result)
766
+ result = self._values.get("subnet_ids")
767
+ assert result is not None, "Required property 'subnet_ids' is missing"
768
+ return typing.cast(typing.List[builtins.str], result)
601
769
 
602
770
  @builtins.property
603
- def subnet_ids(self) -> typing.Optional[typing.List[builtins.str]]:
604
- '''A list of subnet IDs associated with the VPC endpoint.
771
+ def security_group_ids(self) -> typing.Optional[typing.List[builtins.str]]:
772
+ '''A list of security groups associated with the VPC endpoint.
605
773
 
606
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-osis-pipeline-vpcoptions.html#cfn-osis-pipeline-vpcoptions-subnetids
774
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-osis-pipeline-vpcoptions.html#cfn-osis-pipeline-vpcoptions-securitygroupids
607
775
  '''
608
- result = self._values.get("subnet_ids")
776
+ result = self._values.get("security_group_ids")
609
777
  return typing.cast(typing.Optional[typing.List[builtins.str]], result)
610
778
 
611
779
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
@@ -628,6 +796,8 @@ class CfnPipeline(
628
796
  "min_units": "minUnits",
629
797
  "pipeline_configuration_body": "pipelineConfigurationBody",
630
798
  "pipeline_name": "pipelineName",
799
+ "buffer_options": "bufferOptions",
800
+ "encryption_at_rest_options": "encryptionAtRestOptions",
631
801
  "log_publishing_options": "logPublishingOptions",
632
802
  "tags": "tags",
633
803
  "vpc_options": "vpcOptions",
@@ -641,6 +811,8 @@ class CfnPipelineProps:
641
811
  min_units: jsii.Number,
642
812
  pipeline_configuration_body: builtins.str,
643
813
  pipeline_name: builtins.str,
814
+ buffer_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPipeline.BufferOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
815
+ encryption_at_rest_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPipeline.EncryptionAtRestOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
644
816
  log_publishing_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPipeline.LogPublishingOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
645
817
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
646
818
  vpc_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPipeline.VpcOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
@@ -651,6 +823,8 @@ class CfnPipelineProps:
651
823
  :param min_units: The minimum pipeline capacity, in Ingestion Compute Units (ICUs).
652
824
  :param pipeline_configuration_body: The Data Prepper pipeline configuration in YAML format.
653
825
  :param pipeline_name: The name of the pipeline.
826
+ :param buffer_options: Key-value pairs to configure buffering.
827
+ :param encryption_at_rest_options: Key-value pairs to configure encryption at rest.
654
828
  :param log_publishing_options: Key-value pairs that represent log publishing settings.
655
829
  :param tags: List of tags to add to the pipeline upon creation.
656
830
  :param vpc_options: Options that specify the subnets and security groups for an OpenSearch Ingestion VPC endpoint.
@@ -671,6 +845,12 @@ class CfnPipelineProps:
671
845
  pipeline_name="pipelineName",
672
846
 
673
847
  # the properties below are optional
848
+ buffer_options=osis.CfnPipeline.BufferOptionsProperty(
849
+ persistent_buffer_enabled=False
850
+ ),
851
+ encryption_at_rest_options=osis.CfnPipeline.EncryptionAtRestOptionsProperty(
852
+ kms_key_arn="kmsKeyArn"
853
+ ),
674
854
  log_publishing_options=osis.CfnPipeline.LogPublishingOptionsProperty(
675
855
  cloud_watch_log_destination=osis.CfnPipeline.CloudWatchLogDestinationProperty(
676
856
  log_group="logGroup"
@@ -682,8 +862,10 @@ class CfnPipelineProps:
682
862
  value="value"
683
863
  )],
684
864
  vpc_options=osis.CfnPipeline.VpcOptionsProperty(
685
- security_group_ids=["securityGroupIds"],
686
- subnet_ids=["subnetIds"]
865
+ subnet_ids=["subnetIds"],
866
+
867
+ # the properties below are optional
868
+ security_group_ids=["securityGroupIds"]
687
869
  )
688
870
  )
689
871
  '''
@@ -693,6 +875,8 @@ class CfnPipelineProps:
693
875
  check_type(argname="argument min_units", value=min_units, expected_type=type_hints["min_units"])
694
876
  check_type(argname="argument pipeline_configuration_body", value=pipeline_configuration_body, expected_type=type_hints["pipeline_configuration_body"])
695
877
  check_type(argname="argument pipeline_name", value=pipeline_name, expected_type=type_hints["pipeline_name"])
878
+ check_type(argname="argument buffer_options", value=buffer_options, expected_type=type_hints["buffer_options"])
879
+ check_type(argname="argument encryption_at_rest_options", value=encryption_at_rest_options, expected_type=type_hints["encryption_at_rest_options"])
696
880
  check_type(argname="argument log_publishing_options", value=log_publishing_options, expected_type=type_hints["log_publishing_options"])
697
881
  check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
698
882
  check_type(argname="argument vpc_options", value=vpc_options, expected_type=type_hints["vpc_options"])
@@ -702,6 +886,10 @@ class CfnPipelineProps:
702
886
  "pipeline_configuration_body": pipeline_configuration_body,
703
887
  "pipeline_name": pipeline_name,
704
888
  }
889
+ if buffer_options is not None:
890
+ self._values["buffer_options"] = buffer_options
891
+ if encryption_at_rest_options is not None:
892
+ self._values["encryption_at_rest_options"] = encryption_at_rest_options
705
893
  if log_publishing_options is not None:
706
894
  self._values["log_publishing_options"] = log_publishing_options
707
895
  if tags is not None:
@@ -749,6 +937,28 @@ class CfnPipelineProps:
749
937
  assert result is not None, "Required property 'pipeline_name' is missing"
750
938
  return typing.cast(builtins.str, result)
751
939
 
940
+ @builtins.property
941
+ def buffer_options(
942
+ self,
943
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnPipeline.BufferOptionsProperty]]:
944
+ '''Key-value pairs to configure buffering.
945
+
946
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-osis-pipeline.html#cfn-osis-pipeline-bufferoptions
947
+ '''
948
+ result = self._values.get("buffer_options")
949
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnPipeline.BufferOptionsProperty]], result)
950
+
951
+ @builtins.property
952
+ def encryption_at_rest_options(
953
+ self,
954
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnPipeline.EncryptionAtRestOptionsProperty]]:
955
+ '''Key-value pairs to configure encryption at rest.
956
+
957
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-osis-pipeline.html#cfn-osis-pipeline-encryptionatrestoptions
958
+ '''
959
+ result = self._values.get("encryption_at_rest_options")
960
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnPipeline.EncryptionAtRestOptionsProperty]], result)
961
+
752
962
  @builtins.property
753
963
  def log_publishing_options(
754
964
  self,
@@ -807,6 +1017,8 @@ def _typecheckingstub__f7720fc023720b487ee160161639df896ae055ed55f72c575e20e1b94
807
1017
  min_units: jsii.Number,
808
1018
  pipeline_configuration_body: builtins.str,
809
1019
  pipeline_name: builtins.str,
1020
+ buffer_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPipeline.BufferOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
1021
+ encryption_at_rest_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPipeline.EncryptionAtRestOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
810
1022
  log_publishing_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPipeline.LogPublishingOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
811
1023
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
812
1024
  vpc_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPipeline.VpcOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
@@ -850,6 +1062,18 @@ def _typecheckingstub__df2123f129ac4fe1db88c161dd3e50f0d376738b19f6e3bef4fbe6a50
850
1062
  """Type checking stubs"""
851
1063
  pass
852
1064
 
1065
+ def _typecheckingstub__d00e2cf3fae8142030b7b5fa75217999bc55c7eb83542426d67106c91e81edd5(
1066
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnPipeline.BufferOptionsProperty]],
1067
+ ) -> None:
1068
+ """Type checking stubs"""
1069
+ pass
1070
+
1071
+ def _typecheckingstub__d27de1df9c78cfecd6df162610dde3c9c50557e18c7a7ac3bed2b1cb75723764(
1072
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnPipeline.EncryptionAtRestOptionsProperty]],
1073
+ ) -> None:
1074
+ """Type checking stubs"""
1075
+ pass
1076
+
853
1077
  def _typecheckingstub__7b44b1fb090de1c3a97c62326f13cf12ff45ba873b47547be0cd3ea8680ef42e(
854
1078
  value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnPipeline.LogPublishingOptionsProperty]],
855
1079
  ) -> None:
@@ -868,9 +1092,23 @@ def _typecheckingstub__fba41b395dc1c970e9d0aa14a6a1ab0253934baf83b04037847520ae1
868
1092
  """Type checking stubs"""
869
1093
  pass
870
1094
 
1095
+ def _typecheckingstub__39aa771d8b0dadf0e9b1441bf7e19531dc29409c35fdaa760d67c3d2024e7cec(
1096
+ *,
1097
+ persistent_buffer_enabled: typing.Union[builtins.bool, _IResolvable_da3f097b],
1098
+ ) -> None:
1099
+ """Type checking stubs"""
1100
+ pass
1101
+
871
1102
  def _typecheckingstub__c01b8e66d5b6049eed2691204d06b883fc5ba0ecb3ef2a6ff58958057fa34ad9(
872
1103
  *,
873
- log_group: typing.Optional[builtins.str] = None,
1104
+ log_group: builtins.str,
1105
+ ) -> None:
1106
+ """Type checking stubs"""
1107
+ pass
1108
+
1109
+ def _typecheckingstub__41ca1d23f63f6886c5d45b8bf5914e9055fcd47e780492e168c4e248bb79c92f(
1110
+ *,
1111
+ kms_key_arn: builtins.str,
874
1112
  ) -> None:
875
1113
  """Type checking stubs"""
876
1114
  pass
@@ -894,8 +1132,8 @@ def _typecheckingstub__8d38e6cb9cbcb864c898af5877a119ef843fc9588abfbe68a92321cf3
894
1132
 
895
1133
  def _typecheckingstub__d6c7fc6663c9baefdd81f02e0e69deb4e81a8e210a00a4346752ffa95aa926ac(
896
1134
  *,
1135
+ subnet_ids: typing.Sequence[builtins.str],
897
1136
  security_group_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
898
- subnet_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
899
1137
  ) -> None:
900
1138
  """Type checking stubs"""
901
1139
  pass
@@ -906,6 +1144,8 @@ def _typecheckingstub__e5ae24cae502e48ff4f681bebbc941bf569bb00330722c27b6a689ced
906
1144
  min_units: jsii.Number,
907
1145
  pipeline_configuration_body: builtins.str,
908
1146
  pipeline_name: builtins.str,
1147
+ buffer_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPipeline.BufferOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
1148
+ encryption_at_rest_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPipeline.EncryptionAtRestOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
909
1149
  log_publishing_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPipeline.LogPublishingOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
910
1150
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
911
1151
  vpc_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPipeline.VpcOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,