Class AccessKeysRotatedProps
Construction properties for a AccessKeysRotated.
Inherited Members
Namespace: Amazon.CDK.AWS.Config
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class AccessKeysRotatedProps : IAccessKeysRotatedProps, IRuleProps
Syntax (vb)
Public Class AccessKeysRotatedProps Implements IAccessKeysRotatedProps, IRuleProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK;
using Amazon.CDK.AWS.Config;
EvaluationMode evaluationMode;
var inputParameters;
RuleScope ruleScope;
var accessKeysRotatedProps = new AccessKeysRotatedProps {
ConfigRuleName = "configRuleName",
Description = "description",
EvaluationModes = evaluationMode,
InputParameters = new Dictionary<string, object> {
{ "inputParametersKey", inputParameters }
},
MaxAge = Duration.Minutes(30),
MaximumExecutionFrequency = MaximumExecutionFrequency.ONE_HOUR,
RuleScope = ruleScope
};
Synopsis
Constructors
AccessKeysRotatedProps() | Construction properties for a AccessKeysRotated. |
Properties
ConfigRuleName | A name for the AWS Config rule. |
Description | A description about this AWS Config rule. |
EvaluationModes | The modes the AWS Config rule can be evaluated in. |
InputParameters | Input parameter values that are passed to the AWS Config rule. |
MaxAge | The maximum number of days within which the access keys must be rotated. |
MaximumExecutionFrequency | The maximum frequency at which the AWS Config rule runs evaluations. |
RuleScope | Defines which resources trigger an evaluation for an AWS Config rule. |
Constructors
AccessKeysRotatedProps()
Construction properties for a AccessKeysRotated.
public AccessKeysRotatedProps()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK;
using Amazon.CDK.AWS.Config;
EvaluationMode evaluationMode;
var inputParameters;
RuleScope ruleScope;
var accessKeysRotatedProps = new AccessKeysRotatedProps {
ConfigRuleName = "configRuleName",
Description = "description",
EvaluationModes = evaluationMode,
InputParameters = new Dictionary<string, object> {
{ "inputParametersKey", inputParameters }
},
MaxAge = Duration.Minutes(30),
MaximumExecutionFrequency = MaximumExecutionFrequency.ONE_HOUR,
RuleScope = ruleScope
};
Properties
ConfigRuleName
A name for the AWS Config rule.
public string? ConfigRuleName { get; set; }
Property Value
Remarks
Default: - CloudFormation generated name
Description
A description about this AWS Config rule.
public string? Description { get; set; }
Property Value
Remarks
Default: - No description
EvaluationModes
The modes the AWS Config rule can be evaluated in.
public EvaluationMode? EvaluationModes { get; set; }
Property Value
Remarks
The valid values are distinct objects.
Default: - Detective evaluation mode only
InputParameters
Input parameter values that are passed to the AWS Config rule.
public IDictionary<string, object>? InputParameters { get; set; }
Property Value
Remarks
Default: - No input parameters
MaxAge
The maximum number of days within which the access keys must be rotated.
public Duration? MaxAge { get; set; }
Property Value
Remarks
Default: Duration.days(90)
MaximumExecutionFrequency
The maximum frequency at which the AWS Config rule runs evaluations.
public MaximumExecutionFrequency? MaximumExecutionFrequency { get; set; }
Property Value
Remarks
Default: MaximumExecutionFrequency.TWENTY_FOUR_HOURS
RuleScope
Defines which resources trigger an evaluation for an AWS Config rule.
public RuleScope? RuleScope { get; set; }
Property Value
Remarks
Default: - evaluations for the rule are triggered when any resource in the recording group changes.