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.
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
impl VpcEndpointArgs
sourcepub fn builder() -> VpcEndpointArgsBuilder
pub fn builder() -> VpcEndpointArgsBuilder
Create an instance of VpcEndpointArgs
using the builder syntax
Trait Implementations§
source§impl Clone for VpcEndpointArgs
impl Clone for VpcEndpointArgs
source§fn clone(&self) -> VpcEndpointArgs
fn clone(&self) -> VpcEndpointArgs
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 VpcEndpointArgs
impl RefUnwindSafe for VpcEndpointArgs
impl Send for VpcEndpointArgs
impl Sync for VpcEndpointArgs
impl Unpin for VpcEndpointArgs
impl UnwindSafe for VpcEndpointArgs
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
)