pub struct Protection {
pub health_check_ids: Option<Vec<String>>,
pub id: Option<String>,
pub name: Option<String>,
pub resource_arn: Option<String>,
}
Expand description
An object that represents a resource that is under DDoS protection.
Fields§
§health_check_ids: Option<Vec<String>>
The unique identifier (ID) for the Route 53 health check that's associated with the protection.
id: Option<String>
The unique identifier (ID) of the protection.
name: Option<String>
The friendly name of the protection. For example, My CloudFront distributions
.
resource_arn: Option<String>
The ARN (Amazon Resource Name) of the AWS resource that is protected.
Trait Implementations§
Source§impl Clone for Protection
impl Clone for Protection
Source§fn clone(&self) -> Protection
fn clone(&self) -> Protection
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for Protection
impl Debug for Protection
Source§impl Default for Protection
impl Default for Protection
Source§fn default() -> Protection
fn default() -> Protection
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Protection
impl<'de> Deserialize<'de> for Protection
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for Protection
impl PartialEq for Protection
impl StructuralPartialEq for Protection
Auto Trait Implementations§
impl Freeze for Protection
impl RefUnwindSafe for Protection
impl Send for Protection
impl Sync for Protection
impl Unpin for Protection
impl UnwindSafe for Protection
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more