Struct aws_sdk_ec2::types::VpcEndpoint
source · #[non_exhaustive]pub struct VpcEndpoint {Show 19 fields
pub vpc_endpoint_id: Option<String>,
pub vpc_endpoint_type: Option<VpcEndpointType>,
pub vpc_id: Option<String>,
pub service_name: Option<String>,
pub state: Option<State>,
pub policy_document: Option<String>,
pub route_table_ids: Option<Vec<String>>,
pub subnet_ids: Option<Vec<String>>,
pub groups: Option<Vec<SecurityGroupIdentifier>>,
pub ip_address_type: Option<IpAddressType>,
pub dns_options: Option<DnsOptions>,
pub private_dns_enabled: Option<bool>,
pub requester_managed: Option<bool>,
pub network_interface_ids: Option<Vec<String>>,
pub dns_entries: Option<Vec<DnsEntry>>,
pub creation_timestamp: Option<DateTime>,
pub tags: Option<Vec<Tag>>,
pub owner_id: Option<String>,
pub last_error: Option<LastError>,
}
Expand description
Describes a VPC endpoint.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.vpc_endpoint_id: Option<String>
The ID of the endpoint.
vpc_endpoint_type: Option<VpcEndpointType>
The type of endpoint.
vpc_id: Option<String>
The ID of the VPC to which the endpoint is associated.
service_name: Option<String>
The name of the service to which the endpoint is associated.
state: Option<State>
The state of the endpoint.
policy_document: Option<String>
The policy document associated with the endpoint, if applicable.
route_table_ids: Option<Vec<String>>
(Gateway endpoint) The IDs of the route tables associated with the endpoint.
subnet_ids: Option<Vec<String>>
(Interface endpoint) The subnets for the endpoint.
groups: Option<Vec<SecurityGroupIdentifier>>
(Interface endpoint) Information about the security groups that are associated with the network interface.
ip_address_type: Option<IpAddressType>
The IP address type for the endpoint.
dns_options: Option<DnsOptions>
The DNS options for the endpoint.
private_dns_enabled: Option<bool>
(Interface endpoint) Indicates whether the VPC is associated with a private hosted zone.
requester_managed: Option<bool>
Indicates whether the endpoint is being managed by its service.
network_interface_ids: Option<Vec<String>>
(Interface endpoint) The network interfaces for the endpoint.
dns_entries: Option<Vec<DnsEntry>>
(Interface endpoint) The DNS entries for the endpoint.
creation_timestamp: Option<DateTime>
The date and time that the endpoint was created.
The tags assigned to the endpoint.
owner_id: Option<String>
The ID of the Amazon Web Services account that owns the endpoint.
last_error: Option<LastError>
The last error that occurred for endpoint.
Implementations§
source§impl VpcEndpoint
impl VpcEndpoint
sourcepub fn vpc_endpoint_id(&self) -> Option<&str>
pub fn vpc_endpoint_id(&self) -> Option<&str>
The ID of the endpoint.
sourcepub fn vpc_endpoint_type(&self) -> Option<&VpcEndpointType>
pub fn vpc_endpoint_type(&self) -> Option<&VpcEndpointType>
The type of endpoint.
sourcepub fn service_name(&self) -> Option<&str>
pub fn service_name(&self) -> Option<&str>
The name of the service to which the endpoint is associated.
sourcepub fn policy_document(&self) -> Option<&str>
pub fn policy_document(&self) -> Option<&str>
The policy document associated with the endpoint, if applicable.
sourcepub fn route_table_ids(&self) -> Option<&[String]>
pub fn route_table_ids(&self) -> Option<&[String]>
(Gateway endpoint) The IDs of the route tables associated with the endpoint.
sourcepub fn subnet_ids(&self) -> Option<&[String]>
pub fn subnet_ids(&self) -> Option<&[String]>
(Interface endpoint) The subnets for the endpoint.
sourcepub fn groups(&self) -> Option<&[SecurityGroupIdentifier]>
pub fn groups(&self) -> Option<&[SecurityGroupIdentifier]>
(Interface endpoint) Information about the security groups that are associated with the network interface.
sourcepub fn ip_address_type(&self) -> Option<&IpAddressType>
pub fn ip_address_type(&self) -> Option<&IpAddressType>
The IP address type for the endpoint.
sourcepub fn dns_options(&self) -> Option<&DnsOptions>
pub fn dns_options(&self) -> Option<&DnsOptions>
The DNS options for the endpoint.
sourcepub fn private_dns_enabled(&self) -> Option<bool>
pub fn private_dns_enabled(&self) -> Option<bool>
(Interface endpoint) Indicates whether the VPC is associated with a private hosted zone.
sourcepub fn requester_managed(&self) -> Option<bool>
pub fn requester_managed(&self) -> Option<bool>
Indicates whether the endpoint is being managed by its service.
sourcepub fn network_interface_ids(&self) -> Option<&[String]>
pub fn network_interface_ids(&self) -> Option<&[String]>
(Interface endpoint) The network interfaces for the endpoint.
sourcepub fn dns_entries(&self) -> Option<&[DnsEntry]>
pub fn dns_entries(&self) -> Option<&[DnsEntry]>
(Interface endpoint) The DNS entries for the endpoint.
sourcepub fn creation_timestamp(&self) -> Option<&DateTime>
pub fn creation_timestamp(&self) -> Option<&DateTime>
The date and time that the endpoint was created.
The tags assigned to the endpoint.
sourcepub fn owner_id(&self) -> Option<&str>
pub fn owner_id(&self) -> Option<&str>
The ID of the Amazon Web Services account that owns the endpoint.
sourcepub fn last_error(&self) -> Option<&LastError>
pub fn last_error(&self) -> Option<&LastError>
The last error that occurred for endpoint.
source§impl VpcEndpoint
impl VpcEndpoint
sourcepub fn builder() -> VpcEndpointBuilder
pub fn builder() -> VpcEndpointBuilder
Creates a new builder-style object to manufacture VpcEndpoint
.
Trait Implementations§
source§impl Clone for VpcEndpoint
impl Clone for VpcEndpoint
source§fn clone(&self) -> VpcEndpoint
fn clone(&self) -> VpcEndpoint
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for VpcEndpoint
impl Debug for VpcEndpoint
source§impl PartialEq<VpcEndpoint> for VpcEndpoint
impl PartialEq<VpcEndpoint> for VpcEndpoint
source§fn eq(&self, other: &VpcEndpoint) -> bool
fn eq(&self, other: &VpcEndpoint) -> bool
self
and other
values to be equal, and is used
by ==
.