PublicDestinationEndpointNetworkingConfigurationProperty Struct Added in v2.276.0
The networking configuration for a publicly accessible destination 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 publicDestinationEndpointNetworkingConfigurationProperty: mediaconnect.CfnDestinationEndpoint.PublicDestinationEndpointNetworkingConfigurationProperty = {
destinationAllowRules: [{
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_destination_endpoint_networking_configuration_property = mediaconnect.CfnDestinationEndpoint.PublicDestinationEndpointNetworkingConfigurationProperty(
destination_allow_rules=[mediaconnect.CfnDestinationEndpoint.PublicDestinationEndpointNetworkingConfigurationAllowRuleProperty(
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.*;
PublicDestinationEndpointNetworkingConfigurationProperty publicDestinationEndpointNetworkingConfigurationProperty = PublicDestinationEndpointNetworkingConfigurationProperty.builder()
.destinationAllowRules(List.of(PublicDestinationEndpointNetworkingConfigurationAllowRuleProperty.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 publicDestinationEndpointNetworkingConfigurationProperty = new PublicDestinationEndpointNetworkingConfigurationProperty {
DestinationAllowRules = new [] { new PublicDestinationEndpointNetworkingConfigurationAllowRuleProperty {
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"
publicDestinationEndpointNetworkingConfigurationProperty := &PublicDestinationEndpointNetworkingConfigurationProperty{
DestinationAllowRules: []interface{}{
&PublicDestinationEndpointNetworkingConfigurationAllowRuleProperty{
Cidr: jsii.String("cidr"),
},
},
}
Properties
destinationAllowRulesIResolvable | IResolvable | CfnDestinationEndpoint.PublicDestinationEndpointNetworkingConfigurationAllowRuleProperty[]destination_allow_rulestyping.Union[IResolvable, typing.List[typing.Union[IResolvable, PublicDestinationEndpointNetworkingConfigurationAllowRuleProperty]]]destinationAllowRulesIResolvableDestinationAllowRulesIResolvableDestinationAllowRulesinterface{}required#The rules that specify which CIDR blocks can connect to the destination endpoint.
You can specify up to 10 rules.