Skip to content
v2.278.0

OutputConfigProperty 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 outputConfigProperty: elementalinference.CfnFeed.OutputConfigProperty = {
  clipping: {
    callbackMetadata: 'callbackMetadata',
    dataSourceConfiguration: {
      fixtureId: 'fixtureId',
    },
  },
  cropping: {
    templateGroups: [{
      name: 'name',
      templateUris: ['templateUris'],
    }],
  },
  subtitling: {
    language: 'language',

    // the properties below are optional
    aspectRatio: {
      height: 123,
      width: 123,
    },
    dictionary: 'dictionary',
    profanityFilter: 'profanityFilter',
  },
};
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

output_config_property = elementalinference.CfnFeed.OutputConfigProperty(
    clipping=elementalinference.CfnFeed.ClippingConfigProperty(
        callback_metadata="callbackMetadata",
        data_source_configuration=elementalinference.CfnFeed.DataSourceConfigurationProperty(
            fixture_id="fixtureId"
        )
    ),
    cropping=elementalinference.CfnFeed.CroppingConfigProperty(
        template_groups=[elementalinference.CfnFeed.TemplateGroupProperty(
            name="name",
            template_uris=["templateUris"]
        )]
    ),
    subtitling=elementalinference.CfnFeed.SubtitlingConfigProperty(
        language="language",

        # the properties below are optional
        aspect_ratio=elementalinference.CfnFeed.AspectRatioProperty(
            height=123,
            width=123
        ),
        dictionary="dictionary",
        profanity_filter="profanityFilter"
    )
)
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.*;

OutputConfigProperty outputConfigProperty = OutputConfigProperty.builder()
        .clipping(ClippingConfigProperty.builder()
                .callbackMetadata("callbackMetadata")
                .dataSourceConfiguration(DataSourceConfigurationProperty.builder()
                        .fixtureId("fixtureId")
                        .build())
                .build())
        .cropping(CroppingConfigProperty.builder()
                .templateGroups(List.of(TemplateGroupProperty.builder()
                        .name("name")
                        .templateUris(List.of("templateUris"))
                        .build()))
                .build())
        .subtitling(SubtitlingConfigProperty.builder()
                .language("language")

                // the properties below are optional
                .aspectRatio(AspectRatioProperty.builder()
                        .height(123)
                        .width(123)
                        .build())
                .dictionary("dictionary")
                .profanityFilter("profanityFilter")
                .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 outputConfigProperty = new OutputConfigProperty {
    Clipping = new ClippingConfigProperty {
        CallbackMetadata = "callbackMetadata",
        DataSourceConfiguration = new DataSourceConfigurationProperty {
            FixtureId = "fixtureId"
        }
    },
    Cropping = new CroppingConfigProperty {
        TemplateGroups = new [] { new TemplateGroupProperty {
            Name = "name",
            TemplateUris = new [] { "templateUris" }
        } }
    },
    Subtitling = new SubtitlingConfigProperty {
        Language = "language",

        // the properties below are optional
        AspectRatio = new AspectRatioProperty {
            Height = 123,
            Width = 123
        },
        Dictionary = "dictionary",
        ProfanityFilter = "profanityFilter"
    }
};
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"

outputConfigProperty := &OutputConfigProperty{
	Clipping: &ClippingConfigProperty{
		CallbackMetadata: jsii.String("callbackMetadata"),
		DataSourceConfiguration: &DataSourceConfigurationProperty{
			FixtureId: jsii.String("fixtureId"),
		},
	},
	Cropping: &CroppingConfigProperty{
		TemplateGroups: []interface{}{
			&TemplateGroupProperty{
				Name: jsii.String("name"),
				TemplateUris: []*string{
					jsii.String("templateUris"),
				},
			},
		},
	},
	Subtitling: &SubtitlingConfigProperty{
		Language: jsii.String("language"),

		// the properties below are optional
		AspectRatio: &AspectRatioProperty{
			Height: jsii.Number(123),
			Width: jsii.Number(123),
		},
		Dictionary: jsii.String("dictionary"),
		ProfanityFilter: jsii.String("profanityFilter"),
	},
}

Properties ​

clippingoptionalIResolvable | CfnFeed.ClippingConfigPropertyclippingoptionaltyping.Union[IResolvable, ClippingConfigProperty]clippingoptionalIResolvableClippingoptionalIResolvableClippingoptionalinterface{} #
croppingoptionalIResolvable | CfnFeed.CroppingConfigPropertycroppingoptionaltyping.Union[IResolvable, CroppingConfigProperty]croppingoptionalIResolvableCroppingoptionalIResolvableCroppingoptionalinterface{} #
subtitlingoptionalIResolvable | CfnFeed.SubtitlingConfigPropertysubtitlingoptionaltyping.Union[IResolvable, SubtitlingConfigProperty]subtitlingoptionalIResolvableSubtitlingoptionalIResolvableSubtitlingoptionalinterface{} #