class CfnPatchBaselinePropsMixin
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.SSM.Mixins.CfnPatchBaselinePropsMixin |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsssm/mixins#CfnPatchBaselinePropsMixin |
Java | software.amazon.awscdk.mixins.preview.services.ssm.mixins.CfnPatchBaselinePropsMixin |
Python | aws_cdk.mixins_preview.aws_ssm.mixins.CfnPatchBaselinePropsMixin |
TypeScript | @aws-cdk/mixins-preview » aws_ssm » mixins » CfnPatchBaselinePropsMixin |
Implements
IMixin
Extends
Mixin
The AWS::SSM::PatchBaseline resource defines the basic information for an AWS Systems Manager patch baseline.
A patch baseline defines which patches are approved for installation on your instances.
For more information, see CreatePatchBaseline in the AWS Systems Manager API Reference .
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-patchbaseline.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins } from '@aws-cdk/mixins-preview';
import { mixins as ssm_mixins } from '@aws-cdk/mixins-preview/aws-ssm';
const cfnPatchBaselinePropsMixin = new ssm_mixins.CfnPatchBaselinePropsMixin({
approvalRules: {
patchRules: [{
approveAfterDays: 123,
approveUntilDate: 'approveUntilDate',
complianceLevel: 'complianceLevel',
enableNonSecurity: false,
patchFilterGroup: {
patchFilters: [{
key: 'key',
values: ['values'],
}],
},
}],
},
approvedPatches: ['approvedPatches'],
approvedPatchesComplianceLevel: 'approvedPatchesComplianceLevel',
approvedPatchesEnableNonSecurity: false,
availableSecurityUpdatesComplianceStatus: 'availableSecurityUpdatesComplianceStatus',
defaultBaseline: false,
description: 'description',
globalFilters: {
patchFilters: [{
key: 'key',
values: ['values'],
}],
},
name: 'name',
operatingSystem: 'operatingSystem',
patchGroups: ['patchGroups'],
rejectedPatches: ['rejectedPatches'],
rejectedPatchesAction: 'rejectedPatchesAction',
sources: [{
configuration: 'configuration',
name: 'name',
products: ['products'],
}],
tags: [{
key: 'key',
value: 'value',
}],
}, /* all optional props */ {
strategy: mixins.PropertyMergeStrategy.OVERRIDE,
});
Initializer
new CfnPatchBaselinePropsMixin(props: CfnPatchBaselineMixinProps, options?: CfnPropertyMixinOptions)
Parameters
- props
Cfn— L1 properties to apply.Patch Baseline Mixin Props - options
Cfn— Mixin options.Property Mixin Options
Create a mixin to apply properties to AWS::SSM::PatchBaseline.
Properties
| Name | Type | Description |
|---|---|---|
| props | Cfn | |
| strategy | Property | |
| static CFN_PROPERTY_KEYS | string[] |
props
Type:
Cfn
strategy
Type:
Property
static CFN_PROPERTY_KEYS
Type:
string[]
Methods
| Name | Description |
|---|---|
| apply | Apply the mixin properties to the construct. |
| supports(construct) | Check if this mixin supports the given construct. |
applyTo(construct)
public applyTo(construct: IConstruct): IConstruct
Parameters
- construct
IConstruct
Returns
Apply the mixin properties to the construct.
supports(construct)
public supports(construct: IConstruct): boolean
Parameters
- construct
IConstruct
Returns
boolean
Check if this mixin supports the given construct.

.NET
Go
Java
Python
TypeScript