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;
var inputParameters;
RuleScope ruleScope;
var accessKeysRotatedProps = new AccessKeysRotatedProps {
ConfigRuleName = "configRuleName",
Description = "description",
InputParameters = new Dictionary<string, object> {
{ "inputParametersKey", inputParameters }
},
MaxAge = Duration.Minutes(30),
MaximumExecutionFrequency = MaximumExecutionFrequency.ONE_HOUR,
RuleScope = ruleScope
};
Synopsis
Constructors
AccessKeysRotatedProps() |
Properties
ConfigRuleName | A name for the AWS Config rule. |
Description | A description about this AWS Config rule. |
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()
public AccessKeysRotatedProps()
Properties
ConfigRuleName
A name for the AWS Config rule.
public string ConfigRuleName { get; set; }
Property Value
System.String
Remarks
Default: - CloudFormation generated name
Description
A description about this AWS Config rule.
public string Description { get; set; }
Property Value
System.String
Remarks
Default: - No description
InputParameters
Input parameter values that are passed to the AWS Config rule.
public IDictionary<string, object> InputParameters { get; set; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
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.Nullable<MaximumExecutionFrequency>
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.