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:
IEnvironmentAware,IInspectable,ISyncConfigurationRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-10T13:40:01.088Z")
@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 Summary
Nested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.codestarconnections.ISyncConfigurationRef
ISyncConfigurationRef.Jsii$Default, ISyncConfigurationRef.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnSyncConfiguration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnSyncConfiguration(software.amazon.jsii.JsiiObjectRef objRef) CfnSyncConfiguration(software.constructs.Construct scope, String id, CfnSyncConfigurationProps props) -
Method Summary
Modifier 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.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnSyncConfiguration
protected CfnSyncConfiguration(software.amazon.jsii.JsiiObjectRef objRef) -
CfnSyncConfiguration
protected 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
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- 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 classCfnResource- Parameters:
props- This parameter is required.
-
getAttrOwnerId
The owner ID for the repository associated with a specific sync configuration, such as the owner ID in GitHub. -
getAttrProviderType
The name of the external provider where your third-party code repository is configured. -
getAttrRepositoryName
The name of the repository that is being synced to. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getSyncConfigurationRef
A reference to a SyncConfiguration resource.- Specified by:
getSyncConfigurationRefin interfaceISyncConfigurationRef
-
getBranch
The branch associated with a specific sync configuration. -
setBranch
The branch associated with a specific sync configuration. -
getConfigFile
The file path to the configuration file associated with a specific sync configuration. -
setConfigFile
The file path to the configuration file associated with a specific sync configuration. -
getRepositoryLinkId
The ID of the repository link associated with a specific sync configuration. -
setRepositoryLinkId
The ID of the repository link associated with a specific sync configuration. -
getResourceName
The name of the connection resource associated with a specific sync configuration. -
setResourceName
The name of the connection resource associated with a specific sync configuration. -
getRoleArn
The Amazon Resource Name (ARN) of the IAM role associated with a specific sync configuration. -
setRoleArn
The Amazon Resource Name (ARN) of the IAM role associated with a specific sync configuration. -
getSyncType
The type of sync for a specific sync configuration. -
setSyncType
The type of sync for a specific sync configuration. -
getPublishDeploymentStatus
Whether to enable or disable publishing of deployment status to source providers. -
setPublishDeploymentStatus
Whether to enable or disable publishing of deployment status to source providers. -
getTriggerResourceUpdateOn
When to trigger Git sync to begin the stack update. -
setTriggerResourceUpdateOn
When to trigger Git sync to begin the stack update.
-