Show / Hide Table of Contents

Class GetGroup

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

Methods

View Source

InvokeAsync(GetGroupArgs, InvokeOptions)

This data source can be used to fetch information about a specific IAM group. By using this data source, you can reference IAM group properties without having to hard code ARNs as input.

{{% examples %}}

Example Usage

{{% example %}}

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
public MyStack()
{
    var example = Output.Create(Aws.Iam.GetGroup.InvokeAsync(new Aws.Iam.GetGroupArgs
    {
        GroupName = "an_example_group_name",
    }));
}

}

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

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