interface PatchSourceProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.SSM.CfnPatchBaseline.PatchSourceProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsssm#CfnPatchBaseline_PatchSourceProperty |
![]() | software.amazon.awscdk.services.ssm.CfnPatchBaseline.PatchSourceProperty |
![]() | aws_cdk.aws_ssm.CfnPatchBaseline.PatchSourceProperty |
![]() | aws-cdk-lib » aws_ssm » CfnPatchBaseline » PatchSourceProperty |
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 { aws_ssm as ssm } from 'aws-cdk-lib';
const patchSourceProperty: ssm.CfnPatchBaseline.PatchSourceProperty = {
configuration: 'configuration',
name: 'name',
products: ['products'],
};
Properties
Name | Type | Description |
---|---|---|
configuration? | string | The value of the yum repo configuration. For example:. |
name? | string | The name specified to identify the patch source. |
products? | string[] | 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 . |
configuration?
Type:
string
(optional)
The value of the yum repo configuration. For example:.
[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) .
name?
Type:
string
(optional)
The name specified to identify the patch source.
products?
Type:
string[]
(optional)
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 .