interface CfnFunctionProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MediaTailor.CfnFunctionProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsmediatailor#CfnFunctionProps |
Java | software.amazon.awscdk.services.mediatailor.CfnFunctionProps |
Python | aws_cdk.aws_mediatailor.CfnFunctionProps |
TypeScript | aws-cdk-lib » aws_mediatailor » CfnFunctionProps |
Properties for defining a CfnFunction.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediatailor-function.html
Example
// 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 cfnFunctionProps: mediatailor.CfnFunctionProps = {
functionId: 'functionId',
functionType: 'functionType',
// the properties below are optional
customOutputConfiguration: {
runtime: 'runtime',
// the properties below are optional
output: {
outputKey: 'output',
},
},
description: 'description',
httpRequestConfiguration: {
methodType: 'methodType',
requestTimeoutMilliseconds: 123,
runtime: 'runtime',
url: 'url',
// the properties below are optional
body: 'body',
headers: {
headersKey: 'headers',
},
output: {
outputKey: 'output',
},
},
sequentialExecutorConfiguration: {
functionList: [{
functionId: 'functionId',
runCondition: 'runCondition',
}],
runtime: 'runtime',
timeoutMilliseconds: 123,
// the properties below are optional
output: {
outputKey: 'output',
},
},
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| function | string | The unique identifier for the function. |
| function | string | |
| custom | IResolvable | Custom | Configuration for custom output functions. |
| description? | string | A description of the function. |
| http | IResolvable | Http | Configuration for HTTP request functions. |
| sequential | IResolvable | Sequential | Configuration for sequential executor functions. |
| tags? | Cfn[] | The tags to assign to the function resource. |
functionId
Type:
string
The unique identifier for the function.
functionType
Type:
string
customOutputConfiguration?
Type:
IResolvable | Custom
(optional)
Configuration for custom output functions.
description?
Type:
string
(optional)
A description of the function.
httpRequestConfiguration?
Type:
IResolvable | Http
(optional)
Configuration for HTTP request functions.
sequentialExecutorConfiguration?
Type:
IResolvable | Sequential
(optional)
Configuration for sequential executor functions.
tags?
Type:
Cfn[]
(optional)
The tags to assign to the function resource.

.NET
Go
Java
Python
TypeScript