# PublicDestinationEndpointNetworkingConfigurationProperty

The networking configuration for a publicly accessible destination endpoint, including the CIDR blocks that are allowed to connect.

- Source: Generated at build time
- Type last changed: v2.276.0 · 10 Nov 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_mediaconnect as mediaconnect } from 'aws-cdk-lib';
const publicDestinationEndpointNetworkingConfigurationProperty: mediaconnect.CfnDestinationEndpoint.PublicDestinationEndpointNetworkingConfigurationProperty = {
  destinationAllowRules: [{
    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_mediaconnect as mediaconnect

public_destination_endpoint_networking_configuration_property = mediaconnect.CfnDestinationEndpoint.PublicDestinationEndpointNetworkingConfigurationProperty(
    destination_allow_rules=[mediaconnect.CfnDestinationEndpoint.PublicDestinationEndpointNetworkingConfigurationAllowRuleProperty(
        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.mediaconnect.*;

PublicDestinationEndpointNetworkingConfigurationProperty publicDestinationEndpointNetworkingConfigurationProperty = PublicDestinationEndpointNetworkingConfigurationProperty.builder()
        .destinationAllowRules(List.of(PublicDestinationEndpointNetworkingConfigurationAllowRuleProperty.builder()
                .cidr("cidr")
                .build()))
        .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.MediaConnect;

var publicDestinationEndpointNetworkingConfigurationProperty = new PublicDestinationEndpointNetworkingConfigurationProperty {
    DestinationAllowRules = new [] { new PublicDestinationEndpointNetworkingConfigurationAllowRuleProperty {
        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"

publicDestinationEndpointNetworkingConfigurationProperty := &PublicDestinationEndpointNetworkingConfigurationProperty{
	DestinationAllowRules: []interface{}{
		&PublicDestinationEndpointNetworkingConfigurationAllowRuleProperty{
			Cidr: jsii.String("cidr"),
		},
	},
}
```

## Properties

- `destinationAllowRules`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDestinationEndpoint.PublicDestinationEndpointNetworkingConfigurationAllowRuleProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_mediaconnect.CfnDestinationEndpoint.PublicDestinationEndpointNetworkingConfigurationAllowRuleProperty.html)[] (required) — The rules that specify which CIDR blocks can connect to the destination endpoint.

  You can specify up to 10 rules.
