Struct aws_sdk_cloudfront::model::ResponseHeadersPolicyAccessControlAllowOrigins [−][src]
#[non_exhaustive]pub struct ResponseHeadersPolicyAccessControlAllowOrigins {
pub quantity: Option<i32>,
pub items: Option<Vec<String>>,
}
Expand description
A list of origins (domain names) that CloudFront can use as the value for the
Access-Control-Allow-Origin
HTTP response header.
For more information about the Access-Control-Allow-Origin
HTTP response
header, see Access-Control-Allow-Origin in the MDN Web Docs.
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.quantity: Option<i32>
The number of origins in the list.
items: Option<Vec<String>>
The list of origins (domain names). You can specify *
to allow all
origins.
Implementations
Creates a new builder-style object to manufacture ResponseHeadersPolicyAccessControlAllowOrigins
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
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