Skip to content
v2.278.0

SyncConfigurationReference Struct ​

A reference to a SyncConfiguration resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_codestarconnections as interfaces_codestarconnections } from 'aws-cdk-lib/interfaces';
const syncConfigurationReference: interfaces_codestarconnections.SyncConfigurationReference = {
  resourceName: 'resourceName',
  syncType: 'syncType',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_codestarconnections as interfaces_codestarconnections

sync_configuration_reference = interfaces_codestarconnections.SyncConfigurationReference(
    resource_name="resourceName",
    sync_type="syncType"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.codestarconnections.*;

SyncConfigurationReference syncConfigurationReference = SyncConfigurationReference.builder()
        .resourceName("resourceName")
        .syncType("syncType")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Interfaces.CodeStarConnections;

var syncConfigurationReference = new SyncConfigurationReference {
    ResourceName = "resourceName",
    SyncType = "syncType"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

syncConfigurationReference := &SyncConfigurationReference{
	ResourceName: jsii.String("resourceName"),
	SyncType: jsii.String("syncType"),
}

Properties ​

resourceNamestringresource_namestrresourceNameStringResourceNamestringResourceName*string required #
The ResourceName of the SyncConfiguration resource.
syncTypestringsync_typestrsyncTypeStringSyncTypestringSyncType*string required #
The SyncType of the SyncConfiguration resource.