Class CfnFunctionProps
Properties for defining a CfnFunction.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.MediaTailor
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnFunctionProps : ICfnFunctionProps
Syntax (vb)
Public Class CfnFunctionProps Implements ICfnFunctionProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediatailor-function.html
ExampleMetadata: fixture=_generated
Examples
// 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 cfnFunctionProps = new CfnFunctionProps {
FunctionId = "functionId",
FunctionType = "functionType",
// the properties below are optional
CustomOutputConfiguration = new CustomOutputConfigurationProperty {
Runtime = "runtime",
// the properties below are optional
Output = new Dictionary<string, string> {
{ "outputKey", "output" }
}
},
Description = "description",
HttpRequestConfiguration = new HttpRequestConfigurationProperty {
MethodType = "methodType",
RequestTimeoutMilliseconds = 123,
Runtime = "runtime",
Url = "url",
// the properties below are optional
Body = "body",
Headers = new Dictionary<string, string> {
{ "headersKey", "headers" }
},
Output = new Dictionary<string, string> {
{ "outputKey", "output" }
}
},
SequentialExecutorConfiguration = new SequentialExecutorConfigurationProperty {
FunctionList = new [] { new FunctionRefProperty {
FunctionId = "functionId",
RunCondition = "runCondition"
} },
Runtime = "runtime",
TimeoutMilliseconds = 123,
// the properties below are optional
Output = new Dictionary<string, string> {
{ "outputKey", "output" }
}
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
| CfnFunctionProps() | Properties for defining a |
Properties
| CustomOutputConfiguration | Configuration for custom output functions. |
| Description | A description of the function. |
| FunctionId | The unique identifier for the function. |
| FunctionType | Properties for defining a |
| HttpRequestConfiguration | Configuration for HTTP request functions. |
| SequentialExecutorConfiguration | Configuration for sequential executor functions. |
| Tags | The tags to assign to the function resource. |
Constructors
CfnFunctionProps()
Properties for defining a CfnFunction.
public CfnFunctionProps()
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediatailor-function.html
ExampleMetadata: fixture=_generated
Examples
// 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 cfnFunctionProps = new CfnFunctionProps {
FunctionId = "functionId",
FunctionType = "functionType",
// the properties below are optional
CustomOutputConfiguration = new CustomOutputConfigurationProperty {
Runtime = "runtime",
// the properties below are optional
Output = new Dictionary<string, string> {
{ "outputKey", "output" }
}
},
Description = "description",
HttpRequestConfiguration = new HttpRequestConfigurationProperty {
MethodType = "methodType",
RequestTimeoutMilliseconds = 123,
Runtime = "runtime",
Url = "url",
// the properties below are optional
Body = "body",
Headers = new Dictionary<string, string> {
{ "headersKey", "headers" }
},
Output = new Dictionary<string, string> {
{ "outputKey", "output" }
}
},
SequentialExecutorConfiguration = new SequentialExecutorConfigurationProperty {
FunctionList = new [] { new FunctionRefProperty {
FunctionId = "functionId",
RunCondition = "runCondition"
} },
Runtime = "runtime",
TimeoutMilliseconds = 123,
// the properties below are optional
Output = new Dictionary<string, string> {
{ "outputKey", "output" }
}
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Properties
CustomOutputConfiguration
Configuration for custom output functions.
public object? CustomOutputConfiguration { get; set; }
Property Value
Remarks
Description
A description of the function.
public string? Description { get; set; }
Property Value
Remarks
FunctionId
The unique identifier for the function.
public string FunctionId { get; set; }
Property Value
Remarks
FunctionType
Properties for defining a CfnFunction.
public string FunctionType { get; set; }
Property Value
Remarks
HttpRequestConfiguration
Configuration for HTTP request functions.
public object? HttpRequestConfiguration { get; set; }
Property Value
Remarks
SequentialExecutorConfiguration
Configuration for sequential executor functions.
public object? SequentialExecutorConfiguration { get; set; }
Property Value
Remarks
Tags
The tags to assign to the function resource.
public ICfnTag[]? Tags { get; set; }
Property Value
ICfnTag[]