Struct aws_sdk_codepipeline::types::GitConfiguration  
source · #[non_exhaustive]pub struct GitConfiguration {
    pub source_action_name: String,
    pub push: Option<Vec<GitPushFilter>>,
    pub pull_request: Option<Vec<GitPullRequestFilter>>,
}Expand description
A type of trigger configuration for Git-based source actions.
You can specify the Git configuration trigger type for all third-party Git-based source actions that are supported by the CodeStarSourceConnection action type.
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.source_action_name: StringThe name of the pipeline source action where the trigger configuration, such as Git tags, is specified. The trigger configuration will start the pipeline upon the specified change only.
You can only specify one trigger configuration per source action.
push: Option<Vec<GitPushFilter>>The field where the repository event that will start the pipeline, such as pushing Git tags, is specified with details.
pull_request: Option<Vec<GitPullRequestFilter>>The field where the repository event that will start the pipeline is specified as pull requests.
Implementations§
source§impl GitConfiguration
 
impl GitConfiguration
sourcepub fn source_action_name(&self) -> &str
 
pub fn source_action_name(&self) -> &str
The name of the pipeline source action where the trigger configuration, such as Git tags, is specified. The trigger configuration will start the pipeline upon the specified change only.
You can only specify one trigger configuration per source action.
sourcepub fn push(&self) -> &[GitPushFilter]
 
pub fn push(&self) -> &[GitPushFilter]
The field where the repository event that will start the pipeline, such as pushing Git tags, is specified with details.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .push.is_none().
sourcepub fn pull_request(&self) -> &[GitPullRequestFilter]
 
pub fn pull_request(&self) -> &[GitPullRequestFilter]
The field where the repository event that will start the pipeline is specified as pull requests.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .pull_request.is_none().
source§impl GitConfiguration
 
impl GitConfiguration
sourcepub fn builder() -> GitConfigurationBuilder
 
pub fn builder() -> GitConfigurationBuilder
Creates a new builder-style object to manufacture GitConfiguration.
Trait Implementations§
source§impl Clone for GitConfiguration
 
impl Clone for GitConfiguration
source§fn clone(&self) -> GitConfiguration
 
fn clone(&self) -> GitConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GitConfiguration
 
impl Debug for GitConfiguration
source§impl PartialEq for GitConfiguration
 
impl PartialEq for GitConfiguration
source§fn eq(&self, other: &GitConfiguration) -> bool
 
fn eq(&self, other: &GitConfiguration) -> bool
self and other values to be equal, and is used
by ==.