@Stability(value=Stable)
public static interface CfnPatchBaseline.PatchSourceProperty
extends software.amazon.jsii.JsiiSerializable
The AWS CloudFormation AWS::SSM::PatchSource resource is used to provide information about the patches to use to update target instances, including target operating systems and source repository. Applies to Linux instances only.
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.*;
PatchSourceProperty patchSourceProperty = PatchSourceProperty.builder()
.configuration("configuration")
.name("name")
.products(List.of("products"))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnPatchBaseline.PatchSourceProperty.Builder
A builder for
CfnPatchBaseline.PatchSourceProperty |
static class |
CfnPatchBaseline.PatchSourceProperty.Jsii$Proxy
An implementation for
CfnPatchBaseline.PatchSourceProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnPatchBaseline.PatchSourceProperty.Builder |
builder() |
default String |
getConfiguration()
The value of the yum repo configuration.
|
default String |
getName()
The name specified to identify the patch source.
|
default List<String> |
getProducts()
The specific operating system versions a patch repository applies to, such as "Ubuntu16.04", "AmazonLinux2016.09", "RedhatEnterpriseLinux7.2" or "Suse12.7".
|
@Stability(value=Stable) @Nullable default String getConfiguration()
[main]
name=MyCustomRepository
baseurl=https://my-custom-repository
enabled=1
For information about other options available for your yum repository configuration, see dnf.conf(5) .
@Stability(value=Stable) @Nullable default String getName()
@Stability(value=Stable) @Nullable default List<String> getProducts()
@Stability(value=Stable) static CfnPatchBaseline.PatchSourceProperty.Builder builder()
Copyright © 2022. All rights reserved.