ShareRuleProperty Struct
[Custom snapshot policies only] Specifies a rule for sharing snapshots across AWS accounts .
Example
ts
// 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
targetAccountsoptionalstring[]target_accountsoptionaltyping.List[str]targetAccountsoptionalList<String>TargetAccountsoptionalstring[]TargetAccountsoptional*[]*string#The IDs of the AWS accounts with which to share the snapshots.