AWS Fundamentals Logo
AWS Fundamentals
L2 Construct

AccessKeysRotated

Checks whether the active access keys are rotated within the number of days specified in `maxAge`.

Import

import { AccessKeysRotated } from 'aws-cdk-lib/aws-config';

Or use the module namespace:

import * as config from 'aws-cdk-lib/aws-config';
// config.AccessKeysRotated

Properties

Configuration passed to the constructor as AccessKeysRotatedProps.

maxAgeOptional
Duration

The maximum number of days within which the access keys must be rotated.

Default: Duration.days(90)

6 properties inherited from RuleProps
configRuleNameOptionalinherited from RuleProps
string

A name for the AWS Config rule.

Default: - CloudFormation generated name

descriptionOptionalinherited from RuleProps
string

A description about this AWS Config rule.

Default: - No description

evaluationModesOptionalinherited from RuleProps
EvaluationMode

The modes the AWS Config rule can be evaluated in. The valid values are distinct objects.

Default: - Detective evaluation mode only

inputParametersOptionalinherited from RuleProps
{ [key: string]: any }

Input parameter values that are passed to the AWS Config rule.

Default: - No input parameters

maximumExecutionFrequencyOptionalinherited from RuleProps
MaximumExecutionFrequency

The maximum frequency at which the AWS Config rule runs evaluations.

Default: MaximumExecutionFrequency.TWENTY_FOUR_HOURS

ruleScopeOptionalinherited from RuleProps
RuleScope

Defines which resources trigger an evaluation for an AWS Config rule.

Default: - evaluations for the rule are triggered when any resource in the recording group changes.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter