interface PolicyDetails
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.DLM.Events.AWSAPICallViaCloudTrail.PolicyDetails |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsdlm/events#AWSAPICallViaCloudTrail_PolicyDetails |
Java | software.amazon.awscdk.mixins.preview.services.dlm.events.AWSAPICallViaCloudTrail.PolicyDetails |
Python | aws_cdk.mixins_preview.aws_dlm.events.AWSAPICallViaCloudTrail.PolicyDetails |
TypeScript | @aws-cdk/mixins-preview ยป aws_dlm ยป events ยป AWSAPICallViaCloudTrail ยป PolicyDetails |
Type definition for PolicyDetails.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { events as dlm_events } from '@aws-cdk/mixins-preview/aws-dlm';
const policyDetails: dlm_events.AWSAPICallViaCloudTrail.PolicyDetails = {
policyType: ['policyType'],
resourceTypes: ['resourceTypes'],
schedules: [{
copyTags: ['copyTags'],
createRule: {
interval: ['interval'],
intervalUnit: ['intervalUnit'],
times: ['times'],
},
fastRestoreRule: {
availabilityZones: ['availabilityZones'],
count: ['count'],
},
name: ['name'],
retainRule: {
count: ['count'],
},
tagsToAdd: [{
key: ['key'],
value: ['value'],
}],
}],
targetTags: [{
key: ['key'],
value: ['value'],
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| policy | string[] | PolicyType property. |
| resource | string[] | ResourceTypes property. |
| schedules? | Policy[] | Schedules property. |
| target | Policy[] | TargetTags property. |
policyType?
Type:
string[]
(optional, default: Do not filter on this field)
PolicyType property.
Specify an array of string values to match this event if the actual value of PolicyType is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
resourceTypes?
Type:
string[]
(optional, default: Do not filter on this field)
ResourceTypes property.
Specify an array of string values to match this event if the actual value of ResourceTypes is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
schedules?
Type:
Policy[]
(optional, default: Do not filter on this field)
Schedules property.
Specify an array of string values to match this event if the actual value of Schedules is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
targetTags?
Type:
Policy[]
(optional, default: Do not filter on this field)
TargetTags property.
Specify an array of string values to match this event if the actual value of TargetTags is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

.NET
Go
Java
Python
TypeScript