Struct aws_sdk_ec2::types::TransitGatewayVpcAttachment  
source · #[non_exhaustive]pub struct TransitGatewayVpcAttachment {
    pub transit_gateway_attachment_id: Option<String>,
    pub transit_gateway_id: Option<String>,
    pub vpc_id: Option<String>,
    pub vpc_owner_id: Option<String>,
    pub state: Option<TransitGatewayAttachmentState>,
    pub subnet_ids: Option<Vec<String>>,
    pub creation_time: Option<DateTime>,
    pub options: Option<TransitGatewayVpcAttachmentOptions>,
    pub tags: Option<Vec<Tag>>,
}Expand description
Describes a VPC attachment.
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.transit_gateway_attachment_id: Option<String>The ID of the attachment.
transit_gateway_id: Option<String>The ID of the transit gateway.
vpc_id: Option<String>The ID of the VPC.
vpc_owner_id: Option<String>The ID of the Amazon Web Services account that owns the VPC.
state: Option<TransitGatewayAttachmentState>The state of the VPC attachment. Note that the initiating state has been deprecated.
subnet_ids: Option<Vec<String>>The IDs of the subnets.
creation_time: Option<DateTime>The creation time.
options: Option<TransitGatewayVpcAttachmentOptions>The VPC attachment options.
The tags for the VPC attachment.
Implementations§
source§impl TransitGatewayVpcAttachment
 
impl TransitGatewayVpcAttachment
sourcepub fn transit_gateway_attachment_id(&self) -> Option<&str>
 
pub fn transit_gateway_attachment_id(&self) -> Option<&str>
The ID of the attachment.
sourcepub fn transit_gateway_id(&self) -> Option<&str>
 
pub fn transit_gateway_id(&self) -> Option<&str>
The ID of the transit gateway.
sourcepub fn vpc_owner_id(&self) -> Option<&str>
 
pub fn vpc_owner_id(&self) -> Option<&str>
The ID of the Amazon Web Services account that owns the VPC.
sourcepub fn state(&self) -> Option<&TransitGatewayAttachmentState>
 
pub fn state(&self) -> Option<&TransitGatewayAttachmentState>
The state of the VPC attachment. Note that the initiating state has been deprecated.
sourcepub fn subnet_ids(&self) -> &[String]
 
pub fn subnet_ids(&self) -> &[String]
The IDs of the subnets.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .subnet_ids.is_none().
sourcepub fn creation_time(&self) -> Option<&DateTime>
 
pub fn creation_time(&self) -> Option<&DateTime>
The creation time.
sourcepub fn options(&self) -> Option<&TransitGatewayVpcAttachmentOptions>
 
pub fn options(&self) -> Option<&TransitGatewayVpcAttachmentOptions>
The VPC attachment options.
The tags for the VPC attachment.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none().
source§impl TransitGatewayVpcAttachment
 
impl TransitGatewayVpcAttachment
sourcepub fn builder() -> TransitGatewayVpcAttachmentBuilder
 
pub fn builder() -> TransitGatewayVpcAttachmentBuilder
Creates a new builder-style object to manufacture TransitGatewayVpcAttachment.
Trait Implementations§
source§impl Clone for TransitGatewayVpcAttachment
 
impl Clone for TransitGatewayVpcAttachment
source§fn clone(&self) -> TransitGatewayVpcAttachment
 
fn clone(&self) -> TransitGatewayVpcAttachment
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for TransitGatewayVpcAttachment
 
impl Debug for TransitGatewayVpcAttachment
source§impl PartialEq for TransitGatewayVpcAttachment
 
impl PartialEq for TransitGatewayVpcAttachment
source§fn eq(&self, other: &TransitGatewayVpcAttachment) -> bool
 
fn eq(&self, other: &TransitGatewayVpcAttachment) -> bool
self and other values to be equal, and is used
by ==.