Paws::SSM::GetDeployablePatchSnapshotForInstance - Arguments for method GetDeployablePatchSnapshotForInstance on Paws::SSM
This class represents the parameters used for calling the method GetDeployablePatchSnapshotForInstance on the Amazon Simple Systems Manager (SSM) service. Use the attributes of this class as arguments to method GetDeployablePatchSnapshotForInstance.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetDeployablePatchSnapshotForInstance.
my $ssm = Paws->service('SSM'); my $GetDeployablePatchSnapshotForInstanceResult = $ssm->GetDeployablePatchSnapshotForInstance( InstanceId => 'MyInstanceId', SnapshotId => 'MySnapshotId', BaselineOverride => { 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 ], # max: 50; OPTIONAL ApprovedPatchesComplianceLevel => 'CRITICAL' , # values: CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED; OPTIONAL ApprovedPatchesEnableNonSecurity => 1, # 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 }, OperatingSystem => 'WINDOWS' , # values: WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS; OPTIONAL RejectedPatches => [ 'MyPatchId', ... # min: 1, max: 100 ], # max: 50; OPTIONAL RejectedPatchesAction => 'ALLOW_AS_DEPENDENCY', # values: ALLOW_AS_DEPENDENCY, BLOCK; OPTIONAL Sources => [ { Configuration => 'MyPatchSourceConfiguration', # min: 1, max: 1024 Name => 'MyPatchSourceName', Products => [ 'MyPatchSourceProduct', ... # min: 1, max: 128 ], # min: 1, max: 20 }, ... ], # max: 20; OPTIONAL }, # OPTIONAL ); # Results: my $InstanceId = $GetDeployablePatchSnapshotForInstanceResult->InstanceId; my $Product = $GetDeployablePatchSnapshotForInstanceResult->Product; my $SnapshotDownloadUrl = $GetDeployablePatchSnapshotForInstanceResult->SnapshotDownloadUrl; my $SnapshotId = $GetDeployablePatchSnapshotForInstanceResult->SnapshotId; # Returns a L<Paws::SSM::GetDeployablePatchSnapshotForInstanceResult> 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/GetDeployablePatchSnapshotForInstance
Defines the basic information about a patch baseline override.
The ID of the instance for which the appropriate patch snapshot should be retrieved.
The user-defined snapshot ID.
This class forms part of Paws, documenting arguments for method GetDeployablePatchSnapshotForInstance in Paws::SSM
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
To install Paws, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws
CPAN shell
perl -MCPAN -e shell install Paws
For more information on module installation, please visit the detailed CPAN module installation guide.