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) -> Option<&[String]>
pub fn subnet_arns(&self) -> Option<&[String]>
Specifies the ARN of the subnet where your VPC endpoint is located. You can only specify one ARN.
sourcepub fn security_group_arns(&self) -> Option<&[String]>
pub fn security_group_arns(&self) -> Option<&[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.
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<PrivateLinkConfig> for PrivateLinkConfig
impl PartialEq<PrivateLinkConfig> 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 ==
.