Class CfnOrganizationConfigRule.OrganizationManagedRuleMetadataProperty.Builder
java.lang.Object
software.amazon.awscdk.services.config.CfnOrganizationConfigRule.OrganizationManagedRuleMetadataProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOrganizationConfigRule.OrganizationManagedRuleMetadataProperty>
- Enclosing interface:
CfnOrganizationConfigRule.OrganizationManagedRuleMetadataProperty
@Stability(Stable)
public static final class CfnOrganizationConfigRule.OrganizationManagedRuleMetadataProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOrganizationConfigRule.OrganizationManagedRuleMetadataProperty>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.description
(String description) inputParameters
(String inputParameters) maximumExecutionFrequency
(String maximumExecutionFrequency) resourceIdScope
(String resourceIdScope) resourceTypesScope
(List<String> resourceTypesScope) ruleIdentifier
(String ruleIdentifier) tagKeyScope
(String tagKeyScope) tagValueScope
(String tagValueScope)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
ruleIdentifier
@Stability(Stable) public CfnOrganizationConfigRule.OrganizationManagedRuleMetadataProperty.Builder ruleIdentifier(String ruleIdentifier) Sets the value ofCfnOrganizationConfigRule.OrganizationManagedRuleMetadataProperty.getRuleIdentifier()
- Parameters:
ruleIdentifier
- For organization config managed rules, a predefined identifier from a list. This parameter is required. For example,IAM_PASSWORD_POLICY
is a managed rule. To reference a managed rule, see Using AWS Config managed rules .- Returns:
this
-
description
@Stability(Stable) public CfnOrganizationConfigRule.OrganizationManagedRuleMetadataProperty.Builder description(String description) Sets the value ofCfnOrganizationConfigRule.OrganizationManagedRuleMetadataProperty.getDescription()
- Parameters:
description
- The description that you provide for your organization AWS Config rule.- Returns:
this
-
inputParameters
@Stability(Stable) public CfnOrganizationConfigRule.OrganizationManagedRuleMetadataProperty.Builder inputParameters(String inputParameters) Sets the value ofCfnOrganizationConfigRule.OrganizationManagedRuleMetadataProperty.getInputParameters()
- Parameters:
inputParameters
- A string, in JSON format, that is passed to your organization AWS Config rule Lambda function.- Returns:
this
-
maximumExecutionFrequency
@Stability(Stable) public CfnOrganizationConfigRule.OrganizationManagedRuleMetadataProperty.Builder maximumExecutionFrequency(String maximumExecutionFrequency) Sets the value ofCfnOrganizationConfigRule.OrganizationManagedRuleMetadataProperty.getMaximumExecutionFrequency()
- Parameters:
maximumExecutionFrequency
- 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.- Returns:
this
-
resourceIdScope
@Stability(Stable) public CfnOrganizationConfigRule.OrganizationManagedRuleMetadataProperty.Builder resourceIdScope(String resourceIdScope) Sets the value ofCfnOrganizationConfigRule.OrganizationManagedRuleMetadataProperty.getResourceIdScope()
- Parameters:
resourceIdScope
- The ID of the AWS resource that was evaluated.- Returns:
this
-
resourceTypesScope
@Stability(Stable) public CfnOrganizationConfigRule.OrganizationManagedRuleMetadataProperty.Builder resourceTypesScope(List<String> resourceTypesScope) Sets the value ofCfnOrganizationConfigRule.OrganizationManagedRuleMetadataProperty.getResourceTypesScope()
- Parameters:
resourceTypesScope
- The type of the AWS resource that was evaluated.- Returns:
this
-
tagKeyScope
@Stability(Stable) public CfnOrganizationConfigRule.OrganizationManagedRuleMetadataProperty.Builder tagKeyScope(String tagKeyScope) Sets the value ofCfnOrganizationConfigRule.OrganizationManagedRuleMetadataProperty.getTagKeyScope()
- Parameters:
tagKeyScope
- 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.- Returns:
this
-
tagValueScope
@Stability(Stable) public CfnOrganizationConfigRule.OrganizationManagedRuleMetadataProperty.Builder tagValueScope(String tagValueScope) Sets the value ofCfnOrganizationConfigRule.OrganizationManagedRuleMetadataProperty.getTagValueScope()
- Parameters:
tagValueScope
- The optional part of a key-value pair that make up a tag. A value acts as a descriptor within a tag category (key).- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnOrganizationConfigRule.OrganizationManagedRuleMetadataProperty>
- Returns:
- a new instance of
CfnOrganizationConfigRule.OrganizationManagedRuleMetadataProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-