# CfnVodSourceProps

Properties for defining a `CfnVodSource`.

Used as props by: [CfnVodSource](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnVodSource.html)

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_mediatailor as mediatailor } from 'aws-cdk-lib';
const cfnVodSourceProps: mediatailor.CfnVodSourceProps = {
  httpPackageConfigurations: [{
    path: 'path',
    sourceGroup: 'sourceGroup',
    type: 'type',
  }],
  sourceLocationName: 'sourceLocationName',
  vodSourceName: 'vodSourceName',

  // the properties below are optional
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
```

Python:

```python
from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_mediatailor as mediatailor

cfn_vod_source_props = mediatailor.CfnVodSourceProps(
    http_package_configurations=[mediatailor.CfnVodSource.HttpPackageConfigurationProperty(
        path="path",
        source_group="sourceGroup",
        type="type"
    )],
    source_location_name="sourceLocationName",
    vod_source_name="vodSourceName",

    # the properties below are optional
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)
```

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.mediatailor.*;

CfnVodSourceProps cfnVodSourceProps = CfnVodSourceProps.builder()
        .httpPackageConfigurations(List.of(HttpPackageConfigurationProperty.builder()
                .path("path")
                .sourceGroup("sourceGroup")
                .type("type")
                .build()))
        .sourceLocationName("sourceLocationName")
        .vodSourceName("vodSourceName")

        // the properties below are optional
        .tags(List.of(CfnTag.builder()
                .key("key")
                .value("value")
                .build()))
        .build();
```

C# / .NET:

```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.MediaTailor;

var cfnVodSourceProps = new CfnVodSourceProps {
    HttpPackageConfigurations = new [] { new HttpPackageConfigurationProperty {
        Path = "path",
        SourceGroup = "sourceGroup",
        Type = "type"
    } },
    SourceLocationName = "sourceLocationName",
    VodSourceName = "vodSourceName",

    // the properties below are optional
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } }
};
```

Golang:

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

cfnVodSourceProps := &CfnVodSourceProps{
	HttpPackageConfigurations: []interface{}{
		&HttpPackageConfigurationProperty{
			Path: jsii.String("path"),
			SourceGroup: jsii.String("sourceGroup"),
			Type: jsii.String("type"),
		},
	},
	SourceLocationName: jsii.String("sourceLocationName"),
	VodSourceName: jsii.String("vodSourceName"),

	// the properties below are optional
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}
```

## Properties

- `httpPackageConfigurations`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnVodSource.HttpPackageConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnVodSource.HttpPackageConfigurationProperty.html)[] (required) — The HTTP package configurations for the VOD source.

- `sourceLocationName`: string (required) — The name of the source location that the VOD source is associated with.

- `tags`: [CfnTag](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — The tags assigned to the VOD source.

  Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see [Tagging AWS Elemental MediaTailor Resources](https://docs.aws.amazon.com/mediatailor/latest/ug/tagging.html) .

- `vodSourceName`: string (required) — The name of the VOD source.
