Interface CfnOrganizationConfigRuleProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnOrganizationConfigRuleProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.110.0 (build 336b265)",
date="2025-04-22T23:08:09.722Z")
@Stability(Stable)
public interface CfnOrganizationConfigRuleProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnOrganizationConfigRule.
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.*;
CfnOrganizationConfigRuleProps cfnOrganizationConfigRuleProps = CfnOrganizationConfigRuleProps.builder()
.organizationConfigRuleName("organizationConfigRuleName")
// the properties below are optional
.excludedAccounts(List.of("excludedAccounts"))
.organizationCustomPolicyRuleMetadata(OrganizationCustomPolicyRuleMetadataProperty.builder()
.policyText("policyText")
.runtime("runtime")
// the properties below are optional
.debugLogDeliveryAccounts(List.of("debugLogDeliveryAccounts"))
.description("description")
.inputParameters("inputParameters")
.maximumExecutionFrequency("maximumExecutionFrequency")
.organizationConfigRuleTriggerTypes(List.of("organizationConfigRuleTriggerTypes"))
.resourceIdScope("resourceIdScope")
.resourceTypesScope(List.of("resourceTypesScope"))
.tagKeyScope("tagKeyScope")
.tagValueScope("tagValueScope")
.build())
.organizationCustomRuleMetadata(OrganizationCustomRuleMetadataProperty.builder()
.lambdaFunctionArn("lambdaFunctionArn")
.organizationConfigRuleTriggerTypes(List.of("organizationConfigRuleTriggerTypes"))
// the properties below are optional
.description("description")
.inputParameters("inputParameters")
.maximumExecutionFrequency("maximumExecutionFrequency")
.resourceIdScope("resourceIdScope")
.resourceTypesScope(List.of("resourceTypesScope"))
.tagKeyScope("tagKeyScope")
.tagValueScope("tagValueScope")
.build())
.organizationManagedRuleMetadata(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())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnOrganizationConfigRulePropsstatic final classAn implementation forCfnOrganizationConfigRuleProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()A comma-separated list of accounts excluded from organization AWS Config rule.The name that you assign to organization AWS Config rule.default ObjectAn object that specifies metadata for your organization's AWS Config Custom Policy rule.default ObjectAnOrganizationCustomRuleMetadataobject.default ObjectAnOrganizationManagedRuleMetadataobject.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getOrganizationConfigRuleName
The name that you assign to organization AWS Config rule.- See Also:
-
getExcludedAccounts
A comma-separated list of accounts excluded from organization AWS Config rule.- See Also:
-
getOrganizationCustomPolicyRuleMetadata
An object that specifies metadata for your organization's AWS Config Custom Policy rule.The metadata includes the runtime system in use, which accounts have debug logging enabled, and other custom rule metadata, such as resource type, resource ID of AWS resource, and organization trigger types that initiate AWS Config to evaluate AWS resources against a rule.
- See Also:
-
getOrganizationCustomRuleMetadata
AnOrganizationCustomRuleMetadataobject.- See Also:
-
getOrganizationManagedRuleMetadata
AnOrganizationManagedRuleMetadataobject.- See Also:
-
builder
-