Struct aws_sdk_ec2::types::Ec2InstanceConnectEndpoint
source · #[non_exhaustive]pub struct Ec2InstanceConnectEndpoint {Show 15 fields
pub owner_id: Option<String>,
pub instance_connect_endpoint_id: Option<String>,
pub instance_connect_endpoint_arn: Option<String>,
pub state: Option<Ec2InstanceConnectEndpointState>,
pub state_message: Option<String>,
pub dns_name: Option<String>,
pub fips_dns_name: Option<String>,
pub network_interface_ids: Option<Vec<String>>,
pub vpc_id: Option<String>,
pub availability_zone: Option<String>,
pub created_at: Option<DateTime>,
pub subnet_id: Option<String>,
pub preserve_client_ip: Option<bool>,
pub security_group_ids: Option<Vec<String>>,
pub tags: Option<Vec<Tag>>,
}
Expand description
The EC2 Instance Connect 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.owner_id: Option<String>
The ID of the Amazon Web Services account that created the EC2 Instance Connect Endpoint.
instance_connect_endpoint_id: Option<String>
The ID of the EC2 Instance Connect Endpoint.
instance_connect_endpoint_arn: Option<String>
The Amazon Resource Name (ARN) of the EC2 Instance Connect Endpoint.
state: Option<Ec2InstanceConnectEndpointState>
The current state of the EC2 Instance Connect Endpoint.
state_message: Option<String>
The message for the current state of the EC2 Instance Connect Endpoint. Can include a failure message.
dns_name: Option<String>
The DNS name of the EC2 Instance Connect Endpoint.
fips_dns_name: Option<String>
network_interface_ids: Option<Vec<String>>
The ID of the elastic network interface that Amazon EC2 automatically created when creating the EC2 Instance Connect Endpoint.
vpc_id: Option<String>
The ID of the VPC in which the EC2 Instance Connect Endpoint was created.
availability_zone: Option<String>
The Availability Zone of the EC2 Instance Connect Endpoint.
created_at: Option<DateTime>
The date and time that the EC2 Instance Connect Endpoint was created.
subnet_id: Option<String>
The ID of the subnet in which the EC2 Instance Connect Endpoint was created.
preserve_client_ip: Option<bool>
Indicates whether your client's IP address is preserved as the source. The value is true
or false
.
-
If
true
, your client's IP address is used when you connect to a resource. -
If
false
, the elastic network interface IP address is used when you connect to a resource.
Default: true
security_group_ids: Option<Vec<String>>
The security groups associated with the endpoint. If you didn't specify a security group, the default security group for your VPC is associated with the endpoint.
The tags assigned to the EC2 Instance Connect Endpoint.
Implementations§
source§impl Ec2InstanceConnectEndpoint
impl Ec2InstanceConnectEndpoint
sourcepub fn owner_id(&self) -> Option<&str>
pub fn owner_id(&self) -> Option<&str>
The ID of the Amazon Web Services account that created the EC2 Instance Connect Endpoint.
sourcepub fn instance_connect_endpoint_id(&self) -> Option<&str>
pub fn instance_connect_endpoint_id(&self) -> Option<&str>
The ID of the EC2 Instance Connect Endpoint.
sourcepub fn instance_connect_endpoint_arn(&self) -> Option<&str>
pub fn instance_connect_endpoint_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the EC2 Instance Connect Endpoint.
sourcepub fn state(&self) -> Option<&Ec2InstanceConnectEndpointState>
pub fn state(&self) -> Option<&Ec2InstanceConnectEndpointState>
The current state of the EC2 Instance Connect Endpoint.
sourcepub fn state_message(&self) -> Option<&str>
pub fn state_message(&self) -> Option<&str>
The message for the current state of the EC2 Instance Connect Endpoint. Can include a failure message.
sourcepub fn fips_dns_name(&self) -> Option<&str>
pub fn fips_dns_name(&self) -> Option<&str>
sourcepub fn network_interface_ids(&self) -> Option<&[String]>
pub fn network_interface_ids(&self) -> Option<&[String]>
The ID of the elastic network interface that Amazon EC2 automatically created when creating the EC2 Instance Connect Endpoint.
sourcepub fn vpc_id(&self) -> Option<&str>
pub fn vpc_id(&self) -> Option<&str>
The ID of the VPC in which the EC2 Instance Connect Endpoint was created.
sourcepub fn availability_zone(&self) -> Option<&str>
pub fn availability_zone(&self) -> Option<&str>
The Availability Zone of the EC2 Instance Connect Endpoint.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The date and time that the EC2 Instance Connect Endpoint was created.
sourcepub fn subnet_id(&self) -> Option<&str>
pub fn subnet_id(&self) -> Option<&str>
The ID of the subnet in which the EC2 Instance Connect Endpoint was created.
sourcepub fn preserve_client_ip(&self) -> Option<bool>
pub fn preserve_client_ip(&self) -> Option<bool>
Indicates whether your client's IP address is preserved as the source. The value is true
or false
.
-
If
true
, your client's IP address is used when you connect to a resource. -
If
false
, the elastic network interface IP address is used when you connect to a resource.
Default: true
sourcepub fn security_group_ids(&self) -> Option<&[String]>
pub fn security_group_ids(&self) -> Option<&[String]>
The security groups associated with the endpoint. If you didn't specify a security group, the default security group for your VPC is associated with the endpoint.
The tags assigned to the EC2 Instance Connect Endpoint.
source§impl Ec2InstanceConnectEndpoint
impl Ec2InstanceConnectEndpoint
sourcepub fn builder() -> Ec2InstanceConnectEndpointBuilder
pub fn builder() -> Ec2InstanceConnectEndpointBuilder
Creates a new builder-style object to manufacture Ec2InstanceConnectEndpoint
.
Trait Implementations§
source§impl Clone for Ec2InstanceConnectEndpoint
impl Clone for Ec2InstanceConnectEndpoint
source§fn clone(&self) -> Ec2InstanceConnectEndpoint
fn clone(&self) -> Ec2InstanceConnectEndpoint
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for Ec2InstanceConnectEndpoint
impl Debug for Ec2InstanceConnectEndpoint
source§impl PartialEq<Ec2InstanceConnectEndpoint> for Ec2InstanceConnectEndpoint
impl PartialEq<Ec2InstanceConnectEndpoint> for Ec2InstanceConnectEndpoint
source§fn eq(&self, other: &Ec2InstanceConnectEndpoint) -> bool
fn eq(&self, other: &Ec2InstanceConnectEndpoint) -> bool
self
and other
values to be equal, and is used
by ==
.