Class GetEventCategories
Inheritance
System.Object
GetEventCategories
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.Rds
Assembly: Pulumi.Aws.dll
Syntax
public static class GetEventCategories
Methods
View SourceInvokeAsync(GetEventCategoriesArgs, InvokeOptions)
{{% examples %}}
Example Usage
{{% example %}}
List the event categories of all the RDS resources.
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var exampleEventCategories = Output.Create(Aws.Rds.GetEventCategories.InvokeAsync());
this.Example = exampleEventCategories.Apply(exampleEventCategories => exampleEventCategories.EventCategories);
}
[Output("example")]
public Output<string> Example { get; set; }
}
List the event categories specific to the RDS resource db-snapshot.
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var exampleEventCategories = Output.Create(Aws.Rds.GetEventCategories.InvokeAsync(new Aws.Rds.GetEventCategoriesArgs
{
SourceType = "db-snapshot",
}));
this.Example = exampleEventCategories.Apply(exampleEventCategories => exampleEventCategories.EventCategories);
}
[Output("example")]
public Output<string> Example { get; set; }
}
{{% /example %}} {{% /examples %}}
Declaration
public static Task<GetEventCategoriesResult> InvokeAsync(GetEventCategoriesArgs args = null, InvokeOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetEventCategoriesArgs | args | |
| InvokeOptions | options |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<GetEventCategoriesResult> |