#[non_exhaustive]pub struct SyncConfiguration {
pub branch: String,
pub config_file: Option<String>,
pub owner_id: String,
pub provider_type: ProviderType,
pub repository_link_id: String,
pub repository_name: String,
pub resource_name: String,
pub role_arn: String,
pub sync_type: SyncConfigurationType,
pub publish_deployment_status: Option<PublishDeploymentStatus>,
pub trigger_resource_update_on: Option<TriggerResourceUpdateOn>,
}
Expand description
Information, such as repository, branch, provider, and resource names for a specific sync configuration.
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.branch: String
The branch associated with a specific sync configuration.
config_file: Option<String>
The file path to the configuration file associated with a specific sync configuration. The path should point to an actual file in the sync configurations linked repository.
owner_id: String
The owner ID for the repository associated with a specific sync configuration, such as the owner ID in GitHub.
provider_type: ProviderType
The connection provider type associated with a specific sync configuration, such as GitHub.
repository_link_id: String
The ID of the repository link associated with a specific sync configuration.
repository_name: String
The name of the repository associated with a specific sync configuration.
resource_name: String
The name of the connection resource associated with a specific sync configuration.
role_arn: String
The Amazon Resource Name (ARN) of the IAM role associated with a specific sync configuration.
sync_type: SyncConfigurationType
The type of sync for a specific sync configuration.
publish_deployment_status: Option<PublishDeploymentStatus>
Whether to enable or disable publishing of deployment status to source providers.
trigger_resource_update_on: Option<TriggerResourceUpdateOn>
When to trigger Git sync to begin the stack update.
Implementations§
source§impl SyncConfiguration
impl SyncConfiguration
sourcepub fn config_file(&self) -> Option<&str>
pub fn config_file(&self) -> Option<&str>
The file path to the configuration file associated with a specific sync configuration. The path should point to an actual file in the sync configurations linked repository.
sourcepub fn owner_id(&self) -> &str
pub fn owner_id(&self) -> &str
The owner ID for the repository associated with a specific sync configuration, such as the owner ID in GitHub.
sourcepub fn provider_type(&self) -> &ProviderType
pub fn provider_type(&self) -> &ProviderType
The connection provider type associated with a specific sync configuration, such as GitHub.
sourcepub fn repository_link_id(&self) -> &str
pub fn repository_link_id(&self) -> &str
The ID of the repository link associated with a specific sync configuration.
sourcepub fn repository_name(&self) -> &str
pub fn repository_name(&self) -> &str
The name of the repository associated with a specific sync configuration.
sourcepub fn resource_name(&self) -> &str
pub fn resource_name(&self) -> &str
The name of the connection resource associated with a specific sync configuration.
sourcepub fn role_arn(&self) -> &str
pub fn role_arn(&self) -> &str
The Amazon Resource Name (ARN) of the IAM role associated with a specific sync configuration.
sourcepub fn sync_type(&self) -> &SyncConfigurationType
pub fn sync_type(&self) -> &SyncConfigurationType
The type of sync for a specific sync configuration.
sourcepub fn publish_deployment_status(&self) -> Option<&PublishDeploymentStatus>
pub fn publish_deployment_status(&self) -> Option<&PublishDeploymentStatus>
Whether to enable or disable publishing of deployment status to source providers.
sourcepub fn trigger_resource_update_on(&self) -> Option<&TriggerResourceUpdateOn>
pub fn trigger_resource_update_on(&self) -> Option<&TriggerResourceUpdateOn>
When to trigger Git sync to begin the stack update.
source§impl SyncConfiguration
impl SyncConfiguration
sourcepub fn builder() -> SyncConfigurationBuilder
pub fn builder() -> SyncConfigurationBuilder
Creates a new builder-style object to manufacture SyncConfiguration
.
Trait Implementations§
source§impl Clone for SyncConfiguration
impl Clone for SyncConfiguration
source§fn clone(&self) -> SyncConfiguration
fn clone(&self) -> SyncConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SyncConfiguration
impl Debug for SyncConfiguration
source§impl PartialEq for SyncConfiguration
impl PartialEq for SyncConfiguration
source§fn eq(&self, other: &SyncConfiguration) -> bool
fn eq(&self, other: &SyncConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.