Struct aws_sdk_apprunner::types::Connection
source · #[non_exhaustive]pub struct Connection {
pub connection_name: Option<String>,
pub connection_arn: Option<String>,
pub provider_type: Option<ProviderType>,
pub status: Option<ConnectionStatus>,
pub created_at: Option<DateTime>,
}
Expand description
Describes an App Runner connection resource.
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.connection_name: Option<String>
The customer-provided connection name.
connection_arn: Option<String>
The Amazon Resource Name (ARN) of this connection.
provider_type: Option<ProviderType>
The source repository provider.
status: Option<ConnectionStatus>
The current state of the App Runner connection. When the state is AVAILABLE
, you can use the connection to create an App Runner service.
created_at: Option<DateTime>
The App Runner connection creation time, expressed as a Unix time stamp.
Implementations§
source§impl Connection
impl Connection
sourcepub fn connection_name(&self) -> Option<&str>
pub fn connection_name(&self) -> Option<&str>
The customer-provided connection name.
sourcepub fn connection_arn(&self) -> Option<&str>
pub fn connection_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of this connection.
sourcepub fn provider_type(&self) -> Option<&ProviderType>
pub fn provider_type(&self) -> Option<&ProviderType>
The source repository provider.
sourcepub fn status(&self) -> Option<&ConnectionStatus>
pub fn status(&self) -> Option<&ConnectionStatus>
The current state of the App Runner connection. When the state is AVAILABLE
, you can use the connection to create an App Runner service.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The App Runner connection creation time, expressed as a Unix time stamp.
source§impl Connection
impl Connection
sourcepub fn builder() -> ConnectionBuilder
pub fn builder() -> ConnectionBuilder
Creates a new builder-style object to manufacture Connection
.
Trait Implementations§
source§impl Clone for Connection
impl Clone for Connection
source§fn clone(&self) -> Connection
fn clone(&self) -> Connection
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for Connection
impl Debug for Connection
source§impl PartialEq for Connection
impl PartialEq for Connection
source§fn eq(&self, other: &Connection) -> bool
fn eq(&self, other: &Connection) -> bool
self
and other
values to be equal, and is used
by ==
.