Skip to content
v2.277.0

ModalityRoutingConfigurationProperty Struct ​

This element allows you to set up where JPEG, PNG, MOV, and MP4 files get routed to for processing.

JPEG routing applies to both "JPEG" and "JPG" file extensions.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrock as bedrock } from 'aws-cdk-lib';
const modalityRoutingConfigurationProperty: bedrock.CfnDataAutomationProject.ModalityRoutingConfigurationProperty = {
  jpeg: 'jpeg',
  mov: 'mov',
  mp4: 'mp4',
  png: 'png',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_bedrock as bedrock

modality_routing_configuration_property = bedrock.CfnDataAutomationProject.ModalityRoutingConfigurationProperty(
    jpeg="jpeg",
    mov="mov",
    mp4="mp4",
    png="png"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.bedrock.*;

ModalityRoutingConfigurationProperty modalityRoutingConfigurationProperty = ModalityRoutingConfigurationProperty.builder()
        .jpeg("jpeg")
        .mov("mov")
        .mp4("mp4")
        .png("png")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Bedrock;

var modalityRoutingConfigurationProperty = new ModalityRoutingConfigurationProperty {
    Jpeg = "jpeg",
    Mov = "mov",
    Mp4 = "mp4",
    Png = "png"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

modalityRoutingConfigurationProperty := &ModalityRoutingConfigurationProperty{
	Jpeg: jsii.String("jpeg"),
	Mov: jsii.String("mov"),
	Mp4: jsii.String("mp4"),
	Png: jsii.String("png"),
}

Properties ​

jpegoptionalstringjpegoptionalstrjpegoptionalStringJpegoptionalstringJpegoptional*string #
Sets whether JPEG files are routed to document or image processing.
movoptionalstringmovoptionalstrmovoptionalStringMovoptionalstringMovoptional*string #
Sets whether MOV files are routed to audio or video processing.
mp4optionalstringmp4optionalstrmp4optionalStringMp4optionalstringMp4optional*string #
Sets whether MP4 files are routed to audio or video processing.
pngoptionalstringpngoptionalstrpngoptionalStringPngoptionalstringPngoptional*string #
Sets whether PNG files are routed to document or image processing.