Class CfnSyncConfiguration.Builder
java.lang.Object
software.amazon.awscdk.services.codestarconnections.CfnSyncConfiguration.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSyncConfiguration>
- Enclosing class:
CfnSyncConfiguration
@Stability(Stable)
public static final class CfnSyncConfiguration.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSyncConfiguration>
A fluent builder for
CfnSyncConfiguration
.-
Method Summary
Modifier and TypeMethodDescriptionThe branch associated with a specific sync configuration.build()
configFile
(String configFile) The file path to the configuration file associated with a specific sync configuration.static CfnSyncConfiguration.Builder
publishDeploymentStatus
(String publishDeploymentStatus) Whether to enable or disable publishing of deployment status to source providers.repositoryLinkId
(String repositoryLinkId) The ID of the repository link associated with a specific sync configuration.resourceName
(String resourceName) The name of the connection resource associated with a specific sync configuration.The Amazon Resource Name (ARN) of the IAM role associated with a specific sync configuration.The type of sync for a specific sync configuration.triggerResourceUpdateOn
(String triggerResourceUpdateOn) When to trigger Git sync to begin the stack update.
-
Method Details
-
create
@Stability(Stable) public static CfnSyncConfiguration.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnSyncConfiguration.Builder
.
-
branch
The branch associated with a specific sync configuration.- Parameters:
branch
- The branch associated with a specific sync configuration. This parameter is required.- Returns:
this
- See Also:
-
configFile
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.
- Parameters:
configFile
- The file path to the configuration file associated with a specific sync configuration. This parameter is required.- Returns:
this
- See Also:
-
repositoryLinkId
The ID of the repository link associated with a specific sync configuration.- Parameters:
repositoryLinkId
- The ID of the repository link associated with a specific sync configuration. This parameter is required.- Returns:
this
- See Also:
-
resourceName
The name of the connection resource associated with a specific sync configuration.- Parameters:
resourceName
- The name of the connection resource associated with a specific sync configuration. This parameter is required.- Returns:
this
- See Also:
-
roleArn
The Amazon Resource Name (ARN) of the IAM role associated with a specific sync configuration.- Parameters:
roleArn
- The Amazon Resource Name (ARN) of the IAM role associated with a specific sync configuration. This parameter is required.- Returns:
this
- See Also:
-
syncType
The type of sync for a specific sync configuration.- Parameters:
syncType
- The type of sync for a specific sync configuration. This parameter is required.- Returns:
this
- See Also:
-
publishDeploymentStatus
@Stability(Stable) public CfnSyncConfiguration.Builder publishDeploymentStatus(String publishDeploymentStatus) Whether to enable or disable publishing of deployment status to source providers.- Parameters:
publishDeploymentStatus
- Whether to enable or disable publishing of deployment status to source providers. This parameter is required.- Returns:
this
- See Also:
-
triggerResourceUpdateOn
@Stability(Stable) public CfnSyncConfiguration.Builder triggerResourceUpdateOn(String triggerResourceUpdateOn) When to trigger Git sync to begin the stack update.- Parameters:
triggerResourceUpdateOn
- When to trigger Git sync to begin the stack update. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnSyncConfiguration>
- Returns:
- a newly built instance of
CfnSyncConfiguration
.
-