Class CfnResourceDataSyncProps
Properties for defining a CfnResourceDataSync
.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.SSM
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnResourceDataSyncProps : ICfnResourceDataSyncProps
Syntax (vb)
Public Class CfnResourceDataSyncProps Implements ICfnResourceDataSyncProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-resourcedatasync.html
ExampleMetadata: fixture=_generated
Examples
// 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 cfnResourceDataSyncProps = new CfnResourceDataSyncProps {
SyncName = "syncName",
// the properties below are optional
BucketName = "bucketName",
BucketPrefix = "bucketPrefix",
BucketRegion = "bucketRegion",
KmsKeyArn = "kmsKeyArn",
S3Destination = new S3DestinationProperty {
BucketName = "bucketName",
BucketRegion = "bucketRegion",
SyncFormat = "syncFormat",
// the properties below are optional
BucketPrefix = "bucketPrefix",
KmsKeyArn = "kmsKeyArn"
},
SyncFormat = "syncFormat",
SyncSource = 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
},
SyncType = "syncType"
};
Synopsis
Constructors
CfnResourceDataSyncProps() | Properties for defining a |
Properties
BucketName | The name of the S3 bucket where the aggregated data is stored. |
BucketPrefix | An Amazon S3 prefix for the bucket. |
BucketRegion | The AWS Region with the S3 bucket targeted by the resource data sync. |
KmsKeyArn | The Amazon Resource Name (ARN) of an encryption key for a destination in Amazon S3 . |
S3Destination | Configuration information for the target S3 bucket. |
SyncFormat | A supported sync format. |
SyncName | A name for the resource data sync. |
SyncSource | Information about the source where the data was synchronized. |
SyncType | The type of resource data sync. |
Constructors
CfnResourceDataSyncProps()
Properties for defining a CfnResourceDataSync
.
public CfnResourceDataSyncProps()
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-resourcedatasync.html
ExampleMetadata: fixture=_generated
Examples
// 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 cfnResourceDataSyncProps = new CfnResourceDataSyncProps {
SyncName = "syncName",
// the properties below are optional
BucketName = "bucketName",
BucketPrefix = "bucketPrefix",
BucketRegion = "bucketRegion",
KmsKeyArn = "kmsKeyArn",
S3Destination = new S3DestinationProperty {
BucketName = "bucketName",
BucketRegion = "bucketRegion",
SyncFormat = "syncFormat",
// the properties below are optional
BucketPrefix = "bucketPrefix",
KmsKeyArn = "kmsKeyArn"
},
SyncFormat = "syncFormat",
SyncSource = 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
},
SyncType = "syncType"
};
Properties
BucketName
The name of the S3 bucket where the aggregated data is stored.
public string? BucketName { get; set; }
Property Value
Remarks
BucketPrefix
An Amazon S3 prefix for the bucket.
public string? BucketPrefix { get; set; }
Property Value
Remarks
BucketRegion
The AWS Region with the S3 bucket targeted by the resource data sync.
public string? BucketRegion { get; set; }
Property Value
Remarks
KmsKeyArn
The Amazon Resource Name (ARN) of an encryption key for a destination in Amazon S3 .
public string? KmsKeyArn { get; set; }
Property Value
Remarks
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
Configuration information for the target S3 bucket.
public object? S3Destination { get; set; }
Property Value
Remarks
SyncFormat
A supported sync format.
public string? SyncFormat { get; set; }
Property Value
Remarks
The following format is currently supported: JsonSerDe
SyncName
A name for the resource data sync.
public string SyncName { get; set; }
Property Value
Remarks
SyncSource
Information about the source where the data was synchronized.
public object? SyncSource { get; set; }
Property Value
Remarks
SyncType
The type of resource data sync.
public string? SyncType { get; set; }
Property Value
Remarks
If SyncType
is SyncToDestination
, then the resource data sync synchronizes data to an S3 bucket. If the SyncType
is SyncFromSource
then the resource data sync synchronizes data from AWS Organizations or from multiple AWS Regions .