Struct aws_sdk_ec2::types::TransitGatewayAttachment
source · #[non_exhaustive]pub struct TransitGatewayAttachment {
pub transit_gateway_attachment_id: Option<String>,
pub transit_gateway_id: Option<String>,
pub transit_gateway_owner_id: Option<String>,
pub resource_owner_id: Option<String>,
pub resource_type: Option<TransitGatewayAttachmentResourceType>,
pub resource_id: Option<String>,
pub state: Option<TransitGatewayAttachmentState>,
pub association: Option<TransitGatewayAttachmentAssociation>,
pub creation_time: Option<DateTime>,
pub tags: Option<Vec<Tag>>,
}
Expand description
Describes an attachment between a resource and a transit gateway.
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.
transit_gateway_owner_id: Option<String>
The ID of the Amazon Web Services account that owns the transit gateway.
resource_owner_id: Option<String>
The ID of the Amazon Web Services account that owns the resource.
resource_type: Option<TransitGatewayAttachmentResourceType>
The resource type. Note that the tgw-peering
resource type has been deprecated.
resource_id: Option<String>
The ID of the resource.
state: Option<TransitGatewayAttachmentState>
The attachment state. Note that the initiating
state has been deprecated.
association: Option<TransitGatewayAttachmentAssociation>
The association.
creation_time: Option<DateTime>
The creation time.
The tags for the attachment.
Implementations§
source§impl TransitGatewayAttachment
impl TransitGatewayAttachment
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 transit_gateway_owner_id(&self) -> Option<&str>
pub fn transit_gateway_owner_id(&self) -> Option<&str>
The ID of the Amazon Web Services account that owns the transit gateway.
sourcepub fn resource_owner_id(&self) -> Option<&str>
pub fn resource_owner_id(&self) -> Option<&str>
The ID of the Amazon Web Services account that owns the resource.
sourcepub fn resource_type(&self) -> Option<&TransitGatewayAttachmentResourceType>
pub fn resource_type(&self) -> Option<&TransitGatewayAttachmentResourceType>
The resource type. Note that the tgw-peering
resource type has been deprecated.
sourcepub fn resource_id(&self) -> Option<&str>
pub fn resource_id(&self) -> Option<&str>
The ID of the resource.
sourcepub fn state(&self) -> Option<&TransitGatewayAttachmentState>
pub fn state(&self) -> Option<&TransitGatewayAttachmentState>
The attachment state. Note that the initiating
state has been deprecated.
sourcepub fn association(&self) -> Option<&TransitGatewayAttachmentAssociation>
pub fn association(&self) -> Option<&TransitGatewayAttachmentAssociation>
The association.
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
The creation time.
The tags for the attachment.
source§impl TransitGatewayAttachment
impl TransitGatewayAttachment
sourcepub fn builder() -> TransitGatewayAttachmentBuilder
pub fn builder() -> TransitGatewayAttachmentBuilder
Creates a new builder-style object to manufacture TransitGatewayAttachment
.
Trait Implementations§
source§impl Clone for TransitGatewayAttachment
impl Clone for TransitGatewayAttachment
source§fn clone(&self) -> TransitGatewayAttachment
fn clone(&self) -> TransitGatewayAttachment
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TransitGatewayAttachment
impl Debug for TransitGatewayAttachment
source§impl PartialEq<TransitGatewayAttachment> for TransitGatewayAttachment
impl PartialEq<TransitGatewayAttachment> for TransitGatewayAttachment
source§fn eq(&self, other: &TransitGatewayAttachment) -> bool
fn eq(&self, other: &TransitGatewayAttachment) -> bool
self
and other
values to be equal, and is used
by ==
.