interface PolicyDetailsItem
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.DLM.Events.AWSAPICallViaCloudTrail.PolicyDetailsItem |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsdlm/events#AWSAPICallViaCloudTrail_PolicyDetailsItem |
Java | software.amazon.awscdk.mixins.preview.services.dlm.events.AWSAPICallViaCloudTrail.PolicyDetailsItem |
Python | aws_cdk.mixins_preview.aws_dlm.events.AWSAPICallViaCloudTrail.PolicyDetailsItem |
TypeScript | @aws-cdk/mixins-preview ยป aws_dlm ยป events ยป AWSAPICallViaCloudTrail ยป PolicyDetailsItem |
Type definition for PolicyDetailsItem.
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 policyDetailsItem: dlm_events.AWSAPICallViaCloudTrail.PolicyDetailsItem = {
copyTags: ['copyTags'],
createRule: {
interval: ['interval'],
intervalUnit: ['intervalUnit'],
times: ['times'],
},
fastRestoreRule: {
availabilityZones: ['availabilityZones'],
count: ['count'],
},
name: ['name'],
retainRule: {
count: ['count'],
},
tagsToAdd: [{
key: ['key'],
value: ['value'],
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| copy | string[] | CopyTags property. |
| create | Create | CreateRule property. |
| fast | Fast | FastRestoreRule property. |
| name? | string[] | Name property. |
| retain | Retain | RetainRule property. |
| tags | Policy[] | TagsToAdd property. |
copyTags?
Type:
string[]
(optional, default: Do not filter on this field)
CopyTags property.
Specify an array of string values to match this event if the actual value of CopyTags is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
createRule?
Type:
Create
(optional, default: Do not filter on this field)
CreateRule property.
Specify an array of string values to match this event if the actual value of CreateRule is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
fastRestoreRule?
Type:
Fast
(optional, default: Do not filter on this field)
FastRestoreRule property.
Specify an array of string values to match this event if the actual value of FastRestoreRule is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
name?
Type:
string[]
(optional, default: Do not filter on this field)
Name property.
Specify an array of string values to match this event if the actual value of Name is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
retainRule?
Type:
Retain
(optional, default: Do not filter on this field)
RetainRule property.
Specify an array of string values to match this event if the actual value of RetainRule is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
tagsToAdd?
Type:
Policy[]
(optional, default: Do not filter on this field)
TagsToAdd property.
Specify an array of string values to match this event if the actual value of TagsToAdd 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