@Stability(value=Stable)
public static interface CfnOrganizationConfigRule.OrganizationManagedRuleMetadataProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnOrganizationConfigRule.OrganizationManagedRuleMetadataProperty.Builder
|
static class |
CfnOrganizationConfigRule.OrganizationManagedRuleMetadataProperty.Jsii$Proxy
An implementation for
CfnOrganizationConfigRule.OrganizationManagedRuleMetadataProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnOrganizationConfigRule.OrganizationManagedRuleMetadataProperty.Builder |
builder() |
default String |
getDescription()
The description that you provide for your organization AWS Config rule.
|
default String |
getInputParameters()
A string, in JSON format, that is passed to your organization AWS Config rule Lambda function.
|
default String |
getMaximumExecutionFrequency()
The maximum frequency with which AWS Config runs evaluations for a rule.
|
default String |
getResourceIdScope()
The ID of the AWS resource that was evaluated.
|
default List<String> |
getResourceTypesScope()
The type of the AWS resource that was evaluated.
|
String |
getRuleIdentifier()
For organization config managed rules, a predefined identifier from a list.
|
default String |
getTagKeyScope()
One part of a key-value pair that make up a tag.
|
default String |
getTagValueScope()
The optional part of a key-value pair that make up a tag.
|
@Stability(value=Stable) @NotNull String getRuleIdentifier()
For example, IAM_PASSWORD_POLICY is a managed rule. To reference a managed rule, see Using AWS Config managed rules .
@Stability(value=Stable) @Nullable default String getDescription()
@Stability(value=Stable) @Nullable default String getInputParameters()
@Stability(value=Stable) @Nullable default String getMaximumExecutionFrequency()
You are using 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.
@Stability(value=Stable) @Nullable default String getResourceIdScope()
@Stability(value=Stable) @Nullable default List<String> getResourceTypesScope()
@Stability(value=Stable) @Nullable default String getTagKeyScope()
A key is a general label that acts like a category for more specific tag values.
@Stability(value=Stable) @Nullable default String getTagValueScope()
A value acts as a descriptor within a tag category (key).
@Stability(value=Stable) static CfnOrganizationConfigRule.OrganizationManagedRuleMetadataProperty.Builder builder()
Copyright © 2022. All rights reserved.