# SubtitlingConfigProperty

Struct · External

- Source: Generated at build time
- Type last changed: v2.260.0 · 16 Jun 2026

## Example

TypeScript:

```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:

```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:

```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();
```

C#:

```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:

```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

- `aspectRatio`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnFeed.AspectRatioProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_elementalinference.CfnFeed.AspectRatioProperty.html)

- `dictionary`: string

- `language`: string (required)

- `profanityFilter`: string
