Skip to content
v2.278.0

SyncSourceProperty Struct ​

Information about the source of the data included in the resource data sync.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ssm as ssm } from 'aws-cdk-lib';
const syncSourceProperty: ssm.CfnResourceDataSync.SyncSourceProperty = {
  sourceRegions: ['sourceRegions'],
  sourceType: 'sourceType',

  // the properties below are optional
  awsOrganizationsSource: {
    organizationSourceType: 'organizationSourceType',

    // the properties below are optional
    organizationalUnits: ['organizationalUnits'],
  },
  includeFutureRegions: false,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ssm as ssm

sync_source_property = ssm.CfnResourceDataSync.SyncSourceProperty(
    source_regions=["sourceRegions"],
    source_type="sourceType",

    # the properties below are optional
    aws_organizations_source=ssm.CfnResourceDataSync.AwsOrganizationsSourceProperty(
        organization_source_type="organizationSourceType",

        # the properties below are optional
        organizational_units=["organizationalUnits"]
    ),
    include_future_regions=False
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ssm.*;

SyncSourceProperty syncSourceProperty = SyncSourceProperty.builder()
        .sourceRegions(List.of("sourceRegions"))
        .sourceType("sourceType")

        // the properties below are optional
        .awsOrganizationsSource(AwsOrganizationsSourceProperty.builder()
                .organizationSourceType("organizationSourceType")

                // the properties below are optional
                .organizationalUnits(List.of("organizationalUnits"))
                .build())
        .includeFutureRegions(false)
        .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.AWS.SSM;

var syncSourceProperty = new SyncSourceProperty {
    SourceRegions = new [] { "sourceRegions" },
    SourceType = "sourceType",

    // the properties below are optional
    AwsOrganizationsSource = new AwsOrganizationsSourceProperty {
        OrganizationSourceType = "organizationSourceType",

        // the properties below are optional
        OrganizationalUnits = new [] { "organizationalUnits" }
    },
    IncludeFutureRegions = false
};
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"

syncSourceProperty := &SyncSourceProperty{
	SourceRegions: []*string{
		jsii.String("sourceRegions"),
	},
	SourceType: jsii.String("sourceType"),

	// the properties below are optional
	AwsOrganizationsSource: &AwsOrganizationsSourceProperty{
		OrganizationSourceType: jsii.String("organizationSourceType"),

		// the properties below are optional
		OrganizationalUnits: []*string{
			jsii.String("organizationalUnits"),
		},
	},
	IncludeFutureRegions: jsii.Boolean(false),
}

Properties ​

awsOrganizationsSourceoptionalIResolvable | CfnResourceDataSync.AwsOrganizationsSourcePropertyaws_organizations_sourceoptionaltyping.Union[IResolvable, AwsOrganizationsSourceProperty]awsOrganizationsSourceoptionalIResolvableAwsOrganizationsSourceoptionalIResolvableAwsOrganizationsSourceoptionalinterface{} #
Information about the AwsOrganizationsSource resource data sync source.

A sync source of this type can synchronize data from AWS Organizations .

includeFutureRegionsoptionalboolean | IResolvableinclude_future_regionsoptionaltyping.Union[bool, IResolvable]includeFutureRegionsoptionalBooleanIncludeFutureRegionsoptionalboolIncludeFutureRegionsoptionalinterface{} #
Whether to automatically synchronize and aggregate data from new AWS Regions when those Regions come online.
sourceRegionsstring[]source_regionstyping.List[str]sourceRegionsList<String>SourceRegionsstring[]SourceRegions*[]*string required #
The `SyncSource` AWS Regions included in the resource data sync.
sourceTypestringsource_typestrsourceTypeStringSourceTypestringSourceType*string required #
The type of data source for the resource data sync.

SourceType is either AwsOrganizations (if an organization is present in AWS Organizations ) or SingleAccountMultiRegions .