Skip to content
v2.276.0

PublicSourceEndpointNetworkingConfigurationProperty Struct Added in v2.276.0 ​

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

Example ​

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
# 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
// 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();
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"
    } }
};
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 ​

sourceAllowRulesIResolvable | IResolvable | CfnSourceEndpoint.PublicSourceEndpointNetworkingConfigurationAllowRuleProperty[]source_allow_rulestyping.Union[IResolvable, typing.List[typing.Union[IResolvable, PublicSourceEndpointNetworkingConfigurationAllowRuleProperty]]]sourceAllowRulesIResolvableSourceAllowRulesIResolvableSourceAllowRulesinterface{}required#
The rules that specify which CIDR blocks can connect to the source endpoint.

You can specify up to 10 rules.