FunctionAssociation - Amazon CloudFront

FunctionAssociation

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

Contents

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.

Type: String

Valid Values: viewer-request | viewer-response | origin-request | origin-response

Required: Yes

FunctionARN

The Amazon Resource Name (ARN) of the function.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 108.

Pattern: arn:aws:cloudfront::[0-9]{12}:function\/[a-zA-Z0-9-_]{1,64}

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

Warning Javascript is disabled or is unavailable in your browser.

To use the Amazon Web Services Documentation, Javascript must be enabled. Please refer to your browser's Help pages for instructions.

Did this page help you? - Yes

Thanks for letting us know we're doing a good job!

If you've got a moment, please tell us what we did right so we can do more of it.

Did this page help you? - No

Thanks for letting us know this page needs work. We're sorry we let you down.

If you've got a moment, please tell us how we can make the documentation better.

AltStyle によって変換されたページ (->オリジナル) /