Skip to content
v2.277.0

ImageStandardOutputConfigurationProperty Struct ​

Output settings for processing images.

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 imageStandardOutputConfigurationProperty: bedrock.CfnDataAutomationProject.ImageStandardOutputConfigurationProperty = {
  extraction: {
    boundingBox: {
      state: 'state',
    },
    category: {
      state: 'state',

      // the properties below are optional
      types: ['types'],
    },
  },
  generativeField: {
    state: 'state',

    // the properties below are optional
    types: ['types'],
  },
};
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

image_standard_output_configuration_property = bedrock.CfnDataAutomationProject.ImageStandardOutputConfigurationProperty(
    extraction=bedrock.CfnDataAutomationProject.ImageStandardExtractionProperty(
        bounding_box=bedrock.CfnDataAutomationProject.ImageBoundingBoxProperty(
            state="state"
        ),
        category=bedrock.CfnDataAutomationProject.ImageExtractionCategoryProperty(
            state="state",

            # the properties below are optional
            types=["types"]
        )
    ),
    generative_field=bedrock.CfnDataAutomationProject.ImageStandardGenerativeFieldProperty(
        state="state",

        # the properties below are optional
        types=["types"]
    )
)
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.*;

ImageStandardOutputConfigurationProperty imageStandardOutputConfigurationProperty = ImageStandardOutputConfigurationProperty.builder()
        .extraction(ImageStandardExtractionProperty.builder()
                .boundingBox(ImageBoundingBoxProperty.builder()
                        .state("state")
                        .build())
                .category(ImageExtractionCategoryProperty.builder()
                        .state("state")

                        // the properties below are optional
                        .types(List.of("types"))
                        .build())
                .build())
        .generativeField(ImageStandardGenerativeFieldProperty.builder()
                .state("state")

                // the properties below are optional
                .types(List.of("types"))
                .build())
        .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 imageStandardOutputConfigurationProperty = new ImageStandardOutputConfigurationProperty {
    Extraction = new ImageStandardExtractionProperty {
        BoundingBox = new ImageBoundingBoxProperty {
            State = "state"
        },
        Category = new ImageExtractionCategoryProperty {
            State = "state",

            // the properties below are optional
            Types = new [] { "types" }
        }
    },
    GenerativeField = new ImageStandardGenerativeFieldProperty {
        State = "state",

        // the properties below are optional
        Types = new [] { "types" }
    }
};
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"

imageStandardOutputConfigurationProperty := &ImageStandardOutputConfigurationProperty{
	Extraction: &ImageStandardExtractionProperty{
		BoundingBox: &ImageBoundingBoxProperty{
			State: jsii.String("state"),
		},
		Category: &ImageExtractionCategoryProperty{
			State: jsii.String("state"),

			// the properties below are optional
			Types: []*string{
				jsii.String("types"),
			},
		},
	},
	GenerativeField: &ImageStandardGenerativeFieldProperty{
		State: jsii.String("state"),

		// the properties below are optional
		Types: []*string{
			jsii.String("types"),
		},
	},
}

Properties ​

extractionoptionalIResolvable | CfnDataAutomationProject.ImageStandardExtractionPropertyextractionoptionaltyping.Union[IResolvable, ImageStandardExtractionProperty]extractionoptionalIResolvableExtractionoptionalIResolvableExtractionoptionalinterface{}#
Settings for populating data fields that describe the image.
generativeFieldoptionalIResolvable | CfnDataAutomationProject.ImageStandardGenerativeFieldPropertygenerative_fieldoptionaltyping.Union[IResolvable, ImageStandardGenerativeFieldProperty]generativeFieldoptionalIResolvableGenerativeFieldoptionalIResolvableGenerativeFieldoptionalinterface{}#
Whether to generate descriptions of the data.