Interface CfnPatchBaseline.PatchSourceProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPatchBaseline.PatchSourceProperty.Jsii$Proxy
- Enclosing class:
CfnPatchBaseline
PatchSource is the property type for the Sources resource of the AWS::SSM::PatchBaseline resource.
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 managed nodes 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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnPatchBaseline.PatchSourcePropertystatic final classAn implementation forCfnPatchBaseline.PatchSourceProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe value of the repo configuration.default StringgetName()The name specified to identify the patch source.The specific operating system versions a patch repository applies to, such as "Ubuntu16.04", "RedhatEnterpriseLinux7.2" or "Suse12.7".Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getConfiguration
The value of the repo configuration.Example for yum repositories
[main]name=MyCustomRepositorybaseurl=https://my-custom-repositoryenabled=1For information about other options available for your yum repository configuration, see dnf.conf(5) on the man7.org website.
Examples for Ubuntu Server and Debian Server
deb http://security.ubuntu.com/ubuntu jammy maindeb https://site.example.com/debian distribution component1 component2 component3Repo information for Ubuntu Server repositories must be specifed in a single line. For more examples and information, see jammy (5) sources.list.5.gz on the Ubuntu Server Manuals website and sources.list format on the Debian Wiki .
- See Also:
-
getName
The name specified to identify the patch source.- See Also:
-
getProducts
The specific operating system versions a patch repository applies to, such as "Ubuntu16.04", "RedhatEnterpriseLinux7.2" or "Suse12.7". For lists of supported product values, see PatchFilter in the AWS Systems Manager API Reference .- See Also:
-
builder
-