Struct aws_sdk_ec2::model::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) One or more 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) One or more 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.
Any 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
sourceimpl 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) One or more 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) One or more 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.
Any 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.
sourceimpl VpcEndpoint
impl VpcEndpoint
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture VpcEndpoint
.
Trait Implementations
sourceimpl Clone for VpcEndpoint
impl Clone for VpcEndpoint
sourcefn clone(&self) -> VpcEndpoint
fn clone(&self) -> VpcEndpoint
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for VpcEndpoint
impl Debug for VpcEndpoint
sourceimpl PartialEq<VpcEndpoint> for VpcEndpoint
impl PartialEq<VpcEndpoint> for VpcEndpoint
sourcefn eq(&self, other: &VpcEndpoint) -> bool
fn eq(&self, other: &VpcEndpoint) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &VpcEndpoint) -> bool
fn ne(&self, other: &VpcEndpoint) -> bool
This method tests for !=
.
impl StructuralPartialEq for VpcEndpoint
Auto Trait Implementations
impl RefUnwindSafe for VpcEndpoint
impl Send for VpcEndpoint
impl Sync for VpcEndpoint
impl Unpin for VpcEndpoint
impl UnwindSafe for VpcEndpoint
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more