Class CfnSyncConfiguration
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.codestarconnections.CfnSyncConfiguration
- All Implemented Interfaces:
- IInspectable,- ISyncConfigurationRef,- software.amazon.jsii.JsiiSerializable,- software.constructs.IConstruct,- software.constructs.IDependable
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
           date="2025-10-29T11:15:35.225Z")
@Stability(Stable)
public class CfnSyncConfiguration
extends CfnResource
implements IInspectable, ISyncConfigurationRef
Information, such as repository, branch, provider, and resource names for a specific sync configuration.
 
Example:
 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.codestarconnections.*;
 CfnSyncConfiguration cfnSyncConfiguration = CfnSyncConfiguration.Builder.create(this, "MyCfnSyncConfiguration")
         .branch("branch")
         .configFile("configFile")
         .repositoryLinkId("repositoryLinkId")
         .resourceName("resourceName")
         .roleArn("roleArn")
         .syncType("syncType")
         // the properties below are optional
         .publishDeploymentStatus("publishDeploymentStatus")
         .triggerResourceUpdateOn("triggerResourceUpdateOn")
         .build();
 - See Also:
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObjectsoftware.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstructsoftware.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectableIInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.codestarconnections.ISyncConfigurationRefISyncConfigurationRef.Jsii$Default, ISyncConfigurationRef.Jsii$Proxy
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class.
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedCfnSyncConfiguration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnSyncConfiguration(software.amazon.jsii.JsiiObjectRef objRef) CfnSyncConfiguration(software.constructs.Construct scope, String id, CfnSyncConfigurationProps props) 
- 
Method SummaryModifier and TypeMethodDescriptionThe owner ID for the repository associated with a specific sync configuration, such as the owner ID in GitHub.The name of the external provider where your third-party code repository is configured.The name of the repository that is being synced to.The branch associated with a specific sync configuration.The file path to the configuration file associated with a specific sync configuration.Whether to enable or disable publishing of deployment status to source providers.The ID of the repository link associated with a specific sync configuration.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.A reference to a SyncConfiguration resource.The type of sync for a specific sync configuration.When to trigger Git sync to begin the stack update.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidThe branch associated with a specific sync configuration.voidsetConfigFile(String value) The file path to the configuration file associated with a specific sync configuration.voidsetPublishDeploymentStatus(String value) Whether to enable or disable publishing of deployment status to source providers.voidsetRepositoryLinkId(String value) The ID of the repository link associated with a specific sync configuration.voidsetResourceName(String value) The name of the connection resource associated with a specific sync configuration.voidsetRoleArn(String value) The Amazon Resource Name (ARN) of the IAM role associated with a specific sync configuration.voidsetSyncType(String value) The type of sync for a specific sync configuration.voidsetTriggerResourceUpdateOn(String value) When to trigger Git sync to begin the stack update.Methods inherited from class software.amazon.awscdk.CfnResourceaddDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElementgetRefMethods inherited from class software.amazon.awscdk.CfnElementgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.ConstructgetNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObjectjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstructgetNodeMethods inherited from interface software.amazon.jsii.JsiiSerializable$jsii$toJson
- 
Field Details- 
CFN_RESOURCE_TYPE_NAMEThe CloudFormation resource type name for this resource class.
 
- 
- 
Constructor Details- 
CfnSyncConfigurationprotected CfnSyncConfiguration(software.amazon.jsii.JsiiObjectRef objRef) 
- 
CfnSyncConfigurationprotected CfnSyncConfiguration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) 
- 
CfnSyncConfiguration@Stability(Stable) public CfnSyncConfiguration(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnSyncConfigurationProps props) - 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.
- props- Resource properties. This parameter is required.
 
 
- 
- 
Method Details- 
inspectExamines the CloudFormation resource and discloses attributes.- Specified by:
- inspectin interface- IInspectable
- Parameters:
- inspector- tree inspector to collect and process attributes. This parameter is required.
 
- 
renderProperties@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
- renderPropertiesin class- CfnResource
- Parameters:
- props- This parameter is required.
 
- 
getAttrOwnerIdThe owner ID for the repository associated with a specific sync configuration, such as the owner ID in GitHub.
- 
getAttrProviderTypeThe name of the external provider where your third-party code repository is configured.
- 
getAttrRepositoryNameThe name of the repository that is being synced to.
- 
getCfnProperties- Overrides:
- getCfnPropertiesin class- CfnResource
 
- 
getSyncConfigurationRefA reference to a SyncConfiguration resource.- Specified by:
- getSyncConfigurationRefin interface- ISyncConfigurationRef
 
- 
getBranchThe branch associated with a specific sync configuration.
- 
setBranchThe branch associated with a specific sync configuration.
- 
getConfigFileThe file path to the configuration file associated with a specific sync configuration.
- 
setConfigFileThe file path to the configuration file associated with a specific sync configuration.
- 
getRepositoryLinkIdThe ID of the repository link associated with a specific sync configuration.
- 
setRepositoryLinkIdThe ID of the repository link associated with a specific sync configuration.
- 
getResourceNameThe name of the connection resource associated with a specific sync configuration.
- 
setResourceNameThe name of the connection resource associated with a specific sync configuration.
- 
getRoleArnThe Amazon Resource Name (ARN) of the IAM role associated with a specific sync configuration.
- 
setRoleArnThe Amazon Resource Name (ARN) of the IAM role associated with a specific sync configuration.
- 
getSyncTypeThe type of sync for a specific sync configuration.
- 
setSyncTypeThe type of sync for a specific sync configuration.
- 
getPublishDeploymentStatusWhether to enable or disable publishing of deployment status to source providers.
- 
setPublishDeploymentStatusWhether to enable or disable publishing of deployment status to source providers.
- 
getTriggerResourceUpdateOnWhen to trigger Git sync to begin the stack update.
- 
setTriggerResourceUpdateOnWhen to trigger Git sync to begin the stack update.
 
-