We recommend new projects start with resources from the AWS provider.
aws-native.ssm.ResourceDataSync
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource Type definition for AWS::SSM::ResourceDataSync
Example Usage
Example
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() => 
{
    var basicResourceDataSync = new AwsNative.Ssm.ResourceDataSync("basicResourceDataSync", new()
    {
        SyncName = "test-sync",
        SyncType = "SyncToDestination",
        S3Destination = new AwsNative.Ssm.Inputs.ResourceDataSyncS3DestinationArgs
        {
            BucketName = "test-bucket",
            BucketRegion = "us-east-2",
            SyncFormat = "JsonSerDe",
            BucketPrefix = "cfn",
            KmsKeyArn = "kmsKeyARN",
        },
    });
});
package main
import (
	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ssm"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ssm.NewResourceDataSync(ctx, "basicResourceDataSync", &ssm.ResourceDataSyncArgs{
			SyncName: pulumi.String("test-sync"),
			SyncType: pulumi.String("SyncToDestination"),
			S3Destination: &ssm.ResourceDataSyncS3DestinationArgs{
				BucketName:   pulumi.String("test-bucket"),
				BucketRegion: pulumi.String("us-east-2"),
				SyncFormat:   pulumi.String("JsonSerDe"),
				BucketPrefix: pulumi.String("cfn"),
				KmsKeyArn:    pulumi.String("kmsKeyARN"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Coming soon!
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const basicResourceDataSync = new aws_native.ssm.ResourceDataSync("basicResourceDataSync", {
    syncName: "test-sync",
    syncType: "SyncToDestination",
    s3Destination: {
        bucketName: "test-bucket",
        bucketRegion: "us-east-2",
        syncFormat: "JsonSerDe",
        bucketPrefix: "cfn",
        kmsKeyArn: "kmsKeyARN",
    },
});
import pulumi
import pulumi_aws_native as aws_native
basic_resource_data_sync = aws_native.ssm.ResourceDataSync("basicResourceDataSync",
    sync_name="test-sync",
    sync_type="SyncToDestination",
    s3_destination={
        "bucket_name": "test-bucket",
        "bucket_region": "us-east-2",
        "sync_format": "JsonSerDe",
        "bucket_prefix": "cfn",
        "kms_key_arn": "kmsKeyARN",
    })
Coming soon!
Example
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() => 
{
    var basicResourceDataSync = new AwsNative.Ssm.ResourceDataSync("basicResourceDataSync", new()
    {
        SyncName = "test-sync",
        SyncType = "SyncToDestination",
        S3Destination = new AwsNative.Ssm.Inputs.ResourceDataSyncS3DestinationArgs
        {
            BucketName = "test-bucket",
            BucketRegion = "us-east-2",
            SyncFormat = "JsonSerDe",
            BucketPrefix = "cfn",
            KmsKeyArn = "kmsKeyARN",
        },
    });
});
package main
import (
	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ssm"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ssm.NewResourceDataSync(ctx, "basicResourceDataSync", &ssm.ResourceDataSyncArgs{
			SyncName: pulumi.String("test-sync"),
			SyncType: pulumi.String("SyncToDestination"),
			S3Destination: &ssm.ResourceDataSyncS3DestinationArgs{
				BucketName:   pulumi.String("test-bucket"),
				BucketRegion: pulumi.String("us-east-2"),
				SyncFormat:   pulumi.String("JsonSerDe"),
				BucketPrefix: pulumi.String("cfn"),
				KmsKeyArn:    pulumi.String("kmsKeyARN"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Coming soon!
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const basicResourceDataSync = new aws_native.ssm.ResourceDataSync("basicResourceDataSync", {
    syncName: "test-sync",
    syncType: "SyncToDestination",
    s3Destination: {
        bucketName: "test-bucket",
        bucketRegion: "us-east-2",
        syncFormat: "JsonSerDe",
        bucketPrefix: "cfn",
        kmsKeyArn: "kmsKeyARN",
    },
});
import pulumi
import pulumi_aws_native as aws_native
basic_resource_data_sync = aws_native.ssm.ResourceDataSync("basicResourceDataSync",
    sync_name="test-sync",
    sync_type="SyncToDestination",
    s3_destination={
        "bucket_name": "test-bucket",
        "bucket_region": "us-east-2",
        "sync_format": "JsonSerDe",
        "bucket_prefix": "cfn",
        "kms_key_arn": "kmsKeyARN",
    })
Coming soon!
Example
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() => 
{
    var basicResourceDataSync = new AwsNative.Ssm.ResourceDataSync("basicResourceDataSync", new()
    {
        SyncName = "test-sync",
        SyncType = "SyncFromSource",
        SyncSource = new AwsNative.Ssm.Inputs.ResourceDataSyncSyncSourceArgs
        {
            SourceType = "SingleAccountMultiRegions",
            SourceRegions = new[]
            {
                "us-east-1",
                "us-west-1",
                "us-west-2",
            },
            IncludeFutureRegions = false,
        },
    });
});
package main
import (
	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ssm"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ssm.NewResourceDataSync(ctx, "basicResourceDataSync", &ssm.ResourceDataSyncArgs{
			SyncName: pulumi.String("test-sync"),
			SyncType: pulumi.String("SyncFromSource"),
			SyncSource: &ssm.ResourceDataSyncSyncSourceArgs{
				SourceType: pulumi.String("SingleAccountMultiRegions"),
				SourceRegions: pulumi.StringArray{
					pulumi.String("us-east-1"),
					pulumi.String("us-west-1"),
					pulumi.String("us-west-2"),
				},
				IncludeFutureRegions: pulumi.Bool(false),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Coming soon!
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const basicResourceDataSync = new aws_native.ssm.ResourceDataSync("basicResourceDataSync", {
    syncName: "test-sync",
    syncType: "SyncFromSource",
    syncSource: {
        sourceType: "SingleAccountMultiRegions",
        sourceRegions: [
            "us-east-1",
            "us-west-1",
            "us-west-2",
        ],
        includeFutureRegions: false,
    },
});
import pulumi
import pulumi_aws_native as aws_native
basic_resource_data_sync = aws_native.ssm.ResourceDataSync("basicResourceDataSync",
    sync_name="test-sync",
    sync_type="SyncFromSource",
    sync_source={
        "source_type": "SingleAccountMultiRegions",
        "source_regions": [
            "us-east-1",
            "us-west-1",
            "us-west-2",
        ],
        "include_future_regions": False,
    })
Coming soon!
Example
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() => 
{
    var basicResourceDataSync = new AwsNative.Ssm.ResourceDataSync("basicResourceDataSync", new()
    {
        SyncName = "test-sync",
        SyncType = "SyncFromSource",
        SyncSource = new AwsNative.Ssm.Inputs.ResourceDataSyncSyncSourceArgs
        {
            SourceType = "SingleAccountMultiRegions",
            SourceRegions = new[]
            {
                "us-east-1",
                "us-west-1",
                "us-west-2",
            },
            IncludeFutureRegions = false,
        },
    });
});
package main
import (
	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ssm"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ssm.NewResourceDataSync(ctx, "basicResourceDataSync", &ssm.ResourceDataSyncArgs{
			SyncName: pulumi.String("test-sync"),
			SyncType: pulumi.String("SyncFromSource"),
			SyncSource: &ssm.ResourceDataSyncSyncSourceArgs{
				SourceType: pulumi.String("SingleAccountMultiRegions"),
				SourceRegions: pulumi.StringArray{
					pulumi.String("us-east-1"),
					pulumi.String("us-west-1"),
					pulumi.String("us-west-2"),
				},
				IncludeFutureRegions: pulumi.Bool(false),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Coming soon!
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const basicResourceDataSync = new aws_native.ssm.ResourceDataSync("basicResourceDataSync", {
    syncName: "test-sync",
    syncType: "SyncFromSource",
    syncSource: {
        sourceType: "SingleAccountMultiRegions",
        sourceRegions: [
            "us-east-1",
            "us-west-1",
            "us-west-2",
        ],
        includeFutureRegions: false,
    },
});
import pulumi
import pulumi_aws_native as aws_native
basic_resource_data_sync = aws_native.ssm.ResourceDataSync("basicResourceDataSync",
    sync_name="test-sync",
    sync_type="SyncFromSource",
    sync_source={
        "source_type": "SingleAccountMultiRegions",
        "source_regions": [
            "us-east-1",
            "us-west-1",
            "us-west-2",
        ],
        "include_future_regions": False,
    })
Coming soon!
Example
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() => 
{
    var basicResourceDataSync = new AwsNative.Ssm.ResourceDataSync("basicResourceDataSync", new()
    {
        SyncName = "test-sync",
        SyncType = "SyncFromSource",
        SyncSource = new AwsNative.Ssm.Inputs.ResourceDataSyncSyncSourceArgs
        {
            SourceType = "AwsOrganizations",
            AwsOrganizationsSource = new AwsNative.Ssm.Inputs.ResourceDataSyncAwsOrganizationsSourceArgs
            {
                OrganizationSourceType = "EntireOrganization",
            },
            SourceRegions = new[]
            {
                "us-west-1",
            },
            IncludeFutureRegions = false,
        },
    });
});
package main
import (
	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ssm"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ssm.NewResourceDataSync(ctx, "basicResourceDataSync", &ssm.ResourceDataSyncArgs{
			SyncName: pulumi.String("test-sync"),
			SyncType: pulumi.String("SyncFromSource"),
			SyncSource: &ssm.ResourceDataSyncSyncSourceArgs{
				SourceType: pulumi.String("AwsOrganizations"),
				AwsOrganizationsSource: &ssm.ResourceDataSyncAwsOrganizationsSourceArgs{
					OrganizationSourceType: pulumi.String("EntireOrganization"),
				},
				SourceRegions: pulumi.StringArray{
					pulumi.String("us-west-1"),
				},
				IncludeFutureRegions: pulumi.Bool(false),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Coming soon!
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const basicResourceDataSync = new aws_native.ssm.ResourceDataSync("basicResourceDataSync", {
    syncName: "test-sync",
    syncType: "SyncFromSource",
    syncSource: {
        sourceType: "AwsOrganizations",
        awsOrganizationsSource: {
            organizationSourceType: "EntireOrganization",
        },
        sourceRegions: ["us-west-1"],
        includeFutureRegions: false,
    },
});
import pulumi
import pulumi_aws_native as aws_native
basic_resource_data_sync = aws_native.ssm.ResourceDataSync("basicResourceDataSync",
    sync_name="test-sync",
    sync_type="SyncFromSource",
    sync_source={
        "source_type": "AwsOrganizations",
        "aws_organizations_source": {
            "organization_source_type": "EntireOrganization",
        },
        "source_regions": ["us-west-1"],
        "include_future_regions": False,
    })
Coming soon!
Example
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() => 
{
    var basicResourceDataSync = new AwsNative.Ssm.ResourceDataSync("basicResourceDataSync", new()
    {
        SyncName = "test-sync",
        SyncType = "SyncFromSource",
        SyncSource = new AwsNative.Ssm.Inputs.ResourceDataSyncSyncSourceArgs
        {
            SourceType = "AwsOrganizations",
            AwsOrganizationsSource = new AwsNative.Ssm.Inputs.ResourceDataSyncAwsOrganizationsSourceArgs
            {
                OrganizationSourceType = "EntireOrganization",
            },
            SourceRegions = new[]
            {
                "us-west-1",
            },
            IncludeFutureRegions = false,
        },
    });
});
package main
import (
	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ssm"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ssm.NewResourceDataSync(ctx, "basicResourceDataSync", &ssm.ResourceDataSyncArgs{
			SyncName: pulumi.String("test-sync"),
			SyncType: pulumi.String("SyncFromSource"),
			SyncSource: &ssm.ResourceDataSyncSyncSourceArgs{
				SourceType: pulumi.String("AwsOrganizations"),
				AwsOrganizationsSource: &ssm.ResourceDataSyncAwsOrganizationsSourceArgs{
					OrganizationSourceType: pulumi.String("EntireOrganization"),
				},
				SourceRegions: pulumi.StringArray{
					pulumi.String("us-west-1"),
				},
				IncludeFutureRegions: pulumi.Bool(false),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Coming soon!
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const basicResourceDataSync = new aws_native.ssm.ResourceDataSync("basicResourceDataSync", {
    syncName: "test-sync",
    syncType: "SyncFromSource",
    syncSource: {
        sourceType: "AwsOrganizations",
        awsOrganizationsSource: {
            organizationSourceType: "EntireOrganization",
        },
        sourceRegions: ["us-west-1"],
        includeFutureRegions: false,
    },
});
import pulumi
import pulumi_aws_native as aws_native
basic_resource_data_sync = aws_native.ssm.ResourceDataSync("basicResourceDataSync",
    sync_name="test-sync",
    sync_type="SyncFromSource",
    sync_source={
        "source_type": "AwsOrganizations",
        "aws_organizations_source": {
            "organization_source_type": "EntireOrganization",
        },
        "source_regions": ["us-west-1"],
        "include_future_regions": False,
    })
Coming soon!
Example
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() => 
{
    var basicResourceDataSync = new AwsNative.Ssm.ResourceDataSync("basicResourceDataSync", new()
    {
        SyncName = "test-sync",
        SyncType = "SyncFromSource",
        SyncSource = new AwsNative.Ssm.Inputs.ResourceDataSyncSyncSourceArgs
        {
            SourceType = "AwsOrganizations",
            AwsOrganizationsSource = new AwsNative.Ssm.Inputs.ResourceDataSyncAwsOrganizationsSourceArgs
            {
                OrganizationSourceType = "OrganizationalUnits",
                OrganizationalUnits = new[]
                {
                    "ou-12345",
                },
            },
            SourceRegions = new[]
            {
                "us-west-1",
            },
            IncludeFutureRegions = false,
        },
    });
});
package main
import (
	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ssm"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ssm.NewResourceDataSync(ctx, "basicResourceDataSync", &ssm.ResourceDataSyncArgs{
			SyncName: pulumi.String("test-sync"),
			SyncType: pulumi.String("SyncFromSource"),
			SyncSource: &ssm.ResourceDataSyncSyncSourceArgs{
				SourceType: pulumi.String("AwsOrganizations"),
				AwsOrganizationsSource: &ssm.ResourceDataSyncAwsOrganizationsSourceArgs{
					OrganizationSourceType: pulumi.String("OrganizationalUnits"),
					OrganizationalUnits: pulumi.StringArray{
						pulumi.String("ou-12345"),
					},
				},
				SourceRegions: pulumi.StringArray{
					pulumi.String("us-west-1"),
				},
				IncludeFutureRegions: pulumi.Bool(false),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Coming soon!
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const basicResourceDataSync = new aws_native.ssm.ResourceDataSync("basicResourceDataSync", {
    syncName: "test-sync",
    syncType: "SyncFromSource",
    syncSource: {
        sourceType: "AwsOrganizations",
        awsOrganizationsSource: {
            organizationSourceType: "OrganizationalUnits",
            organizationalUnits: ["ou-12345"],
        },
        sourceRegions: ["us-west-1"],
        includeFutureRegions: false,
    },
});
import pulumi
import pulumi_aws_native as aws_native
basic_resource_data_sync = aws_native.ssm.ResourceDataSync("basicResourceDataSync",
    sync_name="test-sync",
    sync_type="SyncFromSource",
    sync_source={
        "source_type": "AwsOrganizations",
        "aws_organizations_source": {
            "organization_source_type": "OrganizationalUnits",
            "organizational_units": ["ou-12345"],
        },
        "source_regions": ["us-west-1"],
        "include_future_regions": False,
    })
Coming soon!
Example
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() => 
{
    var basicResourceDataSync = new AwsNative.Ssm.ResourceDataSync("basicResourceDataSync", new()
    {
        SyncName = "test-sync",
        SyncType = "SyncFromSource",
        SyncSource = new AwsNative.Ssm.Inputs.ResourceDataSyncSyncSourceArgs
        {
            SourceType = "AwsOrganizations",
            AwsOrganizationsSource = new AwsNative.Ssm.Inputs.ResourceDataSyncAwsOrganizationsSourceArgs
            {
                OrganizationSourceType = "OrganizationalUnits",
                OrganizationalUnits = new[]
                {
                    "ou-12345",
                },
            },
            SourceRegions = new[]
            {
                "us-west-1",
            },
            IncludeFutureRegions = false,
        },
    });
});
package main
import (
	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ssm"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ssm.NewResourceDataSync(ctx, "basicResourceDataSync", &ssm.ResourceDataSyncArgs{
			SyncName: pulumi.String("test-sync"),
			SyncType: pulumi.String("SyncFromSource"),
			SyncSource: &ssm.ResourceDataSyncSyncSourceArgs{
				SourceType: pulumi.String("AwsOrganizations"),
				AwsOrganizationsSource: &ssm.ResourceDataSyncAwsOrganizationsSourceArgs{
					OrganizationSourceType: pulumi.String("OrganizationalUnits"),
					OrganizationalUnits: pulumi.StringArray{
						pulumi.String("ou-12345"),
					},
				},
				SourceRegions: pulumi.StringArray{
					pulumi.String("us-west-1"),
				},
				IncludeFutureRegions: pulumi.Bool(false),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Coming soon!
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const basicResourceDataSync = new aws_native.ssm.ResourceDataSync("basicResourceDataSync", {
    syncName: "test-sync",
    syncType: "SyncFromSource",
    syncSource: {
        sourceType: "AwsOrganizations",
        awsOrganizationsSource: {
            organizationSourceType: "OrganizationalUnits",
            organizationalUnits: ["ou-12345"],
        },
        sourceRegions: ["us-west-1"],
        includeFutureRegions: false,
    },
});
import pulumi
import pulumi_aws_native as aws_native
basic_resource_data_sync = aws_native.ssm.ResourceDataSync("basicResourceDataSync",
    sync_name="test-sync",
    sync_type="SyncFromSource",
    sync_source={
        "source_type": "AwsOrganizations",
        "aws_organizations_source": {
            "organization_source_type": "OrganizationalUnits",
            "organizational_units": ["ou-12345"],
        },
        "source_regions": ["us-west-1"],
        "include_future_regions": False,
    })
Coming soon!
Create ResourceDataSync Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ResourceDataSync(name: string, args?: ResourceDataSyncArgs, opts?: CustomResourceOptions);@overload
def ResourceDataSync(resource_name: str,
                     args: Optional[ResourceDataSyncArgs] = None,
                     opts: Optional[ResourceOptions] = None)
@overload
def ResourceDataSync(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     bucket_name: Optional[str] = None,
                     bucket_prefix: Optional[str] = None,
                     bucket_region: Optional[str] = None,
                     kms_key_arn: Optional[str] = None,
                     s3_destination: Optional[ResourceDataSyncS3DestinationArgs] = None,
                     sync_format: Optional[str] = None,
                     sync_name: Optional[str] = None,
                     sync_source: Optional[ResourceDataSyncSyncSourceArgs] = None,
                     sync_type: Optional[str] = None)func NewResourceDataSync(ctx *Context, name string, args *ResourceDataSyncArgs, opts ...ResourceOption) (*ResourceDataSync, error)public ResourceDataSync(string name, ResourceDataSyncArgs? args = null, CustomResourceOptions? opts = null)
public ResourceDataSync(String name, ResourceDataSyncArgs args)
public ResourceDataSync(String name, ResourceDataSyncArgs args, CustomResourceOptions options)
type: aws-native:ssm:ResourceDataSync
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ResourceDataSyncArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ResourceDataSyncArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ResourceDataSyncArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ResourceDataSyncArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ResourceDataSyncArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ResourceDataSync Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ResourceDataSync resource accepts the following input properties:
- BucketName string
- The name of the S3 bucket where the aggregated data is stored.
- BucketPrefix string
- An Amazon S3 prefix for the bucket.
- BucketRegion string
- The AWS Region with the S3 bucket targeted by the resource data sync.
- KmsKey stringArn 
- The Amazon Resource Name (ARN) of an encryption key for a destination in Amazon S3 . You can use a KMS key to encrypt inventory data in Amazon S3 . You must specify a key that exist in the same AWS Region as the destination Amazon S3 bucket.
- S3Destination
Pulumi.Aws Native. Ssm. Inputs. Resource Data Sync S3Destination 
- Configuration information for the target S3 bucket.
- SyncFormat string
- A supported sync format. The following format is currently supported: JsonSerDe
- SyncName string
- A name for the resource data sync.
- SyncSource Pulumi.Aws Native. Ssm. Inputs. Resource Data Sync Sync Source 
- Information about the source where the data was synchronized.
- SyncType string
- The type of resource data sync. If SyncTypeisSyncToDestination, then the resource data sync synchronizes data to an S3 bucket. If theSyncTypeisSyncFromSourcethen the resource data sync synchronizes data from AWS Organizations or from multiple AWS Regions .
- BucketName string
- The name of the S3 bucket where the aggregated data is stored.
- BucketPrefix string
- An Amazon S3 prefix for the bucket.
- BucketRegion string
- The AWS Region with the S3 bucket targeted by the resource data sync.
- KmsKey stringArn 
- The Amazon Resource Name (ARN) of an encryption key for a destination in Amazon S3 . You can use a KMS key to encrypt inventory data in Amazon S3 . You must specify a key that exist in the same AWS Region as the destination Amazon S3 bucket.
- S3Destination
ResourceData Sync S3Destination Args 
- Configuration information for the target S3 bucket.
- SyncFormat string
- A supported sync format. The following format is currently supported: JsonSerDe
- SyncName string
- A name for the resource data sync.
- SyncSource ResourceData Sync Sync Source Args 
- Information about the source where the data was synchronized.
- SyncType string
- The type of resource data sync. If SyncTypeisSyncToDestination, then the resource data sync synchronizes data to an S3 bucket. If theSyncTypeisSyncFromSourcethen the resource data sync synchronizes data from AWS Organizations or from multiple AWS Regions .
- bucketName String
- The name of the S3 bucket where the aggregated data is stored.
- bucketPrefix String
- An Amazon S3 prefix for the bucket.
- bucketRegion String
- The AWS Region with the S3 bucket targeted by the resource data sync.
- kmsKey StringArn 
- The Amazon Resource Name (ARN) of an encryption key for a destination in Amazon S3 . You can use a KMS key to encrypt inventory data in Amazon S3 . You must specify a key that exist in the same AWS Region as the destination Amazon S3 bucket.
- s3Destination
ResourceData Sync S3Destination 
- Configuration information for the target S3 bucket.
- syncFormat String
- A supported sync format. The following format is currently supported: JsonSerDe
- syncName String
- A name for the resource data sync.
- syncSource ResourceData Sync Sync Source 
- Information about the source where the data was synchronized.
- syncType String
- The type of resource data sync. If SyncTypeisSyncToDestination, then the resource data sync synchronizes data to an S3 bucket. If theSyncTypeisSyncFromSourcethen the resource data sync synchronizes data from AWS Organizations or from multiple AWS Regions .
- bucketName string
- The name of the S3 bucket where the aggregated data is stored.
- bucketPrefix string
- An Amazon S3 prefix for the bucket.
- bucketRegion string
- The AWS Region with the S3 bucket targeted by the resource data sync.
- kmsKey stringArn 
- The Amazon Resource Name (ARN) of an encryption key for a destination in Amazon S3 . You can use a KMS key to encrypt inventory data in Amazon S3 . You must specify a key that exist in the same AWS Region as the destination Amazon S3 bucket.
- s3Destination
ResourceData Sync S3Destination 
- Configuration information for the target S3 bucket.
- syncFormat string
- A supported sync format. The following format is currently supported: JsonSerDe
- syncName string
- A name for the resource data sync.
- syncSource ResourceData Sync Sync Source 
- Information about the source where the data was synchronized.
- syncType string
- The type of resource data sync. If SyncTypeisSyncToDestination, then the resource data sync synchronizes data to an S3 bucket. If theSyncTypeisSyncFromSourcethen the resource data sync synchronizes data from AWS Organizations or from multiple AWS Regions .
- bucket_name str
- The name of the S3 bucket where the aggregated data is stored.
- bucket_prefix str
- An Amazon S3 prefix for the bucket.
- bucket_region str
- The AWS Region with the S3 bucket targeted by the resource data sync.
- kms_key_ strarn 
- The Amazon Resource Name (ARN) of an encryption key for a destination in Amazon S3 . You can use a KMS key to encrypt inventory data in Amazon S3 . You must specify a key that exist in the same AWS Region as the destination Amazon S3 bucket.
- s3_destination ResourceData Sync S3Destination Args 
- Configuration information for the target S3 bucket.
- sync_format str
- A supported sync format. The following format is currently supported: JsonSerDe
- sync_name str
- A name for the resource data sync.
- sync_source ResourceData Sync Sync Source Args 
- Information about the source where the data was synchronized.
- sync_type str
- The type of resource data sync. If SyncTypeisSyncToDestination, then the resource data sync synchronizes data to an S3 bucket. If theSyncTypeisSyncFromSourcethen the resource data sync synchronizes data from AWS Organizations or from multiple AWS Regions .
- bucketName String
- The name of the S3 bucket where the aggregated data is stored.
- bucketPrefix String
- An Amazon S3 prefix for the bucket.
- bucketRegion String
- The AWS Region with the S3 bucket targeted by the resource data sync.
- kmsKey StringArn 
- The Amazon Resource Name (ARN) of an encryption key for a destination in Amazon S3 . You can use a KMS key to encrypt inventory data in Amazon S3 . You must specify a key that exist in the same AWS Region as the destination Amazon S3 bucket.
- s3Destination Property Map
- Configuration information for the target S3 bucket.
- syncFormat String
- A supported sync format. The following format is currently supported: JsonSerDe
- syncName String
- A name for the resource data sync.
- syncSource Property Map
- Information about the source where the data was synchronized.
- syncType String
- The type of resource data sync. If SyncTypeisSyncToDestination, then the resource data sync synchronizes data to an S3 bucket. If theSyncTypeisSyncFromSourcethen the resource data sync synchronizes data from AWS Organizations or from multiple AWS Regions .
Outputs
All input properties are implicitly available as output properties. Additionally, the ResourceDataSync resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
ResourceDataSyncAwsOrganizationsSource, ResourceDataSyncAwsOrganizationsSourceArgs            
- OrganizationSource stringType 
- If an AWS organization is present, this is either OrganizationalUnitsorEntireOrganization. ForOrganizationalUnits, the data is aggregated from a set of organization units. ForEntireOrganization, the data is aggregated from the entire AWS organization.
- OrganizationalUnits List<string>
- The AWS Organizations organization units included in the sync.
- OrganizationSource stringType 
- If an AWS organization is present, this is either OrganizationalUnitsorEntireOrganization. ForOrganizationalUnits, the data is aggregated from a set of organization units. ForEntireOrganization, the data is aggregated from the entire AWS organization.
- OrganizationalUnits []string
- The AWS Organizations organization units included in the sync.
- organizationSource StringType 
- If an AWS organization is present, this is either OrganizationalUnitsorEntireOrganization. ForOrganizationalUnits, the data is aggregated from a set of organization units. ForEntireOrganization, the data is aggregated from the entire AWS organization.
- organizationalUnits List<String>
- The AWS Organizations organization units included in the sync.
- organizationSource stringType 
- If an AWS organization is present, this is either OrganizationalUnitsorEntireOrganization. ForOrganizationalUnits, the data is aggregated from a set of organization units. ForEntireOrganization, the data is aggregated from the entire AWS organization.
- organizationalUnits string[]
- The AWS Organizations organization units included in the sync.
- organization_source_ strtype 
- If an AWS organization is present, this is either OrganizationalUnitsorEntireOrganization. ForOrganizationalUnits, the data is aggregated from a set of organization units. ForEntireOrganization, the data is aggregated from the entire AWS organization.
- organizational_units Sequence[str]
- The AWS Organizations organization units included in the sync.
- organizationSource StringType 
- If an AWS organization is present, this is either OrganizationalUnitsorEntireOrganization. ForOrganizationalUnits, the data is aggregated from a set of organization units. ForEntireOrganization, the data is aggregated from the entire AWS organization.
- organizationalUnits List<String>
- The AWS Organizations organization units included in the sync.
ResourceDataSyncS3Destination, ResourceDataSyncS3DestinationArgs        
- BucketName string
- The name of the S3 bucket where the aggregated data is stored.
- BucketRegion string
- The AWS Region with the S3 bucket targeted by the resource data sync.
- SyncFormat string
- A supported sync format. The following format is currently supported: JsonSerDe
- BucketPrefix string
- An Amazon S3 prefix for the bucket.
- KmsKey stringArn 
- The ARN of an encryption key for a destination in Amazon S3. Must belong to the same Region as the destination S3 bucket.
- BucketName string
- The name of the S3 bucket where the aggregated data is stored.
- BucketRegion string
- The AWS Region with the S3 bucket targeted by the resource data sync.
- SyncFormat string
- A supported sync format. The following format is currently supported: JsonSerDe
- BucketPrefix string
- An Amazon S3 prefix for the bucket.
- KmsKey stringArn 
- The ARN of an encryption key for a destination in Amazon S3. Must belong to the same Region as the destination S3 bucket.
- bucketName String
- The name of the S3 bucket where the aggregated data is stored.
- bucketRegion String
- The AWS Region with the S3 bucket targeted by the resource data sync.
- syncFormat String
- A supported sync format. The following format is currently supported: JsonSerDe
- bucketPrefix String
- An Amazon S3 prefix for the bucket.
- kmsKey StringArn 
- The ARN of an encryption key for a destination in Amazon S3. Must belong to the same Region as the destination S3 bucket.
- bucketName string
- The name of the S3 bucket where the aggregated data is stored.
- bucketRegion string
- The AWS Region with the S3 bucket targeted by the resource data sync.
- syncFormat string
- A supported sync format. The following format is currently supported: JsonSerDe
- bucketPrefix string
- An Amazon S3 prefix for the bucket.
- kmsKey stringArn 
- The ARN of an encryption key for a destination in Amazon S3. Must belong to the same Region as the destination S3 bucket.
- bucket_name str
- The name of the S3 bucket where the aggregated data is stored.
- bucket_region str
- The AWS Region with the S3 bucket targeted by the resource data sync.
- sync_format str
- A supported sync format. The following format is currently supported: JsonSerDe
- bucket_prefix str
- An Amazon S3 prefix for the bucket.
- kms_key_ strarn 
- The ARN of an encryption key for a destination in Amazon S3. Must belong to the same Region as the destination S3 bucket.
- bucketName String
- The name of the S3 bucket where the aggregated data is stored.
- bucketRegion String
- The AWS Region with the S3 bucket targeted by the resource data sync.
- syncFormat String
- A supported sync format. The following format is currently supported: JsonSerDe
- bucketPrefix String
- An Amazon S3 prefix for the bucket.
- kmsKey StringArn 
- The ARN of an encryption key for a destination in Amazon S3. Must belong to the same Region as the destination S3 bucket.
ResourceDataSyncSyncSource, ResourceDataSyncSyncSourceArgs          
- SourceRegions List<string>
- The SyncSourceAWS Regions included in the resource data sync.
- SourceType string
- The type of data source for the resource data sync. SourceTypeis eitherAwsOrganizations(if an organization is present in AWS Organizations ) orSingleAccountMultiRegions.
- AwsOrganizations Pulumi.Source Aws Native. Ssm. Inputs. Resource Data Sync Aws Organizations Source 
- Information about the AwsOrganizationsSource resource data sync source. A sync source of this type can synchronize data from AWS Organizations .
- IncludeFuture boolRegions 
- Whether to automatically synchronize and aggregate data from new AWS Regions when those Regions come online.
- SourceRegions []string
- The SyncSourceAWS Regions included in the resource data sync.
- SourceType string
- The type of data source for the resource data sync. SourceTypeis eitherAwsOrganizations(if an organization is present in AWS Organizations ) orSingleAccountMultiRegions.
- AwsOrganizations ResourceSource Data Sync Aws Organizations Source 
- Information about the AwsOrganizationsSource resource data sync source. A sync source of this type can synchronize data from AWS Organizations .
- IncludeFuture boolRegions 
- Whether to automatically synchronize and aggregate data from new AWS Regions when those Regions come online.
- sourceRegions List<String>
- The SyncSourceAWS Regions included in the resource data sync.
- sourceType String
- The type of data source for the resource data sync. SourceTypeis eitherAwsOrganizations(if an organization is present in AWS Organizations ) orSingleAccountMultiRegions.
- awsOrganizations ResourceSource Data Sync Aws Organizations Source 
- Information about the AwsOrganizationsSource resource data sync source. A sync source of this type can synchronize data from AWS Organizations .
- includeFuture BooleanRegions 
- Whether to automatically synchronize and aggregate data from new AWS Regions when those Regions come online.
- sourceRegions string[]
- The SyncSourceAWS Regions included in the resource data sync.
- sourceType string
- The type of data source for the resource data sync. SourceTypeis eitherAwsOrganizations(if an organization is present in AWS Organizations ) orSingleAccountMultiRegions.
- awsOrganizations ResourceSource Data Sync Aws Organizations Source 
- Information about the AwsOrganizationsSource resource data sync source. A sync source of this type can synchronize data from AWS Organizations .
- includeFuture booleanRegions 
- Whether to automatically synchronize and aggregate data from new AWS Regions when those Regions come online.
- source_regions Sequence[str]
- The SyncSourceAWS Regions included in the resource data sync.
- source_type str
- The type of data source for the resource data sync. SourceTypeis eitherAwsOrganizations(if an organization is present in AWS Organizations ) orSingleAccountMultiRegions.
- aws_organizations_ Resourcesource Data Sync Aws Organizations Source 
- Information about the AwsOrganizationsSource resource data sync source. A sync source of this type can synchronize data from AWS Organizations .
- include_future_ boolregions 
- Whether to automatically synchronize and aggregate data from new AWS Regions when those Regions come online.
- sourceRegions List<String>
- The SyncSourceAWS Regions included in the resource data sync.
- sourceType String
- The type of data source for the resource data sync. SourceTypeis eitherAwsOrganizations(if an organization is present in AWS Organizations ) orSingleAccountMultiRegions.
- awsOrganizations Property MapSource 
- Information about the AwsOrganizationsSource resource data sync source. A sync source of this type can synchronize data from AWS Organizations .
- includeFuture BooleanRegions 
- Whether to automatically synchronize and aggregate data from new AWS Regions when those Regions come online.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.