pub struct VpcPeeringConnectionArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> VpcPeeringConnectionArgsBuilder<S>
impl<S: State> VpcPeeringConnectionArgsBuilder<S>
sourcepub fn build_struct(self) -> VpcPeeringConnectionArgswhere
S: IsComplete,
pub fn build_struct(self) -> VpcPeeringConnectionArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn accepter(
self,
value: impl Into<Output<Option<VpcPeeringConnectionAccepter>>>,
) -> VpcPeeringConnectionArgsBuilder<SetAccepter<S>>where
S::Accepter: IsUnset,
pub fn accepter(
self,
value: impl Into<Output<Option<VpcPeeringConnectionAccepter>>>,
) -> VpcPeeringConnectionArgsBuilder<SetAccepter<S>>where
S::Accepter: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<super::super::types::ec2::VpcPeeringConnectionAccepter>,
> as Default>::default()
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).
sourcepub fn maybe_accepter(
self,
value: Option<impl Into<Output<Option<VpcPeeringConnectionAccepter>>>>,
) -> VpcPeeringConnectionArgsBuilder<SetAccepter<S>>where
S::Accepter: IsUnset,
pub fn maybe_accepter(
self,
value: Option<impl Into<Output<Option<VpcPeeringConnectionAccepter>>>>,
) -> VpcPeeringConnectionArgsBuilder<SetAccepter<S>>where
S::Accepter: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<super::super::types::ec2::VpcPeeringConnectionAccepter>,
> as Default>::default()
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).
sourcepub fn auto_accept(
self,
value: impl Into<Output<Option<bool>>>,
) -> VpcPeeringConnectionArgsBuilder<SetAutoAccept<S>>where
S::AutoAccept: IsUnset,
pub fn auto_accept(
self,
value: impl Into<Output<Option<bool>>>,
) -> VpcPeeringConnectionArgsBuilder<SetAutoAccept<S>>where
S::AutoAccept: IsUnset,
sourcepub fn maybe_auto_accept(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> VpcPeeringConnectionArgsBuilder<SetAutoAccept<S>>where
S::AutoAccept: IsUnset,
pub fn maybe_auto_accept(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> VpcPeeringConnectionArgsBuilder<SetAutoAccept<S>>where
S::AutoAccept: IsUnset,
sourcepub fn peer_owner_id(
self,
value: impl Into<Output<Option<String>>>,
) -> VpcPeeringConnectionArgsBuilder<SetPeerOwnerId<S>>where
S::PeerOwnerId: IsUnset,
pub fn peer_owner_id(
self,
value: impl Into<Output<Option<String>>>,
) -> VpcPeeringConnectionArgsBuilder<SetPeerOwnerId<S>>where
S::PeerOwnerId: IsUnset,
sourcepub fn maybe_peer_owner_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VpcPeeringConnectionArgsBuilder<SetPeerOwnerId<S>>where
S::PeerOwnerId: IsUnset,
pub fn maybe_peer_owner_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VpcPeeringConnectionArgsBuilder<SetPeerOwnerId<S>>where
S::PeerOwnerId: IsUnset,
sourcepub fn peer_region(
self,
value: impl Into<Output<Option<String>>>,
) -> VpcPeeringConnectionArgsBuilder<SetPeerRegion<S>>where
S::PeerRegion: IsUnset,
pub fn peer_region(
self,
value: impl Into<Output<Option<String>>>,
) -> VpcPeeringConnectionArgsBuilder<SetPeerRegion<S>>where
S::PeerRegion: IsUnset,
sourcepub fn maybe_peer_region(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VpcPeeringConnectionArgsBuilder<SetPeerRegion<S>>where
S::PeerRegion: IsUnset,
pub fn maybe_peer_region(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VpcPeeringConnectionArgsBuilder<SetPeerRegion<S>>where
S::PeerRegion: IsUnset,
sourcepub fn peer_vpc_id(
self,
value: impl Into<Output<String>>,
) -> VpcPeeringConnectionArgsBuilder<SetPeerVpcId<S>>where
S::PeerVpcId: IsUnset,
pub fn peer_vpc_id(
self,
value: impl Into<Output<String>>,
) -> VpcPeeringConnectionArgsBuilder<SetPeerVpcId<S>>where
S::PeerVpcId: IsUnset,
Required.
The ID of the target VPC with which you are creating the VPC Peering Connection.
sourcepub fn requester(
self,
value: impl Into<Output<Option<VpcPeeringConnectionRequester>>>,
) -> VpcPeeringConnectionArgsBuilder<SetRequester<S>>where
S::Requester: IsUnset,
pub fn requester(
self,
value: impl Into<Output<Option<VpcPeeringConnectionRequester>>>,
) -> VpcPeeringConnectionArgsBuilder<SetRequester<S>>where
S::Requester: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<super::super::types::ec2::VpcPeeringConnectionRequester>,
> as Default>::default()
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).
sourcepub fn maybe_requester(
self,
value: Option<impl Into<Output<Option<VpcPeeringConnectionRequester>>>>,
) -> VpcPeeringConnectionArgsBuilder<SetRequester<S>>where
S::Requester: IsUnset,
pub fn maybe_requester(
self,
value: Option<impl Into<Output<Option<VpcPeeringConnectionRequester>>>>,
) -> VpcPeeringConnectionArgsBuilder<SetRequester<S>>where
S::Requester: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<super::super::types::ec2::VpcPeeringConnectionRequester>,
> as Default>::default()
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).
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<std::collections::HashMap<String, String>>,
> as Default>::default()
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.
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<std::collections::HashMap<String, String>>,
> as Default>::default()
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.