Class CfnOrganizationConfigRule.Builder
java.lang.Object
software.amazon.awscdk.services.config.CfnOrganizationConfigRule.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOrganizationConfigRule>
- Enclosing class:
CfnOrganizationConfigRule
@Stability(Stable)
public static final class CfnOrganizationConfigRule.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOrganizationConfigRule>
A fluent builder for
CfnOrganizationConfigRule
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
excludedAccounts
(List<String> excludedAccounts) A comma-separated list of accounts excluded from organization AWS Config rule.organizationConfigRuleName
(String organizationConfigRuleName) The name that you assign to organization AWS Config rule.organizationCustomPolicyRuleMetadata
(IResolvable organizationCustomPolicyRuleMetadata) An object that specifies metadata for your organization's AWS Config Custom Policy rule.organizationCustomPolicyRuleMetadata
(CfnOrganizationConfigRule.OrganizationCustomPolicyRuleMetadataProperty organizationCustomPolicyRuleMetadata) An object that specifies metadata for your organization's AWS Config Custom Policy rule.organizationCustomRuleMetadata
(IResolvable organizationCustomRuleMetadata) AnOrganizationCustomRuleMetadata
object.organizationCustomRuleMetadata
(CfnOrganizationConfigRule.OrganizationCustomRuleMetadataProperty organizationCustomRuleMetadata) AnOrganizationCustomRuleMetadata
object.organizationManagedRuleMetadata
(IResolvable organizationManagedRuleMetadata) AnOrganizationManagedRuleMetadata
object.organizationManagedRuleMetadata
(CfnOrganizationConfigRule.OrganizationManagedRuleMetadataProperty organizationManagedRuleMetadata) AnOrganizationManagedRuleMetadata
object.
-
Method Details
-
create
@Stability(Stable) public static CfnOrganizationConfigRule.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnOrganizationConfigRule.Builder
.
-
organizationConfigRuleName
@Stability(Stable) public CfnOrganizationConfigRule.Builder organizationConfigRuleName(String organizationConfigRuleName) The name that you assign to organization AWS Config rule.- Parameters:
organizationConfigRuleName
- The name that you assign to organization AWS Config rule. This parameter is required.- Returns:
this
- See Also:
-
excludedAccounts
@Stability(Stable) public CfnOrganizationConfigRule.Builder excludedAccounts(List<String> excludedAccounts) A comma-separated list of accounts excluded from organization AWS Config rule.- Parameters:
excludedAccounts
- A comma-separated list of accounts excluded from organization AWS Config rule. This parameter is required.- Returns:
this
- See Also:
-
organizationCustomPolicyRuleMetadata
@Stability(Stable) public CfnOrganizationConfigRule.Builder organizationCustomPolicyRuleMetadata(IResolvable organizationCustomPolicyRuleMetadata) 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.
- Parameters:
organizationCustomPolicyRuleMetadata
- An object that specifies metadata for your organization's AWS Config Custom Policy rule. This parameter is required.- Returns:
this
- See Also:
-
organizationCustomPolicyRuleMetadata
@Stability(Stable) public CfnOrganizationConfigRule.Builder organizationCustomPolicyRuleMetadata(CfnOrganizationConfigRule.OrganizationCustomPolicyRuleMetadataProperty organizationCustomPolicyRuleMetadata) 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.
- Parameters:
organizationCustomPolicyRuleMetadata
- An object that specifies metadata for your organization's AWS Config Custom Policy rule. This parameter is required.- Returns:
this
- See Also:
-
organizationCustomRuleMetadata
@Stability(Stable) public CfnOrganizationConfigRule.Builder organizationCustomRuleMetadata(IResolvable organizationCustomRuleMetadata) AnOrganizationCustomRuleMetadata
object.- Parameters:
organizationCustomRuleMetadata
- AnOrganizationCustomRuleMetadata
object. This parameter is required.- Returns:
this
- See Also:
-
organizationCustomRuleMetadata
@Stability(Stable) public CfnOrganizationConfigRule.Builder organizationCustomRuleMetadata(CfnOrganizationConfigRule.OrganizationCustomRuleMetadataProperty organizationCustomRuleMetadata) AnOrganizationCustomRuleMetadata
object.- Parameters:
organizationCustomRuleMetadata
- AnOrganizationCustomRuleMetadata
object. This parameter is required.- Returns:
this
- See Also:
-
organizationManagedRuleMetadata
@Stability(Stable) public CfnOrganizationConfigRule.Builder organizationManagedRuleMetadata(IResolvable organizationManagedRuleMetadata) AnOrganizationManagedRuleMetadata
object.- Parameters:
organizationManagedRuleMetadata
- AnOrganizationManagedRuleMetadata
object. This parameter is required.- Returns:
this
- See Also:
-
organizationManagedRuleMetadata
@Stability(Stable) public CfnOrganizationConfigRule.Builder organizationManagedRuleMetadata(CfnOrganizationConfigRule.OrganizationManagedRuleMetadataProperty organizationManagedRuleMetadata) AnOrganizationManagedRuleMetadata
object.- Parameters:
organizationManagedRuleMetadata
- AnOrganizationManagedRuleMetadata
object. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnOrganizationConfigRule>
- Returns:
- a newly built instance of
CfnOrganizationConfigRule
.
-