pub struct CreateTransitGatewayVpcAttachmentRequest {
pub dry_run: Option<bool>,
pub options: Option<CreateTransitGatewayVpcAttachmentRequestOptions>,
pub subnet_ids: Vec<String>,
pub tag_specifications: Option<Vec<TagSpecification>>,
pub transit_gateway_id: String,
pub vpc_id: String,
}Fields§
§dry_run: Option<bool>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
options: Option<CreateTransitGatewayVpcAttachmentRequestOptions>The VPC attachment options.
subnet_ids: Vec<String>The IDs of one or more subnets. You can specify only one subnet per Availability Zone. You must specify at least one subnet, but we recommend that you specify two subnets for better availability. The transit gateway uses one IP address from each specified subnet.
tag_specifications: Option<Vec<TagSpecification>>The tags to apply to the VPC attachment.
transit_gateway_id: StringThe ID of the transit gateway.
vpc_id: StringThe ID of the VPC.
Trait Implementations§
Source§impl Clone for CreateTransitGatewayVpcAttachmentRequest
impl Clone for CreateTransitGatewayVpcAttachmentRequest
Source§fn clone(&self) -> CreateTransitGatewayVpcAttachmentRequest
fn clone(&self) -> CreateTransitGatewayVpcAttachmentRequest
Returns a duplicate 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 Default for CreateTransitGatewayVpcAttachmentRequest
impl Default for CreateTransitGatewayVpcAttachmentRequest
Source§fn default() -> CreateTransitGatewayVpcAttachmentRequest
fn default() -> CreateTransitGatewayVpcAttachmentRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for CreateTransitGatewayVpcAttachmentRequest
impl PartialEq for CreateTransitGatewayVpcAttachmentRequest
Source§fn eq(&self, other: &CreateTransitGatewayVpcAttachmentRequest) -> bool
fn eq(&self, other: &CreateTransitGatewayVpcAttachmentRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CreateTransitGatewayVpcAttachmentRequest
Auto Trait Implementations§
impl Freeze for CreateTransitGatewayVpcAttachmentRequest
impl RefUnwindSafe for CreateTransitGatewayVpcAttachmentRequest
impl Send for CreateTransitGatewayVpcAttachmentRequest
impl Sync for CreateTransitGatewayVpcAttachmentRequest
impl Unpin for CreateTransitGatewayVpcAttachmentRequest
impl UnwindSafe for CreateTransitGatewayVpcAttachmentRequest
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