AWS v6.54.0 published on Friday, Sep 27, 2024 by Pulumi
aws.appmesh.getVirtualNode
Explore with Pulumi AI
Data source for managing an AWS App Mesh Virtual Node.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const test = aws.appmesh.getVirtualNode({
name: "serviceBv1",
meshName: "example-mesh",
});
import pulumi
import pulumi_aws as aws
test = aws.appmesh.get_virtual_node(name="serviceBv1",
mesh_name="example-mesh")
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/appmesh"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := appmesh.LookupVirtualNode(ctx, &appmesh.LookupVirtualNodeArgs{
Name: "serviceBv1",
MeshName: "example-mesh",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var test = Aws.AppMesh.GetVirtualNode.Invoke(new()
{
Name = "serviceBv1",
MeshName = "example-mesh",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.appmesh.AppmeshFunctions;
import com.pulumi.aws.appmesh.inputs.GetVirtualNodeArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var test = AppmeshFunctions.getVirtualNode(GetVirtualNodeArgs.builder()
.name("serviceBv1")
.meshName("example-mesh")
.build());
}
}
variables:
test:
fn::invoke:
Function: aws:appmesh:getVirtualNode
Arguments:
name: serviceBv1
meshName: example-mesh
Using getVirtualNode
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getVirtualNode(args: GetVirtualNodeArgs, opts?: InvokeOptions): Promise<GetVirtualNodeResult>
function getVirtualNodeOutput(args: GetVirtualNodeOutputArgs, opts?: InvokeOptions): Output<GetVirtualNodeResult>
def get_virtual_node(mesh_name: Optional[str] = None,
mesh_owner: Optional[str] = None,
name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
opts: Optional[InvokeOptions] = None) -> GetVirtualNodeResult
def get_virtual_node_output(mesh_name: Optional[pulumi.Input[str]] = None,
mesh_owner: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetVirtualNodeResult]
func LookupVirtualNode(ctx *Context, args *LookupVirtualNodeArgs, opts ...InvokeOption) (*LookupVirtualNodeResult, error)
func LookupVirtualNodeOutput(ctx *Context, args *LookupVirtualNodeOutputArgs, opts ...InvokeOption) LookupVirtualNodeResultOutput
> Note: This function is named LookupVirtualNode
in the Go SDK.
public static class GetVirtualNode
{
public static Task<GetVirtualNodeResult> InvokeAsync(GetVirtualNodeArgs args, InvokeOptions? opts = null)
public static Output<GetVirtualNodeResult> Invoke(GetVirtualNodeInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetVirtualNodeResult> getVirtualNode(GetVirtualNodeArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws:appmesh/getVirtualNode:getVirtualNode
arguments:
# arguments dictionary
The following arguments are supported:
- mesh_
name str - Name of the service mesh in which the virtual node exists.
- name str
- Name of the virtual node.
- mesh_
owner str - AWS account ID of the service mesh's owner.
- Mapping[str, str]
- Map of tags.
getVirtualNode Result
The following output properties are available:
- Arn string
- ARN of the virtual node.
- Created
Date string - Creation date of the virtual node.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Updated stringDate - Last update date of the virtual node.
- Mesh
Name string - Mesh
Owner string - Name string
- Resource
Owner string - Resource owner's AWS account ID.
- Specs
List<Get
Virtual Node Spec> - Virtual node specification. See the
aws.appmesh.VirtualNode
resource for details. - Dictionary<string, string>
- Map of tags.
- Arn string
- ARN of the virtual node.
- Created
Date string - Creation date of the virtual node.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Updated stringDate - Last update date of the virtual node.
- Mesh
Name string - Mesh
Owner string - Name string
- Resource
Owner string - Resource owner's AWS account ID.
- Specs
[]Get
Virtual Node Spec - Virtual node specification. See the
aws.appmesh.VirtualNode
resource for details. - map[string]string
- Map of tags.
- arn String
- ARN of the virtual node.
- created
Date String - Creation date of the virtual node.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Updated StringDate - Last update date of the virtual node.
- mesh
Name String - mesh
Owner String - name String
- resource
Owner String - Resource owner's AWS account ID.
- specs
List<Get
Virtual Node Spec> - Virtual node specification. See the
aws.appmesh.VirtualNode
resource for details. - Map<String,String>
- Map of tags.
- arn string
- ARN of the virtual node.
- created
Date string - Creation date of the virtual node.
- id string
- The provider-assigned unique ID for this managed resource.
- last
Updated stringDate - Last update date of the virtual node.
- mesh
Name string - mesh
Owner string - name string
- resource
Owner string - Resource owner's AWS account ID.
- specs
Get
Virtual Node Spec[] - Virtual node specification. See the
aws.appmesh.VirtualNode
resource for details. - {[key: string]: string}
- Map of tags.
- arn str
- ARN of the virtual node.
- created_
date str - Creation date of the virtual node.
- id str
- The provider-assigned unique ID for this managed resource.
- last_
updated_ strdate - Last update date of the virtual node.
- mesh_
name str - mesh_
owner str - name str
- resource_
owner str - Resource owner's AWS account ID.
- specs
Sequence[Get
Virtual Node Spec] - Virtual node specification. See the
aws.appmesh.VirtualNode
resource for details. - Mapping[str, str]
- Map of tags.
- arn String
- ARN of the virtual node.
- created
Date String - Creation date of the virtual node.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Updated StringDate - Last update date of the virtual node.
- mesh
Name String - mesh
Owner String - name String
- resource
Owner String - Resource owner's AWS account ID.
- specs List<Property Map>
- Virtual node specification. See the
aws.appmesh.VirtualNode
resource for details. - Map<String>
- Map of tags.
Supporting Types
GetVirtualNodeSpec
GetVirtualNodeSpecBackend
GetVirtualNodeSpecBackendDefault
GetVirtualNodeSpecBackendDefaultClientPolicy
GetVirtualNodeSpecBackendDefaultClientPolicyTl
- certificates List<Property Map>
- enforce Boolean
- ports List<Number>
- validations List<Property Map>
GetVirtualNodeSpecBackendDefaultClientPolicyTlCertificate
GetVirtualNodeSpecBackendDefaultClientPolicyTlCertificateFile
- Certificate
Chain string - Private
Key string
- Certificate
Chain string - Private
Key string
- certificate
Chain String - private
Key String
- certificate
Chain string - private
Key string
- certificate_
chain str - private_
key str
- certificate
Chain String - private
Key String
GetVirtualNodeSpecBackendDefaultClientPolicyTlCertificateSd
- Secret
Name string
- Secret
Name string
- secret
Name String
- secret
Name string
- secret_
name str
- secret
Name String
GetVirtualNodeSpecBackendDefaultClientPolicyTlValidation
GetVirtualNodeSpecBackendDefaultClientPolicyTlValidationSubjectAlternativeName
GetVirtualNodeSpecBackendDefaultClientPolicyTlValidationSubjectAlternativeNameMatch
- Exacts List<string>
- Exacts []string
- exacts List<String>
- exacts string[]
- exacts Sequence[str]
- exacts List<String>
GetVirtualNodeSpecBackendDefaultClientPolicyTlValidationTrust
GetVirtualNodeSpecBackendDefaultClientPolicyTlValidationTrustAcm
- List<string>
- []string
- List<String>
- string[]
- Sequence[str]
- List<String>
GetVirtualNodeSpecBackendDefaultClientPolicyTlValidationTrustFile
- Certificate
Chain string
- Certificate
Chain string
- certificate
Chain String
- certificate
Chain string
- certificate
Chain String
GetVirtualNodeSpecBackendDefaultClientPolicyTlValidationTrustSd
- Secret
Name string
- Secret
Name string
- secret
Name String
- secret
Name string
- secret_
name str
- secret
Name String
GetVirtualNodeSpecBackendVirtualService
GetVirtualNodeSpecBackendVirtualServiceClientPolicy
GetVirtualNodeSpecBackendVirtualServiceClientPolicyTl
- certificates List<Property Map>
- enforce Boolean
- ports List<Number>
- validations List<Property Map>
GetVirtualNodeSpecBackendVirtualServiceClientPolicyTlCertificate
GetVirtualNodeSpecBackendVirtualServiceClientPolicyTlCertificateFile
- Certificate
Chain string - Private
Key string
- Certificate
Chain string - Private
Key string
- certificate
Chain String - private
Key String
- certificate
Chain string - private
Key string
- certificate_
chain str - private_
key str
- certificate
Chain String - private
Key String
GetVirtualNodeSpecBackendVirtualServiceClientPolicyTlCertificateSd
- Secret
Name string
- Secret
Name string
- secret
Name String
- secret
Name string
- secret_
name str
- secret
Name String
GetVirtualNodeSpecBackendVirtualServiceClientPolicyTlValidation
GetVirtualNodeSpecBackendVirtualServiceClientPolicyTlValidationSubjectAlternativeName
GetVirtualNodeSpecBackendVirtualServiceClientPolicyTlValidationSubjectAlternativeNameMatch
- Exacts List<string>
- Exacts []string
- exacts List<String>
- exacts string[]
- exacts Sequence[str]
- exacts List<String>
GetVirtualNodeSpecBackendVirtualServiceClientPolicyTlValidationTrust
GetVirtualNodeSpecBackendVirtualServiceClientPolicyTlValidationTrustAcm
- List<string>
- []string
- List<String>
- string[]
- Sequence[str]
- List<String>
GetVirtualNodeSpecBackendVirtualServiceClientPolicyTlValidationTrustFile
- Certificate
Chain string
- Certificate
Chain string
- certificate
Chain String
- certificate
Chain string
- certificate
Chain String
GetVirtualNodeSpecBackendVirtualServiceClientPolicyTlValidationTrustSd
- Secret
Name string
- Secret
Name string
- secret
Name String
- secret
Name string
- secret_
name str
- secret
Name String
GetVirtualNodeSpecListener
- Connection
Pools List<GetVirtual Node Spec Listener Connection Pool> - Health
Checks List<GetVirtual Node Spec Listener Health Check> - Outlier
Detections List<GetVirtual Node Spec Listener Outlier Detection> - Port
Mappings List<GetVirtual Node Spec Listener Port Mapping> - Timeouts
List<Get
Virtual Node Spec Listener Timeout> - Tls
List<Get
Virtual Node Spec Listener Tl>
- Connection
Pools []GetVirtual Node Spec Listener Connection Pool - Health
Checks []GetVirtual Node Spec Listener Health Check - Outlier
Detections []GetVirtual Node Spec Listener Outlier Detection - Port
Mappings []GetVirtual Node Spec Listener Port Mapping - Timeouts
[]Get
Virtual Node Spec Listener Timeout - Tls
[]Get
Virtual Node Spec Listener Tl
- connection
Pools List<GetVirtual Node Spec Listener Connection Pool> - health
Checks List<GetVirtual Node Spec Listener Health Check> - outlier
Detections List<GetVirtual Node Spec Listener Outlier Detection> - port
Mappings List<GetVirtual Node Spec Listener Port Mapping> - timeouts
List<Get
Virtual Node Spec Listener Timeout> - tls
List<Get
Virtual Node Spec Listener Tl>
- connection
Pools GetVirtual Node Spec Listener Connection Pool[] - health
Checks GetVirtual Node Spec Listener Health Check[] - outlier
Detections GetVirtual Node Spec Listener Outlier Detection[] - port
Mappings GetVirtual Node Spec Listener Port Mapping[] - timeouts
Get
Virtual Node Spec Listener Timeout[] - tls
Get
Virtual Node Spec Listener Tl[]
- connection_
pools Sequence[GetVirtual Node Spec Listener Connection Pool] - health_
checks Sequence[GetVirtual Node Spec Listener Health Check] - outlier_
detections Sequence[GetVirtual Node Spec Listener Outlier Detection] - port_
mappings Sequence[GetVirtual Node Spec Listener Port Mapping] - timeouts
Sequence[Get
Virtual Node Spec Listener Timeout] - tls
Sequence[Get
Virtual Node Spec Listener Tl]
GetVirtualNodeSpecListenerConnectionPool
GetVirtualNodeSpecListenerConnectionPoolGrpc
- Max
Requests int
- Max
Requests int
- max
Requests Integer
- max
Requests number
- max_
requests int
- max
Requests Number
GetVirtualNodeSpecListenerConnectionPoolHttp
- Max
Connections int - Max
Pending intRequests
- Max
Connections int - Max
Pending intRequests
- max
Connections Integer - max
Pending IntegerRequests
- max
Connections number - max
Pending numberRequests
- max
Connections Number - max
Pending NumberRequests
GetVirtualNodeSpecListenerConnectionPoolHttp2
- Max
Requests int
- Max
Requests int
- max
Requests Integer
- max
Requests number
- max_
requests int
- max
Requests Number
GetVirtualNodeSpecListenerConnectionPoolTcp
- Max
Connections int
- Max
Connections int
- max
Connections Integer
- max
Connections number
- max_
connections int
- max
Connections Number
GetVirtualNodeSpecListenerHealthCheck
- Healthy
Threshold int - Interval
Millis int - Path string
- Port int
- Protocol string
- Timeout
Millis int - Unhealthy
Threshold int
- Healthy
Threshold int - Interval
Millis int - Path string
- Port int
- Protocol string
- Timeout
Millis int - Unhealthy
Threshold int
- healthy
Threshold Integer - interval
Millis Integer - path String
- port Integer
- protocol String
- timeout
Millis Integer - unhealthy
Threshold Integer
- healthy
Threshold number - interval
Millis number - path string
- port number
- protocol string
- timeout
Millis number - unhealthy
Threshold number
- healthy_
threshold int - interval_
millis int - path str
- port int
- protocol str
- timeout_
millis int - unhealthy_
threshold int
- healthy
Threshold Number - interval
Millis Number - path String
- port Number
- protocol String
- timeout
Millis Number - unhealthy
Threshold Number
GetVirtualNodeSpecListenerOutlierDetection
GetVirtualNodeSpecListenerOutlierDetectionBaseEjectionDuration
GetVirtualNodeSpecListenerOutlierDetectionInterval
GetVirtualNodeSpecListenerPortMapping
GetVirtualNodeSpecListenerTimeout
GetVirtualNodeSpecListenerTimeoutGrpc
GetVirtualNodeSpecListenerTimeoutGrpcIdle
GetVirtualNodeSpecListenerTimeoutGrpcPerRequest
GetVirtualNodeSpecListenerTimeoutHttp
GetVirtualNodeSpecListenerTimeoutHttp2
GetVirtualNodeSpecListenerTimeoutHttp2Idle
GetVirtualNodeSpecListenerTimeoutHttp2PerRequest
GetVirtualNodeSpecListenerTimeoutHttpIdle
GetVirtualNodeSpecListenerTimeoutHttpPerRequest
GetVirtualNodeSpecListenerTimeoutTcp
GetVirtualNodeSpecListenerTimeoutTcpIdle
GetVirtualNodeSpecListenerTl
GetVirtualNodeSpecListenerTlCertificate
GetVirtualNodeSpecListenerTlCertificateAcm
- Certificate
Arn string
- Certificate
Arn string
- certificate
Arn String
- certificate
Arn string
- certificate_
arn str
- certificate
Arn String
GetVirtualNodeSpecListenerTlCertificateFile
- Certificate
Chain string - Private
Key string
- Certificate
Chain string - Private
Key string
- certificate
Chain String - private
Key String
- certificate
Chain string - private
Key string
- certificate_
chain str - private_
key str
- certificate
Chain String - private
Key String
GetVirtualNodeSpecListenerTlCertificateSd
- Secret
Name string
- Secret
Name string
- secret
Name String
- secret
Name string
- secret_
name str
- secret
Name String
GetVirtualNodeSpecListenerTlValidation
GetVirtualNodeSpecListenerTlValidationSubjectAlternativeName
GetVirtualNodeSpecListenerTlValidationSubjectAlternativeNameMatch
- Exacts List<string>
- Exacts []string
- exacts List<String>
- exacts string[]
- exacts Sequence[str]
- exacts List<String>
GetVirtualNodeSpecListenerTlValidationTrust
GetVirtualNodeSpecListenerTlValidationTrustFile
- Certificate
Chain string
- Certificate
Chain string
- certificate
Chain String
- certificate
Chain string
- certificate
Chain String
GetVirtualNodeSpecListenerTlValidationTrustSd
- Secret
Name string
- Secret
Name string
- secret
Name String
- secret
Name string
- secret_
name str
- secret
Name String
GetVirtualNodeSpecLogging
GetVirtualNodeSpecLoggingAccessLog
GetVirtualNodeSpecLoggingAccessLogFile
- formats List<Property Map>
- path String
GetVirtualNodeSpecLoggingAccessLogFileFormat
- jsons List<Property Map>
- text String
GetVirtualNodeSpecLoggingAccessLogFileFormatJson
GetVirtualNodeSpecServiceDiscovery
GetVirtualNodeSpecServiceDiscoveryAwsCloudMap
- Attributes Dictionary<string, string>
- Namespace
Name string - Service
Name string
- Attributes map[string]string
- Namespace
Name string - Service
Name string
- attributes Map<String,String>
- namespace
Name String - service
Name String
- attributes {[key: string]: string}
- namespace
Name string - service
Name string
- attributes Mapping[str, str]
- namespace_
name str - service_
name str
- attributes Map<String>
- namespace
Name String - service
Name String
GetVirtualNodeSpecServiceDiscoveryDn
- Hostname string
- Ip
Preference string - Response
Type string
- Hostname string
- Ip
Preference string - Response
Type string
- hostname String
- ip
Preference String - response
Type String
- hostname string
- ip
Preference string - response
Type string
- hostname str
- ip_
preference str - response_
type str
- hostname String
- ip
Preference String - response
Type String
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.