Package com.pulumi.aws.cfg
Class OrganizationCustomPolicyRuleArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.cfg.OrganizationCustomPolicyRuleArgs.Builder
-
- Enclosing class:
- OrganizationCustomPolicyRuleArgs
public static final class OrganizationCustomPolicyRuleArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(OrganizationCustomPolicyRuleArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(OrganizationCustomPolicyRuleArgs defaults)
-
-
Method Detail
-
debugLogDeliveryAccounts
public OrganizationCustomPolicyRuleArgs.Builder debugLogDeliveryAccounts(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> debugLogDeliveryAccounts)
- Parameters:
debugLogDeliveryAccounts
- List of AWS account identifiers to exclude from the rule- Returns:
- builder
-
debugLogDeliveryAccounts
public OrganizationCustomPolicyRuleArgs.Builder debugLogDeliveryAccounts(java.util.List<java.lang.String> debugLogDeliveryAccounts)
- Parameters:
debugLogDeliveryAccounts
- List of AWS account identifiers to exclude from the rule- Returns:
- builder
-
debugLogDeliveryAccounts
public OrganizationCustomPolicyRuleArgs.Builder debugLogDeliveryAccounts(java.lang.String... debugLogDeliveryAccounts)
- Parameters:
debugLogDeliveryAccounts
- List of AWS account identifiers to exclude from the rule- Returns:
- builder
-
description
public OrganizationCustomPolicyRuleArgs.Builder description(@Nullable com.pulumi.core.Output<java.lang.String> description)
- Parameters:
description
- Description of the rule- Returns:
- builder
-
description
public OrganizationCustomPolicyRuleArgs.Builder description(java.lang.String description)
- Parameters:
description
- Description of the rule- Returns:
- builder
-
excludedAccounts
public OrganizationCustomPolicyRuleArgs.Builder excludedAccounts(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> excludedAccounts)
- Parameters:
excludedAccounts
- List of AWS account identifiers to exclude from the rule- Returns:
- builder
-
excludedAccounts
public OrganizationCustomPolicyRuleArgs.Builder excludedAccounts(java.util.List<java.lang.String> excludedAccounts)
- Parameters:
excludedAccounts
- List of AWS account identifiers to exclude from the rule- Returns:
- builder
-
excludedAccounts
public OrganizationCustomPolicyRuleArgs.Builder excludedAccounts(java.lang.String... excludedAccounts)
- Parameters:
excludedAccounts
- List of AWS account identifiers to exclude from the rule- Returns:
- builder
-
inputParameters
public OrganizationCustomPolicyRuleArgs.Builder inputParameters(@Nullable com.pulumi.core.Output<java.lang.String> inputParameters)
- Parameters:
inputParameters
- A string in JSON format that is passed to the AWS Config Rule Lambda Function- Returns:
- builder
-
inputParameters
public OrganizationCustomPolicyRuleArgs.Builder inputParameters(java.lang.String inputParameters)
- Parameters:
inputParameters
- A string in JSON format that is passed to the AWS Config Rule Lambda Function- Returns:
- builder
-
maximumExecutionFrequency
public OrganizationCustomPolicyRuleArgs.Builder maximumExecutionFrequency(@Nullable com.pulumi.core.Output<java.lang.String> maximumExecutionFrequency)
- Parameters:
maximumExecutionFrequency
- Maximum frequency with which AWS Config runs evaluations for a rule, if the rule is triggered at a periodic frequency. Defaults to `TwentyFour_Hours` for periodic frequency triggered rules. Valid values: `One_Hour`, `Three_Hours`, `Six_Hours`, `Twelve_Hours`, or `TwentyFour_Hours`.- Returns:
- builder
-
maximumExecutionFrequency
public OrganizationCustomPolicyRuleArgs.Builder maximumExecutionFrequency(java.lang.String maximumExecutionFrequency)
- Parameters:
maximumExecutionFrequency
- Maximum frequency with which AWS Config runs evaluations for a rule, if the rule is triggered at a periodic frequency. Defaults to `TwentyFour_Hours` for periodic frequency triggered rules. Valid values: `One_Hour`, `Three_Hours`, `Six_Hours`, `Twelve_Hours`, or `TwentyFour_Hours`.- Returns:
- builder
-
name
public OrganizationCustomPolicyRuleArgs.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name
- name of the rule- Returns:
- builder
-
name
public OrganizationCustomPolicyRuleArgs.Builder name(java.lang.String name)
- Parameters:
name
- name of the rule- Returns:
- builder
-
policyRuntime
public OrganizationCustomPolicyRuleArgs.Builder policyRuntime(com.pulumi.core.Output<java.lang.String> policyRuntime)
- Parameters:
policyRuntime
- runtime system for your organization AWS Config Custom Policy rules- Returns:
- builder
-
policyRuntime
public OrganizationCustomPolicyRuleArgs.Builder policyRuntime(java.lang.String policyRuntime)
- Parameters:
policyRuntime
- runtime system for your organization AWS Config Custom Policy rules- Returns:
- builder
-
policyText
public OrganizationCustomPolicyRuleArgs.Builder policyText(com.pulumi.core.Output<java.lang.String> policyText)
- Parameters:
policyText
- policy definition containing the logic for your organization AWS Config Custom Policy rule- Returns:
- builder
-
policyText
public OrganizationCustomPolicyRuleArgs.Builder policyText(java.lang.String policyText)
- Parameters:
policyText
- policy definition containing the logic for your organization AWS Config Custom Policy rule- Returns:
- builder
-
resourceIdScope
public OrganizationCustomPolicyRuleArgs.Builder resourceIdScope(@Nullable com.pulumi.core.Output<java.lang.String> resourceIdScope)
- Parameters:
resourceIdScope
- Identifier of the AWS resource to evaluate- Returns:
- builder
-
resourceIdScope
public OrganizationCustomPolicyRuleArgs.Builder resourceIdScope(java.lang.String resourceIdScope)
- Parameters:
resourceIdScope
- Identifier of the AWS resource to evaluate- Returns:
- builder
-
resourceTypesScopes
public OrganizationCustomPolicyRuleArgs.Builder resourceTypesScopes(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> resourceTypesScopes)
- Parameters:
resourceTypesScopes
- List of types of AWS resources to evaluate- Returns:
- builder
-
resourceTypesScopes
public OrganizationCustomPolicyRuleArgs.Builder resourceTypesScopes(java.util.List<java.lang.String> resourceTypesScopes)
- Parameters:
resourceTypesScopes
- List of types of AWS resources to evaluate- Returns:
- builder
-
resourceTypesScopes
public OrganizationCustomPolicyRuleArgs.Builder resourceTypesScopes(java.lang.String... resourceTypesScopes)
- Parameters:
resourceTypesScopes
- List of types of AWS resources to evaluate- Returns:
- builder
-
tagKeyScope
public OrganizationCustomPolicyRuleArgs.Builder tagKeyScope(@Nullable com.pulumi.core.Output<java.lang.String> tagKeyScope)
- Parameters:
tagKeyScope
- Tag key of AWS resources to evaluate- Returns:
- builder
-
tagKeyScope
public OrganizationCustomPolicyRuleArgs.Builder tagKeyScope(java.lang.String tagKeyScope)
- Parameters:
tagKeyScope
- Tag key of AWS resources to evaluate- Returns:
- builder
-
tagValueScope
public OrganizationCustomPolicyRuleArgs.Builder tagValueScope(@Nullable com.pulumi.core.Output<java.lang.String> tagValueScope)
- Parameters:
tagValueScope
- Tag value of AWS resources to evaluate- Returns:
- builder
-
tagValueScope
public OrganizationCustomPolicyRuleArgs.Builder tagValueScope(java.lang.String tagValueScope)
- Parameters:
tagValueScope
- Tag value of AWS resources to evaluate- Returns:
- builder
-
triggerTypes
public OrganizationCustomPolicyRuleArgs.Builder triggerTypes(com.pulumi.core.Output<java.util.List<java.lang.String>> triggerTypes)
- Parameters:
triggerTypes
- List of notification types that trigger AWS Config to run an evaluation for the rule. Valid values: `ConfigurationItemChangeNotification`, `OversizedConfigurationItemChangeNotification` The following arguments are optional:- Returns:
- builder
-
triggerTypes
public OrganizationCustomPolicyRuleArgs.Builder triggerTypes(java.util.List<java.lang.String> triggerTypes)
- Parameters:
triggerTypes
- List of notification types that trigger AWS Config to run an evaluation for the rule. Valid values: `ConfigurationItemChangeNotification`, `OversizedConfigurationItemChangeNotification` The following arguments are optional:- Returns:
- builder
-
triggerTypes
public OrganizationCustomPolicyRuleArgs.Builder triggerTypes(java.lang.String... triggerTypes)
- Parameters:
triggerTypes
- List of notification types that trigger AWS Config to run an evaluation for the rule. Valid values: `ConfigurationItemChangeNotification`, `OversizedConfigurationItemChangeNotification` The following arguments are optional:- Returns:
- builder
-
build
public OrganizationCustomPolicyRuleArgs build()
-
-