@Stability(value=Stable) public static final class CfnPatchBaselineProps.Builder extends Object implements software.amazon.jsii.Builder<CfnPatchBaselineProps>
CfnPatchBaselineProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnPatchBaselineProps.Builder name(String name)
CfnPatchBaselineProps.getName()name - The name of the patch baseline. This parameter is required.this@Stability(value=Stable) public CfnPatchBaselineProps.Builder approvalRules(IResolvable approvalRules)
CfnPatchBaselineProps.getApprovalRules()approvalRules - A set of rules used to include patches in the baseline.this@Stability(value=Stable) public CfnPatchBaselineProps.Builder approvalRules(CfnPatchBaseline.RuleGroupProperty approvalRules)
CfnPatchBaselineProps.getApprovalRules()approvalRules - A set of rules used to include patches in the baseline.this@Stability(value=Stable) public CfnPatchBaselineProps.Builder approvedPatches(List<String> approvedPatches)
CfnPatchBaselineProps.getApprovedPatches()approvedPatches - A list of explicitly approved patches for the baseline.
For information about accepted formats for lists of approved patches and rejected patches, see About package name formats for approved and rejected patch lists in the AWS Systems Manager User Guide .this@Stability(value=Stable) public CfnPatchBaselineProps.Builder approvedPatchesComplianceLevel(String approvedPatchesComplianceLevel)
CfnPatchBaselineProps.getApprovedPatchesComplianceLevel()approvedPatchesComplianceLevel - Defines the compliance level for approved patches.
When an approved patch is reported as missing, this value describes the severity of the compliance violation. The default value is UNSPECIFIED .this@Stability(value=Stable) public CfnPatchBaselineProps.Builder approvedPatchesEnableNonSecurity(Boolean approvedPatchesEnableNonSecurity)
CfnPatchBaselineProps.getApprovedPatchesEnableNonSecurity()approvedPatchesEnableNonSecurity - Indicates whether the list of approved patches includes non-security updates that should be applied to the managed nodes.
The default value is false . Applies to Linux managed nodes only.this@Stability(value=Stable) public CfnPatchBaselineProps.Builder approvedPatchesEnableNonSecurity(IResolvable approvedPatchesEnableNonSecurity)
CfnPatchBaselineProps.getApprovedPatchesEnableNonSecurity()approvedPatchesEnableNonSecurity - Indicates whether the list of approved patches includes non-security updates that should be applied to the managed nodes.
The default value is false . Applies to Linux managed nodes only.this@Stability(value=Stable) public CfnPatchBaselineProps.Builder description(String description)
CfnPatchBaselineProps.getDescription()description - A description of the patch baseline.this@Stability(value=Stable) public CfnPatchBaselineProps.Builder globalFilters(IResolvable globalFilters)
CfnPatchBaselineProps.getGlobalFilters()globalFilters - A set of global filters used to include patches in the baseline.this@Stability(value=Stable) public CfnPatchBaselineProps.Builder globalFilters(CfnPatchBaseline.PatchFilterGroupProperty globalFilters)
CfnPatchBaselineProps.getGlobalFilters()globalFilters - A set of global filters used to include patches in the baseline.this@Stability(value=Stable) public CfnPatchBaselineProps.Builder operatingSystem(String operatingSystem)
CfnPatchBaselineProps.getOperatingSystem()operatingSystem - Defines the operating system the patch baseline applies to.
The default value is WINDOWS .this@Stability(value=Stable) public CfnPatchBaselineProps.Builder patchGroups(List<String> patchGroups)
CfnPatchBaselineProps.getPatchGroups()patchGroups - The name of the patch group to be registered with the patch baseline.this@Stability(value=Stable) public CfnPatchBaselineProps.Builder rejectedPatches(List<String> rejectedPatches)
CfnPatchBaselineProps.getRejectedPatches()rejectedPatches - A list of explicitly rejected patches for the baseline.
For information about accepted formats for lists of approved patches and rejected patches, see About package name formats for approved and rejected patch lists in the AWS Systems Manager User Guide .this@Stability(value=Stable) public CfnPatchBaselineProps.Builder rejectedPatchesAction(String rejectedPatchesAction)
CfnPatchBaselineProps.getRejectedPatchesAction()rejectedPatchesAction - The action for Patch Manager to take on patches included in the `RejectedPackages` list.
ALLOW_AS_DEPENDENCY : A package in the Rejected patches list is installed only if it is a dependency of another package. It is considered compliant with the patch baseline, and its status is reported as InstalledOther . This is the default action if no option is specified.BLOCK : Packages in the RejectedPatches list, and packages that include them as dependencies, aren't installed under any circumstances. If a package was installed before it was added to the Rejected patches list, it is considered non-compliant with the patch baseline, and its status is reported as InstalledRejected .this@Stability(value=Stable) public CfnPatchBaselineProps.Builder sources(IResolvable sources)
CfnPatchBaselineProps.getSources()sources - Information about the patches to use to update the managed nodes, including target operating systems and source repositories.
Applies to Linux managed nodes only.this@Stability(value=Stable) public CfnPatchBaselineProps.Builder sources(List<? extends Object> sources)
CfnPatchBaselineProps.getSources()sources - Information about the patches to use to update the managed nodes, including target operating systems and source repositories.
Applies to Linux managed nodes only.this@Stability(value=Stable) public CfnPatchBaselineProps.Builder tags(List<? extends CfnTag> tags)
CfnPatchBaselineProps.getTags()tags - Optional metadata that you assign to a resource.
Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For example, you might want to tag a patch baseline to identify the severity level of patches it specifies and the operating system family it applies to.this@Stability(value=Stable) public CfnPatchBaselineProps build()
build in interface software.amazon.jsii.Builder<CfnPatchBaselineProps>CfnPatchBaselinePropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.