Struct aws_sdk_networkfirewall::model::Attachment
source · #[non_exhaustive]pub struct Attachment { /* private fields */ }
Expand description
The configuration and status for a single subnet that you've specified for use by the Network Firewall firewall. This is part of the FirewallStatus
.
Implementations§
source§impl Attachment
impl Attachment
sourcepub fn subnet_id(&self) -> Option<&str>
pub fn subnet_id(&self) -> Option<&str>
The unique identifier of the subnet that you've specified to be used for a firewall endpoint.
sourcepub fn endpoint_id(&self) -> Option<&str>
pub fn endpoint_id(&self) -> Option<&str>
The identifier of the firewall endpoint that Network Firewall has instantiated in the subnet. You use this to identify the firewall endpoint in the VPC route tables, when you redirect the VPC traffic through the endpoint.
sourcepub fn status(&self) -> Option<&AttachmentStatus>
pub fn status(&self) -> Option<&AttachmentStatus>
The current status of the firewall endpoint in the subnet. This value reflects both the instantiation of the endpoint in the VPC subnet and the sync states that are reported in the Config
settings. When this value is READY
, the endpoint is available and configured properly to handle network traffic. When the endpoint isn't available for traffic, this value will reflect its state, for example CREATING
or DELETING
.
sourcepub fn status_message(&self) -> Option<&str>
pub fn status_message(&self) -> Option<&str>
If Network Firewall fails to create or delete the firewall endpoint in the subnet, it populates this with the reason for the failure and how to resolve it. Depending on the error, it can take as many as 15 minutes to populate this field. For more information about the errors and solutions available for this field, see Troubleshooting firewall endpoint failures in the Network Firewall Developer Guide.
source§impl Attachment
impl Attachment
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture Attachment
.
Trait Implementations§
source§impl Clone for Attachment
impl Clone for Attachment
source§fn clone(&self) -> Attachment
fn clone(&self) -> Attachment
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for Attachment
impl Debug for Attachment
source§impl PartialEq<Attachment> for Attachment
impl PartialEq<Attachment> for Attachment
source§fn eq(&self, other: &Attachment) -> bool
fn eq(&self, other: &Attachment) -> bool
self
and other
values to be equal, and is used
by ==
.