GetEventCategories
Example Usage
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; }
}
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/rds"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
exampleEventCategories, err := rds.GetEventCategories(ctx, nil, nil)
if err != nil {
return err
}
ctx.Export("example", exampleEventCategories.EventCategories)
return nil
})
}import pulumi
import pulumi_aws as aws
example_event_categories = aws.rds.get_event_categories()
pulumi.export("example", example_event_categories.event_categories)import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const exampleEventCategories = pulumi.output(aws.rds.getEventCategories({ async: true }));
export const example = exampleEventCategories.eventCategories;Using GetEventCategories
function getEventCategories(args: GetEventCategoriesArgs, opts?: InvokeOptions): Promise<GetEventCategoriesResult>function get_event_categories(source_type=None, opts=None)func GetEventCategories(ctx *Context, args *GetEventCategoriesArgs, opts ...InvokeOption) (*GetEventCategoriesResult, error)public static class GetEventCategories {
public static Task<GetEventCategoriesResult> InvokeAsync(GetEventCategoriesArgs args, InvokeOptions? opts = null)
}The following arguments are supported:
- Source
Type string The type of source that will be generating the events. Valid options are db-instance, db-security-group, db-parameter-group, db-snapshot, db-cluster or db-cluster-snapshot.
- Source
Type string The type of source that will be generating the events. Valid options are db-instance, db-security-group, db-parameter-group, db-snapshot, db-cluster or db-cluster-snapshot.
- source
Type string The type of source that will be generating the events. Valid options are db-instance, db-security-group, db-parameter-group, db-snapshot, db-cluster or db-cluster-snapshot.
- source_
type str The type of source that will be generating the events. Valid options are db-instance, db-security-group, db-parameter-group, db-snapshot, db-cluster or db-cluster-snapshot.
GetEventCategories Result
The following output properties are available:
- Event
Categories List<string> A list of the event categories.
- Id string
The provider-assigned unique ID for this managed resource.
- Source
Type string
- Event
Categories []string A list of the event categories.
- Id string
The provider-assigned unique ID for this managed resource.
- Source
Type string
- event
Categories string[] A list of the event categories.
- id string
The provider-assigned unique ID for this managed resource.
- source
Type string
- event_
categories List[str] A list of the event categories.
- id str
The provider-assigned unique ID for this managed resource.
- source_
type str
Package Details
- Repository
- https://github.com/pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.