pub struct VpcEndpointArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> VpcEndpointArgsBuilder<S>
impl<S: State> VpcEndpointArgsBuilder<S>
sourcepub fn build_struct(self) -> VpcEndpointArgswhere
S: IsComplete,
pub fn build_struct(self) -> VpcEndpointArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn auto_accept(
self,
value: impl Into<Output<Option<bool>>>,
) -> VpcEndpointArgsBuilder<SetAutoAccept<S>>where
S::AutoAccept: IsUnset,
pub fn auto_accept(
self,
value: impl Into<Output<Option<bool>>>,
) -> VpcEndpointArgsBuilder<SetAutoAccept<S>>where
S::AutoAccept: IsUnset,
sourcepub fn maybe_auto_accept(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> VpcEndpointArgsBuilder<SetAutoAccept<S>>where
S::AutoAccept: IsUnset,
pub fn maybe_auto_accept(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> VpcEndpointArgsBuilder<SetAutoAccept<S>>where
S::AutoAccept: IsUnset,
sourcepub fn dns_options(
self,
value: impl Into<Output<Option<VpcEndpointDnsOptions>>>,
) -> VpcEndpointArgsBuilder<SetDnsOptions<S>>where
S::DnsOptions: IsUnset,
pub fn dns_options(
self,
value: impl Into<Output<Option<VpcEndpointDnsOptions>>>,
) -> VpcEndpointArgsBuilder<SetDnsOptions<S>>where
S::DnsOptions: IsUnset,
sourcepub fn maybe_dns_options(
self,
value: Option<impl Into<Output<Option<VpcEndpointDnsOptions>>>>,
) -> VpcEndpointArgsBuilder<SetDnsOptions<S>>where
S::DnsOptions: IsUnset,
pub fn maybe_dns_options(
self,
value: Option<impl Into<Output<Option<VpcEndpointDnsOptions>>>>,
) -> VpcEndpointArgsBuilder<SetDnsOptions<S>>where
S::DnsOptions: IsUnset,
sourcepub fn ip_address_type(
self,
value: impl Into<Output<Option<String>>>,
) -> VpcEndpointArgsBuilder<SetIpAddressType<S>>where
S::IpAddressType: IsUnset,
pub fn ip_address_type(
self,
value: impl Into<Output<Option<String>>>,
) -> VpcEndpointArgsBuilder<SetIpAddressType<S>>where
S::IpAddressType: IsUnset,
sourcepub fn maybe_ip_address_type(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VpcEndpointArgsBuilder<SetIpAddressType<S>>where
S::IpAddressType: IsUnset,
pub fn maybe_ip_address_type(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VpcEndpointArgsBuilder<SetIpAddressType<S>>where
S::IpAddressType: IsUnset,
sourcepub fn policy(
self,
value: impl Into<Output<Option<String>>>,
) -> VpcEndpointArgsBuilder<SetPolicy<S>>where
S::Policy: IsUnset,
pub fn policy(
self,
value: impl Into<Output<Option<String>>>,
) -> VpcEndpointArgsBuilder<SetPolicy<S>>where
S::Policy: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
A policy to attach to the endpoint that controls access to the service. This is a JSON formatted string. Defaults to full access. All Gateway
and some Interface
endpoints support policies - see the relevant AWS documentation for more details.
sourcepub fn maybe_policy(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VpcEndpointArgsBuilder<SetPolicy<S>>where
S::Policy: IsUnset,
pub fn maybe_policy(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VpcEndpointArgsBuilder<SetPolicy<S>>where
S::Policy: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
A policy to attach to the endpoint that controls access to the service. This is a JSON formatted string. Defaults to full access. All Gateway
and some Interface
endpoints support policies - see the relevant AWS documentation for more details.
sourcepub fn private_dns_enabled(
self,
value: impl Into<Output<Option<bool>>>,
) -> VpcEndpointArgsBuilder<SetPrivateDnsEnabled<S>>where
S::PrivateDnsEnabled: IsUnset,
pub fn private_dns_enabled(
self,
value: impl Into<Output<Option<bool>>>,
) -> VpcEndpointArgsBuilder<SetPrivateDnsEnabled<S>>where
S::PrivateDnsEnabled: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default()
.
Whether or not to associate a private hosted zone with the specified VPC. Applicable for endpoints of type Interface
. Most users will want this enabled to allow services within the VPC to automatically use the endpoint.
Defaults to false
.
sourcepub fn maybe_private_dns_enabled(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> VpcEndpointArgsBuilder<SetPrivateDnsEnabled<S>>where
S::PrivateDnsEnabled: IsUnset,
pub fn maybe_private_dns_enabled(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> VpcEndpointArgsBuilder<SetPrivateDnsEnabled<S>>where
S::PrivateDnsEnabled: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default()
.
Whether or not to associate a private hosted zone with the specified VPC. Applicable for endpoints of type Interface
. Most users will want this enabled to allow services within the VPC to automatically use the endpoint.
Defaults to false
.
sourcepub fn route_table_ids(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> VpcEndpointArgsBuilder<SetRouteTableIds<S>>where
S::RouteTableIds: IsUnset,
pub fn route_table_ids(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> VpcEndpointArgsBuilder<SetRouteTableIds<S>>where
S::RouteTableIds: IsUnset,
sourcepub fn maybe_route_table_ids(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> VpcEndpointArgsBuilder<SetRouteTableIds<S>>where
S::RouteTableIds: IsUnset,
pub fn maybe_route_table_ids(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> VpcEndpointArgsBuilder<SetRouteTableIds<S>>where
S::RouteTableIds: IsUnset,
sourcepub fn security_group_ids(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> VpcEndpointArgsBuilder<SetSecurityGroupIds<S>>where
S::SecurityGroupIds: IsUnset,
pub fn security_group_ids(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> VpcEndpointArgsBuilder<SetSecurityGroupIds<S>>where
S::SecurityGroupIds: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<Vec<String>>> as Default>::default()
.
The ID of one or more security groups to associate with the network interface. Applicable for endpoints of type Interface
.
If no security groups are specified, the VPC’s default security group is associated with the endpoint.
sourcepub fn maybe_security_group_ids(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> VpcEndpointArgsBuilder<SetSecurityGroupIds<S>>where
S::SecurityGroupIds: IsUnset,
pub fn maybe_security_group_ids(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> VpcEndpointArgsBuilder<SetSecurityGroupIds<S>>where
S::SecurityGroupIds: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<Vec<String>>> as Default>::default()
.
The ID of one or more security groups to associate with the network interface. Applicable for endpoints of type Interface
.
If no security groups are specified, the VPC’s default security group is associated with the endpoint.
sourcepub fn service_name(
self,
value: impl Into<Output<String>>,
) -> VpcEndpointArgsBuilder<SetServiceName<S>>where
S::ServiceName: IsUnset,
pub fn service_name(
self,
value: impl Into<Output<String>>,
) -> VpcEndpointArgsBuilder<SetServiceName<S>>where
S::ServiceName: IsUnset,
Required.
The service name. For AWS services the service name is usually in the form com.amazonaws.<region>.<service>
(the SageMaker Notebook service is an exception to this rule, the service name is in the form aws.sagemaker.<region>.notebook
).
sourcepub fn service_region(
self,
value: impl Into<Output<Option<String>>>,
) -> VpcEndpointArgsBuilder<SetServiceRegion<S>>where
S::ServiceRegion: IsUnset,
pub fn service_region(
self,
value: impl Into<Output<Option<String>>>,
) -> VpcEndpointArgsBuilder<SetServiceRegion<S>>where
S::ServiceRegion: IsUnset,
sourcepub fn maybe_service_region(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VpcEndpointArgsBuilder<SetServiceRegion<S>>where
S::ServiceRegion: IsUnset,
pub fn maybe_service_region(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VpcEndpointArgsBuilder<SetServiceRegion<S>>where
S::ServiceRegion: IsUnset,
sourcepub fn subnet_configurations(
self,
value: impl Into<Output<Option<Vec<VpcEndpointSubnetConfiguration>>>>,
) -> VpcEndpointArgsBuilder<SetSubnetConfigurations<S>>where
S::SubnetConfigurations: IsUnset,
pub fn subnet_configurations(
self,
value: impl Into<Output<Option<Vec<VpcEndpointSubnetConfiguration>>>>,
) -> VpcEndpointArgsBuilder<SetSubnetConfigurations<S>>where
S::SubnetConfigurations: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<Vec<super::super::types::ec2::VpcEndpointSubnetConfiguration>>,
> as Default>::default()
Subnet configuration for the endpoint, used to select specific IPv4 and/or IPv6 addresses to the endpoint. See subnet_configuration below.
sourcepub fn maybe_subnet_configurations(
self,
value: Option<impl Into<Output<Option<Vec<VpcEndpointSubnetConfiguration>>>>>,
) -> VpcEndpointArgsBuilder<SetSubnetConfigurations<S>>where
S::SubnetConfigurations: IsUnset,
pub fn maybe_subnet_configurations(
self,
value: Option<impl Into<Output<Option<Vec<VpcEndpointSubnetConfiguration>>>>>,
) -> VpcEndpointArgsBuilder<SetSubnetConfigurations<S>>where
S::SubnetConfigurations: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<Vec<super::super::types::ec2::VpcEndpointSubnetConfiguration>>,
> as Default>::default()
Subnet configuration for the endpoint, used to select specific IPv4 and/or IPv6 addresses to the endpoint. See subnet_configuration below.
sourcepub fn subnet_ids(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> VpcEndpointArgsBuilder<SetSubnetIds<S>>where
S::SubnetIds: IsUnset,
pub fn subnet_ids(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> VpcEndpointArgsBuilder<SetSubnetIds<S>>where
S::SubnetIds: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<Vec<String>>> as Default>::default()
.
The ID of one or more subnets in which to create a network interface for the endpoint. Applicable for endpoints of type GatewayLoadBalancer
and Interface
. Interface type endpoints cannot function without being assigned to a subnet.
sourcepub fn maybe_subnet_ids(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> VpcEndpointArgsBuilder<SetSubnetIds<S>>where
S::SubnetIds: IsUnset,
pub fn maybe_subnet_ids(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> VpcEndpointArgsBuilder<SetSubnetIds<S>>where
S::SubnetIds: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<Vec<String>>> as Default>::default()
.
The ID of one or more subnets in which to create a network interface for the endpoint. Applicable for endpoints of type GatewayLoadBalancer
and Interface
. Interface type endpoints cannot function without being assigned to a subnet.
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.