pulumi_wasm_providers_aws_mini::ec2::vpc_endpoint

Struct VpcEndpointArgs

source
pub struct VpcEndpointArgs {
Show 14 fields pub auto_accept: Output<Option<bool>>, pub dns_options: Output<Option<VpcEndpointDnsOptions>>, pub ip_address_type: Output<Option<String>>, pub policy: Output<Option<String>>, pub private_dns_enabled: Output<Option<bool>>, pub route_table_ids: Output<Option<Vec<String>>>, pub security_group_ids: Output<Option<Vec<String>>>, pub service_name: Output<String>, pub service_region: Output<Option<String>>, pub subnet_configurations: Output<Option<Vec<VpcEndpointSubnetConfiguration>>>, pub subnet_ids: Output<Option<Vec<String>>>, pub tags: Output<Option<HashMap<String, String>>>, pub vpc_endpoint_type: Output<Option<String>>, pub vpc_id: Output<String>,
}

Fields§

§auto_accept: Output<Option<bool>>

Accept the VPC endpoint (the VPC endpoint and service need to be in the same AWS account).

§dns_options: Output<Option<VpcEndpointDnsOptions>>

The DNS options for the endpoint. See dns_options below.

§ip_address_type: Output<Option<String>>

The IP address type for the endpoint. Valid values are ipv4, dualstack, and ipv6.

§policy: Output<Option<String>>

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.

§private_dns_enabled: Output<Option<bool>>

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.

§route_table_ids: Output<Option<Vec<String>>>

One or more route table IDs. Applicable for endpoints of type Gateway.

§security_group_ids: Output<Option<Vec<String>>>

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.

§service_name: Output<String>

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).

§service_region: Output<Option<String>>

The AWS region of the VPC Endpoint Service. If specified, the VPC endpoint will connect to the service in the provided region. Applicable for endpoints of type Interface.

§subnet_configurations: Output<Option<Vec<VpcEndpointSubnetConfiguration>>>

Subnet configuration for the endpoint, used to select specific IPv4 and/or IPv6 addresses to the endpoint. See subnet_configuration below.

§subnet_ids: Output<Option<Vec<String>>>

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.

§tags: Output<Option<HashMap<String, String>>>

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_endpoint_type: Output<Option<String>>

The VPC endpoint type, Gateway, GatewayLoadBalancer, or Interface. Defaults to Gateway.

§vpc_id: Output<String>

The ID of the VPC in which the endpoint will be used.

Implementations§

source§

impl VpcEndpointArgs

source

pub fn builder() -> VpcEndpointArgsBuilder

Create an instance of VpcEndpointArgs using the builder syntax

Trait Implementations§

source§

impl Clone for VpcEndpointArgs

source§

fn clone(&self) -> VpcEndpointArgs

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.