ServiceNetworkEndpointProperty Struct
The configuration for a service network endpoint.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_odb as odb } from 'aws-cdk-lib';
const serviceNetworkEndpointProperty: odb.CfnOdbNetwork.ServiceNetworkEndpointProperty = {
vpcEndpointId: 'vpcEndpointId',
vpcEndpointType: 'vpcEndpointType',
};
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_odb as odb
service_network_endpoint_property = odb.CfnOdbNetwork.ServiceNetworkEndpointProperty(
vpc_endpoint_id="vpcEndpointId",
vpc_endpoint_type="vpcEndpointType"
)
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.odb.*;
ServiceNetworkEndpointProperty serviceNetworkEndpointProperty = ServiceNetworkEndpointProperty.builder()
.vpcEndpointId("vpcEndpointId")
.vpcEndpointType("vpcEndpointType")
.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.ODB;
var serviceNetworkEndpointProperty = new ServiceNetworkEndpointProperty {
VpcEndpointId = "vpcEndpointId",
VpcEndpointType = "vpcEndpointType"
};
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"
serviceNetworkEndpointProperty := &ServiceNetworkEndpointProperty{
VpcEndpointId: jsii.String("vpcEndpointId"),
VpcEndpointType: jsii.String("vpcEndpointType"),
}
Properties
vpcEndpointIdoptionalstringvpc_endpoint_idoptionalstrvpcEndpointIdoptionalStringVpcEndpointIdoptionalstringVpcEndpointIdoptional*string #The identifier of the VPC endpoint.
vpcEndpointTypeoptionalstringvpc_endpoint_typeoptionalstrvpcEndpointTypeoptionalStringVpcEndpointTypeoptionalstringVpcEndpointTypeoptional*string #The type of the VPC endpoint.