pub struct GetVpcArgs {
pub cidr_block: Output<Option<String>>,
pub default: Output<Option<bool>>,
pub dhcp_options_id: Output<Option<String>>,
pub filters: Output<Option<Vec<GetVpcFilter>>>,
pub id: Output<Option<String>>,
pub state: Output<Option<String>>,
pub tags: Output<Option<HashMap<String, String>>>,
}
Fields§
§cidr_block: Output<Option<String>>
Cidr block of the desired VPC.
default: Output<Option<bool>>
Boolean constraint on whether the desired VPC is the default VPC for the region.
dhcp_options_id: Output<Option<String>>
DHCP options id of the desired VPC.
filters: Output<Option<Vec<GetVpcFilter>>>
Custom filter block as described below.
id: Output<Option<String>>
ID of the specific VPC to retrieve.
state: Output<Option<String>>
Current state of the desired VPC.
Can be either "pending"
or "available"
.
Map of tags, each pair of which must exactly match a pair on the desired VPC.
More complex filters can be expressed using one or more filter
sub-blocks,
which take the following arguments:
Implementations§
source§impl GetVpcArgs
impl GetVpcArgs
sourcepub fn builder() -> GetVpcArgsBuilder
pub fn builder() -> GetVpcArgsBuilder
Create an instance of GetVpcArgs
using the builder syntax
Trait Implementations§
source§impl Clone for GetVpcArgs
impl Clone for GetVpcArgs
source§fn clone(&self) -> GetVpcArgs
fn clone(&self) -> GetVpcArgs
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 moreAuto Trait Implementations§
impl Freeze for GetVpcArgs
impl RefUnwindSafe for GetVpcArgs
impl Send for GetVpcArgs
impl Sync for GetVpcArgs
impl Unpin for GetVpcArgs
impl UnwindSafe for GetVpcArgs
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)