Class GetLogGroup
Inheritance
System.Object
GetLogGroup
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.CloudWatch
Assembly: Pulumi.Aws.dll
Syntax
public static class GetLogGroup
Methods
View SourceInvokeAsync(GetLogGroupArgs, InvokeOptions)
Use this data source to get information about an AWS Cloudwatch Log Group
{{% examples %}}
Example Usage
{{% example %}}
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var example = Output.Create(Aws.CloudWatch.GetLogGroup.InvokeAsync(new Aws.CloudWatch.GetLogGroupArgs
{
Name = "MyImportantLogs",
}));
}
}
{{% /example %}} {{% /examples %}}
Declaration
public static Task<GetLogGroupResult> InvokeAsync(GetLogGroupArgs args, InvokeOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetLogGroupArgs | args | |
| InvokeOptions | options |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<GetLogGroupResult> |