Class CfnOrganizationConfigRule.OrganizationManagedRuleMetadataProperty
organization managed rule metadata such as resource type and ID of AWS resource along with the rule identifier.
Inheritance
Namespace: Amazon.CDK.AWS.Config
Assembly: Amazon.CDK.AWS.Config.dll
Syntax (csharp)
public class OrganizationManagedRuleMetadataProperty : Object, CfnOrganizationConfigRule.IOrganizationManagedRuleMetadataProperty
Syntax (vb)
Public Class OrganizationManagedRuleMetadataProperty
Inherits Object
Implements CfnOrganizationConfigRule.IOrganizationManagedRuleMetadataProperty
Remarks
It also provides the frequency with which you want AWS Config to run evaluations for the rule if the trigger type is periodic.
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.AWS.Config;
var organizationManagedRuleMetadataProperty = new OrganizationManagedRuleMetadataProperty {
RuleIdentifier = "ruleIdentifier",
// the properties below are optional
Description = "description",
InputParameters = "inputParameters",
MaximumExecutionFrequency = "maximumExecutionFrequency",
ResourceIdScope = "resourceIdScope",
ResourceTypesScope = new [] { "resourceTypesScope" },
TagKeyScope = "tagKeyScope",
TagValueScope = "tagValueScope"
};
Synopsis
Constructors
OrganizationManagedRuleMetadataProperty() |
Properties
Description | The description that you provide for your organization AWS Config rule. |
InputParameters | A string, in JSON format, that is passed to your organization AWS Config rule Lambda function. |
MaximumExecutionFrequency | The maximum frequency with which AWS Config runs evaluations for a rule. |
ResourceIdScope | The ID of the AWS resource that was evaluated. |
ResourceTypesScope | The type of the AWS resource that was evaluated. |
RuleIdentifier | For organization config managed rules, a predefined identifier from a list. |
TagKeyScope | One part of a key-value pair that make up a tag. |
TagValueScope | The optional part of a key-value pair that make up a tag. |
Constructors
OrganizationManagedRuleMetadataProperty()
public OrganizationManagedRuleMetadataProperty()
Properties
Description
The description that you provide for your organization AWS Config rule.
public string Description { get; set; }
Property Value
System.String
Remarks
InputParameters
A string, in JSON format, that is passed to your organization AWS Config rule Lambda function.
public string InputParameters { get; set; }
Property Value
System.String
Remarks
MaximumExecutionFrequency
The maximum frequency with which AWS Config runs evaluations for a rule.
public string MaximumExecutionFrequency { get; set; }
Property Value
System.String
Remarks
This is for an AWS Config managed rule that is triggered at a periodic frequency.
By default, rules with a periodic trigger are evaluated every 24 hours. To change the frequency, specify a valid value for the MaximumExecutionFrequency
parameter.
ResourceIdScope
The ID of the AWS resource that was evaluated.
public string ResourceIdScope { get; set; }
Property Value
System.String
Remarks
ResourceTypesScope
The type of the AWS resource that was evaluated.
public string[] ResourceTypesScope { get; set; }
Property Value
System.String[]
Remarks
RuleIdentifier
For organization config managed rules, a predefined identifier from a list.
public string RuleIdentifier { get; set; }
Property Value
System.String
Remarks
For example, IAM_PASSWORD_POLICY
is a managed rule. To reference a managed rule, see Using AWS Config managed rules .
TagKeyScope
One part of a key-value pair that make up a tag.
public string TagKeyScope { get; set; }
Property Value
System.String
Remarks
A key is a general label that acts like a category for more specific tag values.
TagValueScope
The optional part of a key-value pair that make up a tag.
public string TagValueScope { get; set; }
Property Value
System.String
Remarks
A value acts as a descriptor within a tag category (key).