Show / Hide Table of Contents

Class GetArn

Inheritance
System.Object
GetArn
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws
Assembly: Pulumi.Aws.dll
Syntax
public static class GetArn

Methods

View Source

InvokeAsync(GetArnArgs, InvokeOptions)

Parses an Amazon Resource Name (ARN) into its constituent parts.

{{% examples %}}

Example Usage

{{% example %}}

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
public MyStack()
{
    var dbInstance = Output.Create(Aws.GetArn.InvokeAsync(new Aws.GetArnArgs
    {
        Arn = "arn:aws:rds:eu-west-1:123456789012:db:mysql-db",
    }));
}

}

{{% /example %}} {{% /examples %}}

Declaration
public static Task<GetArnResult> InvokeAsync(GetArnArgs args, InvokeOptions options = null)
Parameters
Type Name Description
GetArnArgs args
InvokeOptions options
Returns
Type Description
System.Threading.Tasks.Task<GetArnResult>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.