Interface CfnPatchBaseline.PatchSourceProperty

All Superinterfaces:
All Known Implementing Classes:
Enclosing class:

@Stability(Stable) public static interface CfnPatchBaseline.PatchSourceProperty extends
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 instances only.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 PatchSourceProperty patchSourceProperty = PatchSourceProperty.builder()
  • Method Details

    • getConfiguration

      @Stability(Stable) @Nullable default String getConfiguration()
      The value of the yum repo configuration. For example:.





      For information about other options available for your yum repository configuration, see dnf.conf(5) .

    • getName

      @Stability(Stable) @Nullable default String getName()
      The name specified to identify the patch source.
    • getProducts

      @Stability(Stable) @Nullable 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". For lists of supported product values, see PatchFilter in the AWS Systems Manager API Reference .
    • builder

      @Stability(Stable) static CfnPatchBaseline.PatchSourceProperty.Builder builder()
      a CfnPatchBaseline.PatchSourceProperty.Builder of CfnPatchBaseline.PatchSourceProperty