PatchFilterGroupProperty Struct
The PatchFilterGroup property type specifies a set of patch filters for an AWS Systems Manager patch baseline, typically used for approval rules for a Systems Manager patch baseline.
PatchFilterGroup is the property type for the GlobalFilters property of the AWS::SSM::PatchBaseline resource and the PatchFilterGroup property of the Rule property type.
| Source | |
|---|---|
| Type last changed |
Example
ts
// 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 patchFilterGroupProperty: ssm.CfnPatchBaseline.PatchFilterGroupProperty = {
patchFilters: [{
key: 'key',
values: ['values'],
}],
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ssm as ssm
patch_filter_group_property = ssm.CfnPatchBaseline.PatchFilterGroupProperty(
patch_filters=[ssm.CfnPatchBaseline.PatchFilterProperty(
key="key",
values=["values"]
)]
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ssm.*;
PatchFilterGroupProperty patchFilterGroupProperty = PatchFilterGroupProperty.builder()
.patchFilters(List.of(PatchFilterProperty.builder()
.key("key")
.values(List.of("values"))
.build()))
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SSM;
var patchFilterGroupProperty = new PatchFilterGroupProperty {
PatchFilters = new [] { new PatchFilterProperty {
Key = "key",
Values = new [] { "values" }
} }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
patchFilterGroupProperty := &PatchFilterGroupProperty{
PatchFilters: []interface{}{
&PatchFilterProperty{
Key: jsii.String("key"),
Values: []*string{
jsii.String("values"),
},
},
},
}
Properties
patchFiltersoptionalIResolvable | IResolvable | CfnPatchBaseline.patch_filtersoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, PatchFilterProperty]]]patchFiltersoptionalIResolvablePatchFiltersoptionalIResolvablePatchFiltersoptionalinterface{} #The set of patch filters that make up the group.