Struct aws_sdk_sagemaker::model::GitConfig [−][src]
#[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
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
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
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for GitConfig
impl UnwindSafe for GitConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more