# InputWhitelistRuleProperty

Whitelist rule.

- Source: Generated at build time
- Type last changed: v2.275.0 · 26 Oct 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_medialive as medialive } from 'aws-cdk-lib';
const inputWhitelistRuleProperty: medialive.CfnInputSecurityGroup.InputWhitelistRuleProperty = {
  cidr: 'cidr',
};
```

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_medialive as medialive

input_whitelist_rule_property = medialive.CfnInputSecurityGroup.InputWhitelistRuleProperty(
    cidr="cidr"
)
```

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

InputWhitelistRuleProperty inputWhitelistRuleProperty = InputWhitelistRuleProperty.builder()
        .cidr("cidr")
        .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.MediaLive;

var inputWhitelistRuleProperty = new InputWhitelistRuleProperty {
    Cidr = "cidr"
};
```

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"

inputWhitelistRuleProperty := &InputWhitelistRuleProperty{
	Cidr: jsii.String("cidr"),
}
```

## Properties

- `cidr`: string — The IPv4 CIDR that's whitelisted.
