Skip to content
v2.278.0

VirtualRouterServiceProviderProperty Struct ​

An object that represents a virtual node service provider.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appmesh as appmesh } from 'aws-cdk-lib';
const virtualRouterServiceProviderProperty: appmesh.CfnVirtualService.VirtualRouterServiceProviderProperty = {
  virtualRouterName: 'virtualRouterName',
};
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_appmesh as appmesh

virtual_router_service_provider_property = appmesh.CfnVirtualService.VirtualRouterServiceProviderProperty(
    virtual_router_name="virtualRouterName"
)
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.appmesh.*;

VirtualRouterServiceProviderProperty virtualRouterServiceProviderProperty = VirtualRouterServiceProviderProperty.builder()
        .virtualRouterName("virtualRouterName")
        .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.AppMesh;

var virtualRouterServiceProviderProperty = new VirtualRouterServiceProviderProperty {
    VirtualRouterName = "virtualRouterName"
};
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"

virtualRouterServiceProviderProperty := &VirtualRouterServiceProviderProperty{
	VirtualRouterName: jsii.String("virtualRouterName"),
}

Properties ​

virtualRouterNamestringvirtual_router_namestrvirtualRouterNameStringVirtualRouterNamestringVirtualRouterName*string required #
The name of the virtual router that is acting as a service provider.