aws-cdk-lib.aws_config.CfnOrganizationConfigRule.OrganizationManagedRuleMetadataProperty

interface OrganizationManagedRuleMetadataProperty

LanguageType name
.NETAmazon.CDK.AWS.Config.CfnOrganizationConfigRule.OrganizationManagedRuleMetadataProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsconfig#CfnOrganizationConfigRule_OrganizationManagedRuleMetadataProperty
Javasoftware.amazon.awscdk.services.config.CfnOrganizationConfigRule.OrganizationManagedRuleMetadataProperty
Pythonaws_cdk.aws_config.CfnOrganizationConfigRule.OrganizationManagedRuleMetadataProperty
TypeScript aws-cdk-lib » aws_config » CfnOrganizationConfigRule » OrganizationManagedRuleMetadataProperty

organization managed rule metadata such as resource type and ID of AWS resource along with the rule identifier.

It also provides the frequency with which you want AWS Config to run evaluations for the rule if the trigger type is periodic.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_config as config } from 'aws-cdk-lib';
const organizationManagedRuleMetadataProperty: config.CfnOrganizationConfigRule.OrganizationManagedRuleMetadataProperty = {
  ruleIdentifier: 'ruleIdentifier',

  // the properties below are optional
  description: 'description',
  inputParameters: 'inputParameters',
  maximumExecutionFrequency: 'maximumExecutionFrequency',
  resourceIdScope: 'resourceIdScope',
  resourceTypesScope: ['resourceTypesScope'],
  tagKeyScope: 'tagKeyScope',
  tagValueScope: 'tagValueScope',
};

Properties

NameTypeDescription
ruleIdentifierstringFor organization config managed rules, a predefined identifier from a list.
description?stringThe description that you provide for your organization AWS Config rule.
inputParameters?stringA string, in JSON format, that is passed to your organization AWS Config rule Lambda function.
maximumExecutionFrequency?stringThe maximum frequency with which AWS Config runs evaluations for a rule.
resourceIdScope?stringThe ID of the AWS resource that was evaluated.
resourceTypesScope?string[]The type of the AWS resource that was evaluated.
tagKeyScope?stringOne part of a key-value pair that make up a tag.
tagValueScope?stringThe optional part of a key-value pair that make up a tag.

ruleIdentifier

Type: string

For organization config managed rules, a predefined identifier from a list.

For example, IAM_PASSWORD_POLICY is a managed rule. To reference a managed rule, see Using AWS Config managed rules .


description?

Type: string (optional)

The description that you provide for your organization AWS Config rule.


inputParameters?

Type: string (optional)

A string, in JSON format, that is passed to your organization AWS Config rule Lambda function.


maximumExecutionFrequency?

Type: string (optional)

The maximum frequency with which AWS Config runs evaluations for a rule.

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?

Type: string (optional)

The ID of the AWS resource that was evaluated.


resourceTypesScope?

Type: string[] (optional)

The type of the AWS resource that was evaluated.


tagKeyScope?

Type: string (optional)

One part of a key-value pair that make up a tag.

A key is a general label that acts like a category for more specific tag values.


tagValueScope?

Type: string (optional)

The optional part of a key-value pair that make up a tag.

A value acts as a descriptor within a tag category (key).