VirtualNode
Provides an AWS App Mesh virtual node resource.
Breaking Changes
Because of backward incompatible API changes (read here), aws.appmesh.VirtualNode resource definitions created with provider versions earlier than v2.3.0 will need to be modified:
Rename the
service_nameattribute of thednsobject tohostname.Replace the
backendsattribute of thespecobject with one or morebackendconfiguration blocks, settingvirtual_service_nameto the name of the service.
The state associated with existing resources will automatically be migrated.
Example Usage
Basic
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var serviceb1 = new Aws.AppMesh.VirtualNode("serviceb1", new Aws.AppMesh.VirtualNodeArgs
{
MeshName = aws_appmesh_mesh.Simple.Id,
Spec = new Aws.AppMesh.Inputs.VirtualNodeSpecArgs
{
Backends =
{
new Aws.AppMesh.Inputs.VirtualNodeSpecBackendArgs
{
VirtualService = new Aws.AppMesh.Inputs.VirtualNodeSpecBackendVirtualServiceArgs
{
VirtualServiceName = "servicea.simpleapp.local",
},
},
},
Listener = new Aws.AppMesh.Inputs.VirtualNodeSpecListenerArgs
{
PortMapping = new Aws.AppMesh.Inputs.VirtualNodeSpecListenerPortMappingArgs
{
Port = 8080,
Protocol = "http",
},
},
ServiceDiscovery = new Aws.AppMesh.Inputs.VirtualNodeSpecServiceDiscoveryArgs
{
Dns = new Aws.AppMesh.Inputs.VirtualNodeSpecServiceDiscoveryDnsArgs
{
Hostname = "serviceb.simpleapp.local",
},
},
},
});
}
}
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/appmesh"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := appmesh.NewVirtualNode(ctx, "serviceb1", &appmesh.VirtualNodeArgs{
MeshName: pulumi.String(aws_appmesh_mesh.Simple.Id),
Spec: &appmesh.VirtualNodeSpecArgs{
Backends: appmesh.VirtualNodeSpecBackendArray{
&appmesh.VirtualNodeSpecBackendArgs{
VirtualService: &appmesh.VirtualNodeSpecBackendVirtualServiceArgs{
VirtualServiceName: pulumi.String("servicea.simpleapp.local"),
},
},
},
Listener: &appmesh.VirtualNodeSpecListenerArgs{
PortMapping: &appmesh.VirtualNodeSpecListenerPortMappingArgs{
Port: pulumi.Int(8080),
Protocol: pulumi.String("http"),
},
},
ServiceDiscovery: &appmesh.VirtualNodeSpecServiceDiscoveryArgs{
Dns: &appmesh.VirtualNodeSpecServiceDiscoveryDnsArgs{
Hostname: pulumi.String("serviceb.simpleapp.local"),
},
},
},
})
if err != nil {
return err
}
return nil
})
}import pulumi
import pulumi_aws as aws
serviceb1 = aws.appmesh.VirtualNode("serviceb1",
mesh_name=aws_appmesh_mesh["simple"]["id"],
spec={
"backends": [{
"virtualService": {
"virtualServiceName": "servicea.simpleapp.local",
},
}],
"listener": {
"portMapping": {
"port": 8080,
"protocol": "http",
},
},
"serviceDiscovery": {
"dns": {
"hostname": "serviceb.simpleapp.local",
},
},
})import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const serviceb1 = new aws.appmesh.VirtualNode("serviceb1", {
meshName: aws_appmesh_mesh_simple.id,
spec: {
backends: [{
virtualService: {
virtualServiceName: "servicea.simpleapp.local",
},
}],
listener: {
portMapping: {
port: 8080,
protocol: "http",
},
},
serviceDiscovery: {
dns: {
hostname: "serviceb.simpleapp.local",
},
},
},
});AWS Cloud Map Service Discovery
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var example = new Aws.ServiceDiscovery.HttpNamespace("example", new Aws.ServiceDiscovery.HttpNamespaceArgs
{
});
var serviceb1 = new Aws.AppMesh.VirtualNode("serviceb1", new Aws.AppMesh.VirtualNodeArgs
{
MeshName = aws_appmesh_mesh.Simple.Id,
Spec = new Aws.AppMesh.Inputs.VirtualNodeSpecArgs
{
Backends =
{
new Aws.AppMesh.Inputs.VirtualNodeSpecBackendArgs
{
VirtualService = new Aws.AppMesh.Inputs.VirtualNodeSpecBackendVirtualServiceArgs
{
VirtualServiceName = "servicea.simpleapp.local",
},
},
},
Listener = new Aws.AppMesh.Inputs.VirtualNodeSpecListenerArgs
{
PortMapping = new Aws.AppMesh.Inputs.VirtualNodeSpecListenerPortMappingArgs
{
Port = 8080,
Protocol = "http",
},
},
ServiceDiscovery = new Aws.AppMesh.Inputs.VirtualNodeSpecServiceDiscoveryArgs
{
AwsCloudMap = new Aws.AppMesh.Inputs.VirtualNodeSpecServiceDiscoveryAwsCloudMapArgs
{
Attributes =
{
{ "stack", "blue" },
},
NamespaceName = example.Name,
ServiceName = "serviceb1",
},
},
},
});
}
}
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/appmesh"
"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/servicediscovery"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := servicediscovery.NewHttpNamespace(ctx, "example", nil)
if err != nil {
return err
}
_, err = appmesh.NewVirtualNode(ctx, "serviceb1", &appmesh.VirtualNodeArgs{
MeshName: pulumi.String(aws_appmesh_mesh.Simple.Id),
Spec: &appmesh.VirtualNodeSpecArgs{
Backends: appmesh.VirtualNodeSpecBackendArray{
&appmesh.VirtualNodeSpecBackendArgs{
VirtualService: &appmesh.VirtualNodeSpecBackendVirtualServiceArgs{
VirtualServiceName: pulumi.String("servicea.simpleapp.local"),
},
},
},
Listener: &appmesh.VirtualNodeSpecListenerArgs{
PortMapping: &appmesh.VirtualNodeSpecListenerPortMappingArgs{
Port: pulumi.Int(8080),
Protocol: pulumi.String("http"),
},
},
ServiceDiscovery: &appmesh.VirtualNodeSpecServiceDiscoveryArgs{
AwsCloudMap: &appmesh.VirtualNodeSpecServiceDiscoveryAwsCloudMapArgs{
Attributes: pulumi.StringMap{
"stack": pulumi.String("blue"),
},
NamespaceName: example.Name,
ServiceName: pulumi.String("serviceb1"),
},
},
},
})
if err != nil {
return err
}
return nil
})
}import pulumi
import pulumi_aws as aws
example = aws.servicediscovery.HttpNamespace("example")
serviceb1 = aws.appmesh.VirtualNode("serviceb1",
mesh_name=aws_appmesh_mesh["simple"]["id"],
spec={
"backends": [{
"virtualService": {
"virtualServiceName": "servicea.simpleapp.local",
},
}],
"listener": {
"portMapping": {
"port": 8080,
"protocol": "http",
},
},
"serviceDiscovery": {
"awsCloudMap": {
"attributes": {
"stack": "blue",
},
"namespaceName": example.name,
"service_name": "serviceb1",
},
},
})import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.servicediscovery.HttpNamespace("example", {});
const serviceb1 = new aws.appmesh.VirtualNode("serviceb1", {
meshName: aws_appmesh_mesh_simple.id,
spec: {
backends: [{
virtualService: {
virtualServiceName: "servicea.simpleapp.local",
},
}],
listener: {
portMapping: {
port: 8080,
protocol: "http",
},
},
serviceDiscovery: {
awsCloudMap: {
attributes: {
stack: "blue",
},
namespaceName: example.name,
serviceName: "serviceb1",
},
},
},
});Listener Health Check
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var serviceb1 = new Aws.AppMesh.VirtualNode("serviceb1", new Aws.AppMesh.VirtualNodeArgs
{
MeshName = aws_appmesh_mesh.Simple.Id,
Spec = new Aws.AppMesh.Inputs.VirtualNodeSpecArgs
{
Backends =
{
new Aws.AppMesh.Inputs.VirtualNodeSpecBackendArgs
{
VirtualService = new Aws.AppMesh.Inputs.VirtualNodeSpecBackendVirtualServiceArgs
{
VirtualServiceName = "servicea.simpleapp.local",
},
},
},
Listener = new Aws.AppMesh.Inputs.VirtualNodeSpecListenerArgs
{
HealthCheck = new Aws.AppMesh.Inputs.VirtualNodeSpecListenerHealthCheckArgs
{
HealthyThreshold = 2,
IntervalMillis = 5000,
Path = "/ping",
Protocol = "http",
TimeoutMillis = 2000,
UnhealthyThreshold = 2,
},
PortMapping = new Aws.AppMesh.Inputs.VirtualNodeSpecListenerPortMappingArgs
{
Port = 8080,
Protocol = "http",
},
},
ServiceDiscovery = new Aws.AppMesh.Inputs.VirtualNodeSpecServiceDiscoveryArgs
{
Dns = new Aws.AppMesh.Inputs.VirtualNodeSpecServiceDiscoveryDnsArgs
{
Hostname = "serviceb.simpleapp.local",
},
},
},
});
}
}
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/appmesh"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := appmesh.NewVirtualNode(ctx, "serviceb1", &appmesh.VirtualNodeArgs{
MeshName: pulumi.String(aws_appmesh_mesh.Simple.Id),
Spec: &appmesh.VirtualNodeSpecArgs{
Backends: appmesh.VirtualNodeSpecBackendArray{
&appmesh.VirtualNodeSpecBackendArgs{
VirtualService: &appmesh.VirtualNodeSpecBackendVirtualServiceArgs{
VirtualServiceName: pulumi.String("servicea.simpleapp.local"),
},
},
},
Listener: &appmesh.VirtualNodeSpecListenerArgs{
HealthCheck: &appmesh.VirtualNodeSpecListenerHealthCheckArgs{
HealthyThreshold: pulumi.Int(2),
IntervalMillis: pulumi.Int(5000),
Path: pulumi.String("/ping"),
Protocol: pulumi.String("http"),
TimeoutMillis: pulumi.Int(2000),
UnhealthyThreshold: pulumi.Int(2),
},
PortMapping: &appmesh.VirtualNodeSpecListenerPortMappingArgs{
Port: pulumi.Int(8080),
Protocol: pulumi.String("http"),
},
},
ServiceDiscovery: &appmesh.VirtualNodeSpecServiceDiscoveryArgs{
Dns: &appmesh.VirtualNodeSpecServiceDiscoveryDnsArgs{
Hostname: pulumi.String("serviceb.simpleapp.local"),
},
},
},
})
if err != nil {
return err
}
return nil
})
}import pulumi
import pulumi_aws as aws
serviceb1 = aws.appmesh.VirtualNode("serviceb1",
mesh_name=aws_appmesh_mesh["simple"]["id"],
spec={
"backends": [{
"virtualService": {
"virtualServiceName": "servicea.simpleapp.local",
},
}],
"listener": {
"health_check": {
"healthyThreshold": 2,
"intervalMillis": 5000,
"path": "/ping",
"protocol": "http",
"timeoutMillis": 2000,
"unhealthyThreshold": 2,
},
"portMapping": {
"port": 8080,
"protocol": "http",
},
},
"serviceDiscovery": {
"dns": {
"hostname": "serviceb.simpleapp.local",
},
},
})import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const serviceb1 = new aws.appmesh.VirtualNode("serviceb1", {
meshName: aws_appmesh_mesh_simple.id,
spec: {
backends: [{
virtualService: {
virtualServiceName: "servicea.simpleapp.local",
},
}],
listener: {
healthCheck: {
healthyThreshold: 2,
intervalMillis: 5000,
path: "/ping",
protocol: "http",
timeoutMillis: 2000,
unhealthyThreshold: 2,
},
portMapping: {
port: 8080,
protocol: "http",
},
},
serviceDiscovery: {
dns: {
hostname: "serviceb.simpleapp.local",
},
},
},
});Logging
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var serviceb1 = new Aws.AppMesh.VirtualNode("serviceb1", new Aws.AppMesh.VirtualNodeArgs
{
MeshName = aws_appmesh_mesh.Simple.Id,
Spec = new Aws.AppMesh.Inputs.VirtualNodeSpecArgs
{
Backends =
{
new Aws.AppMesh.Inputs.VirtualNodeSpecBackendArgs
{
VirtualService = new Aws.AppMesh.Inputs.VirtualNodeSpecBackendVirtualServiceArgs
{
VirtualServiceName = "servicea.simpleapp.local",
},
},
},
Listener = new Aws.AppMesh.Inputs.VirtualNodeSpecListenerArgs
{
PortMapping = new Aws.AppMesh.Inputs.VirtualNodeSpecListenerPortMappingArgs
{
Port = 8080,
Protocol = "http",
},
},
Logging = new Aws.AppMesh.Inputs.VirtualNodeSpecLoggingArgs
{
AccessLog = new Aws.AppMesh.Inputs.VirtualNodeSpecLoggingAccessLogArgs
{
File = new Aws.AppMesh.Inputs.VirtualNodeSpecLoggingAccessLogFileArgs
{
Path = "/dev/stdout",
},
},
},
ServiceDiscovery = new Aws.AppMesh.Inputs.VirtualNodeSpecServiceDiscoveryArgs
{
Dns = new Aws.AppMesh.Inputs.VirtualNodeSpecServiceDiscoveryDnsArgs
{
Hostname = "serviceb.simpleapp.local",
},
},
},
});
}
}
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/appmesh"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := appmesh.NewVirtualNode(ctx, "serviceb1", &appmesh.VirtualNodeArgs{
MeshName: pulumi.String(aws_appmesh_mesh.Simple.Id),
Spec: &appmesh.VirtualNodeSpecArgs{
Backends: appmesh.VirtualNodeSpecBackendArray{
&appmesh.VirtualNodeSpecBackendArgs{
VirtualService: &appmesh.VirtualNodeSpecBackendVirtualServiceArgs{
VirtualServiceName: pulumi.String("servicea.simpleapp.local"),
},
},
},
Listener: &appmesh.VirtualNodeSpecListenerArgs{
PortMapping: &appmesh.VirtualNodeSpecListenerPortMappingArgs{
Port: pulumi.Int(8080),
Protocol: pulumi.String("http"),
},
},
Logging: &appmesh.VirtualNodeSpecLoggingArgs{
AccessLog: &appmesh.VirtualNodeSpecLoggingAccessLogArgs{
File: &appmesh.VirtualNodeSpecLoggingAccessLogFileArgs{
Path: pulumi.String("/dev/stdout"),
},
},
},
ServiceDiscovery: &appmesh.VirtualNodeSpecServiceDiscoveryArgs{
Dns: &appmesh.VirtualNodeSpecServiceDiscoveryDnsArgs{
Hostname: pulumi.String("serviceb.simpleapp.local"),
},
},
},
})
if err != nil {
return err
}
return nil
})
}import pulumi
import pulumi_aws as aws
serviceb1 = aws.appmesh.VirtualNode("serviceb1",
mesh_name=aws_appmesh_mesh["simple"]["id"],
spec={
"backends": [{
"virtualService": {
"virtualServiceName": "servicea.simpleapp.local",
},
}],
"listener": {
"portMapping": {
"port": 8080,
"protocol": "http",
},
},
"logging": {
"accessLog": {
"file": {
"path": "/dev/stdout",
},
},
},
"serviceDiscovery": {
"dns": {
"hostname": "serviceb.simpleapp.local",
},
},
})import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const serviceb1 = new aws.appmesh.VirtualNode("serviceb1", {
meshName: aws_appmesh_mesh_simple.id,
spec: {
backends: [{
virtualService: {
virtualServiceName: "servicea.simpleapp.local",
},
}],
listener: {
portMapping: {
port: 8080,
protocol: "http",
},
},
logging: {
accessLog: {
file: {
path: "/dev/stdout",
},
},
},
serviceDiscovery: {
dns: {
hostname: "serviceb.simpleapp.local",
},
},
},
});Create a VirtualNode Resource
new VirtualNode(name: string, args: VirtualNodeArgs, opts?: CustomResourceOptions);def VirtualNode(resource_name, opts=None, mesh_name=None, name=None, spec=None, tags=None, __props__=None);func NewVirtualNode(ctx *Context, name string, args VirtualNodeArgs, opts ...ResourceOption) (*VirtualNode, error)public VirtualNode(string name, VirtualNodeArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args VirtualNodeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args VirtualNodeArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VirtualNodeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
VirtualNode Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The VirtualNode resource accepts the following input properties:
Outputs
All input properties are implicitly available as output properties. Additionally, the VirtualNode resource produces the following output properties:
- Arn string
The ARN of the virtual node.
- Created
Date string The creation date of the virtual node.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Updated stringDate The last update date of the virtual node.
- Arn string
The ARN of the virtual node.
- Created
Date string The creation date of the virtual node.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Updated stringDate The last update date of the virtual node.
- arn string
The ARN of the virtual node.
- created
Date string The creation date of the virtual node.
- id string
- The provider-assigned unique ID for this managed resource.
- last
Updated stringDate The last update date of the virtual node.
- arn str
The ARN of the virtual node.
- created_
date str The creation date of the virtual node.
- id str
- The provider-assigned unique ID for this managed resource.
- last_
updated_ strdate The last update date of the virtual node.
Look up an Existing VirtualNode Resource
Get an existing VirtualNode resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: VirtualNodeState, opts?: CustomResourceOptions): VirtualNodestatic get(resource_name, id, opts=None, arn=None, created_date=None, last_updated_date=None, mesh_name=None, name=None, spec=None, tags=None, __props__=None);func GetVirtualNode(ctx *Context, name string, id IDInput, state *VirtualNodeState, opts ...ResourceOption) (*VirtualNode, error)public static VirtualNode Get(string name, Input<string> id, VirtualNodeState? state, CustomResourceOptions? opts = null)- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
The following state arguments are supported:
- Arn string
The ARN of the virtual node.
- Created
Date string The creation date of the virtual node.
- Last
Updated stringDate The last update date of the virtual node.
- Mesh
Name string The name of the service mesh in which to create the virtual node.
- Name string
The name to use for the virtual node.
- Spec
Virtual
Node Spec Args The virtual node specification to apply.
- Dictionary<string, string>
A map of tags to assign to the resource.
- Arn string
The ARN of the virtual node.
- Created
Date string The creation date of the virtual node.
- Last
Updated stringDate The last update date of the virtual node.
- Mesh
Name string The name of the service mesh in which to create the virtual node.
- Name string
The name to use for the virtual node.
- Spec
Virtual
Node Spec The virtual node specification to apply.
- map[string]string
A map of tags to assign to the resource.
- arn string
The ARN of the virtual node.
- created
Date string The creation date of the virtual node.
- last
Updated stringDate The last update date of the virtual node.
- mesh
Name string The name of the service mesh in which to create the virtual node.
- name string
The name to use for the virtual node.
- spec
Virtual
Node Spec The virtual node specification to apply.
- {[key: string]: string}
A map of tags to assign to the resource.
- arn str
The ARN of the virtual node.
- created_
date str The creation date of the virtual node.
- last_
updated_ strdate The last update date of the virtual node.
- mesh_
name str The name of the service mesh in which to create the virtual node.
- name str
The name to use for the virtual node.
- spec
Dict[Virtual
Node Spec] The virtual node specification to apply.
- Dict[str, str]
A map of tags to assign to the resource.
Supporting Types
VirtualNodeSpec
- Backends
List<Virtual
Node Spec Backend Args> The backends to which the virtual node is expected to send outbound traffic.
- Listener
Virtual
Node Spec Listener Args The listeners from which the virtual node is expected to receive inbound traffic.
- Logging
Virtual
Node Spec Logging Args The inbound and outbound access logging information for the virtual node.
- Service
Discovery VirtualNode Spec Service Discovery Args The service discovery information for the virtual node.
- Backends
[]Virtual
Node Spec Backend The backends to which the virtual node is expected to send outbound traffic.
- Listener
Virtual
Node Spec Listener The listeners from which the virtual node is expected to receive inbound traffic.
- Logging
Virtual
Node Spec Logging The inbound and outbound access logging information for the virtual node.
- Service
Discovery VirtualNode Spec Service Discovery The service discovery information for the virtual node.
- backends
Virtual
Node Spec Backend[] The backends to which the virtual node is expected to send outbound traffic.
- listener
Virtual
Node Spec Listener The listeners from which the virtual node is expected to receive inbound traffic.
- logging
Virtual
Node Spec Logging The inbound and outbound access logging information for the virtual node.
- service
Discovery VirtualNode Spec Service Discovery The service discovery information for the virtual node.
- backends
List[Virtual
Node Spec Backend] The backends to which the virtual node is expected to send outbound traffic.
- listener
Dict[Virtual
Node Spec Listener] The listeners from which the virtual node is expected to receive inbound traffic.
- logging
Dict[Virtual
Node Spec Logging] The inbound and outbound access logging information for the virtual node.
- service
Discovery Dict[VirtualNode Spec Service Discovery] The service discovery information for the virtual node.
VirtualNodeSpecBackend
- Virtual
Service VirtualNode Spec Backend Virtual Service Args Specifies a virtual service to use as a backend for a virtual node.
- Virtual
Service VirtualNode Spec Backend Virtual Service Specifies a virtual service to use as a backend for a virtual node.
- virtual
Service VirtualNode Spec Backend Virtual Service Specifies a virtual service to use as a backend for a virtual node.
- virtual
Service Dict[VirtualNode Spec Backend Virtual Service] Specifies a virtual service to use as a backend for a virtual node.
VirtualNodeSpecBackendVirtualService
- Virtual
Service stringName The name of the virtual service that is acting as a virtual node backend.
- Virtual
Service stringName The name of the virtual service that is acting as a virtual node backend.
- virtual
Service stringName The name of the virtual service that is acting as a virtual node backend.
- virtual
Service strName The name of the virtual service that is acting as a virtual node backend.
VirtualNodeSpecListener
- Port
Mapping VirtualNode Spec Listener Port Mapping Args The port mapping information for the listener.
- Health
Check VirtualNode Spec Listener Health Check Args The health check information for the listener.
- Port
Mapping VirtualNode Spec Listener Port Mapping The port mapping information for the listener.
- Health
Check VirtualNode Spec Listener Health Check The health check information for the listener.
- port
Mapping VirtualNode Spec Listener Port Mapping The port mapping information for the listener.
- health
Check VirtualNode Spec Listener Health Check The health check information for the listener.
- port
Mapping Dict[VirtualNode Spec Listener Port Mapping] The port mapping information for the listener.
- health_
check Dict[VirtualNode Spec Listener Health Check] The health check information for the listener.
VirtualNodeSpecListenerHealthCheck
- Healthy
Threshold int The number of consecutive successful health checks that must occur before declaring listener healthy.
- Interval
Millis int The time period in milliseconds between each health check execution.
- Protocol string
The protocol for the health check request. Valid values are
httpandtcp.- Timeout
Millis int The amount of time to wait when receiving a response from the health check, in milliseconds.
- Unhealthy
Threshold int The number of consecutive failed health checks that must occur before declaring a virtual node unhealthy.
- Path string
The destination path for the health check request. This is only required if the specified protocol is
http.- Port int
The destination port for the health check request. This port must match the port defined in the
port_mappingfor the listener.
- Healthy
Threshold int The number of consecutive successful health checks that must occur before declaring listener healthy.
- Interval
Millis int The time period in milliseconds between each health check execution.
- Protocol string
The protocol for the health check request. Valid values are
httpandtcp.- Timeout
Millis int The amount of time to wait when receiving a response from the health check, in milliseconds.
- Unhealthy
Threshold int The number of consecutive failed health checks that must occur before declaring a virtual node unhealthy.
- Path string
The destination path for the health check request. This is only required if the specified protocol is
http.- Port int
The destination port for the health check request. This port must match the port defined in the
port_mappingfor the listener.
- healthy
Threshold number The number of consecutive successful health checks that must occur before declaring listener healthy.
- interval
Millis number The time period in milliseconds between each health check execution.
- protocol string
The protocol for the health check request. Valid values are
httpandtcp.- timeout
Millis number The amount of time to wait when receiving a response from the health check, in milliseconds.
- unhealthy
Threshold number The number of consecutive failed health checks that must occur before declaring a virtual node unhealthy.
- path string
The destination path for the health check request. This is only required if the specified protocol is
http.- port number
The destination port for the health check request. This port must match the port defined in the
port_mappingfor the listener.
- healthy
Threshold float The number of consecutive successful health checks that must occur before declaring listener healthy.
- interval
Millis float The time period in milliseconds between each health check execution.
- protocol str
The protocol for the health check request. Valid values are
httpandtcp.- timeout
Millis float The amount of time to wait when receiving a response from the health check, in milliseconds.
- unhealthy
Threshold float The number of consecutive failed health checks that must occur before declaring a virtual node unhealthy.
- path str
The destination path for the health check request. This is only required if the specified protocol is
http.- port float
The destination port for the health check request. This port must match the port defined in the
port_mappingfor the listener.
VirtualNodeSpecListenerPortMapping
VirtualNodeSpecLogging
- Access
Log VirtualNode Spec Logging Access Log Args The access log configuration for a virtual node.
- Access
Log VirtualNode Spec Logging Access Log The access log configuration for a virtual node.
- access
Log VirtualNode Spec Logging Access Log The access log configuration for a virtual node.
- access
Log Dict[VirtualNode Spec Logging Access Log] The access log configuration for a virtual node.
VirtualNodeSpecLoggingAccessLog
- File
Virtual
Node Spec Logging Access Log File Args The file object to send virtual node access logs to.
- File
Virtual
Node Spec Logging Access Log File The file object to send virtual node access logs to.
- file
Virtual
Node Spec Logging Access Log File The file object to send virtual node access logs to.
- file
Dict[Virtual
Node Spec Logging Access Log File] The file object to send virtual node access logs to.
VirtualNodeSpecLoggingAccessLogFile
VirtualNodeSpecServiceDiscovery
- Aws
Cloud VirtualMap Node Spec Service Discovery Aws Cloud Map Args Specifies any AWS Cloud Map information for the virtual node.
- Dns
Virtual
Node Spec Service Discovery Dns Args Specifies the DNS service name for the virtual node.
- Aws
Cloud VirtualMap Node Spec Service Discovery Aws Cloud Map Specifies any AWS Cloud Map information for the virtual node.
- Dns
Virtual
Node Spec Service Discovery Dns Specifies the DNS service name for the virtual node.
- aws
Cloud VirtualMap Node Spec Service Discovery Aws Cloud Map Specifies any AWS Cloud Map information for the virtual node.
- dns
Virtual
Node Spec Service Discovery Dns Specifies the DNS service name for the virtual node.
- aws
Cloud Dict[VirtualMap Node Spec Service Discovery Aws Cloud Map] Specifies any AWS Cloud Map information for the virtual node.
- dns
Dict[Virtual
Node Spec Service Discovery Dns] Specifies the DNS service name for the virtual node.
VirtualNodeSpecServiceDiscoveryAwsCloudMap
- Namespace
Name string The name of the AWS Cloud Map namespace to use. Use the
aws.servicediscovery.HttpNamespaceresource to configure a Cloud Map namespace.- Service
Name string The name of the AWS Cloud Map service to use. Use the
aws.servicediscovery.Serviceresource to configure a Cloud Map service.- Attributes Dictionary<string, string>
A string map that contains attributes with values that you can use to filter instances by any custom attribute that you specified when you registered the instance. Only instances that match all of the specified key/value pairs will be returned.
- Namespace
Name string The name of the AWS Cloud Map namespace to use. Use the
aws.servicediscovery.HttpNamespaceresource to configure a Cloud Map namespace.- Service
Name string The name of the AWS Cloud Map service to use. Use the
aws.servicediscovery.Serviceresource to configure a Cloud Map service.- Attributes map[string]string
A string map that contains attributes with values that you can use to filter instances by any custom attribute that you specified when you registered the instance. Only instances that match all of the specified key/value pairs will be returned.
- namespace
Name string The name of the AWS Cloud Map namespace to use. Use the
aws.servicediscovery.HttpNamespaceresource to configure a Cloud Map namespace.- service
Name string The name of the AWS Cloud Map service to use. Use the
aws.servicediscovery.Serviceresource to configure a Cloud Map service.- attributes {[key: string]: string}
A string map that contains attributes with values that you can use to filter instances by any custom attribute that you specified when you registered the instance. Only instances that match all of the specified key/value pairs will be returned.
- namespace
Name str The name of the AWS Cloud Map namespace to use. Use the
aws.servicediscovery.HttpNamespaceresource to configure a Cloud Map namespace.- service_
name str The name of the AWS Cloud Map service to use. Use the
aws.servicediscovery.Serviceresource to configure a Cloud Map service.- attributes Dict[str, str]
A string map that contains attributes with values that you can use to filter instances by any custom attribute that you specified when you registered the instance. Only instances that match all of the specified key/value pairs will be returned.
VirtualNodeSpecServiceDiscoveryDns
Package Details
- Repository
- https://github.com/pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.