VpcSourceEndpointNetworkingConfigurationProperty Struct Added in v2.276.0
The networking configuration for a source endpoint in a virtual private cloud (VPC).
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 vpcSourceEndpointNetworkingConfigurationProperty: mediaconnect.CfnSourceEndpoint.VpcSourceEndpointNetworkingConfigurationProperty = {
securityGroupIds: ['securityGroupIds'],
subnetId: 'subnetId',
};
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
vpc_source_endpoint_networking_configuration_property = mediaconnect.CfnSourceEndpoint.VpcSourceEndpointNetworkingConfigurationProperty(
security_group_ids=["securityGroupIds"],
subnet_id="subnetId"
)
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.*;
VpcSourceEndpointNetworkingConfigurationProperty vpcSourceEndpointNetworkingConfigurationProperty = VpcSourceEndpointNetworkingConfigurationProperty.builder()
.securityGroupIds(List.of("securityGroupIds"))
.subnetId("subnetId")
.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 vpcSourceEndpointNetworkingConfigurationProperty = new VpcSourceEndpointNetworkingConfigurationProperty {
SecurityGroupIds = new [] { "securityGroupIds" },
SubnetId = "subnetId"
};
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"
vpcSourceEndpointNetworkingConfigurationProperty := &VpcSourceEndpointNetworkingConfigurationProperty{
SecurityGroupIds: []*string{
jsii.String("securityGroupIds"),
},
SubnetId: jsii.String("subnetId"),
}
Properties
securityGroupIdsstring[]security_group_idstyping.List[str]securityGroupIdsList<String>SecurityGroupIdsstring[]SecurityGroupIds*[]*stringrequired#The IDs of the security groups to associate with the source endpoint.
You can specify from 1 to 5 security groups.
The ID of the subnet to use for the source endpoint.