Class CfnSyncConfigurationProps
Properties for defining a CfnSyncConfiguration
.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.CodeStarConnections
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnSyncConfigurationProps : ICfnSyncConfigurationProps
Syntax (vb)
Public Class CfnSyncConfigurationProps Implements ICfnSyncConfigurationProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CodeStarConnections;
var cfnSyncConfigurationProps = new CfnSyncConfigurationProps {
Branch = "branch",
ConfigFile = "configFile",
RepositoryLinkId = "repositoryLinkId",
ResourceName = "resourceName",
RoleArn = "roleArn",
SyncType = "syncType",
// the properties below are optional
PublishDeploymentStatus = "publishDeploymentStatus",
TriggerResourceUpdateOn = "triggerResourceUpdateOn"
};
Synopsis
Constructors
CfnSyncConfigurationProps() | Properties for defining a |
Properties
Branch | The branch associated with a specific sync configuration. |
ConfigFile | The file path to the configuration file associated with a specific sync configuration. |
PublishDeploymentStatus | Whether to enable or disable publishing of deployment status to source providers. |
RepositoryLinkId | The ID of the repository link associated with a specific sync configuration. |
ResourceName | The name of the connection resource associated with a specific sync configuration. |
RoleArn | The Amazon Resource Name (ARN) of the IAM role associated with a specific sync configuration. |
SyncType | The type of sync for a specific sync configuration. |
TriggerResourceUpdateOn | When to trigger Git sync to begin the stack update. |
Constructors
CfnSyncConfigurationProps()
Properties for defining a CfnSyncConfiguration
.
public CfnSyncConfigurationProps()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CodeStarConnections;
var cfnSyncConfigurationProps = new CfnSyncConfigurationProps {
Branch = "branch",
ConfigFile = "configFile",
RepositoryLinkId = "repositoryLinkId",
ResourceName = "resourceName",
RoleArn = "roleArn",
SyncType = "syncType",
// the properties below are optional
PublishDeploymentStatus = "publishDeploymentStatus",
TriggerResourceUpdateOn = "triggerResourceUpdateOn"
};
Properties
Branch
The branch associated with a specific sync configuration.
public string Branch { get; set; }
Property Value
Remarks
ConfigFile
The file path to the configuration file associated with a specific sync configuration.
public string ConfigFile { get; set; }
Property Value
Remarks
The path should point to an actual file in the sync configurations linked repository.
PublishDeploymentStatus
Whether to enable or disable publishing of deployment status to source providers.
public string? PublishDeploymentStatus { get; set; }
Property Value
Remarks
RepositoryLinkId
The ID of the repository link associated with a specific sync configuration.
public string RepositoryLinkId { get; set; }
Property Value
Remarks
ResourceName
The name of the connection resource associated with a specific sync configuration.
public string ResourceName { get; set; }
Property Value
Remarks
RoleArn
The Amazon Resource Name (ARN) of the IAM role associated with a specific sync configuration.
public string RoleArn { get; set; }
Property Value
Remarks
SyncType
The type of sync for a specific sync configuration.
public string SyncType { get; set; }
Property Value
Remarks
TriggerResourceUpdateOn
When to trigger Git sync to begin the stack update.
public string? TriggerResourceUpdateOn { get; set; }