OrganizationManagedRuleMetadataProperty Struct
An object that specifies 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.
| Source | |
|---|---|
| Type last changed |
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',
};
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_config as config
organization_managed_rule_metadata_property = config.CfnOrganizationConfigRule.OrganizationManagedRuleMetadataProperty(
rule_identifier="ruleIdentifier",
# the properties below are optional
description="description",
input_parameters="inputParameters",
maximum_execution_frequency="maximumExecutionFrequency",
resource_id_scope="resourceIdScope",
resource_types_scope=["resourceTypesScope"],
tag_key_scope="tagKeyScope",
tag_value_scope="tagValueScope"
)
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.config.*;
OrganizationManagedRuleMetadataProperty organizationManagedRuleMetadataProperty = OrganizationManagedRuleMetadataProperty.builder()
.ruleIdentifier("ruleIdentifier")
// the properties below are optional
.description("description")
.inputParameters("inputParameters")
.maximumExecutionFrequency("maximumExecutionFrequency")
.resourceIdScope("resourceIdScope")
.resourceTypesScope(List.of("resourceTypesScope"))
.tagKeyScope("tagKeyScope")
.tagValueScope("tagValueScope")
.build();
// Install: dotnet add package Amazon.CDK.Lib
// 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"
};
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
organizationManagedRuleMetadataProperty := &OrganizationManagedRuleMetadataProperty{
RuleIdentifier: jsii.String("ruleIdentifier"),
// the properties below are optional
Description: jsii.String("description"),
InputParameters: jsii.String("inputParameters"),
MaximumExecutionFrequency: jsii.String("maximumExecutionFrequency"),
ResourceIdScope: jsii.String("resourceIdScope"),
ResourceTypesScope: []*string{
jsii.String("resourceTypesScope"),
},
TagKeyScope: jsii.String("tagKeyScope"),
TagValueScope: jsii.String("tagValueScope"),
}
Properties
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #inputParametersoptionalstringinput_parametersoptionalstrinputParametersoptionalStringInputParametersoptionalstringInputParametersoptional*string #maximumExecutionFrequencyoptionalstringmaximum_execution_frequencyoptionalstrmaximumExecutionFrequencyoptionalStringMaximumExecutionFrequencyoptionalstringMaximumExecutionFrequencyoptional*string #notes
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
MaximumExecutionFrequencyparameter.
resourceIdScopeoptionalstringresource_id_scopeoptionalstrresourceIdScopeoptionalStringResourceIdScopeoptionalstringResourceIdScopeoptional*string #resourceTypesScopeoptionalstring[]resource_types_scopeoptionaltyping.List[str]resourceTypesScopeoptionalList<String>ResourceTypesScopeoptionalstring[]ResourceTypesScopeoptional*[]*string #ruleIdentifierstringrule_identifierstrruleIdentifierStringRuleIdentifierstringRuleIdentifier*string required #For example, IAM_PASSWORD_POLICY is a managed rule. To reference a managed rule, see Using AWS Config managed rules .
tagKeyScopeoptionalstringtag_key_scopeoptionalstrtagKeyScopeoptionalStringTagKeyScopeoptionalstringTagKeyScopeoptional*string #A key is a general label that acts like a category for more specific tag values.
tagValueScopeoptionalstringtag_value_scopeoptionalstrtagValueScopeoptionalStringTagValueScopeoptionalstringTagValueScopeoptional*string #A value acts as a descriptor within a tag category (key).