Skip to content
v2.277.0

GetOutputProperty 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 getOutputProperty: elementalinference.CfnFeed.GetOutputProperty = {
  name: 'name',
  outputConfig: {
    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',
    },
  },
  status: 'status',

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

get_output_property = elementalinference.CfnFeed.GetOutputProperty(
    name="name",
    output_config=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"
        )
    ),
    status="status",

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

GetOutputProperty getOutputProperty = GetOutputProperty.builder()
        .name("name")
        .outputConfig(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())
        .status("status")

        // the properties below are optional
        .description("description")
        .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 getOutputProperty = new GetOutputProperty {
    Name = "name",
    OutputConfig = 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"
        }
    },
    Status = "status",

    // the properties below are optional
    Description = "description"
};
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"

getOutputProperty := &GetOutputProperty{
	Name: jsii.String("name"),
	OutputConfig: &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"),
		},
	},
	Status: jsii.String("status"),

	// the properties below are optional
	Description: jsii.String("description"),
}

Properties ​

descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string#
namestringnamestrnameStringNamestringName*stringrequired#
outputConfigIResolvable | CfnFeed.OutputConfigPropertyoutput_configtyping.Union[IResolvable, OutputConfigProperty]outputConfigIResolvableOutputConfigIResolvableOutputConfiginterface{}required#
statusstringstatusstrstatusStringStatusstringStatus*stringrequired#