Struct aws_sdk_shield::model::Protection [−][src]
#[non_exhaustive]pub struct Protection {
pub id: Option<String>,
pub name: Option<String>,
pub resource_arn: Option<String>,
pub health_check_ids: Option<Vec<String>>,
pub protection_arn: Option<String>,
}
Expand description
An object that represents a resource that is under DDoS protection.
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.id: Option<String>
The unique identifier (ID) of the protection.
name: Option<String>
The name of the protection. For example, My CloudFront distributions
.
resource_arn: Option<String>
The ARN (Amazon Resource Name) of the Amazon Web Services resource that is protected.
health_check_ids: Option<Vec<String>>
The unique identifier (ID) for the Route 53 health check that's associated with the protection.
protection_arn: Option<String>
The ARN (Amazon Resource Name) of the protection.
Implementations
The name of the protection. For example, My CloudFront distributions
.
The ARN (Amazon Resource Name) of the Amazon Web Services resource that is protected.
The unique identifier (ID) for the Route 53 health check that's associated with the protection.
The ARN (Amazon Resource Name) of the protection.
Creates a new builder-style object to manufacture Protection
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 Protection
impl Send for Protection
impl Sync for Protection
impl Unpin for Protection
impl UnwindSafe for Protection
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