Struct aws_sdk_cloudfront::model::FunctionAssociation [−][src]
#[non_exhaustive]pub struct FunctionAssociation {
pub function_arn: Option<String>,
pub event_type: Option<EventType>,
}
Expand description
A CloudFront function that is associated with a cache behavior in a CloudFront distribution.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.function_arn: Option<String>
The Amazon Resource Name (ARN) of the function.
event_type: Option<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.
Implementations
The Amazon Resource Name (ARN) of the function.
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.
Creates a new builder-style object to manufacture FunctionAssociation
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for FunctionAssociation
impl Send for FunctionAssociation
impl Sync for FunctionAssociation
impl Unpin for FunctionAssociation
impl UnwindSafe for FunctionAssociation
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more