Show / Hide Table of Contents

Class GetParameter

Inheritance
System.Object
GetParameter
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.Ssm
Assembly: Pulumi.Aws.dll
Syntax
public static class GetParameter

Methods

View Source

InvokeAsync(GetParameterArgs, InvokeOptions)

Provides an SSM Parameter data source.

{{% examples %}}

Example Usage

{{% example %}}

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
public MyStack()
{
    var foo = Output.Create(Aws.Ssm.GetParameter.InvokeAsync(new Aws.Ssm.GetParameterArgs
    {
        Name = "foo",
    }));
}

}

Note: The data source is currently following the behavior of the SSM API to return a string value, regardless of parameter type.

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

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