SubtitlingConfigProperty Struct
| 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_elementalinference as elementalinference } from 'aws-cdk-lib';
const subtitlingConfigProperty: elementalinference.CfnFeed.SubtitlingConfigProperty = {
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
subtitling_config_property = 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.*;
SubtitlingConfigProperty subtitlingConfigProperty = SubtitlingConfigProperty.builder()
.language("language")
// the properties below are optional
.aspectRatio(AspectRatioProperty.builder()
.height(123)
.width(123)
.build())
.dictionary("dictionary")
.profanityFilter("profanityFilter")
.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 subtitlingConfigProperty = 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"
subtitlingConfigProperty := &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
aspectRatiooptionalIResolvable | CfnFeed.AspectRatioPropertyaspect_ratiooptionaltyping.Union[IResolvable, AspectRatioProperty]aspectRatiooptionalIResolvableAspectRatiooptionalIResolvableAspectRatiooptionalinterface{} #dictionaryoptionalstringdictionaryoptionalstrdictionaryoptionalStringDictionaryoptionalstringDictionaryoptional*string #profanityFilteroptionalstringprofanity_filteroptionalstrprofanityFilteroptionalStringProfanityFilteroptionalstringProfanityFilteroptional*string #