interface ShareRuleProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.DLM.CfnLifecyclePolicy.ShareRuleProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsdlm#CfnLifecyclePolicy_ShareRuleProperty |
![]() | software.amazon.awscdk.services.dlm.CfnLifecyclePolicy.ShareRuleProperty |
![]() | aws_cdk.aws_dlm.CfnLifecyclePolicy.ShareRuleProperty |
![]() | aws-cdk-lib » aws_dlm » CfnLifecyclePolicy » ShareRuleProperty |
[Custom snapshot policies only] Specifies a rule for sharing snapshots across AWS accounts .
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_dlm as dlm } from 'aws-cdk-lib';
const shareRuleProperty: dlm.CfnLifecyclePolicy.ShareRuleProperty = {
targetAccounts: ['targetAccounts'],
unshareInterval: 123,
unshareIntervalUnit: 'unshareIntervalUnit',
};
Properties
Name | Type | Description |
---|---|---|
target | string[] | The IDs of the AWS accounts with which to share the snapshots. |
unshare | number | The period after which snapshots that are shared with other AWS accounts are automatically unshared. |
unshare | string | The unit of time for the automatic unsharing interval. |
targetAccounts?
Type:
string[]
(optional)
The IDs of the AWS accounts with which to share the snapshots.
unshareInterval?
Type:
number
(optional)
The period after which snapshots that are shared with other AWS accounts are automatically unshared.
unshareIntervalUnit?
Type:
string
(optional)
The unit of time for the automatic unsharing interval.