AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the GetFunction operation. Gets the code of a CloudFront function. To get configuration information and metadata about a function, use DescribeFunction.

To get a function's code, you must provide the function's name and stage. To get these values, you can use ListFunctions.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.CloudFront.AmazonCloudFrontRequest
      Amazon.CloudFront.Model.GetFunctionRequest

Namespace: Amazon.CloudFront.Model
Assembly: AWSSDK.CloudFront.dll
Version: 3.x.y.z

Syntax

C#
public class GetFunctionRequest : AmazonCloudFrontRequest
         IAmazonWebServiceRequest

The GetFunctionRequest type exposes the following members

Constructors

NameDescription
Public Method GetFunctionRequest()

Properties

NameTypeDescription
Public Property Name System.String

Gets and sets the property Name.

The name of the function whose code you are getting.

Public Property Stage Amazon.CloudFront.FunctionStage

Gets and sets the property Stage.

The function's stage, either DEVELOPMENT or LIVE.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5