aws-cdk-lib 2.193.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.193.0.jsii.tgz → aws-cdk-lib@2.195.0.jsii.tgz} +0 -0
- aws_cdk/aws_apigateway/__init__.py +63 -2
- aws_cdk/aws_aps/__init__.py +34 -22
- aws_cdk/aws_autoscaling/__init__.py +8 -0
- aws_cdk/aws_batch/__init__.py +2 -2
- aws_cdk/aws_bedrock/__init__.py +587 -8
- aws_cdk/aws_ce/__init__.py +34 -22
- aws_cdk/aws_cloudfront/__init__.py +6090 -3972
- aws_cdk/aws_codebuild/__init__.py +19 -10
- 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_dlm/__init__.py +2 -2
- aws_cdk/aws_dsql/__init__.py +9 -0
- aws_cdk/aws_dynamodb/__init__.py +5 -3
- aws_cdk/aws_ec2/__init__.py +138 -11
- aws_cdk/aws_ecr/__init__.py +419 -0
- aws_cdk/aws_ecs/__init__.py +22 -25
- aws_cdk/aws_entityresolution/__init__.py +7 -2
- aws_cdk/aws_events/__init__.py +41 -8
- 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_lambda/__init__.py +1 -1
- aws_cdk/aws_medialive/__init__.py +4 -6
- aws_cdk/aws_mediapackagev2/__init__.py +50 -6
- aws_cdk/aws_mediatailor/__init__.py +115 -0
- aws_cdk/aws_memorydb/__init__.py +21 -11
- aws_cdk/aws_oam/__init__.py +43 -10
- aws_cdk/aws_omics/__init__.py +5 -5
- aws_cdk/aws_opensearchservice/__init__.py +6 -0
- aws_cdk/aws_quicksight/__init__.py +1 -1
- aws_cdk/aws_rds/__init__.py +87 -8
- aws_cdk/aws_redshiftserverless/__init__.py +20 -0
- 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_route53resolver/__init__.py +41 -0
- aws_cdk/aws_s3/__init__.py +2 -4
- aws_cdk/aws_s3_notifications/__init__.py +5 -5
- aws_cdk/aws_sagemaker/__init__.py +255 -8
- aws_cdk/aws_ssmguiconnect/__init__.py +544 -0
- aws_cdk/aws_vpclattice/__init__.py +6 -2
- aws_cdk/aws_wisdom/__init__.py +25 -6
- aws_cdk/cloud_assembly_schema/__init__.py +7 -1
- {aws_cdk_lib-2.193.0.dist-info → aws_cdk_lib-2.195.0.dist-info}/METADATA +2 -2
- {aws_cdk_lib-2.193.0.dist-info → aws_cdk_lib-2.195.0.dist-info}/RECORD +54 -53
- {aws_cdk_lib-2.193.0.dist-info → aws_cdk_lib-2.195.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.193.0.dist-info → aws_cdk_lib-2.195.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.193.0.dist-info → aws_cdk_lib-2.195.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.193.0.dist-info → aws_cdk_lib-2.195.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_bedrock/__init__.py
CHANGED
|
@@ -4409,10 +4409,34 @@ class CfnDataAutomationProject(
|
|
|
4409
4409
|
},
|
|
4410
4410
|
kms_key_id="kmsKeyId",
|
|
4411
4411
|
override_configuration=bedrock.CfnDataAutomationProject.OverrideConfigurationProperty(
|
|
4412
|
+
audio=bedrock.CfnDataAutomationProject.AudioOverrideConfigurationProperty(
|
|
4413
|
+
modality_processing=bedrock.CfnDataAutomationProject.ModalityProcessingConfigurationProperty(
|
|
4414
|
+
state="state"
|
|
4415
|
+
)
|
|
4416
|
+
),
|
|
4412
4417
|
document=bedrock.CfnDataAutomationProject.DocumentOverrideConfigurationProperty(
|
|
4418
|
+
modality_processing=bedrock.CfnDataAutomationProject.ModalityProcessingConfigurationProperty(
|
|
4419
|
+
state="state"
|
|
4420
|
+
),
|
|
4413
4421
|
splitter=bedrock.CfnDataAutomationProject.SplitterConfigurationProperty(
|
|
4414
4422
|
state="state"
|
|
4415
4423
|
)
|
|
4424
|
+
),
|
|
4425
|
+
image=bedrock.CfnDataAutomationProject.ImageOverrideConfigurationProperty(
|
|
4426
|
+
modality_processing=bedrock.CfnDataAutomationProject.ModalityProcessingConfigurationProperty(
|
|
4427
|
+
state="state"
|
|
4428
|
+
)
|
|
4429
|
+
),
|
|
4430
|
+
modality_routing=bedrock.CfnDataAutomationProject.ModalityRoutingConfigurationProperty(
|
|
4431
|
+
jpeg="jpeg",
|
|
4432
|
+
mov="mov",
|
|
4433
|
+
mp4="mp4",
|
|
4434
|
+
png="png"
|
|
4435
|
+
),
|
|
4436
|
+
video=bedrock.CfnDataAutomationProject.VideoOverrideConfigurationProperty(
|
|
4437
|
+
modality_processing=bedrock.CfnDataAutomationProject.ModalityProcessingConfigurationProperty(
|
|
4438
|
+
state="state"
|
|
4439
|
+
)
|
|
4416
4440
|
)
|
|
4417
4441
|
),
|
|
4418
4442
|
project_description="projectDescription",
|
|
@@ -4826,6 +4850,67 @@ class CfnDataAutomationProject(
|
|
|
4826
4850
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
4827
4851
|
)
|
|
4828
4852
|
|
|
4853
|
+
@jsii.data_type(
|
|
4854
|
+
jsii_type="aws-cdk-lib.aws_bedrock.CfnDataAutomationProject.AudioOverrideConfigurationProperty",
|
|
4855
|
+
jsii_struct_bases=[],
|
|
4856
|
+
name_mapping={"modality_processing": "modalityProcessing"},
|
|
4857
|
+
)
|
|
4858
|
+
class AudioOverrideConfigurationProperty:
|
|
4859
|
+
def __init__(
|
|
4860
|
+
self,
|
|
4861
|
+
*,
|
|
4862
|
+
modality_processing: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDataAutomationProject.ModalityProcessingConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4863
|
+
) -> None:
|
|
4864
|
+
'''Sets whether your project will process audio or not.
|
|
4865
|
+
|
|
4866
|
+
:param modality_processing: Sets modality processing for audio files. All modalities are enabled by default.
|
|
4867
|
+
|
|
4868
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-audiooverrideconfiguration.html
|
|
4869
|
+
:exampleMetadata: fixture=_generated
|
|
4870
|
+
|
|
4871
|
+
Example::
|
|
4872
|
+
|
|
4873
|
+
# The code below shows an example of how to instantiate this type.
|
|
4874
|
+
# The values are placeholders you should change.
|
|
4875
|
+
from aws_cdk import aws_bedrock as bedrock
|
|
4876
|
+
|
|
4877
|
+
audio_override_configuration_property = bedrock.CfnDataAutomationProject.AudioOverrideConfigurationProperty(
|
|
4878
|
+
modality_processing=bedrock.CfnDataAutomationProject.ModalityProcessingConfigurationProperty(
|
|
4879
|
+
state="state"
|
|
4880
|
+
)
|
|
4881
|
+
)
|
|
4882
|
+
'''
|
|
4883
|
+
if __debug__:
|
|
4884
|
+
type_hints = typing.get_type_hints(_typecheckingstub__9fa0ddf34ba99d172292ec01a5b59e05e41939ae214f174146b2d694461955ce)
|
|
4885
|
+
check_type(argname="argument modality_processing", value=modality_processing, expected_type=type_hints["modality_processing"])
|
|
4886
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
4887
|
+
if modality_processing is not None:
|
|
4888
|
+
self._values["modality_processing"] = modality_processing
|
|
4889
|
+
|
|
4890
|
+
@builtins.property
|
|
4891
|
+
def modality_processing(
|
|
4892
|
+
self,
|
|
4893
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataAutomationProject.ModalityProcessingConfigurationProperty"]]:
|
|
4894
|
+
'''Sets modality processing for audio files.
|
|
4895
|
+
|
|
4896
|
+
All modalities are enabled by default.
|
|
4897
|
+
|
|
4898
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-audiooverrideconfiguration.html#cfn-bedrock-dataautomationproject-audiooverrideconfiguration-modalityprocessing
|
|
4899
|
+
'''
|
|
4900
|
+
result = self._values.get("modality_processing")
|
|
4901
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataAutomationProject.ModalityProcessingConfigurationProperty"]], result)
|
|
4902
|
+
|
|
4903
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
4904
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
4905
|
+
|
|
4906
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
4907
|
+
return not (rhs == self)
|
|
4908
|
+
|
|
4909
|
+
def __repr__(self) -> str:
|
|
4910
|
+
return "AudioOverrideConfigurationProperty(%s)" % ", ".join(
|
|
4911
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
4912
|
+
)
|
|
4913
|
+
|
|
4829
4914
|
@jsii.data_type(
|
|
4830
4915
|
jsii_type="aws-cdk-lib.aws_bedrock.CfnDataAutomationProject.AudioStandardExtractionProperty",
|
|
4831
4916
|
jsii_struct_bases=[],
|
|
@@ -5505,16 +5590,21 @@ class CfnDataAutomationProject(
|
|
|
5505
5590
|
@jsii.data_type(
|
|
5506
5591
|
jsii_type="aws-cdk-lib.aws_bedrock.CfnDataAutomationProject.DocumentOverrideConfigurationProperty",
|
|
5507
5592
|
jsii_struct_bases=[],
|
|
5508
|
-
name_mapping={
|
|
5593
|
+
name_mapping={
|
|
5594
|
+
"modality_processing": "modalityProcessing",
|
|
5595
|
+
"splitter": "splitter",
|
|
5596
|
+
},
|
|
5509
5597
|
)
|
|
5510
5598
|
class DocumentOverrideConfigurationProperty:
|
|
5511
5599
|
def __init__(
|
|
5512
5600
|
self,
|
|
5513
5601
|
*,
|
|
5602
|
+
modality_processing: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDataAutomationProject.ModalityProcessingConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5514
5603
|
splitter: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDataAutomationProject.SplitterConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5515
5604
|
) -> None:
|
|
5516
5605
|
'''Additional settings for a project.
|
|
5517
5606
|
|
|
5607
|
+
:param modality_processing: Sets modality processing for document files. All modalities are enabled by default.
|
|
5518
5608
|
:param splitter: Whether document splitter is enabled for a project.
|
|
5519
5609
|
|
|
5520
5610
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-documentoverrideconfiguration.html
|
|
@@ -5527,6 +5617,9 @@ class CfnDataAutomationProject(
|
|
|
5527
5617
|
from aws_cdk import aws_bedrock as bedrock
|
|
5528
5618
|
|
|
5529
5619
|
document_override_configuration_property = bedrock.CfnDataAutomationProject.DocumentOverrideConfigurationProperty(
|
|
5620
|
+
modality_processing=bedrock.CfnDataAutomationProject.ModalityProcessingConfigurationProperty(
|
|
5621
|
+
state="state"
|
|
5622
|
+
),
|
|
5530
5623
|
splitter=bedrock.CfnDataAutomationProject.SplitterConfigurationProperty(
|
|
5531
5624
|
state="state"
|
|
5532
5625
|
)
|
|
@@ -5534,11 +5627,27 @@ class CfnDataAutomationProject(
|
|
|
5534
5627
|
'''
|
|
5535
5628
|
if __debug__:
|
|
5536
5629
|
type_hints = typing.get_type_hints(_typecheckingstub__ce28bbcdad808c3d79746aae815f4706b7c664e45cfa21e90b91fef9b498a905)
|
|
5630
|
+
check_type(argname="argument modality_processing", value=modality_processing, expected_type=type_hints["modality_processing"])
|
|
5537
5631
|
check_type(argname="argument splitter", value=splitter, expected_type=type_hints["splitter"])
|
|
5538
5632
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
5633
|
+
if modality_processing is not None:
|
|
5634
|
+
self._values["modality_processing"] = modality_processing
|
|
5539
5635
|
if splitter is not None:
|
|
5540
5636
|
self._values["splitter"] = splitter
|
|
5541
5637
|
|
|
5638
|
+
@builtins.property
|
|
5639
|
+
def modality_processing(
|
|
5640
|
+
self,
|
|
5641
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataAutomationProject.ModalityProcessingConfigurationProperty"]]:
|
|
5642
|
+
'''Sets modality processing for document files.
|
|
5643
|
+
|
|
5644
|
+
All modalities are enabled by default.
|
|
5645
|
+
|
|
5646
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-documentoverrideconfiguration.html#cfn-bedrock-dataautomationproject-documentoverrideconfiguration-modalityprocessing
|
|
5647
|
+
'''
|
|
5648
|
+
result = self._values.get("modality_processing")
|
|
5649
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataAutomationProject.ModalityProcessingConfigurationProperty"]], result)
|
|
5650
|
+
|
|
5542
5651
|
@builtins.property
|
|
5543
5652
|
def splitter(
|
|
5544
5653
|
self,
|
|
@@ -5928,6 +6037,67 @@ class CfnDataAutomationProject(
|
|
|
5928
6037
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
5929
6038
|
)
|
|
5930
6039
|
|
|
6040
|
+
@jsii.data_type(
|
|
6041
|
+
jsii_type="aws-cdk-lib.aws_bedrock.CfnDataAutomationProject.ImageOverrideConfigurationProperty",
|
|
6042
|
+
jsii_struct_bases=[],
|
|
6043
|
+
name_mapping={"modality_processing": "modalityProcessing"},
|
|
6044
|
+
)
|
|
6045
|
+
class ImageOverrideConfigurationProperty:
|
|
6046
|
+
def __init__(
|
|
6047
|
+
self,
|
|
6048
|
+
*,
|
|
6049
|
+
modality_processing: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDataAutomationProject.ModalityProcessingConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6050
|
+
) -> None:
|
|
6051
|
+
'''Sets whether your project will process images or not.
|
|
6052
|
+
|
|
6053
|
+
:param modality_processing: Sets modality processing for image files. All modalities are enabled by default.
|
|
6054
|
+
|
|
6055
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-imageoverrideconfiguration.html
|
|
6056
|
+
:exampleMetadata: fixture=_generated
|
|
6057
|
+
|
|
6058
|
+
Example::
|
|
6059
|
+
|
|
6060
|
+
# The code below shows an example of how to instantiate this type.
|
|
6061
|
+
# The values are placeholders you should change.
|
|
6062
|
+
from aws_cdk import aws_bedrock as bedrock
|
|
6063
|
+
|
|
6064
|
+
image_override_configuration_property = bedrock.CfnDataAutomationProject.ImageOverrideConfigurationProperty(
|
|
6065
|
+
modality_processing=bedrock.CfnDataAutomationProject.ModalityProcessingConfigurationProperty(
|
|
6066
|
+
state="state"
|
|
6067
|
+
)
|
|
6068
|
+
)
|
|
6069
|
+
'''
|
|
6070
|
+
if __debug__:
|
|
6071
|
+
type_hints = typing.get_type_hints(_typecheckingstub__34a681e35d658a2a736af34f5e6af8631d8d4b6f6f0a517e671c60fc315ac32b)
|
|
6072
|
+
check_type(argname="argument modality_processing", value=modality_processing, expected_type=type_hints["modality_processing"])
|
|
6073
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
6074
|
+
if modality_processing is not None:
|
|
6075
|
+
self._values["modality_processing"] = modality_processing
|
|
6076
|
+
|
|
6077
|
+
@builtins.property
|
|
6078
|
+
def modality_processing(
|
|
6079
|
+
self,
|
|
6080
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataAutomationProject.ModalityProcessingConfigurationProperty"]]:
|
|
6081
|
+
'''Sets modality processing for image files.
|
|
6082
|
+
|
|
6083
|
+
All modalities are enabled by default.
|
|
6084
|
+
|
|
6085
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-imageoverrideconfiguration.html#cfn-bedrock-dataautomationproject-imageoverrideconfiguration-modalityprocessing
|
|
6086
|
+
'''
|
|
6087
|
+
result = self._values.get("modality_processing")
|
|
6088
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataAutomationProject.ModalityProcessingConfigurationProperty"]], result)
|
|
6089
|
+
|
|
6090
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
6091
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
6092
|
+
|
|
6093
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
6094
|
+
return not (rhs == self)
|
|
6095
|
+
|
|
6096
|
+
def __repr__(self) -> str:
|
|
6097
|
+
return "ImageOverrideConfigurationProperty(%s)" % ", ".join(
|
|
6098
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
6099
|
+
)
|
|
6100
|
+
|
|
5931
6101
|
@jsii.data_type(
|
|
5932
6102
|
jsii_type="aws-cdk-lib.aws_bedrock.CfnDataAutomationProject.ImageStandardExtractionProperty",
|
|
5933
6103
|
jsii_struct_bases=[],
|
|
@@ -6175,20 +6345,189 @@ class CfnDataAutomationProject(
|
|
|
6175
6345
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
6176
6346
|
)
|
|
6177
6347
|
|
|
6348
|
+
@jsii.data_type(
|
|
6349
|
+
jsii_type="aws-cdk-lib.aws_bedrock.CfnDataAutomationProject.ModalityProcessingConfigurationProperty",
|
|
6350
|
+
jsii_struct_bases=[],
|
|
6351
|
+
name_mapping={"state": "state"},
|
|
6352
|
+
)
|
|
6353
|
+
class ModalityProcessingConfigurationProperty:
|
|
6354
|
+
def __init__(self, *, state: typing.Optional[builtins.str] = None) -> None:
|
|
6355
|
+
'''This element is used to determine if the modality it is associated with is enabled or disabled.
|
|
6356
|
+
|
|
6357
|
+
All modalities are enabled by default.
|
|
6358
|
+
|
|
6359
|
+
:param state: Stores the state of the modality for your project, set to either enabled or disabled.
|
|
6360
|
+
|
|
6361
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-modalityprocessingconfiguration.html
|
|
6362
|
+
:exampleMetadata: fixture=_generated
|
|
6363
|
+
|
|
6364
|
+
Example::
|
|
6365
|
+
|
|
6366
|
+
# The code below shows an example of how to instantiate this type.
|
|
6367
|
+
# The values are placeholders you should change.
|
|
6368
|
+
from aws_cdk import aws_bedrock as bedrock
|
|
6369
|
+
|
|
6370
|
+
modality_processing_configuration_property = bedrock.CfnDataAutomationProject.ModalityProcessingConfigurationProperty(
|
|
6371
|
+
state="state"
|
|
6372
|
+
)
|
|
6373
|
+
'''
|
|
6374
|
+
if __debug__:
|
|
6375
|
+
type_hints = typing.get_type_hints(_typecheckingstub__11b9621807c12ab2ce46c77ab801b225eb4ba5af317edcb4c0a41ab32f060903)
|
|
6376
|
+
check_type(argname="argument state", value=state, expected_type=type_hints["state"])
|
|
6377
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
6378
|
+
if state is not None:
|
|
6379
|
+
self._values["state"] = state
|
|
6380
|
+
|
|
6381
|
+
@builtins.property
|
|
6382
|
+
def state(self) -> typing.Optional[builtins.str]:
|
|
6383
|
+
'''Stores the state of the modality for your project, set to either enabled or disabled.
|
|
6384
|
+
|
|
6385
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-modalityprocessingconfiguration.html#cfn-bedrock-dataautomationproject-modalityprocessingconfiguration-state
|
|
6386
|
+
'''
|
|
6387
|
+
result = self._values.get("state")
|
|
6388
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
6389
|
+
|
|
6390
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
6391
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
6392
|
+
|
|
6393
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
6394
|
+
return not (rhs == self)
|
|
6395
|
+
|
|
6396
|
+
def __repr__(self) -> str:
|
|
6397
|
+
return "ModalityProcessingConfigurationProperty(%s)" % ", ".join(
|
|
6398
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
6399
|
+
)
|
|
6400
|
+
|
|
6401
|
+
@jsii.data_type(
|
|
6402
|
+
jsii_type="aws-cdk-lib.aws_bedrock.CfnDataAutomationProject.ModalityRoutingConfigurationProperty",
|
|
6403
|
+
jsii_struct_bases=[],
|
|
6404
|
+
name_mapping={"jpeg": "jpeg", "mov": "mov", "mp4": "mp4", "png": "png"},
|
|
6405
|
+
)
|
|
6406
|
+
class ModalityRoutingConfigurationProperty:
|
|
6407
|
+
def __init__(
|
|
6408
|
+
self,
|
|
6409
|
+
*,
|
|
6410
|
+
jpeg: typing.Optional[builtins.str] = None,
|
|
6411
|
+
mov: typing.Optional[builtins.str] = None,
|
|
6412
|
+
mp4: typing.Optional[builtins.str] = None,
|
|
6413
|
+
png: typing.Optional[builtins.str] = None,
|
|
6414
|
+
) -> None:
|
|
6415
|
+
'''This element allows you to set up where JPEG, PNG, MOV, and MP4 files get routed to for processing.
|
|
6416
|
+
|
|
6417
|
+
JPEG routing applies to both "JPEG" and "JPG" file extensions.
|
|
6418
|
+
|
|
6419
|
+
:param jpeg: Sets whether JPEG files are routed to document or image processing.
|
|
6420
|
+
:param mov: Sets whether MOV files are routed to audio or video processing.
|
|
6421
|
+
:param mp4: Sets whether MP4 files are routed to audio or video processing.
|
|
6422
|
+
:param png: Sets whether PNG files are routed to document or image processing.
|
|
6423
|
+
|
|
6424
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-modalityroutingconfiguration.html
|
|
6425
|
+
:exampleMetadata: fixture=_generated
|
|
6426
|
+
|
|
6427
|
+
Example::
|
|
6428
|
+
|
|
6429
|
+
# The code below shows an example of how to instantiate this type.
|
|
6430
|
+
# The values are placeholders you should change.
|
|
6431
|
+
from aws_cdk import aws_bedrock as bedrock
|
|
6432
|
+
|
|
6433
|
+
modality_routing_configuration_property = bedrock.CfnDataAutomationProject.ModalityRoutingConfigurationProperty(
|
|
6434
|
+
jpeg="jpeg",
|
|
6435
|
+
mov="mov",
|
|
6436
|
+
mp4="mp4",
|
|
6437
|
+
png="png"
|
|
6438
|
+
)
|
|
6439
|
+
'''
|
|
6440
|
+
if __debug__:
|
|
6441
|
+
type_hints = typing.get_type_hints(_typecheckingstub__18c2866282470eccc145ca7febde2b3deb2fecf2300c6b32965aa4899588a3a4)
|
|
6442
|
+
check_type(argname="argument jpeg", value=jpeg, expected_type=type_hints["jpeg"])
|
|
6443
|
+
check_type(argname="argument mov", value=mov, expected_type=type_hints["mov"])
|
|
6444
|
+
check_type(argname="argument mp4", value=mp4, expected_type=type_hints["mp4"])
|
|
6445
|
+
check_type(argname="argument png", value=png, expected_type=type_hints["png"])
|
|
6446
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
6447
|
+
if jpeg is not None:
|
|
6448
|
+
self._values["jpeg"] = jpeg
|
|
6449
|
+
if mov is not None:
|
|
6450
|
+
self._values["mov"] = mov
|
|
6451
|
+
if mp4 is not None:
|
|
6452
|
+
self._values["mp4"] = mp4
|
|
6453
|
+
if png is not None:
|
|
6454
|
+
self._values["png"] = png
|
|
6455
|
+
|
|
6456
|
+
@builtins.property
|
|
6457
|
+
def jpeg(self) -> typing.Optional[builtins.str]:
|
|
6458
|
+
'''Sets whether JPEG files are routed to document or image processing.
|
|
6459
|
+
|
|
6460
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-modalityroutingconfiguration.html#cfn-bedrock-dataautomationproject-modalityroutingconfiguration-jpeg
|
|
6461
|
+
'''
|
|
6462
|
+
result = self._values.get("jpeg")
|
|
6463
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
6464
|
+
|
|
6465
|
+
@builtins.property
|
|
6466
|
+
def mov(self) -> typing.Optional[builtins.str]:
|
|
6467
|
+
'''Sets whether MOV files are routed to audio or video processing.
|
|
6468
|
+
|
|
6469
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-modalityroutingconfiguration.html#cfn-bedrock-dataautomationproject-modalityroutingconfiguration-mov
|
|
6470
|
+
'''
|
|
6471
|
+
result = self._values.get("mov")
|
|
6472
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
6473
|
+
|
|
6474
|
+
@builtins.property
|
|
6475
|
+
def mp4(self) -> typing.Optional[builtins.str]:
|
|
6476
|
+
'''Sets whether MP4 files are routed to audio or video processing.
|
|
6477
|
+
|
|
6478
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-modalityroutingconfiguration.html#cfn-bedrock-dataautomationproject-modalityroutingconfiguration-mp4
|
|
6479
|
+
'''
|
|
6480
|
+
result = self._values.get("mp4")
|
|
6481
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
6482
|
+
|
|
6483
|
+
@builtins.property
|
|
6484
|
+
def png(self) -> typing.Optional[builtins.str]:
|
|
6485
|
+
'''Sets whether PNG files are routed to document or image processing.
|
|
6486
|
+
|
|
6487
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-modalityroutingconfiguration.html#cfn-bedrock-dataautomationproject-modalityroutingconfiguration-png
|
|
6488
|
+
'''
|
|
6489
|
+
result = self._values.get("png")
|
|
6490
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
6491
|
+
|
|
6492
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
6493
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
6494
|
+
|
|
6495
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
6496
|
+
return not (rhs == self)
|
|
6497
|
+
|
|
6498
|
+
def __repr__(self) -> str:
|
|
6499
|
+
return "ModalityRoutingConfigurationProperty(%s)" % ", ".join(
|
|
6500
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
6501
|
+
)
|
|
6502
|
+
|
|
6178
6503
|
@jsii.data_type(
|
|
6179
6504
|
jsii_type="aws-cdk-lib.aws_bedrock.CfnDataAutomationProject.OverrideConfigurationProperty",
|
|
6180
6505
|
jsii_struct_bases=[],
|
|
6181
|
-
name_mapping={
|
|
6506
|
+
name_mapping={
|
|
6507
|
+
"audio": "audio",
|
|
6508
|
+
"document": "document",
|
|
6509
|
+
"image": "image",
|
|
6510
|
+
"modality_routing": "modalityRouting",
|
|
6511
|
+
"video": "video",
|
|
6512
|
+
},
|
|
6182
6513
|
)
|
|
6183
6514
|
class OverrideConfigurationProperty:
|
|
6184
6515
|
def __init__(
|
|
6185
6516
|
self,
|
|
6186
6517
|
*,
|
|
6518
|
+
audio: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDataAutomationProject.AudioOverrideConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6187
6519
|
document: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDataAutomationProject.DocumentOverrideConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6520
|
+
image: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDataAutomationProject.ImageOverrideConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6521
|
+
modality_routing: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDataAutomationProject.ModalityRoutingConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6522
|
+
video: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDataAutomationProject.VideoOverrideConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6188
6523
|
) -> None:
|
|
6189
6524
|
'''Additional settings for a project.
|
|
6190
6525
|
|
|
6526
|
+
:param audio: This element declares whether your project will process audio files.
|
|
6191
6527
|
:param document: Additional settings for a project.
|
|
6528
|
+
:param image: This element declares whether your project will process image files.
|
|
6529
|
+
:param modality_routing: Lets you set which modalities certain file types are processed as.
|
|
6530
|
+
:param video: This element declares whether your project will process video files.
|
|
6192
6531
|
|
|
6193
6532
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-overrideconfiguration.html
|
|
6194
6533
|
:exampleMetadata: fixture=_generated
|
|
@@ -6200,19 +6539,66 @@ class CfnDataAutomationProject(
|
|
|
6200
6539
|
from aws_cdk import aws_bedrock as bedrock
|
|
6201
6540
|
|
|
6202
6541
|
override_configuration_property = bedrock.CfnDataAutomationProject.OverrideConfigurationProperty(
|
|
6542
|
+
audio=bedrock.CfnDataAutomationProject.AudioOverrideConfigurationProperty(
|
|
6543
|
+
modality_processing=bedrock.CfnDataAutomationProject.ModalityProcessingConfigurationProperty(
|
|
6544
|
+
state="state"
|
|
6545
|
+
)
|
|
6546
|
+
),
|
|
6203
6547
|
document=bedrock.CfnDataAutomationProject.DocumentOverrideConfigurationProperty(
|
|
6548
|
+
modality_processing=bedrock.CfnDataAutomationProject.ModalityProcessingConfigurationProperty(
|
|
6549
|
+
state="state"
|
|
6550
|
+
),
|
|
6204
6551
|
splitter=bedrock.CfnDataAutomationProject.SplitterConfigurationProperty(
|
|
6205
6552
|
state="state"
|
|
6206
6553
|
)
|
|
6554
|
+
),
|
|
6555
|
+
image=bedrock.CfnDataAutomationProject.ImageOverrideConfigurationProperty(
|
|
6556
|
+
modality_processing=bedrock.CfnDataAutomationProject.ModalityProcessingConfigurationProperty(
|
|
6557
|
+
state="state"
|
|
6558
|
+
)
|
|
6559
|
+
),
|
|
6560
|
+
modality_routing=bedrock.CfnDataAutomationProject.ModalityRoutingConfigurationProperty(
|
|
6561
|
+
jpeg="jpeg",
|
|
6562
|
+
mov="mov",
|
|
6563
|
+
mp4="mp4",
|
|
6564
|
+
png="png"
|
|
6565
|
+
),
|
|
6566
|
+
video=bedrock.CfnDataAutomationProject.VideoOverrideConfigurationProperty(
|
|
6567
|
+
modality_processing=bedrock.CfnDataAutomationProject.ModalityProcessingConfigurationProperty(
|
|
6568
|
+
state="state"
|
|
6569
|
+
)
|
|
6207
6570
|
)
|
|
6208
6571
|
)
|
|
6209
6572
|
'''
|
|
6210
6573
|
if __debug__:
|
|
6211
6574
|
type_hints = typing.get_type_hints(_typecheckingstub__400a92e228907b33f71ad10276a9ad472a21d517da3941d1621dda605806343e)
|
|
6575
|
+
check_type(argname="argument audio", value=audio, expected_type=type_hints["audio"])
|
|
6212
6576
|
check_type(argname="argument document", value=document, expected_type=type_hints["document"])
|
|
6577
|
+
check_type(argname="argument image", value=image, expected_type=type_hints["image"])
|
|
6578
|
+
check_type(argname="argument modality_routing", value=modality_routing, expected_type=type_hints["modality_routing"])
|
|
6579
|
+
check_type(argname="argument video", value=video, expected_type=type_hints["video"])
|
|
6213
6580
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
6581
|
+
if audio is not None:
|
|
6582
|
+
self._values["audio"] = audio
|
|
6214
6583
|
if document is not None:
|
|
6215
6584
|
self._values["document"] = document
|
|
6585
|
+
if image is not None:
|
|
6586
|
+
self._values["image"] = image
|
|
6587
|
+
if modality_routing is not None:
|
|
6588
|
+
self._values["modality_routing"] = modality_routing
|
|
6589
|
+
if video is not None:
|
|
6590
|
+
self._values["video"] = video
|
|
6591
|
+
|
|
6592
|
+
@builtins.property
|
|
6593
|
+
def audio(
|
|
6594
|
+
self,
|
|
6595
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataAutomationProject.AudioOverrideConfigurationProperty"]]:
|
|
6596
|
+
'''This element declares whether your project will process audio files.
|
|
6597
|
+
|
|
6598
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-overrideconfiguration.html#cfn-bedrock-dataautomationproject-overrideconfiguration-audio
|
|
6599
|
+
'''
|
|
6600
|
+
result = self._values.get("audio")
|
|
6601
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataAutomationProject.AudioOverrideConfigurationProperty"]], result)
|
|
6216
6602
|
|
|
6217
6603
|
@builtins.property
|
|
6218
6604
|
def document(
|
|
@@ -6225,6 +6611,39 @@ class CfnDataAutomationProject(
|
|
|
6225
6611
|
result = self._values.get("document")
|
|
6226
6612
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataAutomationProject.DocumentOverrideConfigurationProperty"]], result)
|
|
6227
6613
|
|
|
6614
|
+
@builtins.property
|
|
6615
|
+
def image(
|
|
6616
|
+
self,
|
|
6617
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataAutomationProject.ImageOverrideConfigurationProperty"]]:
|
|
6618
|
+
'''This element declares whether your project will process image files.
|
|
6619
|
+
|
|
6620
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-overrideconfiguration.html#cfn-bedrock-dataautomationproject-overrideconfiguration-image
|
|
6621
|
+
'''
|
|
6622
|
+
result = self._values.get("image")
|
|
6623
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataAutomationProject.ImageOverrideConfigurationProperty"]], result)
|
|
6624
|
+
|
|
6625
|
+
@builtins.property
|
|
6626
|
+
def modality_routing(
|
|
6627
|
+
self,
|
|
6628
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataAutomationProject.ModalityRoutingConfigurationProperty"]]:
|
|
6629
|
+
'''Lets you set which modalities certain file types are processed as.
|
|
6630
|
+
|
|
6631
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-overrideconfiguration.html#cfn-bedrock-dataautomationproject-overrideconfiguration-modalityrouting
|
|
6632
|
+
'''
|
|
6633
|
+
result = self._values.get("modality_routing")
|
|
6634
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataAutomationProject.ModalityRoutingConfigurationProperty"]], result)
|
|
6635
|
+
|
|
6636
|
+
@builtins.property
|
|
6637
|
+
def video(
|
|
6638
|
+
self,
|
|
6639
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataAutomationProject.VideoOverrideConfigurationProperty"]]:
|
|
6640
|
+
'''This element declares whether your project will process video files.
|
|
6641
|
+
|
|
6642
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-overrideconfiguration.html#cfn-bedrock-dataautomationproject-overrideconfiguration-video
|
|
6643
|
+
'''
|
|
6644
|
+
result = self._values.get("video")
|
|
6645
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataAutomationProject.VideoOverrideConfigurationProperty"]], result)
|
|
6646
|
+
|
|
6228
6647
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
6229
6648
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
6230
6649
|
|
|
@@ -6598,6 +7017,67 @@ class CfnDataAutomationProject(
|
|
|
6598
7017
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
6599
7018
|
)
|
|
6600
7019
|
|
|
7020
|
+
@jsii.data_type(
|
|
7021
|
+
jsii_type="aws-cdk-lib.aws_bedrock.CfnDataAutomationProject.VideoOverrideConfigurationProperty",
|
|
7022
|
+
jsii_struct_bases=[],
|
|
7023
|
+
name_mapping={"modality_processing": "modalityProcessing"},
|
|
7024
|
+
)
|
|
7025
|
+
class VideoOverrideConfigurationProperty:
|
|
7026
|
+
def __init__(
|
|
7027
|
+
self,
|
|
7028
|
+
*,
|
|
7029
|
+
modality_processing: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDataAutomationProject.ModalityProcessingConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7030
|
+
) -> None:
|
|
7031
|
+
'''Sets whether your project will process videos or not.
|
|
7032
|
+
|
|
7033
|
+
:param modality_processing: Sets modality processing for video files. All modalities are enabled by default.
|
|
7034
|
+
|
|
7035
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-videooverrideconfiguration.html
|
|
7036
|
+
:exampleMetadata: fixture=_generated
|
|
7037
|
+
|
|
7038
|
+
Example::
|
|
7039
|
+
|
|
7040
|
+
# The code below shows an example of how to instantiate this type.
|
|
7041
|
+
# The values are placeholders you should change.
|
|
7042
|
+
from aws_cdk import aws_bedrock as bedrock
|
|
7043
|
+
|
|
7044
|
+
video_override_configuration_property = bedrock.CfnDataAutomationProject.VideoOverrideConfigurationProperty(
|
|
7045
|
+
modality_processing=bedrock.CfnDataAutomationProject.ModalityProcessingConfigurationProperty(
|
|
7046
|
+
state="state"
|
|
7047
|
+
)
|
|
7048
|
+
)
|
|
7049
|
+
'''
|
|
7050
|
+
if __debug__:
|
|
7051
|
+
type_hints = typing.get_type_hints(_typecheckingstub__d7326051e3b843174754054dc13d916d949edba4f6f11b266a8a0efb8d081b53)
|
|
7052
|
+
check_type(argname="argument modality_processing", value=modality_processing, expected_type=type_hints["modality_processing"])
|
|
7053
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
7054
|
+
if modality_processing is not None:
|
|
7055
|
+
self._values["modality_processing"] = modality_processing
|
|
7056
|
+
|
|
7057
|
+
@builtins.property
|
|
7058
|
+
def modality_processing(
|
|
7059
|
+
self,
|
|
7060
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataAutomationProject.ModalityProcessingConfigurationProperty"]]:
|
|
7061
|
+
'''Sets modality processing for video files.
|
|
7062
|
+
|
|
7063
|
+
All modalities are enabled by default.
|
|
7064
|
+
|
|
7065
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-videooverrideconfiguration.html#cfn-bedrock-dataautomationproject-videooverrideconfiguration-modalityprocessing
|
|
7066
|
+
'''
|
|
7067
|
+
result = self._values.get("modality_processing")
|
|
7068
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataAutomationProject.ModalityProcessingConfigurationProperty"]], result)
|
|
7069
|
+
|
|
7070
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
7071
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
7072
|
+
|
|
7073
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
7074
|
+
return not (rhs == self)
|
|
7075
|
+
|
|
7076
|
+
def __repr__(self) -> str:
|
|
7077
|
+
return "VideoOverrideConfigurationProperty(%s)" % ", ".join(
|
|
7078
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
7079
|
+
)
|
|
7080
|
+
|
|
6601
7081
|
@jsii.data_type(
|
|
6602
7082
|
jsii_type="aws-cdk-lib.aws_bedrock.CfnDataAutomationProject.VideoStandardExtractionProperty",
|
|
6603
7083
|
jsii_struct_bases=[],
|
|
@@ -6911,10 +7391,34 @@ class CfnDataAutomationProjectProps:
|
|
|
6911
7391
|
},
|
|
6912
7392
|
kms_key_id="kmsKeyId",
|
|
6913
7393
|
override_configuration=bedrock.CfnDataAutomationProject.OverrideConfigurationProperty(
|
|
7394
|
+
audio=bedrock.CfnDataAutomationProject.AudioOverrideConfigurationProperty(
|
|
7395
|
+
modality_processing=bedrock.CfnDataAutomationProject.ModalityProcessingConfigurationProperty(
|
|
7396
|
+
state="state"
|
|
7397
|
+
)
|
|
7398
|
+
),
|
|
6914
7399
|
document=bedrock.CfnDataAutomationProject.DocumentOverrideConfigurationProperty(
|
|
7400
|
+
modality_processing=bedrock.CfnDataAutomationProject.ModalityProcessingConfigurationProperty(
|
|
7401
|
+
state="state"
|
|
7402
|
+
),
|
|
6915
7403
|
splitter=bedrock.CfnDataAutomationProject.SplitterConfigurationProperty(
|
|
6916
7404
|
state="state"
|
|
6917
7405
|
)
|
|
7406
|
+
),
|
|
7407
|
+
image=bedrock.CfnDataAutomationProject.ImageOverrideConfigurationProperty(
|
|
7408
|
+
modality_processing=bedrock.CfnDataAutomationProject.ModalityProcessingConfigurationProperty(
|
|
7409
|
+
state="state"
|
|
7410
|
+
)
|
|
7411
|
+
),
|
|
7412
|
+
modality_routing=bedrock.CfnDataAutomationProject.ModalityRoutingConfigurationProperty(
|
|
7413
|
+
jpeg="jpeg",
|
|
7414
|
+
mov="mov",
|
|
7415
|
+
mp4="mp4",
|
|
7416
|
+
png="png"
|
|
7417
|
+
),
|
|
7418
|
+
video=bedrock.CfnDataAutomationProject.VideoOverrideConfigurationProperty(
|
|
7419
|
+
modality_processing=bedrock.CfnDataAutomationProject.ModalityProcessingConfigurationProperty(
|
|
7420
|
+
state="state"
|
|
7421
|
+
)
|
|
6918
7422
|
)
|
|
6919
7423
|
),
|
|
6920
7424
|
project_description="projectDescription",
|
|
@@ -9532,7 +10036,7 @@ class CfnDataSource(
|
|
|
9532
10036
|
)
|
|
9533
10037
|
class S3LocationProperty:
|
|
9534
10038
|
def __init__(self, *, uri: builtins.str) -> None:
|
|
9535
|
-
'''A storage location in an S3 bucket.
|
|
10039
|
+
'''A storage location in an Amazon S3 bucket.
|
|
9536
10040
|
|
|
9537
10041
|
:param uri: An object URI starting with ``s3://`` .
|
|
9538
10042
|
|
|
@@ -22487,7 +22991,7 @@ class CfnKnowledgeBase(
|
|
|
22487
22991
|
:param field_mapping: Contains the names of the fields to which to map information about the vector store.
|
|
22488
22992
|
:param vector_index_name: The name of the MongoDB Atlas vector search index.
|
|
22489
22993
|
:param endpoint_service_name: The name of the VPC endpoint service in your account that is connected to your MongoDB Atlas cluster.
|
|
22490
|
-
:param text_index_name:
|
|
22994
|
+
:param text_index_name: The name of the text search index in the MongoDB collection. This is required for using the hybrid search feature.
|
|
22491
22995
|
|
|
22492
22996
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-mongodbatlasconfiguration.html
|
|
22493
22997
|
:exampleMetadata: fixture=_generated
|
|
@@ -22611,7 +23115,9 @@ class CfnKnowledgeBase(
|
|
|
22611
23115
|
|
|
22612
23116
|
@builtins.property
|
|
22613
23117
|
def text_index_name(self) -> typing.Optional[builtins.str]:
|
|
22614
|
-
'''
|
|
23118
|
+
'''The name of the text search index in the MongoDB collection.
|
|
23119
|
+
|
|
23120
|
+
This is required for using the hybrid search feature.
|
|
22615
23121
|
|
|
22616
23122
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-mongodbatlasconfiguration.html#cfn-bedrock-knowledgebase-mongodbatlasconfiguration-textindexname
|
|
22617
23123
|
'''
|
|
@@ -24008,7 +24514,7 @@ class CfnKnowledgeBase(
|
|
|
24008
24514
|
:param primary_key_field: The name of the field in which Amazon Bedrock stores the ID for each entry.
|
|
24009
24515
|
:param text_field: The name of the field in which Amazon Bedrock stores the raw text from your data. The text is split according to the chunking strategy you choose.
|
|
24010
24516
|
:param vector_field: The name of the field in which Amazon Bedrock stores the vector embeddings for your data sources.
|
|
24011
|
-
:param custom_metadata_field:
|
|
24517
|
+
:param custom_metadata_field: Provide a name for the universal metadata field where Amazon Bedrock will store any custom metadata from your data source.
|
|
24012
24518
|
|
|
24013
24519
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-rdsfieldmapping.html
|
|
24014
24520
|
:exampleMetadata: fixture=_generated
|
|
@@ -24089,7 +24595,7 @@ class CfnKnowledgeBase(
|
|
|
24089
24595
|
|
|
24090
24596
|
@builtins.property
|
|
24091
24597
|
def custom_metadata_field(self) -> typing.Optional[builtins.str]:
|
|
24092
|
-
'''
|
|
24598
|
+
'''Provide a name for the universal metadata field where Amazon Bedrock will store any custom metadata from your data source.
|
|
24093
24599
|
|
|
24094
24600
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-rdsfieldmapping.html#cfn-bedrock-knowledgebase-rdsfieldmapping-custommetadatafield
|
|
24095
24601
|
'''
|
|
@@ -24923,7 +25429,7 @@ class CfnKnowledgeBase(
|
|
|
24923
25429
|
)
|
|
24924
25430
|
class S3LocationProperty:
|
|
24925
25431
|
def __init__(self, *, uri: builtins.str) -> None:
|
|
24926
|
-
'''A storage location in an S3 bucket.
|
|
25432
|
+
'''A storage location in an Amazon S3 bucket.
|
|
24927
25433
|
|
|
24928
25434
|
:param uri: An object URI starting with ``s3://`` .
|
|
24929
25435
|
|
|
@@ -30809,6 +31315,12 @@ class FoundationModelIdentifier(
|
|
|
30809
31315
|
'''Base model "amazon.nova-micro-v1:0:128k".'''
|
|
30810
31316
|
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "AMAZON_NOVA_MICRO_V1_0_128_K"))
|
|
30811
31317
|
|
|
31318
|
+
@jsii.python.classproperty
|
|
31319
|
+
@jsii.member(jsii_name="AMAZON_NOVA_PREMIER_V1_0")
|
|
31320
|
+
def AMAZON_NOVA_PREMIER_V1_0(cls) -> "FoundationModelIdentifier":
|
|
31321
|
+
'''Base model "amazon.nova-premier-v1:0".'''
|
|
31322
|
+
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "AMAZON_NOVA_PREMIER_V1_0"))
|
|
31323
|
+
|
|
30812
31324
|
@jsii.python.classproperty
|
|
30813
31325
|
@jsii.member(jsii_name="AMAZON_NOVA_PRO_V1_0")
|
|
30814
31326
|
def AMAZON_NOVA_PRO_V1_0(cls) -> "FoundationModelIdentifier":
|
|
@@ -31422,6 +31934,18 @@ class FoundationModelIdentifier(
|
|
|
31422
31934
|
'''Base model "meta.llama3-8b-instruct-v1:0".'''
|
|
31423
31935
|
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "META_LLAMA_3_8B_INSTRUCT_V1"))
|
|
31424
31936
|
|
|
31937
|
+
@jsii.python.classproperty
|
|
31938
|
+
@jsii.member(jsii_name="META_LLAMA_4_MAVERICK_17B_INSTRUCT_V1_0")
|
|
31939
|
+
def META_LLAMA_4_MAVERICK_17_B_INSTRUCT_V1_0(cls) -> "FoundationModelIdentifier":
|
|
31940
|
+
'''Base model "meta.llama4-maverick-17b-instruct-v1:0".'''
|
|
31941
|
+
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "META_LLAMA_4_MAVERICK_17B_INSTRUCT_V1_0"))
|
|
31942
|
+
|
|
31943
|
+
@jsii.python.classproperty
|
|
31944
|
+
@jsii.member(jsii_name="META_LLAMA_4_SCOUT_17B_INSTRUCT_V1_0")
|
|
31945
|
+
def META_LLAMA_4_SCOUT_17_B_INSTRUCT_V1_0(cls) -> "FoundationModelIdentifier":
|
|
31946
|
+
'''Base model "meta.llama4-scout-17b-instruct-v1:0".'''
|
|
31947
|
+
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "META_LLAMA_4_SCOUT_17B_INSTRUCT_V1_0"))
|
|
31948
|
+
|
|
31425
31949
|
@jsii.python.classproperty
|
|
31426
31950
|
@jsii.member(jsii_name="MISTRAL_LARGE_2_V0_1")
|
|
31427
31951
|
def MISTRAL_LARGE_2_V0_1(cls) -> "FoundationModelIdentifier":
|
|
@@ -31538,6 +32062,18 @@ class FoundationModelIdentifier(
|
|
|
31538
32062
|
'''Base model "stability.stable-image-ultra-v1:1".'''
|
|
31539
32063
|
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "STABILITY_STABLE_IMAGE_ULTRA_V1_1"))
|
|
31540
32064
|
|
|
32065
|
+
@jsii.python.classproperty
|
|
32066
|
+
@jsii.member(jsii_name="WRITER_PALMYRA_X4_V1_0")
|
|
32067
|
+
def WRITER_PALMYRA_X4_V1_0(cls) -> "FoundationModelIdentifier":
|
|
32068
|
+
'''Base model "writer.palmyra-x4-v1:0".'''
|
|
32069
|
+
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "WRITER_PALMYRA_X4_V1_0"))
|
|
32070
|
+
|
|
32071
|
+
@jsii.python.classproperty
|
|
32072
|
+
@jsii.member(jsii_name="WRITER_PALMYRA_X5_V1_0")
|
|
32073
|
+
def WRITER_PALMYRA_X5_V1_0(cls) -> "FoundationModelIdentifier":
|
|
32074
|
+
'''Base model "writer.palmyra-x5-v1:0".'''
|
|
32075
|
+
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "WRITER_PALMYRA_X5_V1_0"))
|
|
32076
|
+
|
|
31541
32077
|
@builtins.property
|
|
31542
32078
|
@jsii.member(jsii_name="modelId")
|
|
31543
32079
|
def model_id(self) -> builtins.str:
|
|
@@ -32397,6 +32933,13 @@ def _typecheckingstub__17b4067ba061b31b33f6982f8b1ce49b15211698a89239a94ac83de6e
|
|
|
32397
32933
|
"""Type checking stubs"""
|
|
32398
32934
|
pass
|
|
32399
32935
|
|
|
32936
|
+
def _typecheckingstub__9fa0ddf34ba99d172292ec01a5b59e05e41939ae214f174146b2d694461955ce(
|
|
32937
|
+
*,
|
|
32938
|
+
modality_processing: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataAutomationProject.ModalityProcessingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
32939
|
+
) -> None:
|
|
32940
|
+
"""Type checking stubs"""
|
|
32941
|
+
pass
|
|
32942
|
+
|
|
32400
32943
|
def _typecheckingstub__0cd729d92f87cc8b9ea825fd9aba3f8ad84df311b23d20555e9348067db7ca2d(
|
|
32401
32944
|
*,
|
|
32402
32945
|
category: typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataAutomationProject.AudioExtractionCategoryProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
@@ -32474,6 +33017,7 @@ def _typecheckingstub__b22792c9c0de4d07e8431f8ac3df8e64d6ae45cf4035db3f065789509
|
|
|
32474
33017
|
|
|
32475
33018
|
def _typecheckingstub__ce28bbcdad808c3d79746aae815f4706b7c664e45cfa21e90b91fef9b498a905(
|
|
32476
33019
|
*,
|
|
33020
|
+
modality_processing: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataAutomationProject.ModalityProcessingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
32477
33021
|
splitter: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataAutomationProject.SplitterConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
32478
33022
|
) -> None:
|
|
32479
33023
|
"""Type checking stubs"""
|
|
@@ -32518,6 +33062,13 @@ def _typecheckingstub__b889c5cec633874cf38a0cca25d340045efc344323f8c1f47b451c984
|
|
|
32518
33062
|
"""Type checking stubs"""
|
|
32519
33063
|
pass
|
|
32520
33064
|
|
|
33065
|
+
def _typecheckingstub__34a681e35d658a2a736af34f5e6af8631d8d4b6f6f0a517e671c60fc315ac32b(
|
|
33066
|
+
*,
|
|
33067
|
+
modality_processing: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataAutomationProject.ModalityProcessingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
33068
|
+
) -> None:
|
|
33069
|
+
"""Type checking stubs"""
|
|
33070
|
+
pass
|
|
33071
|
+
|
|
32521
33072
|
def _typecheckingstub__8509438c1738f2f2a62b74a8b21ad5bb1255f5b381218f083f1a15d23550dae1(
|
|
32522
33073
|
*,
|
|
32523
33074
|
bounding_box: typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataAutomationProject.ImageBoundingBoxProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
@@ -32542,9 +33093,30 @@ def _typecheckingstub__cd2e094ff92095348e69264bdb8606dc0cb4bbaca0f0e5bb44b408709
|
|
|
32542
33093
|
"""Type checking stubs"""
|
|
32543
33094
|
pass
|
|
32544
33095
|
|
|
33096
|
+
def _typecheckingstub__11b9621807c12ab2ce46c77ab801b225eb4ba5af317edcb4c0a41ab32f060903(
|
|
33097
|
+
*,
|
|
33098
|
+
state: typing.Optional[builtins.str] = None,
|
|
33099
|
+
) -> None:
|
|
33100
|
+
"""Type checking stubs"""
|
|
33101
|
+
pass
|
|
33102
|
+
|
|
33103
|
+
def _typecheckingstub__18c2866282470eccc145ca7febde2b3deb2fecf2300c6b32965aa4899588a3a4(
|
|
33104
|
+
*,
|
|
33105
|
+
jpeg: typing.Optional[builtins.str] = None,
|
|
33106
|
+
mov: typing.Optional[builtins.str] = None,
|
|
33107
|
+
mp4: typing.Optional[builtins.str] = None,
|
|
33108
|
+
png: typing.Optional[builtins.str] = None,
|
|
33109
|
+
) -> None:
|
|
33110
|
+
"""Type checking stubs"""
|
|
33111
|
+
pass
|
|
33112
|
+
|
|
32545
33113
|
def _typecheckingstub__400a92e228907b33f71ad10276a9ad472a21d517da3941d1621dda605806343e(
|
|
32546
33114
|
*,
|
|
33115
|
+
audio: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataAutomationProject.AudioOverrideConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
32547
33116
|
document: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataAutomationProject.DocumentOverrideConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
33117
|
+
image: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataAutomationProject.ImageOverrideConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
33118
|
+
modality_routing: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataAutomationProject.ModalityRoutingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
33119
|
+
video: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataAutomationProject.VideoOverrideConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
32548
33120
|
) -> None:
|
|
32549
33121
|
"""Type checking stubs"""
|
|
32550
33122
|
pass
|
|
@@ -32581,6 +33153,13 @@ def _typecheckingstub__e8ab6d9031c06e119e307ce6230035cf42009ab028973d67c75234758
|
|
|
32581
33153
|
"""Type checking stubs"""
|
|
32582
33154
|
pass
|
|
32583
33155
|
|
|
33156
|
+
def _typecheckingstub__d7326051e3b843174754054dc13d916d949edba4f6f11b266a8a0efb8d081b53(
|
|
33157
|
+
*,
|
|
33158
|
+
modality_processing: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataAutomationProject.ModalityProcessingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
33159
|
+
) -> None:
|
|
33160
|
+
"""Type checking stubs"""
|
|
33161
|
+
pass
|
|
33162
|
+
|
|
32584
33163
|
def _typecheckingstub__170ed1a2312358b299f6226d2957f47b82b01af6cc40af84f66e89a6c1490049(
|
|
32585
33164
|
*,
|
|
32586
33165
|
bounding_box: typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataAutomationProject.VideoBoundingBoxProperty, typing.Dict[builtins.str, typing.Any]]],
|