# PublicSourceEndpointNetworkingConfigurationProperty

The networking configuration for a publicly accessible source 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 publicSourceEndpointNetworkingConfigurationProperty: mediaconnect.CfnSourceEndpoint.PublicSourceEndpointNetworkingConfigurationProperty = {
  sourceAllowRules: [{
    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_source_endpoint_networking_configuration_property = mediaconnect.CfnSourceEndpoint.PublicSourceEndpointNetworkingConfigurationProperty(
    source_allow_rules=[mediaconnect.CfnSourceEndpoint.PublicSourceEndpointNetworkingConfigurationAllowRuleProperty(
        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.*;

PublicSourceEndpointNetworkingConfigurationProperty publicSourceEndpointNetworkingConfigurationProperty = PublicSourceEndpointNetworkingConfigurationProperty.builder()
        .sourceAllowRules(List.of(PublicSourceEndpointNetworkingConfigurationAllowRuleProperty.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 publicSourceEndpointNetworkingConfigurationProperty = new PublicSourceEndpointNetworkingConfigurationProperty {
    SourceAllowRules = new [] { new PublicSourceEndpointNetworkingConfigurationAllowRuleProperty {
        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"

publicSourceEndpointNetworkingConfigurationProperty := &PublicSourceEndpointNetworkingConfigurationProperty{
	SourceAllowRules: []interface{}{
		&PublicSourceEndpointNetworkingConfigurationAllowRuleProperty{
			Cidr: jsii.String("cidr"),
		},
	},
}
```

## Properties

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

  You can specify up to 10 rules.
