# CfnSecondaryNetworkProps

Properties for defining a `CfnSecondaryNetwork`.

Extends: CfnSecondaryNetworkProps
Used as props by: CfnSecondaryNetwork

- Source: Generated code
- Type last changed: v2.274.0 · 20 Oct 2026

## Example

```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 cfnSecondaryNetworkProps: ec2.CfnSecondaryNetworkProps = {
  ipv4CidrBlock: 'ipv4CidrBlock',
  networkType: 'networkType',

  // the properties below are optional
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
```

## Properties

- `ipv4CidrBlock`: string (required) — The IPv4 CIDR block for the secondary network.

  The CIDR block size must be between /12 and /28.

- `networkType`: string (required) — The type of secondary network.

- `tags`: [CfnTag](/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — The tags for the secondary network.
