@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-28T21:34:20.959Z") @Stability(value=Stable) public interface CfnResourceDataSyncProps extends software.amazon.jsii.JsiiSerializable
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.ssm.*;
CfnResourceDataSyncProps cfnResourceDataSyncProps = CfnResourceDataSyncProps.builder()
.syncName("syncName")
// the properties below are optional
.bucketName("bucketName")
.bucketPrefix("bucketPrefix")
.bucketRegion("bucketRegion")
.kmsKeyArn("kmsKeyArn")
.s3Destination(S3DestinationProperty.builder()
.bucketName("bucketName")
.bucketRegion("bucketRegion")
.syncFormat("syncFormat")
// the properties below are optional
.bucketPrefix("bucketPrefix")
.kmsKeyArn("kmsKeyArn")
.build())
.syncFormat("syncFormat")
.syncSource(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())
.syncType("syncType")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnResourceDataSyncProps.Builder
A builder for
CfnResourceDataSyncProps |
static class |
CfnResourceDataSyncProps.Jsii$Proxy
An implementation for
CfnResourceDataSyncProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnResourceDataSyncProps.Builder |
builder() |
default String |
getBucketName()
The name of the S3 bucket where the aggregated data is stored.
|
default String |
getBucketPrefix()
An Amazon S3 prefix for the bucket.
|
default String |
getBucketRegion()
The AWS Region with the S3 bucket targeted by the resource data sync.
|
default String |
getKmsKeyArn()
The ARN of an encryption key for a destination in Amazon S3 .
|
default Object |
getS3Destination()
Configuration information for the target S3 bucket.
|
default String |
getSyncFormat()
A supported sync format.
|
String |
getSyncName()
A name for the resource data sync.
|
default Object |
getSyncSource()
Information about the source where the data was synchronized.
|
default String |
getSyncType()
The type of resource data sync.
|
@Stability(value=Stable) @NotNull String getSyncName()
@Stability(value=Stable) @Nullable default String getBucketName()
@Stability(value=Stable) @Nullable default String getBucketPrefix()
@Stability(value=Stable) @Nullable default String getBucketRegion()
@Stability(value=Stable) @Nullable default String getKmsKeyArn()
You can use a KMS key to encrypt inventory data in Amazon S3 . You must specify a key that exist in the same region as the destination Amazon S3 bucket.
@Stability(value=Stable) @Nullable default Object getS3Destination()
@Stability(value=Stable) @Nullable default String getSyncFormat()
The following format is currently supported: JsonSerDe
@Stability(value=Stable) @Nullable default Object getSyncSource()
@Stability(value=Stable) @Nullable default String getSyncType()
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 .
@Stability(value=Stable) static CfnResourceDataSyncProps.Builder builder()
CfnResourceDataSyncProps.Builder of CfnResourceDataSyncPropsCopyright © 2023. All rights reserved.