aws-cdk-lib 2.218.0__py3-none-any.whl → 2.220.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 +31 -36
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.218.0.jsii.tgz → aws-cdk-lib@2.220.0.jsii.tgz} +0 -0
- aws_cdk/aws_amazonmq/__init__.py +98 -87
- aws_cdk/aws_apigateway/__init__.py +39 -0
- aws_cdk/aws_applicationsignals/__init__.py +450 -2
- aws_cdk/aws_arcregionswitch/__init__.py +8 -0
- aws_cdk/aws_backup/__init__.py +29 -0
- aws_cdk/aws_batch/__init__.py +109 -7
- aws_cdk/aws_bcmdataexports/__init__.py +9 -0
- aws_cdk/aws_bedrock/__init__.py +384 -1
- aws_cdk/aws_bedrockagentcore/__init__.py +7862 -1568
- aws_cdk/aws_cloudfront/experimental/__init__.py +4 -0
- aws_cdk/aws_cloudfront_origins/__init__.py +87 -6
- aws_cdk/aws_cloudwatch/__init__.py +5 -5
- aws_cdk/aws_codebuild/__init__.py +339 -62
- aws_cdk/aws_cognito/__init__.py +6 -4
- aws_cdk/aws_connect/__init__.py +9 -9
- aws_cdk/aws_cur/__init__.py +5 -3
- aws_cdk/aws_datasync/__init__.py +44 -22
- aws_cdk/aws_datazone/__init__.py +35 -33
- aws_cdk/aws_dax/__init__.py +12 -3
- aws_cdk/aws_dms/__init__.py +3 -5
- aws_cdk/aws_ec2/__init__.py +2721 -30
- aws_cdk/aws_ecs/__init__.py +2900 -90
- aws_cdk/aws_eks/__init__.py +114 -9
- aws_cdk/aws_entityresolution/__init__.py +18 -0
- aws_cdk/aws_fsx/__init__.py +4 -4
- aws_cdk/aws_greengrassv2/__init__.py +29 -0
- aws_cdk/aws_imagebuilder/__init__.py +397 -0
- aws_cdk/aws_iotsitewise/__init__.py +136 -80
- aws_cdk/aws_kinesis/__init__.py +95 -4
- aws_cdk/aws_lambda/__init__.py +43 -0
- aws_cdk/aws_lightsail/__init__.py +584 -0
- aws_cdk/aws_logs/__init__.py +57 -0
- aws_cdk/aws_lookoutmetrics/__init__.py +14 -2
- aws_cdk/aws_m2/__init__.py +59 -13
- aws_cdk/aws_medialive/__init__.py +108 -0
- aws_cdk/aws_msk/__init__.py +4 -2
- aws_cdk/aws_mwaa/__init__.py +5 -5
- aws_cdk/aws_neptune/__init__.py +133 -70
- aws_cdk/aws_networkfirewall/__init__.py +6 -2
- aws_cdk/aws_networkmanager/__init__.py +29 -0
- aws_cdk/aws_observabilityadmin/__init__.py +1227 -83
- aws_cdk/aws_omics/__init__.py +7 -1
- aws_cdk/aws_opensearchservice/__init__.py +64 -0
- aws_cdk/aws_opsworkscm/__init__.py +0 -29
- aws_cdk/aws_pcs/__init__.py +224 -33
- aws_cdk/aws_pinpoint/__init__.py +58 -0
- aws_cdk/aws_quicksight/__init__.py +118 -0
- aws_cdk/aws_rds/__init__.py +62 -37
- aws_cdk/aws_refactorspaces/__init__.py +18 -6
- aws_cdk/aws_route53/__init__.py +138 -8
- aws_cdk/aws_s3/__init__.py +29 -2
- aws_cdk/aws_s3objectlambda/__init__.py +44 -12
- aws_cdk/aws_servicecatalog/__init__.py +103 -106
- aws_cdk/aws_smsvoice/__init__.py +319 -0
- aws_cdk/aws_ssmquicksetup/__init__.py +3 -3
- aws_cdk/aws_synthetics/__init__.py +21 -1
- {aws_cdk_lib-2.218.0.dist-info → aws_cdk_lib-2.220.0.dist-info}/METADATA +2 -2
- {aws_cdk_lib-2.218.0.dist-info → aws_cdk_lib-2.220.0.dist-info}/RECORD +65 -65
- {aws_cdk_lib-2.218.0.dist-info → aws_cdk_lib-2.220.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.218.0.dist-info → aws_cdk_lib-2.220.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.218.0.dist-info → aws_cdk_lib-2.220.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.218.0.dist-info → aws_cdk_lib-2.220.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_bedrock/__init__.py
CHANGED
|
@@ -1658,6 +1658,16 @@ class CfnDataAutomationProjectProps:
|
|
|
1658
1658
|
state="state",
|
|
1659
1659
|
|
|
1660
1660
|
# the properties below are optional
|
|
1661
|
+
type_configuration=bedrock.CfnDataAutomationProject.AudioExtractionCategoryTypeConfigurationProperty(
|
|
1662
|
+
transcript=bedrock.CfnDataAutomationProject.TranscriptConfigurationProperty(
|
|
1663
|
+
channel_labeling=bedrock.CfnDataAutomationProject.ChannelLabelingConfigurationProperty(
|
|
1664
|
+
state="state"
|
|
1665
|
+
),
|
|
1666
|
+
speaker_labeling=bedrock.CfnDataAutomationProject.SpeakerLabelingConfigurationProperty(
|
|
1667
|
+
state="state"
|
|
1668
|
+
)
|
|
1669
|
+
)
|
|
1670
|
+
),
|
|
1661
1671
|
types=["types"]
|
|
1662
1672
|
)
|
|
1663
1673
|
),
|
|
@@ -4808,6 +4818,12 @@ class FoundationModelIdentifier(
|
|
|
4808
4818
|
'''Base model "anthropic.claude-sonnet-4-20250514-v1:0".'''
|
|
4809
4819
|
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "ANTHROPIC_CLAUDE_SONNET_4_20250514_V1_0"))
|
|
4810
4820
|
|
|
4821
|
+
@jsii.python.classproperty
|
|
4822
|
+
@jsii.member(jsii_name="ANTHROPIC_CLAUDE_SONNET_4_5_20250929_V1_0")
|
|
4823
|
+
def ANTHROPIC_CLAUDE_SONNET_4_5_20250929_V1_0(cls) -> "FoundationModelIdentifier":
|
|
4824
|
+
'''Base model "anthropic.claude-sonnet-4-5-20250929-v1:0".'''
|
|
4825
|
+
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "ANTHROPIC_CLAUDE_SONNET_4_5_20250929_V1_0"))
|
|
4826
|
+
|
|
4811
4827
|
@jsii.python.classproperty
|
|
4812
4828
|
@jsii.member(jsii_name="ANTHROPIC_CLAUDE_V1")
|
|
4813
4829
|
def ANTHROPIC_CLAUDE_V1(cls) -> "FoundationModelIdentifier":
|
|
@@ -4945,6 +4961,12 @@ class FoundationModelIdentifier(
|
|
|
4945
4961
|
'''Base model "cohere.embed-multilingual-v3:0:512".'''
|
|
4946
4962
|
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "COHERE_EMBED_MULTILINGUAL_V3_0_512"))
|
|
4947
4963
|
|
|
4964
|
+
@jsii.python.classproperty
|
|
4965
|
+
@jsii.member(jsii_name="COHERE_EMBED_V4")
|
|
4966
|
+
def COHERE_EMBED_V4(cls) -> "FoundationModelIdentifier":
|
|
4967
|
+
'''Base model "cohere.embed-v4:0".'''
|
|
4968
|
+
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "COHERE_EMBED_V4"))
|
|
4969
|
+
|
|
4948
4970
|
@jsii.python.classproperty
|
|
4949
4971
|
@jsii.member(jsii_name="COHERE_RERANK_V3_5")
|
|
4950
4972
|
def COHERE_RERANK_V3_5(cls) -> "FoundationModelIdentifier":
|
|
@@ -10957,6 +10979,16 @@ class CfnDataAutomationProject(
|
|
|
10957
10979
|
state="state",
|
|
10958
10980
|
|
|
10959
10981
|
# the properties below are optional
|
|
10982
|
+
type_configuration=bedrock.CfnDataAutomationProject.AudioExtractionCategoryTypeConfigurationProperty(
|
|
10983
|
+
transcript=bedrock.CfnDataAutomationProject.TranscriptConfigurationProperty(
|
|
10984
|
+
channel_labeling=bedrock.CfnDataAutomationProject.ChannelLabelingConfigurationProperty(
|
|
10985
|
+
state="state"
|
|
10986
|
+
),
|
|
10987
|
+
speaker_labeling=bedrock.CfnDataAutomationProject.SpeakerLabelingConfigurationProperty(
|
|
10988
|
+
state="state"
|
|
10989
|
+
)
|
|
10990
|
+
)
|
|
10991
|
+
),
|
|
10960
10992
|
types=["types"]
|
|
10961
10993
|
)
|
|
10962
10994
|
),
|
|
@@ -11296,18 +11328,24 @@ class CfnDataAutomationProject(
|
|
|
11296
11328
|
@jsii.data_type(
|
|
11297
11329
|
jsii_type="aws-cdk-lib.aws_bedrock.CfnDataAutomationProject.AudioExtractionCategoryProperty",
|
|
11298
11330
|
jsii_struct_bases=[],
|
|
11299
|
-
name_mapping={
|
|
11331
|
+
name_mapping={
|
|
11332
|
+
"state": "state",
|
|
11333
|
+
"type_configuration": "typeConfiguration",
|
|
11334
|
+
"types": "types",
|
|
11335
|
+
},
|
|
11300
11336
|
)
|
|
11301
11337
|
class AudioExtractionCategoryProperty:
|
|
11302
11338
|
def __init__(
|
|
11303
11339
|
self,
|
|
11304
11340
|
*,
|
|
11305
11341
|
state: builtins.str,
|
|
11342
|
+
type_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDataAutomationProject.AudioExtractionCategoryTypeConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
11306
11343
|
types: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
11307
11344
|
) -> None:
|
|
11308
11345
|
'''Settings for generating data from audio.
|
|
11309
11346
|
|
|
11310
11347
|
:param state: Whether generating categorical data from audio is enabled.
|
|
11348
|
+
:param type_configuration: This element contains information about extractions from different types. Used to enable speaker and channel labeling for transcripts.
|
|
11311
11349
|
:param types: The types of data to generate.
|
|
11312
11350
|
|
|
11313
11351
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-audioextractioncategory.html
|
|
@@ -11323,16 +11361,29 @@ class CfnDataAutomationProject(
|
|
|
11323
11361
|
state="state",
|
|
11324
11362
|
|
|
11325
11363
|
# the properties below are optional
|
|
11364
|
+
type_configuration=bedrock.CfnDataAutomationProject.AudioExtractionCategoryTypeConfigurationProperty(
|
|
11365
|
+
transcript=bedrock.CfnDataAutomationProject.TranscriptConfigurationProperty(
|
|
11366
|
+
channel_labeling=bedrock.CfnDataAutomationProject.ChannelLabelingConfigurationProperty(
|
|
11367
|
+
state="state"
|
|
11368
|
+
),
|
|
11369
|
+
speaker_labeling=bedrock.CfnDataAutomationProject.SpeakerLabelingConfigurationProperty(
|
|
11370
|
+
state="state"
|
|
11371
|
+
)
|
|
11372
|
+
)
|
|
11373
|
+
),
|
|
11326
11374
|
types=["types"]
|
|
11327
11375
|
)
|
|
11328
11376
|
'''
|
|
11329
11377
|
if __debug__:
|
|
11330
11378
|
type_hints = typing.get_type_hints(_typecheckingstub__17b4067ba061b31b33f6982f8b1ce49b15211698a89239a94ac83de6e9a86fd0)
|
|
11331
11379
|
check_type(argname="argument state", value=state, expected_type=type_hints["state"])
|
|
11380
|
+
check_type(argname="argument type_configuration", value=type_configuration, expected_type=type_hints["type_configuration"])
|
|
11332
11381
|
check_type(argname="argument types", value=types, expected_type=type_hints["types"])
|
|
11333
11382
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
11334
11383
|
"state": state,
|
|
11335
11384
|
}
|
|
11385
|
+
if type_configuration is not None:
|
|
11386
|
+
self._values["type_configuration"] = type_configuration
|
|
11336
11387
|
if types is not None:
|
|
11337
11388
|
self._values["types"] = types
|
|
11338
11389
|
|
|
@@ -11346,6 +11397,19 @@ class CfnDataAutomationProject(
|
|
|
11346
11397
|
assert result is not None, "Required property 'state' is missing"
|
|
11347
11398
|
return typing.cast(builtins.str, result)
|
|
11348
11399
|
|
|
11400
|
+
@builtins.property
|
|
11401
|
+
def type_configuration(
|
|
11402
|
+
self,
|
|
11403
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataAutomationProject.AudioExtractionCategoryTypeConfigurationProperty"]]:
|
|
11404
|
+
'''This element contains information about extractions from different types.
|
|
11405
|
+
|
|
11406
|
+
Used to enable speaker and channel labeling for transcripts.
|
|
11407
|
+
|
|
11408
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-audioextractioncategory.html#cfn-bedrock-dataautomationproject-audioextractioncategory-typeconfiguration
|
|
11409
|
+
'''
|
|
11410
|
+
result = self._values.get("type_configuration")
|
|
11411
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataAutomationProject.AudioExtractionCategoryTypeConfigurationProperty"]], result)
|
|
11412
|
+
|
|
11349
11413
|
@builtins.property
|
|
11350
11414
|
def types(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
11351
11415
|
'''The types of data to generate.
|
|
@@ -11366,6 +11430,70 @@ class CfnDataAutomationProject(
|
|
|
11366
11430
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
11367
11431
|
)
|
|
11368
11432
|
|
|
11433
|
+
@jsii.data_type(
|
|
11434
|
+
jsii_type="aws-cdk-lib.aws_bedrock.CfnDataAutomationProject.AudioExtractionCategoryTypeConfigurationProperty",
|
|
11435
|
+
jsii_struct_bases=[],
|
|
11436
|
+
name_mapping={"transcript": "transcript"},
|
|
11437
|
+
)
|
|
11438
|
+
class AudioExtractionCategoryTypeConfigurationProperty:
|
|
11439
|
+
def __init__(
|
|
11440
|
+
self,
|
|
11441
|
+
*,
|
|
11442
|
+
transcript: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDataAutomationProject.TranscriptConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
11443
|
+
) -> None:
|
|
11444
|
+
'''Allows configuration of extractions for different types of data, such as transcript and content moderation.
|
|
11445
|
+
|
|
11446
|
+
:param transcript: This element allows you to configure different extractions for your transcript data, such as speaker and channel labeling.
|
|
11447
|
+
|
|
11448
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-audioextractioncategorytypeconfiguration.html
|
|
11449
|
+
:exampleMetadata: fixture=_generated
|
|
11450
|
+
|
|
11451
|
+
Example::
|
|
11452
|
+
|
|
11453
|
+
# The code below shows an example of how to instantiate this type.
|
|
11454
|
+
# The values are placeholders you should change.
|
|
11455
|
+
from aws_cdk import aws_bedrock as bedrock
|
|
11456
|
+
|
|
11457
|
+
audio_extraction_category_type_configuration_property = bedrock.CfnDataAutomationProject.AudioExtractionCategoryTypeConfigurationProperty(
|
|
11458
|
+
transcript=bedrock.CfnDataAutomationProject.TranscriptConfigurationProperty(
|
|
11459
|
+
channel_labeling=bedrock.CfnDataAutomationProject.ChannelLabelingConfigurationProperty(
|
|
11460
|
+
state="state"
|
|
11461
|
+
),
|
|
11462
|
+
speaker_labeling=bedrock.CfnDataAutomationProject.SpeakerLabelingConfigurationProperty(
|
|
11463
|
+
state="state"
|
|
11464
|
+
)
|
|
11465
|
+
)
|
|
11466
|
+
)
|
|
11467
|
+
'''
|
|
11468
|
+
if __debug__:
|
|
11469
|
+
type_hints = typing.get_type_hints(_typecheckingstub__8259388fe308ef50a8381c8a690422dc9a617fc5ee0ec19395a6049b94fc76bc)
|
|
11470
|
+
check_type(argname="argument transcript", value=transcript, expected_type=type_hints["transcript"])
|
|
11471
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
11472
|
+
if transcript is not None:
|
|
11473
|
+
self._values["transcript"] = transcript
|
|
11474
|
+
|
|
11475
|
+
@builtins.property
|
|
11476
|
+
def transcript(
|
|
11477
|
+
self,
|
|
11478
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataAutomationProject.TranscriptConfigurationProperty"]]:
|
|
11479
|
+
'''This element allows you to configure different extractions for your transcript data, such as speaker and channel labeling.
|
|
11480
|
+
|
|
11481
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-audioextractioncategorytypeconfiguration.html#cfn-bedrock-dataautomationproject-audioextractioncategorytypeconfiguration-transcript
|
|
11482
|
+
'''
|
|
11483
|
+
result = self._values.get("transcript")
|
|
11484
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataAutomationProject.TranscriptConfigurationProperty"]], result)
|
|
11485
|
+
|
|
11486
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
11487
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
11488
|
+
|
|
11489
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
11490
|
+
return not (rhs == self)
|
|
11491
|
+
|
|
11492
|
+
def __repr__(self) -> str:
|
|
11493
|
+
return "AudioExtractionCategoryTypeConfigurationProperty(%s)" % ", ".join(
|
|
11494
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
11495
|
+
)
|
|
11496
|
+
|
|
11369
11497
|
@jsii.data_type(
|
|
11370
11498
|
jsii_type="aws-cdk-lib.aws_bedrock.CfnDataAutomationProject.AudioOverrideConfigurationProperty",
|
|
11371
11499
|
jsii_struct_bases=[],
|
|
@@ -11456,6 +11584,16 @@ class CfnDataAutomationProject(
|
|
|
11456
11584
|
state="state",
|
|
11457
11585
|
|
|
11458
11586
|
# the properties below are optional
|
|
11587
|
+
type_configuration=bedrock.CfnDataAutomationProject.AudioExtractionCategoryTypeConfigurationProperty(
|
|
11588
|
+
transcript=bedrock.CfnDataAutomationProject.TranscriptConfigurationProperty(
|
|
11589
|
+
channel_labeling=bedrock.CfnDataAutomationProject.ChannelLabelingConfigurationProperty(
|
|
11590
|
+
state="state"
|
|
11591
|
+
),
|
|
11592
|
+
speaker_labeling=bedrock.CfnDataAutomationProject.SpeakerLabelingConfigurationProperty(
|
|
11593
|
+
state="state"
|
|
11594
|
+
)
|
|
11595
|
+
)
|
|
11596
|
+
),
|
|
11459
11597
|
types=["types"]
|
|
11460
11598
|
)
|
|
11461
11599
|
)
|
|
@@ -11598,6 +11736,16 @@ class CfnDataAutomationProject(
|
|
|
11598
11736
|
state="state",
|
|
11599
11737
|
|
|
11600
11738
|
# the properties below are optional
|
|
11739
|
+
type_configuration=bedrock.CfnDataAutomationProject.AudioExtractionCategoryTypeConfigurationProperty(
|
|
11740
|
+
transcript=bedrock.CfnDataAutomationProject.TranscriptConfigurationProperty(
|
|
11741
|
+
channel_labeling=bedrock.CfnDataAutomationProject.ChannelLabelingConfigurationProperty(
|
|
11742
|
+
state="state"
|
|
11743
|
+
),
|
|
11744
|
+
speaker_labeling=bedrock.CfnDataAutomationProject.SpeakerLabelingConfigurationProperty(
|
|
11745
|
+
state="state"
|
|
11746
|
+
)
|
|
11747
|
+
)
|
|
11748
|
+
),
|
|
11601
11749
|
types=["types"]
|
|
11602
11750
|
)
|
|
11603
11751
|
),
|
|
@@ -11744,6 +11892,60 @@ class CfnDataAutomationProject(
|
|
|
11744
11892
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
11745
11893
|
)
|
|
11746
11894
|
|
|
11895
|
+
@jsii.data_type(
|
|
11896
|
+
jsii_type="aws-cdk-lib.aws_bedrock.CfnDataAutomationProject.ChannelLabelingConfigurationProperty",
|
|
11897
|
+
jsii_struct_bases=[],
|
|
11898
|
+
name_mapping={"state": "state"},
|
|
11899
|
+
)
|
|
11900
|
+
class ChannelLabelingConfigurationProperty:
|
|
11901
|
+
def __init__(self, *, state: builtins.str) -> None:
|
|
11902
|
+
'''Enables or disables channel labeling.
|
|
11903
|
+
|
|
11904
|
+
Channel labeling, when enabled will assign a number to each audio channel, and indicate which channel is being used in each portion of the transcript. This appears in the response as "ch_0" for the first channel, and "ch_1" for the second.
|
|
11905
|
+
|
|
11906
|
+
:param state: State of channel labeling, either enabled or disabled.
|
|
11907
|
+
|
|
11908
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-channellabelingconfiguration.html
|
|
11909
|
+
:exampleMetadata: fixture=_generated
|
|
11910
|
+
|
|
11911
|
+
Example::
|
|
11912
|
+
|
|
11913
|
+
# The code below shows an example of how to instantiate this type.
|
|
11914
|
+
# The values are placeholders you should change.
|
|
11915
|
+
from aws_cdk import aws_bedrock as bedrock
|
|
11916
|
+
|
|
11917
|
+
channel_labeling_configuration_property = bedrock.CfnDataAutomationProject.ChannelLabelingConfigurationProperty(
|
|
11918
|
+
state="state"
|
|
11919
|
+
)
|
|
11920
|
+
'''
|
|
11921
|
+
if __debug__:
|
|
11922
|
+
type_hints = typing.get_type_hints(_typecheckingstub__7ab1d892e7ed4872447a0903e83dac79c4c5e818a7f8c79fc389710519cc6ac8)
|
|
11923
|
+
check_type(argname="argument state", value=state, expected_type=type_hints["state"])
|
|
11924
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
11925
|
+
"state": state,
|
|
11926
|
+
}
|
|
11927
|
+
|
|
11928
|
+
@builtins.property
|
|
11929
|
+
def state(self) -> builtins.str:
|
|
11930
|
+
'''State of channel labeling, either enabled or disabled.
|
|
11931
|
+
|
|
11932
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-channellabelingconfiguration.html#cfn-bedrock-dataautomationproject-channellabelingconfiguration-state
|
|
11933
|
+
'''
|
|
11934
|
+
result = self._values.get("state")
|
|
11935
|
+
assert result is not None, "Required property 'state' is missing"
|
|
11936
|
+
return typing.cast(builtins.str, result)
|
|
11937
|
+
|
|
11938
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
11939
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
11940
|
+
|
|
11941
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
11942
|
+
return not (rhs == self)
|
|
11943
|
+
|
|
11944
|
+
def __repr__(self) -> str:
|
|
11945
|
+
return "ChannelLabelingConfigurationProperty(%s)" % ", ".join(
|
|
11946
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
11947
|
+
)
|
|
11948
|
+
|
|
11747
11949
|
@jsii.data_type(
|
|
11748
11950
|
jsii_type="aws-cdk-lib.aws_bedrock.CfnDataAutomationProject.CustomOutputConfigurationProperty",
|
|
11749
11951
|
jsii_struct_bases=[],
|
|
@@ -13171,6 +13373,60 @@ class CfnDataAutomationProject(
|
|
|
13171
13373
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
13172
13374
|
)
|
|
13173
13375
|
|
|
13376
|
+
@jsii.data_type(
|
|
13377
|
+
jsii_type="aws-cdk-lib.aws_bedrock.CfnDataAutomationProject.SpeakerLabelingConfigurationProperty",
|
|
13378
|
+
jsii_struct_bases=[],
|
|
13379
|
+
name_mapping={"state": "state"},
|
|
13380
|
+
)
|
|
13381
|
+
class SpeakerLabelingConfigurationProperty:
|
|
13382
|
+
def __init__(self, *, state: builtins.str) -> None:
|
|
13383
|
+
'''Enables or disables speaker labeling.
|
|
13384
|
+
|
|
13385
|
+
Speaker labeling, when enabled will assign a number to each speaker, and indicate which speaker is talking in each portion of the transcript. This appears in the response as "spk_0" for the first speaker, "spk_1" for the second, and so on for up to 30 speakers.
|
|
13386
|
+
|
|
13387
|
+
:param state: State of speaker labeling, either enabled or disabled.
|
|
13388
|
+
|
|
13389
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-speakerlabelingconfiguration.html
|
|
13390
|
+
:exampleMetadata: fixture=_generated
|
|
13391
|
+
|
|
13392
|
+
Example::
|
|
13393
|
+
|
|
13394
|
+
# The code below shows an example of how to instantiate this type.
|
|
13395
|
+
# The values are placeholders you should change.
|
|
13396
|
+
from aws_cdk import aws_bedrock as bedrock
|
|
13397
|
+
|
|
13398
|
+
speaker_labeling_configuration_property = bedrock.CfnDataAutomationProject.SpeakerLabelingConfigurationProperty(
|
|
13399
|
+
state="state"
|
|
13400
|
+
)
|
|
13401
|
+
'''
|
|
13402
|
+
if __debug__:
|
|
13403
|
+
type_hints = typing.get_type_hints(_typecheckingstub__725244e9aa37705dc01f5ef13c43668850d124b3c4788e4cf95166bc4ec818cf)
|
|
13404
|
+
check_type(argname="argument state", value=state, expected_type=type_hints["state"])
|
|
13405
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
13406
|
+
"state": state,
|
|
13407
|
+
}
|
|
13408
|
+
|
|
13409
|
+
@builtins.property
|
|
13410
|
+
def state(self) -> builtins.str:
|
|
13411
|
+
'''State of speaker labeling, either enabled or disabled.
|
|
13412
|
+
|
|
13413
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-speakerlabelingconfiguration.html#cfn-bedrock-dataautomationproject-speakerlabelingconfiguration-state
|
|
13414
|
+
'''
|
|
13415
|
+
result = self._values.get("state")
|
|
13416
|
+
assert result is not None, "Required property 'state' is missing"
|
|
13417
|
+
return typing.cast(builtins.str, result)
|
|
13418
|
+
|
|
13419
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
13420
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
13421
|
+
|
|
13422
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
13423
|
+
return not (rhs == self)
|
|
13424
|
+
|
|
13425
|
+
def __repr__(self) -> str:
|
|
13426
|
+
return "SpeakerLabelingConfigurationProperty(%s)" % ", ".join(
|
|
13427
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
13428
|
+
)
|
|
13429
|
+
|
|
13174
13430
|
@jsii.data_type(
|
|
13175
13431
|
jsii_type="aws-cdk-lib.aws_bedrock.CfnDataAutomationProject.SplitterConfigurationProperty",
|
|
13176
13432
|
jsii_struct_bases=[],
|
|
@@ -13266,6 +13522,16 @@ class CfnDataAutomationProject(
|
|
|
13266
13522
|
state="state",
|
|
13267
13523
|
|
|
13268
13524
|
# the properties below are optional
|
|
13525
|
+
type_configuration=bedrock.CfnDataAutomationProject.AudioExtractionCategoryTypeConfigurationProperty(
|
|
13526
|
+
transcript=bedrock.CfnDataAutomationProject.TranscriptConfigurationProperty(
|
|
13527
|
+
channel_labeling=bedrock.CfnDataAutomationProject.ChannelLabelingConfigurationProperty(
|
|
13528
|
+
state="state"
|
|
13529
|
+
),
|
|
13530
|
+
speaker_labeling=bedrock.CfnDataAutomationProject.SpeakerLabelingConfigurationProperty(
|
|
13531
|
+
state="state"
|
|
13532
|
+
)
|
|
13533
|
+
)
|
|
13534
|
+
),
|
|
13269
13535
|
types=["types"]
|
|
13270
13536
|
)
|
|
13271
13537
|
),
|
|
@@ -13408,6 +13674,93 @@ class CfnDataAutomationProject(
|
|
|
13408
13674
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
13409
13675
|
)
|
|
13410
13676
|
|
|
13677
|
+
@jsii.data_type(
|
|
13678
|
+
jsii_type="aws-cdk-lib.aws_bedrock.CfnDataAutomationProject.TranscriptConfigurationProperty",
|
|
13679
|
+
jsii_struct_bases=[],
|
|
13680
|
+
name_mapping={
|
|
13681
|
+
"channel_labeling": "channelLabeling",
|
|
13682
|
+
"speaker_labeling": "speakerLabeling",
|
|
13683
|
+
},
|
|
13684
|
+
)
|
|
13685
|
+
class TranscriptConfigurationProperty:
|
|
13686
|
+
def __init__(
|
|
13687
|
+
self,
|
|
13688
|
+
*,
|
|
13689
|
+
channel_labeling: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDataAutomationProject.ChannelLabelingConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
13690
|
+
speaker_labeling: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDataAutomationProject.SpeakerLabelingConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
13691
|
+
) -> None:
|
|
13692
|
+
'''Configuration for transcript options.
|
|
13693
|
+
|
|
13694
|
+
This option allows you to enable speaker labeling and channel labeling.
|
|
13695
|
+
|
|
13696
|
+
:param channel_labeling: Enables channel labeling. Each audio channel will be labeled with a number, and the transcript will indicate which channel is being used.
|
|
13697
|
+
:param speaker_labeling: Enables speaker labeling. Each speaker within a transcript will recieve a number, and the transcript will note which speaker is talking.
|
|
13698
|
+
|
|
13699
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-transcriptconfiguration.html
|
|
13700
|
+
:exampleMetadata: fixture=_generated
|
|
13701
|
+
|
|
13702
|
+
Example::
|
|
13703
|
+
|
|
13704
|
+
# The code below shows an example of how to instantiate this type.
|
|
13705
|
+
# The values are placeholders you should change.
|
|
13706
|
+
from aws_cdk import aws_bedrock as bedrock
|
|
13707
|
+
|
|
13708
|
+
transcript_configuration_property = bedrock.CfnDataAutomationProject.TranscriptConfigurationProperty(
|
|
13709
|
+
channel_labeling=bedrock.CfnDataAutomationProject.ChannelLabelingConfigurationProperty(
|
|
13710
|
+
state="state"
|
|
13711
|
+
),
|
|
13712
|
+
speaker_labeling=bedrock.CfnDataAutomationProject.SpeakerLabelingConfigurationProperty(
|
|
13713
|
+
state="state"
|
|
13714
|
+
)
|
|
13715
|
+
)
|
|
13716
|
+
'''
|
|
13717
|
+
if __debug__:
|
|
13718
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f07f4b0c00b57db46daaddf10a2a13658595b6b33385465d29dac371457691d4)
|
|
13719
|
+
check_type(argname="argument channel_labeling", value=channel_labeling, expected_type=type_hints["channel_labeling"])
|
|
13720
|
+
check_type(argname="argument speaker_labeling", value=speaker_labeling, expected_type=type_hints["speaker_labeling"])
|
|
13721
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
13722
|
+
if channel_labeling is not None:
|
|
13723
|
+
self._values["channel_labeling"] = channel_labeling
|
|
13724
|
+
if speaker_labeling is not None:
|
|
13725
|
+
self._values["speaker_labeling"] = speaker_labeling
|
|
13726
|
+
|
|
13727
|
+
@builtins.property
|
|
13728
|
+
def channel_labeling(
|
|
13729
|
+
self,
|
|
13730
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataAutomationProject.ChannelLabelingConfigurationProperty"]]:
|
|
13731
|
+
'''Enables channel labeling.
|
|
13732
|
+
|
|
13733
|
+
Each audio channel will be labeled with a number, and the transcript will indicate which channel is being used.
|
|
13734
|
+
|
|
13735
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-transcriptconfiguration.html#cfn-bedrock-dataautomationproject-transcriptconfiguration-channellabeling
|
|
13736
|
+
'''
|
|
13737
|
+
result = self._values.get("channel_labeling")
|
|
13738
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataAutomationProject.ChannelLabelingConfigurationProperty"]], result)
|
|
13739
|
+
|
|
13740
|
+
@builtins.property
|
|
13741
|
+
def speaker_labeling(
|
|
13742
|
+
self,
|
|
13743
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataAutomationProject.SpeakerLabelingConfigurationProperty"]]:
|
|
13744
|
+
'''Enables speaker labeling.
|
|
13745
|
+
|
|
13746
|
+
Each speaker within a transcript will recieve a number, and the transcript will note which speaker is talking.
|
|
13747
|
+
|
|
13748
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-transcriptconfiguration.html#cfn-bedrock-dataautomationproject-transcriptconfiguration-speakerlabeling
|
|
13749
|
+
'''
|
|
13750
|
+
result = self._values.get("speaker_labeling")
|
|
13751
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataAutomationProject.SpeakerLabelingConfigurationProperty"]], result)
|
|
13752
|
+
|
|
13753
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
13754
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
13755
|
+
|
|
13756
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
13757
|
+
return not (rhs == self)
|
|
13758
|
+
|
|
13759
|
+
def __repr__(self) -> str:
|
|
13760
|
+
return "TranscriptConfigurationProperty(%s)" % ", ".join(
|
|
13761
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
13762
|
+
)
|
|
13763
|
+
|
|
13411
13764
|
@jsii.data_type(
|
|
13412
13765
|
jsii_type="aws-cdk-lib.aws_bedrock.CfnDataAutomationProject.VideoBoundingBoxProperty",
|
|
13413
13766
|
jsii_struct_bases=[],
|
|
@@ -41126,11 +41479,19 @@ def _typecheckingstub__c8adc93c3ad061e5a2be17a8fdad5d0761d30eeec1c7a815fcdef93e3
|
|
|
41126
41479
|
def _typecheckingstub__17b4067ba061b31b33f6982f8b1ce49b15211698a89239a94ac83de6e9a86fd0(
|
|
41127
41480
|
*,
|
|
41128
41481
|
state: builtins.str,
|
|
41482
|
+
type_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataAutomationProject.AudioExtractionCategoryTypeConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
41129
41483
|
types: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
41130
41484
|
) -> None:
|
|
41131
41485
|
"""Type checking stubs"""
|
|
41132
41486
|
pass
|
|
41133
41487
|
|
|
41488
|
+
def _typecheckingstub__8259388fe308ef50a8381c8a690422dc9a617fc5ee0ec19395a6049b94fc76bc(
|
|
41489
|
+
*,
|
|
41490
|
+
transcript: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataAutomationProject.TranscriptConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
41491
|
+
) -> None:
|
|
41492
|
+
"""Type checking stubs"""
|
|
41493
|
+
pass
|
|
41494
|
+
|
|
41134
41495
|
def _typecheckingstub__9fa0ddf34ba99d172292ec01a5b59e05e41939ae214f174146b2d694461955ce(
|
|
41135
41496
|
*,
|
|
41136
41497
|
modality_processing: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataAutomationProject.ModalityProcessingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -41170,6 +41531,13 @@ def _typecheckingstub__b0aacb3579a06fb3e50ee6ecb37244fb2c3691447d7c0d5ce515e59f8
|
|
|
41170
41531
|
"""Type checking stubs"""
|
|
41171
41532
|
pass
|
|
41172
41533
|
|
|
41534
|
+
def _typecheckingstub__7ab1d892e7ed4872447a0903e83dac79c4c5e818a7f8c79fc389710519cc6ac8(
|
|
41535
|
+
*,
|
|
41536
|
+
state: builtins.str,
|
|
41537
|
+
) -> None:
|
|
41538
|
+
"""Type checking stubs"""
|
|
41539
|
+
pass
|
|
41540
|
+
|
|
41173
41541
|
def _typecheckingstub__f33831635897ccc78d6e5d7bff1bc5df55cf8effc38e61a7795979a6201be7c4(
|
|
41174
41542
|
*,
|
|
41175
41543
|
blueprints: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataAutomationProject.BlueprintItemProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
@@ -41319,6 +41687,13 @@ def _typecheckingstub__400a92e228907b33f71ad10276a9ad472a21d517da3941d1621dda605
|
|
|
41319
41687
|
"""Type checking stubs"""
|
|
41320
41688
|
pass
|
|
41321
41689
|
|
|
41690
|
+
def _typecheckingstub__725244e9aa37705dc01f5ef13c43668850d124b3c4788e4cf95166bc4ec818cf(
|
|
41691
|
+
*,
|
|
41692
|
+
state: builtins.str,
|
|
41693
|
+
) -> None:
|
|
41694
|
+
"""Type checking stubs"""
|
|
41695
|
+
pass
|
|
41696
|
+
|
|
41322
41697
|
def _typecheckingstub__c7cc9940422898532f5a5c63c45d42dbf9d52852abdd7380d339b4a0b5631abd(
|
|
41323
41698
|
*,
|
|
41324
41699
|
state: typing.Optional[builtins.str] = None,
|
|
@@ -41336,6 +41711,14 @@ def _typecheckingstub__73065f098ecb2ad872a4a32fc68952239056e92bbe4974bed8c813d74
|
|
|
41336
41711
|
"""Type checking stubs"""
|
|
41337
41712
|
pass
|
|
41338
41713
|
|
|
41714
|
+
def _typecheckingstub__f07f4b0c00b57db46daaddf10a2a13658595b6b33385465d29dac371457691d4(
|
|
41715
|
+
*,
|
|
41716
|
+
channel_labeling: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataAutomationProject.ChannelLabelingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
41717
|
+
speaker_labeling: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataAutomationProject.SpeakerLabelingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
41718
|
+
) -> None:
|
|
41719
|
+
"""Type checking stubs"""
|
|
41720
|
+
pass
|
|
41721
|
+
|
|
41339
41722
|
def _typecheckingstub__6edaef4d6ad0693410640d9f6735dd17fecb6b8faa3f28bb8aa998b97dbd0b10(
|
|
41340
41723
|
*,
|
|
41341
41724
|
state: builtins.str,
|