@Generated(value="jsii-pacmak/1.46.0 (build cd08c55)", date="2021-11-25T20:11:08.022Z") @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()
`AWS::SSM::PatchBaseline.ApprovalRules`.
|
default List<String> |
getApprovedPatches()
`AWS::SSM::PatchBaseline.ApprovedPatches`.
|
default String |
getApprovedPatchesComplianceLevel()
`AWS::SSM::PatchBaseline.ApprovedPatchesComplianceLevel`.
|
default Object |
getApprovedPatchesEnableNonSecurity()
`AWS::SSM::PatchBaseline.ApprovedPatchesEnableNonSecurity`.
|
default String |
getDescription()
`AWS::SSM::PatchBaseline.Description`.
|
default Object |
getGlobalFilters()
`AWS::SSM::PatchBaseline.GlobalFilters`.
|
String |
getName()
`AWS::SSM::PatchBaseline.Name`.
|
default String |
getOperatingSystem()
`AWS::SSM::PatchBaseline.OperatingSystem`.
|
default List<String> |
getPatchGroups()
`AWS::SSM::PatchBaseline.PatchGroups`.
|
default List<String> |
getRejectedPatches()
`AWS::SSM::PatchBaseline.RejectedPatches`.
|
default String |
getRejectedPatchesAction()
`AWS::SSM::PatchBaseline.RejectedPatchesAction`.
|
default Object |
getSources()
`AWS::SSM::PatchBaseline.Sources`.
|
default List<CfnTag> |
getTags()
`AWS::SSM::PatchBaseline.Tags`.
|
@Stability(value=Stable) @Nullable default Object getApprovalRules()
@Stability(value=Stable) @Nullable default List<String> getApprovedPatches()
@Stability(value=Stable) @Nullable default String getApprovedPatchesComplianceLevel()
@Stability(value=Stable) @Nullable default Object getApprovedPatchesEnableNonSecurity()
@Stability(value=Stable) @Nullable default String getDescription()
@Stability(value=Stable) @Nullable default Object getGlobalFilters()
@Stability(value=Stable) @NotNull String getName()
@Stability(value=Stable) @Nullable default String getOperatingSystem()
@Stability(value=Stable) @Nullable default List<String> getPatchGroups()
@Stability(value=Stable) @Nullable default List<String> getRejectedPatches()
@Stability(value=Stable) @Nullable default String getRejectedPatchesAction()
@Stability(value=Stable) @Nullable default Object getSources()
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
@Stability(value=Stable) static CfnPatchBaselineProps.Builder builder()
CfnPatchBaselineProps.Builder of CfnPatchBaselinePropsCopyright © 2021. All rights reserved.