Struct aws_sdk_codepipeline::types::GitConfiguration
source · #[non_exhaustive]pub struct GitConfiguration {
pub source_action_name: String,
pub push: Option<Vec<GitPushFilter>>,
}
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.
V2 type pipelines, along with triggers on Git tags and pipeline-level variables, are not currently supported for CloudFormation and CDK resources in CodePipeline. For more information about V2 type pipelines, see Pipeline types in the CodePipeline User Guide.
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: String
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.
push: Option<Vec<GitPushFilter>>
The field where the repository event that will start the pipeline, such as pushing Git tags, is specified with details.
Git tags is the only supported event type.
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.
Git tags is the only supported event type.
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()
.
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 ==
.