Struct aws_sdk_sagemaker::types::GitConfig
source · #[non_exhaustive]pub struct GitConfig {
pub repository_url: Option<String>,
pub branch: Option<String>,
pub secret_arn: Option<String>,
}
Expand description
Specifies configuration details for a Git repository in your Amazon Web Services account.
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.repository_url: Option<String>
The URL where the Git repository is located.
branch: Option<String>
The default branch for the Git repository.
secret_arn: Option<String>
The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that contains the credentials used to access the git repository. The secret must have a staging label of AWSCURRENT
and must be in the following format:
{"username": UserName, "password": Password}
Implementations§
source§impl GitConfig
impl GitConfig
sourcepub fn repository_url(&self) -> Option<&str>
pub fn repository_url(&self) -> Option<&str>
The URL where the Git repository is located.
sourcepub fn secret_arn(&self) -> Option<&str>
pub fn secret_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that contains the credentials used to access the git repository. The secret must have a staging label of AWSCURRENT
and must be in the following format:
{"username": UserName, "password": Password}