1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. mediatailor
  5. SourceLocation

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi

aws-native.mediatailor.SourceLocation

Explore with Pulumi AI

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi

Definition of AWS::MediaTailor::SourceLocation Resource Type

Create SourceLocation Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new SourceLocation(name: string, args: SourceLocationArgs, opts?: CustomResourceOptions);
@overload
def SourceLocation(resource_name: str,
                   args: SourceLocationArgs,
                   opts: Optional[ResourceOptions] = None)

@overload
def SourceLocation(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   http_configuration: Optional[SourceLocationHttpConfigurationArgs] = None,
                   access_configuration: Optional[SourceLocationAccessConfigurationArgs] = None,
                   default_segment_delivery_configuration: Optional[SourceLocationDefaultSegmentDeliveryConfigurationArgs] = None,
                   segment_delivery_configurations: Optional[Sequence[SourceLocationSegmentDeliveryConfigurationArgs]] = None,
                   source_location_name: Optional[str] = None,
                   tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
func NewSourceLocation(ctx *Context, name string, args SourceLocationArgs, opts ...ResourceOption) (*SourceLocation, error)
public SourceLocation(string name, SourceLocationArgs args, CustomResourceOptions? opts = null)
public SourceLocation(String name, SourceLocationArgs args)
public SourceLocation(String name, SourceLocationArgs args, CustomResourceOptions options)
type: aws-native:mediatailor:SourceLocation
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. SourceLocationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. SourceLocationArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. SourceLocationArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. SourceLocationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. SourceLocationArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

SourceLocation Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The SourceLocation resource accepts the following input properties:

HttpConfiguration This property is required. SourceLocationHttpConfigurationArgs
The HTTP configuration for the source location.
AccessConfiguration SourceLocationAccessConfigurationArgs
The access configuration for the source location.
DefaultSegmentDeliveryConfiguration SourceLocationDefaultSegmentDeliveryConfigurationArgs
The default segment delivery configuration.
SegmentDeliveryConfigurations []SourceLocationSegmentDeliveryConfigurationArgs
SourceLocationName string
The name of the source location.
Tags TagArgs
The tags to assign to the source location.
httpConfiguration This property is required. SourceLocationHttpConfiguration
The HTTP configuration for the source location.
accessConfiguration SourceLocationAccessConfiguration
The access configuration for the source location.
defaultSegmentDeliveryConfiguration SourceLocationDefaultSegmentDeliveryConfiguration
The default segment delivery configuration.
segmentDeliveryConfigurations List<SourceLocationSegmentDeliveryConfiguration>
sourceLocationName String
The name of the source location.
tags List<Tag>
The tags to assign to the source location.
httpConfiguration This property is required. SourceLocationHttpConfiguration
The HTTP configuration for the source location.
accessConfiguration SourceLocationAccessConfiguration
The access configuration for the source location.
defaultSegmentDeliveryConfiguration SourceLocationDefaultSegmentDeliveryConfiguration
The default segment delivery configuration.
segmentDeliveryConfigurations SourceLocationSegmentDeliveryConfiguration[]
sourceLocationName string
The name of the source location.
tags Tag[]
The tags to assign to the source location.
http_configuration This property is required. SourceLocationHttpConfigurationArgs
The HTTP configuration for the source location.
access_configuration SourceLocationAccessConfigurationArgs
The access configuration for the source location.
default_segment_delivery_configuration SourceLocationDefaultSegmentDeliveryConfigurationArgs
The default segment delivery configuration.
segment_delivery_configurations Sequence[SourceLocationSegmentDeliveryConfigurationArgs]
source_location_name str
The name of the source location.
tags Sequence[TagArgs]
The tags to assign to the source location.
httpConfiguration This property is required. Property Map
The HTTP configuration for the source location.
accessConfiguration Property Map
The access configuration for the source location.
defaultSegmentDeliveryConfiguration Property Map
The default segment delivery configuration.
segmentDeliveryConfigurations List<Property Map>
sourceLocationName String
The name of the source location.
tags List<Property Map>
The tags to assign to the source location.

Outputs

All input properties are implicitly available as output properties. Additionally, the SourceLocation resource produces the following output properties:

Arn string
Id string
The provider-assigned unique ID for this managed resource.
Arn string
Id string
The provider-assigned unique ID for this managed resource.
arn String
id String
The provider-assigned unique ID for this managed resource.
arn string
id string
The provider-assigned unique ID for this managed resource.
arn str
id str
The provider-assigned unique ID for this managed resource.
arn String
id String
The provider-assigned unique ID for this managed resource.

Supporting Types

SourceLocationAccessConfiguration
, SourceLocationAccessConfigurationArgs

AccessType Pulumi.AwsNative.MediaTailor.SourceLocationAccessType

The type of authentication used to access content from HttpConfiguration::BaseUrl on your source location. Accepted value: S3_SIGV4 .

S3_SIGV4 - AWS Signature Version 4 authentication for Amazon S3 hosted virtual-style access. If your source location base URL is an Amazon S3 bucket, MediaTailor can use AWS Signature Version 4 (SigV4) authentication to access the bucket where your source content is stored. Your MediaTailor source location baseURL must follow the S3 virtual hosted-style request URL format. For example, https://bucket-name.s3.Region.amazonaws.com/key-name.

Before you can use S3_SIGV4 , you must meet these requirements:

• You must allow MediaTailor to access your S3 bucket by granting mediatailor.amazonaws.com principal access in IAM. For information about configuring access in IAM, see Access management in the IAM User Guide.

• The mediatailor.amazonaws.com service principal must have permissions to read all top level manifests referenced by the VodSource packaging configurations.

• The caller of the API must have s3:GetObject IAM permissions to read all top level manifests referenced by your MediaTailor VodSource packaging configurations.

SecretsManagerAccessTokenConfiguration Pulumi.AwsNative.MediaTailor.Inputs.SourceLocationSecretsManagerAccessTokenConfiguration
AWS Secrets Manager access token configuration parameters.
AccessType SourceLocationAccessType

The type of authentication used to access content from HttpConfiguration::BaseUrl on your source location. Accepted value: S3_SIGV4 .

S3_SIGV4 - AWS Signature Version 4 authentication for Amazon S3 hosted virtual-style access. If your source location base URL is an Amazon S3 bucket, MediaTailor can use AWS Signature Version 4 (SigV4) authentication to access the bucket where your source content is stored. Your MediaTailor source location baseURL must follow the S3 virtual hosted-style request URL format. For example, https://bucket-name.s3.Region.amazonaws.com/key-name.

Before you can use S3_SIGV4 , you must meet these requirements:

• You must allow MediaTailor to access your S3 bucket by granting mediatailor.amazonaws.com principal access in IAM. For information about configuring access in IAM, see Access management in the IAM User Guide.

• The mediatailor.amazonaws.com service principal must have permissions to read all top level manifests referenced by the VodSource packaging configurations.

• The caller of the API must have s3:GetObject IAM permissions to read all top level manifests referenced by your MediaTailor VodSource packaging configurations.

SecretsManagerAccessTokenConfiguration SourceLocationSecretsManagerAccessTokenConfiguration
AWS Secrets Manager access token configuration parameters.
accessType SourceLocationAccessType

The type of authentication used to access content from HttpConfiguration::BaseUrl on your source location. Accepted value: S3_SIGV4 .

S3_SIGV4 - AWS Signature Version 4 authentication for Amazon S3 hosted virtual-style access. If your source location base URL is an Amazon S3 bucket, MediaTailor can use AWS Signature Version 4 (SigV4) authentication to access the bucket where your source content is stored. Your MediaTailor source location baseURL must follow the S3 virtual hosted-style request URL format. For example, https://bucket-name.s3.Region.amazonaws.com/key-name.

Before you can use S3_SIGV4 , you must meet these requirements:

• You must allow MediaTailor to access your S3 bucket by granting mediatailor.amazonaws.com principal access in IAM. For information about configuring access in IAM, see Access management in the IAM User Guide.

• The mediatailor.amazonaws.com service principal must have permissions to read all top level manifests referenced by the VodSource packaging configurations.

• The caller of the API must have s3:GetObject IAM permissions to read all top level manifests referenced by your MediaTailor VodSource packaging configurations.

secretsManagerAccessTokenConfiguration SourceLocationSecretsManagerAccessTokenConfiguration
AWS Secrets Manager access token configuration parameters.
accessType SourceLocationAccessType

The type of authentication used to access content from HttpConfiguration::BaseUrl on your source location. Accepted value: S3_SIGV4 .

S3_SIGV4 - AWS Signature Version 4 authentication for Amazon S3 hosted virtual-style access. If your source location base URL is an Amazon S3 bucket, MediaTailor can use AWS Signature Version 4 (SigV4) authentication to access the bucket where your source content is stored. Your MediaTailor source location baseURL must follow the S3 virtual hosted-style request URL format. For example, https://bucket-name.s3.Region.amazonaws.com/key-name.

Before you can use S3_SIGV4 , you must meet these requirements:

• You must allow MediaTailor to access your S3 bucket by granting mediatailor.amazonaws.com principal access in IAM. For information about configuring access in IAM, see Access management in the IAM User Guide.

• The mediatailor.amazonaws.com service principal must have permissions to read all top level manifests referenced by the VodSource packaging configurations.

• The caller of the API must have s3:GetObject IAM permissions to read all top level manifests referenced by your MediaTailor VodSource packaging configurations.

secretsManagerAccessTokenConfiguration SourceLocationSecretsManagerAccessTokenConfiguration
AWS Secrets Manager access token configuration parameters.
access_type SourceLocationAccessType

The type of authentication used to access content from HttpConfiguration::BaseUrl on your source location. Accepted value: S3_SIGV4 .

S3_SIGV4 - AWS Signature Version 4 authentication for Amazon S3 hosted virtual-style access. If your source location base URL is an Amazon S3 bucket, MediaTailor can use AWS Signature Version 4 (SigV4) authentication to access the bucket where your source content is stored. Your MediaTailor source location baseURL must follow the S3 virtual hosted-style request URL format. For example, https://bucket-name.s3.Region.amazonaws.com/key-name.

Before you can use S3_SIGV4 , you must meet these requirements:

• You must allow MediaTailor to access your S3 bucket by granting mediatailor.amazonaws.com principal access in IAM. For information about configuring access in IAM, see Access management in the IAM User Guide.

• The mediatailor.amazonaws.com service principal must have permissions to read all top level manifests referenced by the VodSource packaging configurations.

• The caller of the API must have s3:GetObject IAM permissions to read all top level manifests referenced by your MediaTailor VodSource packaging configurations.

secrets_manager_access_token_configuration SourceLocationSecretsManagerAccessTokenConfiguration
AWS Secrets Manager access token configuration parameters.
accessType "S3_SIGV4" | "SECRETS_MANAGER_ACCESS_TOKEN" | "AUTODETECT_SIGV4"

The type of authentication used to access content from HttpConfiguration::BaseUrl on your source location. Accepted value: S3_SIGV4 .

S3_SIGV4 - AWS Signature Version 4 authentication for Amazon S3 hosted virtual-style access. If your source location base URL is an Amazon S3 bucket, MediaTailor can use AWS Signature Version 4 (SigV4) authentication to access the bucket where your source content is stored. Your MediaTailor source location baseURL must follow the S3 virtual hosted-style request URL format. For example, https://bucket-name.s3.Region.amazonaws.com/key-name.

Before you can use S3_SIGV4 , you must meet these requirements:

• You must allow MediaTailor to access your S3 bucket by granting mediatailor.amazonaws.com principal access in IAM. For information about configuring access in IAM, see Access management in the IAM User Guide.

• The mediatailor.amazonaws.com service principal must have permissions to read all top level manifests referenced by the VodSource packaging configurations.

• The caller of the API must have s3:GetObject IAM permissions to read all top level manifests referenced by your MediaTailor VodSource packaging configurations.

secretsManagerAccessTokenConfiguration Property Map
AWS Secrets Manager access token configuration parameters.

SourceLocationAccessType
, SourceLocationAccessTypeArgs

S3Sigv4
S3_SIGV4
SecretsManagerAccessToken
SECRETS_MANAGER_ACCESS_TOKEN
AutodetectSigv4
AUTODETECT_SIGV4
SourceLocationAccessTypeS3Sigv4
S3_SIGV4
SourceLocationAccessTypeSecretsManagerAccessToken
SECRETS_MANAGER_ACCESS_TOKEN
SourceLocationAccessTypeAutodetectSigv4
AUTODETECT_SIGV4
S3Sigv4
S3_SIGV4
SecretsManagerAccessToken
SECRETS_MANAGER_ACCESS_TOKEN
AutodetectSigv4
AUTODETECT_SIGV4
S3Sigv4
S3_SIGV4
SecretsManagerAccessToken
SECRETS_MANAGER_ACCESS_TOKEN
AutodetectSigv4
AUTODETECT_SIGV4
S3_SIGV4
S3_SIGV4
SECRETS_MANAGER_ACCESS_TOKEN
SECRETS_MANAGER_ACCESS_TOKEN
AUTODETECT_SIGV4
AUTODETECT_SIGV4
"S3_SIGV4"
S3_SIGV4
"SECRETS_MANAGER_ACCESS_TOKEN"
SECRETS_MANAGER_ACCESS_TOKEN
"AUTODETECT_SIGV4"
AUTODETECT_SIGV4

SourceLocationDefaultSegmentDeliveryConfiguration
, SourceLocationDefaultSegmentDeliveryConfigurationArgs

BaseUrl string
BaseUrl string
baseUrl String
baseUrl string
baseUrl String

SourceLocationHttpConfiguration
, SourceLocationHttpConfigurationArgs

BaseUrl This property is required. string
BaseUrl This property is required. string
baseUrl This property is required. String
baseUrl This property is required. string
base_url This property is required. str
baseUrl This property is required. String

SourceLocationSecretsManagerAccessTokenConfiguration
, SourceLocationSecretsManagerAccessTokenConfigurationArgs

SourceLocationSegmentDeliveryConfiguration
, SourceLocationSegmentDeliveryConfigurationArgs

BaseUrl string
Name string
BaseUrl string
Name string
baseUrl String
name String
baseUrl string
name string
base_url str
name str
baseUrl String
name String

Tag
, TagArgs

Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the tag
key This property is required. string
The key name of the tag
value This property is required. string
The value of the tag
key This property is required. str
The key name of the tag
value This property is required. str
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the tag

Package Details

Repository
AWS Native pulumi/pulumi-aws-native
License
Apache-2.0

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi