# CfnRouteServerPropagationProps

Properties for defining a `CfnRouteServerPropagation`.

Used as props by: [CfnRouteServerPropagation](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2.CfnRouteServerPropagation.html)

- Source: Generated at build time
- Type last changed: v2.188.0 · 4 Apr 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
const cfnRouteServerPropagationProps: ec2.CfnRouteServerPropagationProps = {
  routeServerId: 'routeServerId',
  routeTableId: 'routeTableId',
};
```

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_ec2 as ec2

cfn_route_server_propagation_props = ec2.CfnRouteServerPropagationProps(
    route_server_id="routeServerId",
    route_table_id="routeTableId"
)
```

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.ec2.*;

CfnRouteServerPropagationProps cfnRouteServerPropagationProps = CfnRouteServerPropagationProps.builder()
        .routeServerId("routeServerId")
        .routeTableId("routeTableId")
        .build();
```

C# / .NET:

```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.EC2;

var cfnRouteServerPropagationProps = new CfnRouteServerPropagationProps {
    RouteServerId = "routeServerId",
    RouteTableId = "routeTableId"
};
```

Golang:

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

cfnRouteServerPropagationProps := &CfnRouteServerPropagationProps{
	RouteServerId: jsii.String("routeServerId"),
	RouteTableId: jsii.String("routeTableId"),
}
```

## Properties

- `routeServerId`: string (required) — The ID of the route server configured for route propagation.

- `routeTableId`: string (required) — The ID of the route table configured for route server propagation.
