Class AccessKeysRotatedProps
Construction properties for a AccessKeysRotated.
Inheritance
Namespace: Amazon.CDK.AWS.Config
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class AccessKeysRotatedProps : Object, IAccessKeysRotatedProps, IRuleProps
Syntax (vb)
Public Class AccessKeysRotatedProps
Inherits Object
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
Access |
Properties
Config |
A name for the AWS Config rule. |
Description | A description about this AWS Config rule. |
Evaluation |
The modes the AWS Config rule can be evaluated in. |
Input |
Input parameter values that are passed to the AWS Config rule. |
Max |
The maximum number of days within which the access keys must be rotated. |
Maximum |
The maximum frequency at which the AWS Config rule runs evaluations. |
Rule |
Defines which resources trigger an evaluation for an AWS Config rule. |
Constructors
AccessKeysRotatedProps()
public AccessKeysRotatedProps()
Properties
ConfigRuleName
A name for the AWS Config rule.
public string ConfigRuleName { get; set; }
Property Value
System.
Remarks
Default: - CloudFormation generated name
Description
A description about this AWS Config rule.
public string Description { get; set; }
Property Value
System.
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
System.
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 Nullable<MaximumExecutionFrequency> MaximumExecutionFrequency { get; set; }
Property Value
System.
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.