# PatchFilterGroupProperty

Struct · External

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](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-patchbaseline.html) resource and the `PatchFilterGroup` property of the [Rule](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-patchbaseline-rule.html) property type.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```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:

```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:

```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();
```

C#:

```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:

```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

- `patchFilters`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnPatchBaseline.PatchFilterProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ssm.CfnPatchBaseline.PatchFilterProperty.html)[] — The set of patch filters that make up the group.
