Skip to content
v2.277.0

CroppingConfigProperty Struct ​

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_elementalinference as elementalinference } from 'aws-cdk-lib';
const croppingConfigProperty: elementalinference.CfnFeed.CroppingConfigProperty = {
  templateGroups: [{
    name: 'name',
    templateUris: ['templateUris'],
  }],
};
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_elementalinference as elementalinference

cropping_config_property = elementalinference.CfnFeed.CroppingConfigProperty(
    template_groups=[elementalinference.CfnFeed.TemplateGroupProperty(
        name="name",
        template_uris=["templateUris"]
    )]
)
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.elementalinference.*;

CroppingConfigProperty croppingConfigProperty = CroppingConfigProperty.builder()
        .templateGroups(List.of(TemplateGroupProperty.builder()
                .name("name")
                .templateUris(List.of("templateUris"))
                .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.ElementalInference;

var croppingConfigProperty = new CroppingConfigProperty {
    TemplateGroups = new [] { new TemplateGroupProperty {
        Name = "name",
        TemplateUris = new [] { "templateUris" }
    } }
};
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"

croppingConfigProperty := &CroppingConfigProperty{
	TemplateGroups: []interface{}{
		&TemplateGroupProperty{
			Name: jsii.String("name"),
			TemplateUris: []*string{
				jsii.String("templateUris"),
			},
		},
	},
}

Properties ​

templateGroupsoptionalIResolvable | IResolvable | CfnFeed.TemplateGroupProperty[]template_groupsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, TemplateGroupProperty]]]templateGroupsoptionalIResolvableTemplateGroupsoptionalIResolvableTemplateGroupsoptionalinterface{}#