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.

A CloudFront function that is associated with a cache behavior in a CloudFront distribution.

Inheritance Hierarchy

System.Object
  Amazon.CloudFront.Model.FunctionAssociation

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

Syntax

C#
public class FunctionAssociation

The FunctionAssociation type exposes the following members

Constructors

NameDescription
Public Method FunctionAssociation()

Properties

NameTypeDescription
Public Property EventType Amazon.CloudFront.EventType

Gets and sets the property EventType.

The event type of the function, either viewer-request or viewer-response. You cannot use origin-facing event types (origin-request and origin-response) with a CloudFront function.

Public Property FunctionARN System.String

Gets and sets the property FunctionARN.

The Amazon Resource Name (ARN) of the function.

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