# RewriteConfigObjectProperty

- Source: Generated code
- Type last changed: v2.221.0 · 24 Oct 2025

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_elasticloadbalancingv2 as elbv2 } from 'aws-cdk-lib';
const rewriteConfigObjectProperty: elbv2.CfnListenerRule.RewriteConfigObjectProperty = {
  rewrites: [{
    regex: 'regex',
    replace: 'replace',
  }],
};
```

## Properties

- `rewrites`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnListenerRule.RewriteConfigProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_elasticloadbalancingv2.CfnListenerRule.RewriteConfigProperty.html)[] (required)
