Show / Hide Table of Contents

Interface CfnDistribution.IFunctionAssociationProperty

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

Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnDistribution.IFunctionAssociationProperty
Syntax (vb)
Public Interface CfnDistribution.IFunctionAssociationProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-functionassociation.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.CloudFront;

             var functionAssociationProperty = new FunctionAssociationProperty {
                 EventType = "eventType",
                 FunctionArn = "functionArn"
             };

Synopsis

Properties

EventType

The event type of the function, either viewer-request or viewer-response .

FunctionArn

The Amazon Resource Name (ARN) of the function.

Properties

EventType

The event type of the function, either viewer-request or viewer-response .

string? EventType { get; }
Property Value

string

Remarks

You cannot use origin-facing event types ( origin-request and origin-response ) with a CloudFront function.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-functionassociation.html#cfn-cloudfront-distribution-functionassociation-eventtype

FunctionArn

The Amazon Resource Name (ARN) of the function.

string? FunctionArn { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-functionassociation.html#cfn-cloudfront-distribution-functionassociation-functionarn

Back to top Generated by DocFX