![]() |
![]()
| ![]() |
![]()
NAMEPaws::SSM::CreatePatchBaseline - Arguments for method CreatePatchBaseline on Paws::SSM DESCRIPTIONThis class represents the parameters used for calling the method CreatePatchBaseline on the Amazon Simple Systems Manager (SSM) service. Use the attributes of this class as arguments to method CreatePatchBaseline. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreatePatchBaseline. SYNOPSISmy $ssm = Paws->service('SSM'); my $CreatePatchBaselineResult = $ssm->CreatePatchBaseline( Name => 'MyBaselineName', ApprovalRules => { PatchRules => [ { PatchFilterGroup => { PatchFilters => [ { Key => 'ARCH' , # values: ARCH, ADVISORY_ID, BUGZILLA_ID, PATCH_SET, PRODUCT, PRODUCT_FAMILY, CLASSIFICATION, CVE_ID, EPOCH, MSRC_SEVERITY, NAME, PATCH_ID, SECTION, PRIORITY, REPOSITORY, RELEASE, SEVERITY, SECURITY, VERSION Values => [ 'MyPatchFilterValue', ... # min: 1, max: 64 ], # min: 1, max: 20 }, ... ], # max: 4 }, ApproveAfterDays => 1, # max: 360; OPTIONAL ApproveUntilDate => 'MyPatchStringDateTime', # min: 1, max: 10; OPTIONAL ComplianceLevel => 'CRITICAL' , # values: CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED; OPTIONAL EnableNonSecurity => 1, # OPTIONAL }, ... ], # max: 10 }, # OPTIONAL ApprovedPatches => [ 'MyPatchId', ... # min: 1, max: 100 ], # OPTIONAL ApprovedPatchesComplianceLevel => 'CRITICAL', # OPTIONAL ApprovedPatchesEnableNonSecurity => 1, # OPTIONAL ClientToken => 'MyClientToken', # OPTIONAL Description => 'MyBaselineDescription', # OPTIONAL GlobalFilters => { PatchFilters => [ { Key => 'ARCH' , # values: ARCH, ADVISORY_ID, BUGZILLA_ID, PATCH_SET, PRODUCT, PRODUCT_FAMILY, CLASSIFICATION, CVE_ID, EPOCH, MSRC_SEVERITY, NAME, PATCH_ID, SECTION, PRIORITY, REPOSITORY, RELEASE, SEVERITY, SECURITY, VERSION Values => [ 'MyPatchFilterValue', ... # min: 1, max: 64 ], # min: 1, max: 20 }, ... ], # max: 4 }, # OPTIONAL OperatingSystem => 'WINDOWS', # OPTIONAL RejectedPatches => [ 'MyPatchId', ... # min: 1, max: 100 ], # OPTIONAL RejectedPatchesAction => 'ALLOW_AS_DEPENDENCY', # OPTIONAL Sources => [ { Configuration => 'MyPatchSourceConfiguration', # min: 1, max: 1024 Name => 'MyPatchSourceName', Products => [ 'MyPatchSourceProduct', ... # min: 1, max: 128 ], # min: 1, max: 20 }, ... ], # OPTIONAL Tags => [ { Key => 'MyTagKey', # min: 1, max: 128 Value => 'MyTagValue', # min: 1, max: 256 }, ... ], # OPTIONAL ); # Results: my $BaselineId = $CreatePatchBaselineResult->BaselineId; # Returns a L<Paws::SSM::CreatePatchBaselineResult> object. Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see <https://docs.aws.amazon.com/goto/WebAPI/ssm/CreatePatchBaseline> ATTRIBUTESApprovalRules => Paws::SSM::PatchRuleGroupA set of rules used to include patches in the baseline. ApprovedPatches => ArrayRef[Str|Undef]A list of explicitly approved patches for the baseline. For information about accepted formats for lists of approved patches and rejected patches, see About package name formats for approved and rejected patch lists (https://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-approved-rejected-package-name-formats.html) in the AWS Systems Manager User Guide. ApprovedPatchesComplianceLevel => StrDefines the compliance level for approved patches. When an approved patch is reported as missing, this value describes the severity of the compliance violation. The default value is UNSPECIFIED. Valid values are: "CRITICAL", "HIGH", "MEDIUM", "LOW", "INFORMATIONAL", "UNSPECIFIED" ApprovedPatchesEnableNonSecurity => BoolIndicates whether the list of approved patches includes non-security updates that should be applied to the instances. The default value is 'false'. Applies to Linux instances only. ClientToken => StrUser-provided idempotency token. Description => StrA description of the patch baseline. GlobalFilters => Paws::SSM::PatchFilterGroupA set of global filters used to include patches in the baseline. REQUIRED Name => StrThe name of the patch baseline. OperatingSystem => StrDefines the operating system the patch baseline applies to. The Default value is WINDOWS. Valid values are: "WINDOWS", "AMAZON_LINUX", "AMAZON_LINUX_2", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE", "CENTOS", "ORACLE_LINUX", "DEBIAN", "MACOS" RejectedPatches => ArrayRef[Str|Undef]A list of explicitly rejected patches for the baseline. For information about accepted formats for lists of approved patches and rejected patches, see About package name formats for approved and rejected patch lists (https://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-approved-rejected-package-name-formats.html) in the AWS Systems Manager User Guide. RejectedPatchesAction => StrThe action for Patch Manager to take on patches included in the RejectedPackages list.
Valid values are: "ALLOW_AS_DEPENDENCY", "BLOCK" Sources => ArrayRef[Paws::SSM::PatchSource]Information about the patches to use to update the instances, including target operating systems and source repositories. Applies to Linux instances only. Tags => ArrayRef[Paws::SSM::Tag]Optional metadata that you assign to a resource. Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For example, you might want to tag a patch baseline to identify the severity level of patches it specifies and the operating system family it applies to. In this case, you could specify the following key name/value pairs:
To add tags to an existing patch baseline, use the AddTagsToResource action. SEE ALSOThis class forms part of Paws, documenting arguments for method CreatePatchBaseline in Paws::SSM BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|