We recommend new projects start with resources from the AWS provider.
aws-native.mediatailor.SourceLocation
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
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 string
- The unique name of the resource.
- args SourceLocationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args 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 string
- The unique name of the resource.
- args SourceLocationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SourceLocationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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:
- Http
Configuration Pulumi.Aws Native. Media Tailor. Inputs. Source Location Http Configuration - The HTTP configuration for the source location.
- Access
Configuration Pulumi.Aws Native. Media Tailor. Inputs. Source Location Access Configuration - The access configuration for the source location.
- Default
Segment Pulumi.Delivery Configuration Aws Native. Media Tailor. Inputs. Source Location Default Segment Delivery Configuration - The default segment delivery configuration.
- Segment
Delivery List<Pulumi.Configurations Aws Native. Media Tailor. Inputs. Source Location Segment Delivery Configuration> - Source
Location stringName - The name of the source location.
- List<Pulumi.
Aws Native. Inputs. Tag> - The tags to assign to the source location.
- Http
Configuration SourceLocation Http Configuration Args - The HTTP configuration for the source location.
- Access
Configuration SourceLocation Access Configuration Args - The access configuration for the source location.
- Default
Segment SourceDelivery Configuration Location Default Segment Delivery Configuration Args - The default segment delivery configuration.
- Segment
Delivery []SourceConfigurations Location Segment Delivery Configuration Args - Source
Location stringName - The name of the source location.
- Tag
Args - The tags to assign to the source location.
- http
Configuration SourceLocation Http Configuration - The HTTP configuration for the source location.
- access
Configuration SourceLocation Access Configuration - The access configuration for the source location.
- default
Segment SourceDelivery Configuration Location Default Segment Delivery Configuration - The default segment delivery configuration.
- segment
Delivery List<SourceConfigurations Location Segment Delivery Configuration> - source
Location StringName - The name of the source location.
- List<Tag>
- The tags to assign to the source location.
- http
Configuration SourceLocation Http Configuration - The HTTP configuration for the source location.
- access
Configuration SourceLocation Access Configuration - The access configuration for the source location.
- default
Segment SourceDelivery Configuration Location Default Segment Delivery Configuration - The default segment delivery configuration.
- segment
Delivery SourceConfigurations Location Segment Delivery Configuration[] - source
Location stringName - The name of the source location.
- Tag[]
- The tags to assign to the source location.
- http_
configuration SourceLocation Http Configuration Args - The HTTP configuration for the source location.
- access_
configuration SourceLocation Access Configuration Args - The access configuration for the source location.
- default_
segment_ Sourcedelivery_ configuration Location Default Segment Delivery Configuration Args - The default segment delivery configuration.
- segment_
delivery_ Sequence[Sourceconfigurations Location Segment Delivery Configuration Args] - source_
location_ strname - The name of the source location.
- Sequence[Tag
Args] - The tags to assign to the source location.
- http
Configuration Property Map - The HTTP configuration for the source location.
- access
Configuration Property Map - The access configuration for the source location.
- default
Segment Property MapDelivery Configuration - The default segment delivery configuration.
- segment
Delivery List<Property Map>Configurations - source
Location StringName - The name of the source location.
- 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:
Supporting Types
SourceLocationAccessConfiguration, SourceLocationAccessConfigurationArgs
- Access
Type Pulumi.Aws Native. Media Tailor. Source Location Access Type 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 Pulumi.Access Token Configuration Aws Native. Media Tailor. Inputs. Source Location Secrets Manager Access Token Configuration - AWS Secrets Manager access token configuration parameters.
- Access
Type SourceLocation Access Type 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 SourceAccess Token Configuration Location Secrets Manager Access Token Configuration - AWS Secrets Manager access token configuration parameters.
- access
Type SourceLocation Access Type 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 SourceAccess Token Configuration Location Secrets Manager Access Token Configuration - AWS Secrets Manager access token configuration parameters.
- access
Type SourceLocation Access Type 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 SourceAccess Token Configuration Location Secrets Manager Access Token Configuration - AWS Secrets Manager access token configuration parameters.
- access_
type SourceLocation Access Type 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_ Sourceaccess_ token_ configuration Location Secrets Manager Access Token Configuration - AWS Secrets Manager access token configuration parameters.
- access
Type "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.
- secrets
Manager Property MapAccess Token Configuration - AWS Secrets Manager access token configuration parameters.
SourceLocationAccessType, SourceLocationAccessTypeArgs
- S3Sigv4
- S3_SIGV4
- Secrets
Manager Access Token - SECRETS_MANAGER_ACCESS_TOKEN
- Autodetect
Sigv4 - AUTODETECT_SIGV4
- Source
Location Access Type S3Sigv4 - S3_SIGV4
- Source
Location Access Type Secrets Manager Access Token - SECRETS_MANAGER_ACCESS_TOKEN
- Source
Location Access Type Autodetect Sigv4 - AUTODETECT_SIGV4
- S3Sigv4
- S3_SIGV4
- Secrets
Manager Access Token - SECRETS_MANAGER_ACCESS_TOKEN
- Autodetect
Sigv4 - AUTODETECT_SIGV4
- S3Sigv4
- 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
- "S3_SIGV4"
- S3_SIGV4
- "SECRETS_MANAGER_ACCESS_TOKEN"
- SECRETS_MANAGER_ACCESS_TOKEN
- "AUTODETECT_SIGV4"
- AUTODETECT_SIGV4
SourceLocationDefaultSegmentDeliveryConfiguration, SourceLocationDefaultSegmentDeliveryConfigurationArgs
- Base
Url string
- Base
Url string
- base
Url String
- base
Url string
- base_
url str
- base
Url String
SourceLocationHttpConfiguration, SourceLocationHttpConfigurationArgs
- Base
Url string
- Base
Url string
- base
Url String
- base
Url string
- base_
url str
- base
Url String
SourceLocationSecretsManagerAccessTokenConfiguration, SourceLocationSecretsManagerAccessTokenConfigurationArgs
- Header
Name string - Secret
Arn string - Secret
String stringKey
- Header
Name string - Secret
Arn string - Secret
String stringKey
- header
Name String - secret
Arn String - secret
String StringKey
- header
Name string - secret
Arn string - secret
String stringKey
- header_
name str - secret_
arn str - secret_
string_ strkey
- header
Name String - secret
Arn String - secret
String StringKey
SourceLocationSegmentDeliveryConfiguration, SourceLocationSegmentDeliveryConfigurationArgs
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.