PublicSourceEndpointNetworkingConfigurationAllowRuleProperty Struct Added in v2.276.0
A rule that allows a specific CIDR block to connect to the public source endpoint.
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 publicSourceEndpointNetworkingConfigurationAllowRuleProperty: mediaconnect.CfnSourceEndpoint.PublicSourceEndpointNetworkingConfigurationAllowRuleProperty = {
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_allow_rule_property = 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.*;
PublicSourceEndpointNetworkingConfigurationAllowRuleProperty publicSourceEndpointNetworkingConfigurationAllowRuleProperty = PublicSourceEndpointNetworkingConfigurationAllowRuleProperty.builder()
.cidr("cidr")
.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 publicSourceEndpointNetworkingConfigurationAllowRuleProperty = 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"
publicSourceEndpointNetworkingConfigurationAllowRuleProperty := &PublicSourceEndpointNetworkingConfigurationAllowRuleProperty{
Cidr: jsii.String("cidr"),
}
Properties
The CIDR block that is allowed to connect to the source endpoint, in CIDR notation.