We recommend new projects start with resources from the AWS provider.
Viewing docs for AWS Cloud Control v1.79.0
published on Monday, Sep 14, 2026 by Pulumi
published on Monday, Sep 14, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
Viewing docs for AWS Cloud Control v1.79.0
published on Monday, Sep 14, 2026 by Pulumi
published on Monday, Sep 14, 2026 by Pulumi
Resource Type definition for AWS::MediaTailor::Function
Using getFunction
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getFunction(args: GetFunctionArgs, opts?: InvokeOptions): Promise<GetFunctionResult>
function getFunctionOutput(args: GetFunctionOutputArgs, opts?: InvokeOutputOptions): Output<GetFunctionResult>def get_function(function_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetFunctionResult
def get_function_output(function_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetFunctionResult]func LookupFunction(ctx *Context, args *LookupFunctionArgs, opts ...InvokeOption) (*LookupFunctionResult, error)
func LookupFunctionOutput(ctx *Context, args *LookupFunctionOutputArgs, opts ...InvokeOption) LookupFunctionResultOutput> Note: This function is named LookupFunction in the Go SDK.
public static class GetFunction
{
public static Task<GetFunctionResult> InvokeAsync(GetFunctionArgs args, InvokeOptions? opts = null)
public static Output<GetFunctionResult> Invoke(GetFunctionInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetFunctionResult> Invoke(GetFunctionInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetFunctionResult> getFunction(GetFunctionArgs args, InvokeOptions options)
public static Output<GetFunctionResult> getFunction(GetFunctionArgs args, InvokeOptions options)
public static Output<GetFunctionResult> getFunction(GetFunctionArgs args, InvokeOutputOptions options)
fn::invoke:
function: aws-native:mediatailor:getFunction
arguments:
# arguments dictionarydata "aws-native_mediatailor_get_function" "name" {
# arguments
}The following arguments are supported:
- Function
Id string - The unique identifier for the function.
- Function
Id string - The unique identifier for the function.
- function_
id string - The unique identifier for the function.
- function
Id String - The unique identifier for the function.
- function
Id string - The unique identifier for the function.
- function_
id str - The unique identifier for the function.
- function
Id String - The unique identifier for the function.
getFunction Result
The following output properties are available:
- Arn string
- The ARN of the function.
- Custom
Output Pulumi.Configuration Aws Native. Media Tailor. Outputs. Function Custom Output Configuration - Description string
- A description of the function.
- Function
Type Pulumi.Aws Native. Media Tailor. Function Type - The type of the function. Determines which configuration object is used.
- Http
Request Pulumi.Configuration Aws Native. Media Tailor. Outputs. Function Http Request Configuration - Sequential
Executor Pulumi.Configuration Aws Native. Media Tailor. Outputs. Function Sequential Executor Configuration -
List<Pulumi.
Aws Native. Outputs. Tag> - The tags to assign to the function resource.
- Arn string
- The ARN of the function.
- Custom
Output FunctionConfiguration Custom Output Configuration - Description string
- A description of the function.
- Function
Type FunctionType - The type of the function. Determines which configuration object is used.
- Http
Request FunctionConfiguration Http Request Configuration - Sequential
Executor FunctionConfiguration Sequential Executor Configuration - Tag
- The tags to assign to the function resource.
- arn string
- The ARN of the function.
- custom_
output_ objectconfiguration - description string
- A description of the function.
- function_
type "HTTP_REQUEST" | "CUSTOM_OUTPUT" | "SEQUENTIAL_EXECUTOR" - The type of the function. Determines which configuration object is used.
- http_
request_ objectconfiguration - sequential_
executor_ objectconfiguration - list(object)
- The tags to assign to the function resource.
- arn String
- The ARN of the function.
- custom
Output FunctionConfiguration Custom Output Configuration - description String
- A description of the function.
- function
Type FunctionType - The type of the function. Determines which configuration object is used.
- http
Request FunctionConfiguration Http Request Configuration - sequential
Executor FunctionConfiguration Sequential Executor Configuration - List<Tag>
- The tags to assign to the function resource.
- arn string
- The ARN of the function.
- custom
Output FunctionConfiguration Custom Output Configuration - description string
- A description of the function.
- function
Type FunctionType - The type of the function. Determines which configuration object is used.
- http
Request FunctionConfiguration Http Request Configuration - sequential
Executor FunctionConfiguration Sequential Executor Configuration - Tag[]
- The tags to assign to the function resource.
- arn str
- The ARN of the function.
- custom_
output_ Functionconfiguration Custom Output Configuration - description str
- A description of the function.
- function_
type FunctionType - The type of the function. Determines which configuration object is used.
- http_
request_ Functionconfiguration Http Request Configuration - sequential_
executor_ Functionconfiguration Sequential Executor Configuration - Sequence[root_Tag]
- The tags to assign to the function resource.
- arn String
- The ARN of the function.
- custom
Output Property MapConfiguration - description String
- A description of the function.
- function
Type "HTTP_REQUEST" | "CUSTOM_OUTPUT" | "SEQUENTIAL_EXECUTOR" - The type of the function. Determines which configuration object is used.
- http
Request Property MapConfiguration - sequential
Executor Property MapConfiguration - List<Property Map>
- The tags to assign to the function resource.
Supporting Types
FunctionCustomOutputConfiguration
- Runtime
Pulumi.
Aws Native. Media Tailor. Function Runtime Type - The runtime environment for the function expression language.
- Output Dictionary<string, string>
- A map of output key-value pairs that define the custom output.
- Runtime
Function
Runtime Type - The runtime environment for the function expression language.
- Output map[string]string
- A map of output key-value pairs that define the custom output.
- runtime
Function
Runtime Type - The runtime environment for the function expression language.
- output Map<String,String>
- A map of output key-value pairs that define the custom output.
- runtime
Function
Runtime Type - The runtime environment for the function expression language.
- output {[key: string]: string}
- A map of output key-value pairs that define the custom output.
- runtime
Function
Runtime Type - The runtime environment for the function expression language.
- output Mapping[str, str]
- A map of output key-value pairs that define the custom output.
FunctionHttpRequestConfiguration
- Method
Type Pulumi.Aws Native. Media Tailor. Function Method Type - The HTTP method type for the request.
- Request
Timeout intMilliseconds - The timeout in milliseconds for the HTTP request. Maximum value is 2000.
- Runtime
Pulumi.
Aws Native. Media Tailor. Function Runtime Type - The runtime environment for the function expression language.
- Url string
- The URL endpoint for the HTTP request.
- Body string
- The body of the HTTP request.
- Headers Dictionary<string, string>
- A map of HTTP headers to include in the request.
- Output Dictionary<string, string>
- A map of output key-value pairs. Keys must start with session., temp., avail., scte., or be a valid adsRequest directive.
- Method
Type FunctionMethod Type - The HTTP method type for the request.
- Request
Timeout intMilliseconds - The timeout in milliseconds for the HTTP request. Maximum value is 2000.
- Runtime
Function
Runtime Type - The runtime environment for the function expression language.
- Url string
- The URL endpoint for the HTTP request.
- Body string
- The body of the HTTP request.
- Headers map[string]string
- A map of HTTP headers to include in the request.
- Output map[string]string
- A map of output key-value pairs. Keys must start with session., temp., avail., scte., or be a valid adsRequest directive.
- method_
type "GET" | "POST" - The HTTP method type for the request.
- request_
timeout_ numbermilliseconds - The timeout in milliseconds for the HTTP request. Maximum value is 2000.
- runtime "JSONATA"
- The runtime environment for the function expression language.
- url string
- The URL endpoint for the HTTP request.
- body string
- The body of the HTTP request.
- headers map(string)
- A map of HTTP headers to include in the request.
- output map(string)
- A map of output key-value pairs. Keys must start with session., temp., avail., scte., or be a valid adsRequest directive.
- method
Type FunctionMethod Type - The HTTP method type for the request.
- request
Timeout IntegerMilliseconds - The timeout in milliseconds for the HTTP request. Maximum value is 2000.
- runtime
Function
Runtime Type - The runtime environment for the function expression language.
- url String
- The URL endpoint for the HTTP request.
- body String
- The body of the HTTP request.
- headers Map<String,String>
- A map of HTTP headers to include in the request.
- output Map<String,String>
- A map of output key-value pairs. Keys must start with session., temp., avail., scte., or be a valid adsRequest directive.
- method
Type FunctionMethod Type - The HTTP method type for the request.
- request
Timeout numberMilliseconds - The timeout in milliseconds for the HTTP request. Maximum value is 2000.
- runtime
Function
Runtime Type - The runtime environment for the function expression language.
- url string
- The URL endpoint for the HTTP request.
- body string
- The body of the HTTP request.
- headers {[key: string]: string}
- A map of HTTP headers to include in the request.
- output {[key: string]: string}
- A map of output key-value pairs. Keys must start with session., temp., avail., scte., or be a valid adsRequest directive.
- method_
type FunctionMethod Type - The HTTP method type for the request.
- request_
timeout_ intmilliseconds - The timeout in milliseconds for the HTTP request. Maximum value is 2000.
- runtime
Function
Runtime Type - The runtime environment for the function expression language.
- url str
- The URL endpoint for the HTTP request.
- body str
- The body of the HTTP request.
- headers Mapping[str, str]
- A map of HTTP headers to include in the request.
- output Mapping[str, str]
- A map of output key-value pairs. Keys must start with session., temp., avail., scte., or be a valid adsRequest directive.
- method
Type "GET" | "POST" - The HTTP method type for the request.
- request
Timeout NumberMilliseconds - The timeout in milliseconds for the HTTP request. Maximum value is 2000.
- runtime "JSONATA"
- The runtime environment for the function expression language.
- url String
- The URL endpoint for the HTTP request.
- body String
- The body of the HTTP request.
- headers Map<String>
- A map of HTTP headers to include in the request.
- output Map<String>
- A map of output key-value pairs. Keys must start with session., temp., avail., scte., or be a valid adsRequest directive.
FunctionMethodType
FunctionRef
- Function
Id string - The identifier of the function to execute.
- Run
Condition string - A conditional expression that determines whether this function should execute.
- Function
Id string - The identifier of the function to execute.
- Run
Condition string - A conditional expression that determines whether this function should execute.
- function_
id string - The identifier of the function to execute.
- run_
condition string - A conditional expression that determines whether this function should execute.
- function
Id String - The identifier of the function to execute.
- run
Condition String - A conditional expression that determines whether this function should execute.
- function
Id string - The identifier of the function to execute.
- run
Condition string - A conditional expression that determines whether this function should execute.
- function_
id str - The identifier of the function to execute.
- run_
condition str - A conditional expression that determines whether this function should execute.
- function
Id String - The identifier of the function to execute.
- run
Condition String - A conditional expression that determines whether this function should execute.
FunctionRuntimeType
FunctionSequentialExecutorConfiguration
- Function
List List<Pulumi.Aws Native. Media Tailor. Inputs. Function Ref> - The list of functions to execute sequentially.
- Runtime
Pulumi.
Aws Native. Media Tailor. Function Runtime Type - The runtime environment for the function expression language.
- Timeout
Milliseconds int - The timeout in milliseconds for the entire sequential execution chain.
- Output Dictionary<string, string>
- A map of output key-value pairs that define the final output from sequential execution.
- Function
List []FunctionRef - The list of functions to execute sequentially.
- Runtime
Function
Runtime Type - The runtime environment for the function expression language.
- Timeout
Milliseconds int - The timeout in milliseconds for the entire sequential execution chain.
- Output map[string]string
- A map of output key-value pairs that define the final output from sequential execution.
- function_
list list(object) - The list of functions to execute sequentially.
- runtime "JSONATA"
- The runtime environment for the function expression language.
- timeout_
milliseconds number - The timeout in milliseconds for the entire sequential execution chain.
- output map(string)
- A map of output key-value pairs that define the final output from sequential execution.
- function
List List<FunctionRef> - The list of functions to execute sequentially.
- runtime
Function
Runtime Type - The runtime environment for the function expression language.
- timeout
Milliseconds Integer - The timeout in milliseconds for the entire sequential execution chain.
- output Map<String,String>
- A map of output key-value pairs that define the final output from sequential execution.
- function
List FunctionRef[] - The list of functions to execute sequentially.
- runtime
Function
Runtime Type - The runtime environment for the function expression language.
- timeout
Milliseconds number - The timeout in milliseconds for the entire sequential execution chain.
- output {[key: string]: string}
- A map of output key-value pairs that define the final output from sequential execution.
- function_
list Sequence[FunctionRef] - The list of functions to execute sequentially.
- runtime
Function
Runtime Type - The runtime environment for the function expression language.
- timeout_
milliseconds int - The timeout in milliseconds for the entire sequential execution chain.
- output Mapping[str, str]
- A map of output key-value pairs that define the final output from sequential execution.
- function
List List<Property Map> - The list of functions to execute sequentially.
- runtime "JSONATA"
- The runtime environment for the function expression language.
- timeout
Milliseconds Number - The timeout in milliseconds for the entire sequential execution chain.
- output Map<String>
- A map of output key-value pairs that define the final output from sequential execution.
FunctionType
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.
Viewing docs for AWS Cloud Control v1.79.0
published on Monday, Sep 14, 2026 by Pulumi
published on Monday, Sep 14, 2026 by Pulumi