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
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.109.0 (build c221850)",
date="2025-03-19T18:01:32.454Z")
@Stability(Stable)
public class CfnSyncConfiguration
extends CfnResource
implements IInspectable
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.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
CfnSyncConfiguration
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnSyncConfiguration
(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.The type of sync for a specific sync configuration.When to trigger Git sync to begin the stack update.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
The branch associated with a specific sync configuration.void
setConfigFile
(String value) The file path to the configuration file associated with a specific sync configuration.void
setPublishDeploymentStatus
(String value) Whether to enable or disable publishing of deployment status to source providers.void
setRepositoryLinkId
(String value) The ID of the repository link associated with a specific sync configuration.void
setResourceName
(String value) The name of the connection resource associated with a specific sync configuration.void
setRoleArn
(String value) The Amazon Resource Name (ARN) of the IAM role associated with a specific sync configuration.void
setSyncType
(String value) The type of sync for a specific sync configuration.void
setTriggerResourceUpdateOn
(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, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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:
inspect
in 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:
renderProperties
in 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:
getCfnProperties
in classCfnResource
-
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.
-