Struct aws_sdk_datasync::types::PrivateLinkConfig
source · #[non_exhaustive]pub struct PrivateLinkConfig {
pub vpc_endpoint_id: Option<String>,
pub private_link_endpoint: Option<String>,
pub subnet_arns: Option<Vec<String>>,
pub security_group_arns: Option<Vec<String>>,
}
Expand description
Specifies how your DataSync agent connects to Amazon Web Services using a virtual private cloud (VPC) service endpoint. An agent that uses a VPC endpoint isn't accessible over the public internet.
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>
Specifies the ID of the VPC endpoint that your agent connects to.
private_link_endpoint: Option<String>
Specifies the VPC endpoint provided by Amazon Web Services PrivateLink that your agent connects to.
subnet_arns: Option<Vec<String>>
Specifies the ARN of the subnet where your VPC endpoint is located. You can only specify one ARN.
security_group_arns: Option<Vec<String>>
Specifies the Amazon Resource Names (ARN) of the security group that provides DataSync access to your VPC endpoint. You can only specify one ARN.
Implementations§
source§impl PrivateLinkConfig
impl PrivateLinkConfig
sourcepub fn vpc_endpoint_id(&self) -> Option<&str>
pub fn vpc_endpoint_id(&self) -> Option<&str>
Specifies the ID of the VPC endpoint that your agent connects to.
sourcepub fn private_link_endpoint(&self) -> Option<&str>
pub fn private_link_endpoint(&self) -> Option<&str>
Specifies the VPC endpoint provided by Amazon Web Services PrivateLink that your agent connects to.
sourcepub fn subnet_arns(&self) -> &[String]
pub fn subnet_arns(&self) -> &[String]
Specifies the ARN of the subnet where your VPC endpoint is located. You can only specify one ARN.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .subnet_arns.is_none()
.
sourcepub fn security_group_arns(&self) -> &[String]
pub fn security_group_arns(&self) -> &[String]
Specifies the Amazon Resource Names (ARN) of the security group that provides DataSync access to your VPC endpoint. You can only specify one ARN.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .security_group_arns.is_none()
.
source§impl PrivateLinkConfig
impl PrivateLinkConfig
sourcepub fn builder() -> PrivateLinkConfigBuilder
pub fn builder() -> PrivateLinkConfigBuilder
Creates a new builder-style object to manufacture PrivateLinkConfig
.
Trait Implementations§
source§impl Clone for PrivateLinkConfig
impl Clone for PrivateLinkConfig
source§fn clone(&self) -> PrivateLinkConfig
fn clone(&self) -> PrivateLinkConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PrivateLinkConfig
impl Debug for PrivateLinkConfig
source§impl PartialEq for PrivateLinkConfig
impl PartialEq for PrivateLinkConfig
source§fn eq(&self, other: &PrivateLinkConfig) -> bool
fn eq(&self, other: &PrivateLinkConfig) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PrivateLinkConfig
Auto Trait Implementations§
impl Freeze for PrivateLinkConfig
impl RefUnwindSafe for PrivateLinkConfig
impl Send for PrivateLinkConfig
impl Sync for PrivateLinkConfig
impl Unpin for PrivateLinkConfig
impl UnwindSafe for PrivateLinkConfig
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more