@Generated(value="jsii-pacmak/1.71.0 (build f1f58ae)", date="2022-12-07T17:24:39.790Z") @Stability(value=Stable) public interface CfnPatchBaselineProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ssm.*;
CfnPatchBaselineProps cfnPatchBaselineProps = CfnPatchBaselineProps.builder()
.name("name")
// the properties below are optional
.approvalRules(RuleGroupProperty.builder()
.patchRules(List.of(RuleProperty.builder()
.approveAfterDays(123)
.approveUntilDate("approveUntilDate")
.complianceLevel("complianceLevel")
.enableNonSecurity(false)
.patchFilterGroup(PatchFilterGroupProperty.builder()
.patchFilters(List.of(PatchFilterProperty.builder()
.key("key")
.values(List.of("values"))
.build()))
.build())
.build()))
.build())
.approvedPatches(List.of("approvedPatches"))
.approvedPatchesComplianceLevel("approvedPatchesComplianceLevel")
.approvedPatchesEnableNonSecurity(false)
.description("description")
.globalFilters(PatchFilterGroupProperty.builder()
.patchFilters(List.of(PatchFilterProperty.builder()
.key("key")
.values(List.of("values"))
.build()))
.build())
.operatingSystem("operatingSystem")
.patchGroups(List.of("patchGroups"))
.rejectedPatches(List.of("rejectedPatches"))
.rejectedPatchesAction("rejectedPatchesAction")
.sources(List.of(PatchSourceProperty.builder()
.configuration("configuration")
.name("name")
.products(List.of("products"))
.build()))
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnPatchBaselineProps.Builder
A builder for
CfnPatchBaselineProps |
static class |
CfnPatchBaselineProps.Jsii$Proxy
An implementation for
CfnPatchBaselineProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnPatchBaselineProps.Builder |
builder() |
default Object |
getApprovalRules()
A set of rules used to include patches in the baseline.
|
default List<String> |
getApprovedPatches()
A list of explicitly approved patches for the baseline.
|
default String |
getApprovedPatchesComplianceLevel()
Defines the compliance level for approved patches.
|
default Object |
getApprovedPatchesEnableNonSecurity()
Indicates whether the list of approved patches includes non-security updates that should be applied to the managed nodes.
|
default String |
getDescription()
A description of the patch baseline.
|
default Object |
getGlobalFilters()
A set of global filters used to include patches in the baseline.
|
String |
getName()
The name of the patch baseline.
|
default String |
getOperatingSystem()
Defines the operating system the patch baseline applies to.
|
default List<String> |
getPatchGroups()
The name of the patch group to be registered with the patch baseline.
|
default List<String> |
getRejectedPatches()
A list of explicitly rejected patches for the baseline.
|
default String |
getRejectedPatchesAction()
The action for Patch Manager to take on patches included in the `RejectedPackages` list.
|
default Object |
getSources()
Information about the patches to use to update the managed nodes, including target operating systems and source repositories.
|
default List<CfnTag> |
getTags()
Optional metadata that you assign to a resource.
|
@Stability(value=Stable) @NotNull String getName()
@Stability(value=Stable) @Nullable default Object getApprovalRules()
@Stability(value=Stable) @Nullable default List<String> getApprovedPatches()
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 .
@Stability(value=Stable) @Nullable default String getApprovedPatchesComplianceLevel()
When an approved patch is reported as missing, this value describes the severity of the compliance violation. The default value is UNSPECIFIED .
@Stability(value=Stable) @Nullable default Object getApprovedPatchesEnableNonSecurity()
The default value is false . Applies to Linux managed nodes only.
@Stability(value=Stable) @Nullable default String getDescription()
@Stability(value=Stable) @Nullable default Object getGlobalFilters()
@Stability(value=Stable) @Nullable default String getOperatingSystem()
The default value is WINDOWS .
@Stability(value=Stable) @Nullable default List<String> getPatchGroups()
@Stability(value=Stable) @Nullable default List<String> getRejectedPatches()
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 .
@Stability(value=Stable) @Nullable default String getRejectedPatchesAction()
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 .@Stability(value=Stable) @Nullable default Object getSources()
Applies to Linux managed nodes only.
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
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.
@Stability(value=Stable) static CfnPatchBaselineProps.Builder builder()
CfnPatchBaselineProps.Builder of CfnPatchBaselinePropsCopyright © 2022. All rights reserved.