interface OldPolicy
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.GuardDuty.Events.DetectorEvents.GuardDutyFinding.OldPolicy |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsguardduty/events#DetectorEvents_GuardDutyFinding_OldPolicy |
Java | software.amazon.awscdk.mixins.preview.services.guardduty.events.DetectorEvents.GuardDutyFinding.OldPolicy |
Python | aws_cdk.mixins_preview.aws_guardduty.events.DetectorEvents.GuardDutyFinding.OldPolicy |
TypeScript | @aws-cdk/mixins-preview ยป aws_guardduty ยป events ยป DetectorEvents ยป GuardDutyFinding ยป OldPolicy |
Type definition for OldPolicy.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { events as guardduty_events } from '@aws-cdk/mixins-preview/aws-guardduty';
const oldPolicy: guardduty_events.DetectorEvents.GuardDutyFinding.OldPolicy = {
allowUsersToChangePassword: ['allowUsersToChangePassword'],
hardExpiry: ['hardExpiry'],
maxPasswordAge: ['maxPasswordAge'],
minimumPasswordLength: ['minimumPasswordLength'],
passwordReusePrevention: ['passwordReusePrevention'],
requireLowercaseCharacters: ['requireLowercaseCharacters'],
requireNumbers: ['requireNumbers'],
requireSymbols: ['requireSymbols'],
requireUppercaseCharacters: ['requireUppercaseCharacters'],
};
Properties
| Name | Type | Description |
|---|---|---|
| allow | string[] | allowUsersToChangePassword property. |
| hard | string[] | hardExpiry property. |
| max | string[] | maxPasswordAge property. |
| minimum | string[] | minimumPasswordLength property. |
| password | string[] | passwordReusePrevention property. |
| require | string[] | requireLowercaseCharacters property. |
| require | string[] | requireNumbers property. |
| require | string[] | requireSymbols property. |
| require | string[] | requireUppercaseCharacters property. |
allowUsersToChangePassword?
Type:
string[]
(optional, default: Do not filter on this field)
allowUsersToChangePassword property.
Specify an array of string values to match this event if the actual value of allowUsersToChangePassword is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
hardExpiry?
Type:
string[]
(optional, default: Do not filter on this field)
hardExpiry property.
Specify an array of string values to match this event if the actual value of hardExpiry is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
maxPasswordAge?
Type:
string[]
(optional, default: Do not filter on this field)
maxPasswordAge property.
Specify an array of string values to match this event if the actual value of maxPasswordAge is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
minimumPasswordLength?
Type:
string[]
(optional, default: Do not filter on this field)
minimumPasswordLength property.
Specify an array of string values to match this event if the actual value of minimumPasswordLength is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
passwordReusePrevention?
Type:
string[]
(optional, default: Do not filter on this field)
passwordReusePrevention property.
Specify an array of string values to match this event if the actual value of passwordReusePrevention is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
requireLowercaseCharacters?
Type:
string[]
(optional, default: Do not filter on this field)
requireLowercaseCharacters property.
Specify an array of string values to match this event if the actual value of requireLowercaseCharacters is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
requireNumbers?
Type:
string[]
(optional, default: Do not filter on this field)
requireNumbers property.
Specify an array of string values to match this event if the actual value of requireNumbers is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
requireSymbols?
Type:
string[]
(optional, default: Do not filter on this field)
requireSymbols property.
Specify an array of string values to match this event if the actual value of requireSymbols is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
requireUppercaseCharacters?
Type:
string[]
(optional, default: Do not filter on this field)
requireUppercaseCharacters property.
Specify an array of string values to match this event if the actual value of requireUppercaseCharacters 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