ImageStandardExtractionProperty Struct
Settings for generating data from images.
| Source | |
|---|---|
| Type last changed |
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 imageStandardExtractionProperty: bedrock.CfnDataAutomationProject.ImageStandardExtractionProperty = {
boundingBox: {
state: 'state',
},
category: {
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_extraction_property = bedrock.CfnDataAutomationProject.ImageStandardExtractionProperty(
bounding_box=bedrock.CfnDataAutomationProject.ImageBoundingBoxProperty(
state="state"
),
category=bedrock.CfnDataAutomationProject.ImageExtractionCategoryProperty(
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.*;
ImageStandardExtractionProperty imageStandardExtractionProperty = ImageStandardExtractionProperty.builder()
.boundingBox(ImageBoundingBoxProperty.builder()
.state("state")
.build())
.category(ImageExtractionCategoryProperty.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 imageStandardExtractionProperty = new ImageStandardExtractionProperty {
BoundingBox = new ImageBoundingBoxProperty {
State = "state"
},
Category = new ImageExtractionCategoryProperty {
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"
imageStandardExtractionProperty := &ImageStandardExtractionProperty{
BoundingBox: &ImageBoundingBoxProperty{
State: jsii.String("state"),
},
Category: &ImageExtractionCategoryProperty{
State: jsii.String("state"),
// the properties below are optional
Types: []*string{
jsii.String("types"),
},
},
}
Properties
boundingBoxIResolvable | CfnDataAutomationProject.bounding_boxtyping.Union[IResolvable, ImageBoundingBoxProperty]boundingBoxIResolvableBoundingBoxIResolvableBoundingBoxinterface{} required #Settings for generating bounding boxes.
categoryIResolvable | CfnDataAutomationProject.categorytyping.Union[IResolvable, ImageExtractionCategoryProperty]categoryIResolvableCategoryIResolvableCategoryinterface{} required #Settings for generating categorical data.