Skip to content
v2.278.0

CfnVodSourceProps Struct ​

Properties for defining a CfnVodSource.

Example ​

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
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
// 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();
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"
    } }
};
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 ​

httpPackageConfigurationsIResolvable | IResolvable | CfnVodSource.HttpPackageConfigurationProperty[]http_package_configurationstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, HttpPackageConfigurationProperty]]]httpPackageConfigurationsIResolvableHttpPackageConfigurationsIResolvableHttpPackageConfigurationsinterface{} required #
The HTTP package configurations for the VOD source.
sourceLocationNamestringsource_location_namestrsourceLocationNameStringSourceLocationNamestringSourceLocationName*string required #
The name of the source location that the VOD source is associated with.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag #
The tags assigned to the VOD source.
notes

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 .

vodSourceNamestringvod_source_namestrvodSourceNameStringVodSourceNamestringVodSourceName*string required #
The name of the VOD source.