interface TransformProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.ElasticLoadBalancingV2.CfnListenerRule.TransformProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awselasticloadbalancingv2#CfnListenerRule_TransformProperty |
Java | software.amazon.awscdk.services.elasticloadbalancingv2.CfnListenerRule.TransformProperty |
Python | aws_cdk.aws_elasticloadbalancingv2.CfnListenerRule.TransformProperty |
TypeScript | aws-cdk-lib » aws_elasticloadbalancingv2 » CfnListenerRule » TransformProperty |
Example
// 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 transformProperty: elbv2.CfnListenerRule.TransformProperty = {
type: 'type',
// the properties below are optional
hostHeaderRewriteConfig: {
rewrites: [{
regex: 'regex',
replace: 'replace',
}],
},
urlRewriteConfig: {
rewrites: [{
regex: 'regex',
replace: 'replace',
}],
},
};
Properties
| Name | Type | Description |
|---|---|---|
| type | string | |
| host | IResolvable | Rewrite | |
| url | IResolvable | Rewrite |
type
Type:
string
hostHeaderRewriteConfig?
Type:
IResolvable | Rewrite
(optional)
urlRewriteConfig?
Type:
IResolvable | Rewrite
(optional)

.NET
Go
Java
Python
TypeScript