Show / Hide Table of Contents

Interface IFunctionAttributes

Attributes of an existing CloudFront Function to import it.

Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IFunctionAttributes
Syntax (vb)
Public Interface 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

Properties

FunctionArn

The ARN of the function.

FunctionName

The name of the function.

FunctionRuntime

The Runtime of the function.

Properties

FunctionArn

The ARN of the function.

string FunctionArn { get; }
Property Value

string

Remarks

ExampleMetadata: fixture=_generated

FunctionName

The name of the function.

string FunctionName { get; }
Property Value

string

Remarks

ExampleMetadata: fixture=_generated

FunctionRuntime

The Runtime of the function.

string? FunctionRuntime { get; }
Property Value

string

Remarks

Default: FunctionRuntime.JS_1_0

Back to top Generated by DocFX