Interface CfnOrganizationConfigRule.OrganizationManagedRuleMetadataProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnOrganizationConfigRule.OrganizationManagedRuleMetadataProperty.Jsii$Proxy
- Enclosing class:
CfnOrganizationConfigRule
@Stability(Stable)
public static interface CfnOrganizationConfigRule.OrganizationManagedRuleMetadataProperty
extends software.amazon.jsii.JsiiSerializable
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 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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
static final class
An implementation forCfnOrganizationConfigRule.OrganizationManagedRuleMetadataProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default String
The description that you provide for your organization AWS Config rule.default String
A string, in JSON format, that is passed to your organization AWS Config rule Lambda function.default String
The maximum frequency with which AWS Config runs evaluations for a rule.default String
The ID of the AWS resource that was evaluated.The type of the AWS resource that was evaluated.For organization config managed rules, a predefined identifier from a list.default String
One part of a key-value pair that make up a tag.default String
The optional part of a key-value pair that make up a tag.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getRuleIdentifier
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 . -
getDescription
The description that you provide for your organization AWS Config rule. -
getInputParameters
A string, in JSON format, that is passed to your organization AWS Config rule Lambda function. -
getMaximumExecutionFrequency
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. -
getResourceIdScope
The ID of the AWS resource that was evaluated. -
getResourceTypesScope
The type of the AWS resource that was evaluated. -
getTagKeyScope
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.
-
getTagValueScope
The optional part of a key-value pair that make up a tag.A value acts as a descriptor within a tag category (key).
-
builder
@Stability(Stable) static CfnOrganizationConfigRule.OrganizationManagedRuleMetadataProperty.Builder builder()
-