pub struct VpcPeeringConnectionArgs {
pub accepter: Output<Option<VpcPeeringConnectionAccepter>>,
pub auto_accept: Output<Option<bool>>,
pub peer_owner_id: Output<Option<String>>,
pub peer_region: Output<Option<String>>,
pub peer_vpc_id: Output<String>,
pub requester: Output<Option<VpcPeeringConnectionRequester>>,
pub tags: Output<Option<HashMap<String, String>>>,
pub vpc_id: Output<String>,
}
Fields§
§accepter: Output<Option<VpcPeeringConnectionAccepter>>
An optional configuration block that allows for VPC Peering Connection options to be set for the VPC that accepts the peering connection (a maximum of one).
auto_accept: Output<Option<bool>>
Accept the peering (both VPCs need to be in the same AWS account and region).
peer_owner_id: Output<Option<String>>
The AWS account ID of the target peer VPC. Defaults to the account ID the [AWS provider][1] is currently connected to, so must be managed if connecting cross-account.
peer_region: Output<Option<String>>
The region of the accepter VPC of the VPC Peering Connection. auto_accept
must be false
,
and use the aws.ec2.VpcPeeringConnectionAccepter
to manage the accepter side.
peer_vpc_id: Output<String>
The ID of the target VPC with which you are creating the VPC Peering Connection.
requester: Output<Option<VpcPeeringConnectionRequester>>
A optional configuration block that allows for VPC Peering Connection options to be set for the VPC that requests the peering connection (a maximum of one).
A map of tags to assign to the resource. .If configured with a provider default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
vpc_id: Output<String>
The ID of the requester VPC.
Implementations§
source§impl VpcPeeringConnectionArgs
impl VpcPeeringConnectionArgs
sourcepub fn builder() -> VpcPeeringConnectionArgsBuilder
pub fn builder() -> VpcPeeringConnectionArgsBuilder
Create an instance of VpcPeeringConnectionArgs
using the builder syntax
Trait Implementations§
source§impl Clone for VpcPeeringConnectionArgs
impl Clone for VpcPeeringConnectionArgs
source§fn clone(&self) -> VpcPeeringConnectionArgs
fn clone(&self) -> VpcPeeringConnectionArgs
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for VpcPeeringConnectionArgs
impl RefUnwindSafe for VpcPeeringConnectionArgs
impl Send for VpcPeeringConnectionArgs
impl Sync for VpcPeeringConnectionArgs
impl Unpin for VpcPeeringConnectionArgs
impl UnwindSafe for VpcPeeringConnectionArgs
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
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)
clone_to_uninit
)