Class CfnResourceDataSyncPropsMixin
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IMixin
AWS::SSM::ResourceDataSync resource creates, updates, or deletes a resource data sync for AWS Systems Manager .
A resource data sync helps you view data from multiple sources in a single location. Systems Manager offers two types of resource data sync: SyncToDestination and SyncFromSource .
You can configure Systems Manager Inventory to use the SyncToDestination type to synchronize Inventory data from multiple AWS Regions to a single Amazon S3 bucket.
You can configure Systems Manager Explorer to use the SyncFromSource type to synchronize operational work items (OpsItems) and operational data (OpsData) from multiple AWS Regions . This type can synchronize OpsItems and OpsData from multiple AWS accounts and Regions or from an EntireOrganization by using AWS Organizations .
A resource data sync is an asynchronous operation that returns immediately. After a successful initial sync is completed, the system continuously syncs data.
By default, data is not encrypted in Amazon S3 . We strongly recommend that you enable encryption in Amazon S3 to ensure secure data storage. We also recommend that you secure access to the Amazon S3 bucket by creating a restrictive bucket policy.
For more information, see Configuring Inventory Collection and Setting Up Systems Manager Explorer to Display Data from Multiple Accounts and Regions in the AWS Systems Manager User Guide .
The following Syntax section shows all fields that are supported for a resource data sync. The Examples section below shows the recommended way to specify configurations for each sync type. Refer to the Examples section when you create your resource data sync.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.ssm.*;
import software.amazon.awscdk.*;
IMergeStrategy mergeStrategy;
CfnResourceDataSyncPropsMixin cfnResourceDataSyncPropsMixin = CfnResourceDataSyncPropsMixin.Builder.create(CfnResourceDataSyncMixinProps.builder()
.bucketName("bucketName")
.bucketPrefix("bucketPrefix")
.bucketRegion("bucketRegion")
.kmsKeyArn("kmsKeyArn")
.s3Destination(S3DestinationProperty.builder()
.bucketName("bucketName")
.bucketPrefix("bucketPrefix")
.bucketRegion("bucketRegion")
.kmsKeyArn("kmsKeyArn")
.syncFormat("syncFormat")
.build())
.syncFormat("syncFormat")
.syncName("syncName")
.syncSource(SyncSourceProperty.builder()
.awsOrganizationsSource(AwsOrganizationsSourceProperty.builder()
.organizationalUnits(List.of("organizationalUnits"))
.organizationSourceType("organizationSourceType")
.build())
.includeFutureRegions(false)
.sourceRegions(List.of("sourceRegions"))
.sourceType("sourceType")
.build())
.syncType("syncType")
.build())
.strategy(mergeStrategy)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceInformation about theAwsOrganizationsSourceresource data sync source.static final classA fluent builder forCfnResourceDataSyncPropsMixin.static interfaceInformation about the target S3 bucket for the resource data sync.static interfaceInformation about the source of the data included in the resource data sync.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IMixin
software.constructs.IMixin.Jsii$Default, software.constructs.IMixin.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionCreate a mixin to apply properties toAWS::SSM::ResourceDataSync.Create a mixin to apply properties toAWS::SSM::ResourceDataSync.protectedCfnResourceDataSyncPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnResourceDataSyncPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTo(software.constructs.IConstruct construct) Apply the mixin properties to the construct.protected CfnResourceDataSyncMixinPropsgetProps()protected IMergeStrategysupports(software.constructs.IConstruct construct) Check if this mixin supports the given construct.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_PROPERTY_KEYS
-
-
Constructor Details
-
CfnResourceDataSyncPropsMixin
protected CfnResourceDataSyncPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
CfnResourceDataSyncPropsMixin
protected CfnResourceDataSyncPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnResourceDataSyncPropsMixin
@Stability(Stable) public CfnResourceDataSyncPropsMixin(@NotNull CfnResourceDataSyncMixinProps props, @Nullable CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::SSM::ResourceDataSync.- Parameters:
props- L1 properties to apply. This parameter is required.options- Mixin options.
-
CfnResourceDataSyncPropsMixin
@Stability(Stable) public CfnResourceDataSyncPropsMixin(@NotNull CfnResourceDataSyncMixinProps props) Create a mixin to apply properties toAWS::SSM::ResourceDataSync.- Parameters:
props- L1 properties to apply. This parameter is required.
-
-
Method Details
-
applyTo
@Stability(Stable) public void applyTo(@NotNull software.constructs.IConstruct construct) Apply the mixin properties to the construct. -
supports
@Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct) Check if this mixin supports the given construct. -
getProps
-
getStrategy
-