AccessKeysRotatedProps

class aws_cdk.aws_config.AccessKeysRotatedProps(*, config_rule_name=None, description=None, input_parameters=None, maximum_execution_frequency=None, rule_scope=None, max_age=None)

Bases: RuleProps

Construction properties for a AccessKeysRotated.

Parameters:
  • config_rule_name (Optional[str]) – A name for the AWS Config rule. Default: - CloudFormation generated name

  • description (Optional[str]) – A description about this AWS Config rule. Default: - No description

  • input_parameters (Optional[Mapping[str, Any]]) – Input parameter values that are passed to the AWS Config rule. Default: - No input parameters

  • maximum_execution_frequency (Optional[MaximumExecutionFrequency]) – The maximum frequency at which the AWS Config rule runs evaluations. Default: MaximumExecutionFrequency.TWENTY_FOUR_HOURS

  • rule_scope (Optional[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.

  • max_age (Optional[Duration]) – The maximum number of days within which the access keys must be rotated. Default: Duration.days(90)

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_config as config
import aws_cdk.core as cdk

# input_parameters: Any
# rule_scope: config.RuleScope

access_keys_rotated_props = config.AccessKeysRotatedProps(
    config_rule_name="configRuleName",
    description="description",
    input_parameters={
        "input_parameters_key": input_parameters
    },
    max_age=cdk.Duration.minutes(30),
    maximum_execution_frequency=config.MaximumExecutionFrequency.ONE_HOUR,
    rule_scope=rule_scope
)

Attributes

config_rule_name

A name for the AWS Config rule.

Default:
  • CloudFormation generated name

description

A description about this AWS Config rule.

Default:
  • No description

input_parameters

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

Default:
  • No input parameters

max_age

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

Default:

Duration.days(90)

maximum_execution_frequency

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

Default:

MaximumExecutionFrequency.TWENTY_FOUR_HOURS

rule_scope

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.