1. Packages
  2. AWS
  3. API Docs
  4. appmesh
  5. getVirtualNode
AWS v6.60.0 published on Tuesday, Nov 19, 2024 by Pulumi

aws.appmesh.getVirtualNode

Explore with Pulumi AI

aws logo
AWS v6.60.0 published on Tuesday, Nov 19, 2024 by Pulumi

    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:

    MeshName string
    Name of the service mesh in which the virtual node exists.
    Name string
    Name of the virtual node.
    MeshOwner string
    AWS account ID of the service mesh's owner.
    Tags Dictionary<string, string>
    Map of tags.
    MeshName string
    Name of the service mesh in which the virtual node exists.
    Name string
    Name of the virtual node.
    MeshOwner string
    AWS account ID of the service mesh's owner.
    Tags map[string]string
    Map of tags.
    meshName String
    Name of the service mesh in which the virtual node exists.
    name String
    Name of the virtual node.
    meshOwner String
    AWS account ID of the service mesh's owner.
    tags Map<String,String>
    Map of tags.
    meshName string
    Name of the service mesh in which the virtual node exists.
    name string
    Name of the virtual node.
    meshOwner string
    AWS account ID of the service mesh's owner.
    tags {[key: string]: string}
    Map of tags.
    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.
    tags Mapping[str, str]
    Map of tags.
    meshName String
    Name of the service mesh in which the virtual node exists.
    name String
    Name of the virtual node.
    meshOwner String
    AWS account ID of the service mesh's owner.
    tags Map<String>
    Map of tags.

    getVirtualNode Result

    The following output properties are available:

    Arn string
    ARN of the virtual node.
    CreatedDate string
    Creation date of the virtual node.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastUpdatedDate string
    Last update date of the virtual node.
    MeshName string
    MeshOwner string
    Name string
    ResourceOwner string
    Resource owner's AWS account ID.
    Specs List<GetVirtualNodeSpec>
    Virtual node specification. See the aws.appmesh.VirtualNode resource for details.
    Tags Dictionary<string, string>
    Map of tags.
    Arn string
    ARN of the virtual node.
    CreatedDate string
    Creation date of the virtual node.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastUpdatedDate string
    Last update date of the virtual node.
    MeshName string
    MeshOwner string
    Name string
    ResourceOwner string
    Resource owner's AWS account ID.
    Specs []GetVirtualNodeSpec
    Virtual node specification. See the aws.appmesh.VirtualNode resource for details.
    Tags map[string]string
    Map of tags.
    arn String
    ARN of the virtual node.
    createdDate String
    Creation date of the virtual node.
    id String
    The provider-assigned unique ID for this managed resource.
    lastUpdatedDate String
    Last update date of the virtual node.
    meshName String
    meshOwner String
    name String
    resourceOwner String
    Resource owner's AWS account ID.
    specs List<GetVirtualNodeSpec>
    Virtual node specification. See the aws.appmesh.VirtualNode resource for details.
    tags Map<String,String>
    Map of tags.
    arn string
    ARN of the virtual node.
    createdDate string
    Creation date of the virtual node.
    id string
    The provider-assigned unique ID for this managed resource.
    lastUpdatedDate string
    Last update date of the virtual node.
    meshName string
    meshOwner string
    name string
    resourceOwner string
    Resource owner's AWS account ID.
    specs GetVirtualNodeSpec[]
    Virtual node specification. See the aws.appmesh.VirtualNode resource for details.
    tags {[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_date str
    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[GetVirtualNodeSpec]
    Virtual node specification. See the aws.appmesh.VirtualNode resource for details.
    tags Mapping[str, str]
    Map of tags.
    arn String
    ARN of the virtual node.
    createdDate String
    Creation date of the virtual node.
    id String
    The provider-assigned unique ID for this managed resource.
    lastUpdatedDate String
    Last update date of the virtual node.
    meshName String
    meshOwner String
    name String
    resourceOwner String
    Resource owner's AWS account ID.
    specs List<Property Map>
    Virtual node specification. See the aws.appmesh.VirtualNode resource for details.
    tags Map<String>
    Map of tags.

    Supporting Types

    GetVirtualNodeSpec

    GetVirtualNodeSpecBackend

    GetVirtualNodeSpecBackendDefault

    GetVirtualNodeSpecBackendDefaultClientPolicy

    GetVirtualNodeSpecBackendDefaultClientPolicyTl

    GetVirtualNodeSpecBackendDefaultClientPolicyTlCertificate

    GetVirtualNodeSpecBackendDefaultClientPolicyTlCertificateFile

    GetVirtualNodeSpecBackendDefaultClientPolicyTlCertificateSd

    SecretName string
    SecretName string
    secretName String
    secretName string
    secretName String

    GetVirtualNodeSpecBackendDefaultClientPolicyTlValidation

    GetVirtualNodeSpecBackendDefaultClientPolicyTlValidationSubjectAlternativeName

    GetVirtualNodeSpecBackendDefaultClientPolicyTlValidationSubjectAlternativeNameMatch

    Exacts List<string>
    Exacts []string
    exacts List<String>
    exacts string[]
    exacts Sequence[str]
    exacts List<String>

    GetVirtualNodeSpecBackendDefaultClientPolicyTlValidationTrust

    GetVirtualNodeSpecBackendDefaultClientPolicyTlValidationTrustAcm

    GetVirtualNodeSpecBackendDefaultClientPolicyTlValidationTrustFile

    GetVirtualNodeSpecBackendDefaultClientPolicyTlValidationTrustSd

    SecretName string
    SecretName string
    secretName String
    secretName string
    secretName String

    GetVirtualNodeSpecBackendVirtualService

    GetVirtualNodeSpecBackendVirtualServiceClientPolicy

    GetVirtualNodeSpecBackendVirtualServiceClientPolicyTl

    GetVirtualNodeSpecBackendVirtualServiceClientPolicyTlCertificate

    GetVirtualNodeSpecBackendVirtualServiceClientPolicyTlCertificateFile

    GetVirtualNodeSpecBackendVirtualServiceClientPolicyTlCertificateSd

    SecretName string
    SecretName string
    secretName String
    secretName string
    secretName String

    GetVirtualNodeSpecBackendVirtualServiceClientPolicyTlValidation

    GetVirtualNodeSpecBackendVirtualServiceClientPolicyTlValidationSubjectAlternativeName

    GetVirtualNodeSpecBackendVirtualServiceClientPolicyTlValidationSubjectAlternativeNameMatch

    Exacts List<string>
    Exacts []string
    exacts List<String>
    exacts string[]
    exacts Sequence[str]
    exacts List<String>

    GetVirtualNodeSpecBackendVirtualServiceClientPolicyTlValidationTrust

    GetVirtualNodeSpecBackendVirtualServiceClientPolicyTlValidationTrustAcm

    GetVirtualNodeSpecBackendVirtualServiceClientPolicyTlValidationTrustFile

    GetVirtualNodeSpecBackendVirtualServiceClientPolicyTlValidationTrustSd

    SecretName string
    SecretName string
    secretName String
    secretName string
    secretName String

    GetVirtualNodeSpecListener

    GetVirtualNodeSpecListenerConnectionPool

    GetVirtualNodeSpecListenerConnectionPoolGrpc

    maxRequests Integer

    GetVirtualNodeSpecListenerConnectionPoolHttp

    GetVirtualNodeSpecListenerConnectionPoolHttp2

    maxRequests Integer

    GetVirtualNodeSpecListenerConnectionPoolTcp

    GetVirtualNodeSpecListenerHealthCheck

    healthyThreshold Integer
    intervalMillis Integer
    path String
    port Integer
    protocol String
    timeoutMillis Integer
    unhealthyThreshold Integer

    GetVirtualNodeSpecListenerOutlierDetection

    GetVirtualNodeSpecListenerOutlierDetectionBaseEjectionDuration

    Unit string
    Value int
    Unit string
    Value int
    unit String
    value Integer
    unit string
    value number
    unit str
    value int
    unit String
    value Number

    GetVirtualNodeSpecListenerOutlierDetectionInterval

    Unit string
    Value int
    Unit string
    Value int
    unit String
    value Integer
    unit string
    value number
    unit str
    value int
    unit String
    value Number

    GetVirtualNodeSpecListenerPortMapping

    Port int
    Protocol string
    Port int
    Protocol string
    port Integer
    protocol String
    port number
    protocol string
    port int
    protocol str
    port Number
    protocol String

    GetVirtualNodeSpecListenerTimeout

    GetVirtualNodeSpecListenerTimeoutGrpc

    GetVirtualNodeSpecListenerTimeoutGrpcIdle

    Unit string
    Value int
    Unit string
    Value int
    unit String
    value Integer
    unit string
    value number
    unit str
    value int
    unit String
    value Number

    GetVirtualNodeSpecListenerTimeoutGrpcPerRequest

    Unit string
    Value int
    Unit string
    Value int
    unit String
    value Integer
    unit string
    value number
    unit str
    value int
    unit String
    value Number

    GetVirtualNodeSpecListenerTimeoutHttp

    GetVirtualNodeSpecListenerTimeoutHttp2

    GetVirtualNodeSpecListenerTimeoutHttp2Idle

    Unit string
    Value int
    Unit string
    Value int
    unit String
    value Integer
    unit string
    value number
    unit str
    value int
    unit String
    value Number

    GetVirtualNodeSpecListenerTimeoutHttp2PerRequest

    Unit string
    Value int
    Unit string
    Value int
    unit String
    value Integer
    unit string
    value number
    unit str
    value int
    unit String
    value Number

    GetVirtualNodeSpecListenerTimeoutHttpIdle

    Unit string
    Value int
    Unit string
    Value int
    unit String
    value Integer
    unit string
    value number
    unit str
    value int
    unit String
    value Number

    GetVirtualNodeSpecListenerTimeoutHttpPerRequest

    Unit string
    Value int
    Unit string
    Value int
    unit String
    value Integer
    unit string
    value number
    unit str
    value int
    unit String
    value Number

    GetVirtualNodeSpecListenerTimeoutTcp

    GetVirtualNodeSpecListenerTimeoutTcpIdle

    Unit string
    Value int
    Unit string
    Value int
    unit String
    value Integer
    unit string
    value number
    unit str
    value int
    unit String
    value Number

    GetVirtualNodeSpecListenerTl

    GetVirtualNodeSpecListenerTlCertificate

    GetVirtualNodeSpecListenerTlCertificateAcm

    GetVirtualNodeSpecListenerTlCertificateFile

    GetVirtualNodeSpecListenerTlCertificateSd

    SecretName string
    SecretName string
    secretName String
    secretName string
    secretName String

    GetVirtualNodeSpecListenerTlValidation

    GetVirtualNodeSpecListenerTlValidationSubjectAlternativeName

    GetVirtualNodeSpecListenerTlValidationSubjectAlternativeNameMatch

    Exacts List<string>
    Exacts []string
    exacts List<String>
    exacts string[]
    exacts Sequence[str]
    exacts List<String>

    GetVirtualNodeSpecListenerTlValidationTrust

    GetVirtualNodeSpecListenerTlValidationTrustFile

    GetVirtualNodeSpecListenerTlValidationTrustSd

    SecretName string
    SecretName string
    secretName String
    secretName string
    secretName String

    GetVirtualNodeSpecLogging

    GetVirtualNodeSpecLoggingAccessLog

    GetVirtualNodeSpecLoggingAccessLogFile

    GetVirtualNodeSpecLoggingAccessLogFileFormat

    GetVirtualNodeSpecLoggingAccessLogFileFormatJson

    Key string
    Value string
    Key string
    Value string
    key String
    value String
    key string
    value string
    key str
    value str
    key String
    value String

    GetVirtualNodeSpecServiceDiscovery

    GetVirtualNodeSpecServiceDiscoveryAwsCloudMap

    Attributes Dictionary<string, string>
    NamespaceName string
    ServiceName string
    Attributes map[string]string
    NamespaceName string
    ServiceName string
    attributes Map<String,String>
    namespaceName String
    serviceName String
    attributes {[key: string]: string}
    namespaceName string
    serviceName string
    attributes Mapping[str, str]
    namespace_name str
    service_name str
    attributes Map<String>
    namespaceName String
    serviceName String

    GetVirtualNodeSpecServiceDiscoveryDn

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo
    AWS v6.60.0 published on Tuesday, Nov 19, 2024 by Pulumi