Class FunctionAttributes
Attributes of an existing CloudFront Function to import it.
Inheritance
System.Object
FunctionAttributes
Implements
Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class FunctionAttributes : Object, IFunctionAttributes
Syntax (vb)
Public Class FunctionAttributes
Inherits Object
Implements IFunctionAttributes
Remarks
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.CloudFront;
var functionAttributes = new FunctionAttributes {
FunctionArn = "functionArn",
FunctionName = "functionName",
// the properties below are optional
FunctionRuntime = "functionRuntime"
};
Synopsis
Constructors
FunctionAttributes() |
Properties
FunctionArn | The ARN of the function. |
FunctionName | The name of the function. |
FunctionRuntime | The Runtime of the function. |
Constructors
FunctionAttributes()
public FunctionAttributes()
Properties
FunctionArn
The ARN of the function.
public string FunctionArn { get; set; }
Property Value
System.String
FunctionName
The name of the function.
public string FunctionName { get; set; }
Property Value
System.String
FunctionRuntime
The Runtime of the function.
public string FunctionRuntime { get; set; }
Property Value
System.String
Remarks
Default: FunctionRuntime.JS_1_0