Package com.pulumi.aws.ssm.inputs
Class PatchBaselineApprovalRuleArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.ssm.inputs.PatchBaselineApprovalRuleArgs.Builder
-
- Enclosing class:
- PatchBaselineApprovalRuleArgs
public static final class PatchBaselineApprovalRuleArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(PatchBaselineApprovalRuleArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(PatchBaselineApprovalRuleArgs defaults)
-
-
Method Detail
-
approveAfterDays
public PatchBaselineApprovalRuleArgs.Builder approveAfterDays(@Nullable com.pulumi.core.Output<java.lang.Integer> approveAfterDays)
- Parameters:
approveAfterDays- Number of days after the release date of each patch matched by the rule the patch is marked as approved in the patch baseline. Valid Range: 0 to 360. Conflicts with `approveUntilDate`.- Returns:
- builder
-
approveAfterDays
public PatchBaselineApprovalRuleArgs.Builder approveAfterDays(java.lang.Integer approveAfterDays)
- Parameters:
approveAfterDays- Number of days after the release date of each patch matched by the rule the patch is marked as approved in the patch baseline. Valid Range: 0 to 360. Conflicts with `approveUntilDate`.- Returns:
- builder
-
approveUntilDate
public PatchBaselineApprovalRuleArgs.Builder approveUntilDate(@Nullable com.pulumi.core.Output<java.lang.String> approveUntilDate)
- Parameters:
approveUntilDate- Cutoff date for auto approval of released patches. Any patches released on or before this date are installed automatically. Date is formatted as `YYYY-MM-DD`. Conflicts with `approveAfterDays`- Returns:
- builder
-
approveUntilDate
public PatchBaselineApprovalRuleArgs.Builder approveUntilDate(java.lang.String approveUntilDate)
- Parameters:
approveUntilDate- Cutoff date for auto approval of released patches. Any patches released on or before this date are installed automatically. Date is formatted as `YYYY-MM-DD`. Conflicts with `approveAfterDays`- Returns:
- builder
-
complianceLevel
public PatchBaselineApprovalRuleArgs.Builder complianceLevel(@Nullable com.pulumi.core.Output<java.lang.String> complianceLevel)
- Parameters:
complianceLevel- Compliance level for patches approved by this rule. Valid values are `CRITICAL`, `HIGH`, `MEDIUM`, `LOW`, `INFORMATIONAL`, and `UNSPECIFIED`. The default value is `UNSPECIFIED`.- Returns:
- builder
-
complianceLevel
public PatchBaselineApprovalRuleArgs.Builder complianceLevel(java.lang.String complianceLevel)
- Parameters:
complianceLevel- Compliance level for patches approved by this rule. Valid values are `CRITICAL`, `HIGH`, `MEDIUM`, `LOW`, `INFORMATIONAL`, and `UNSPECIFIED`. The default value is `UNSPECIFIED`.- Returns:
- builder
-
enableNonSecurity
public PatchBaselineApprovalRuleArgs.Builder enableNonSecurity(@Nullable com.pulumi.core.Output<java.lang.Boolean> enableNonSecurity)
- Parameters:
enableNonSecurity- Boolean enabling the application of non-security updates. The default value is `false`. Valid for Linux instances only.- Returns:
- builder
-
enableNonSecurity
public PatchBaselineApprovalRuleArgs.Builder enableNonSecurity(java.lang.Boolean enableNonSecurity)
- Parameters:
enableNonSecurity- Boolean enabling the application of non-security updates. The default value is `false`. Valid for Linux instances only.- Returns:
- builder
-
patchFilters
public PatchBaselineApprovalRuleArgs.Builder patchFilters(com.pulumi.core.Output<java.util.List<PatchBaselineApprovalRulePatchFilterArgs>> patchFilters)
- Parameters:
patchFilters- Patch filter group that defines the criteria for the rule. Up to 5 patch filters can be specified per approval rule using Key/Value pairs. Valid combinations of these Keys and the `operatingSystem` value can be found in the [SSM DescribePatchProperties API Reference](https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_DescribePatchProperties.html). Valid Values are exact values for the patch property given as the key, or a wildcard `*`, which matches all values. `PATCH_SET` defaults to `OS` if unspecified- Returns:
- builder
-
patchFilters
public PatchBaselineApprovalRuleArgs.Builder patchFilters(java.util.List<PatchBaselineApprovalRulePatchFilterArgs> patchFilters)
- Parameters:
patchFilters- Patch filter group that defines the criteria for the rule. Up to 5 patch filters can be specified per approval rule using Key/Value pairs. Valid combinations of these Keys and the `operatingSystem` value can be found in the [SSM DescribePatchProperties API Reference](https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_DescribePatchProperties.html). Valid Values are exact values for the patch property given as the key, or a wildcard `*`, which matches all values. `PATCH_SET` defaults to `OS` if unspecified- Returns:
- builder
-
patchFilters
public PatchBaselineApprovalRuleArgs.Builder patchFilters(PatchBaselineApprovalRulePatchFilterArgs... patchFilters)
- Parameters:
patchFilters- Patch filter group that defines the criteria for the rule. Up to 5 patch filters can be specified per approval rule using Key/Value pairs. Valid combinations of these Keys and the `operatingSystem` value can be found in the [SSM DescribePatchProperties API Reference](https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_DescribePatchProperties.html). Valid Values are exact values for the patch property given as the key, or a wildcard `*`, which matches all values. `PATCH_SET` defaults to `OS` if unspecified- Returns:
- builder
-
build
public PatchBaselineApprovalRuleArgs build()
-
-