UNPKG

@formalco/pulumi

Version:

A Pulumi package for creating and managing Formal resources.

130 lines (129 loc) 4.32 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Managing Log Configuration with Formal. */ export declare class LogConfiguration extends pulumi.CustomResource { /** * Get an existing LogConfiguration resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: LogConfigurationState, opts?: pulumi.CustomResourceOptions): LogConfiguration; /** * Returns true if the given object is an instance of LogConfiguration. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is LogConfiguration; /** * When the log configuration was created. */ readonly createdAt: pulumi.Output<string>; /** * The ID of the encryption key to use for this log configuration. */ readonly encryptionKeyId: pulumi.Output<string>; /** * The name of this log configuration. */ readonly name: pulumi.Output<string>; /** * Request logging configuration. */ readonly request: pulumi.Output<outputs.LogConfigurationRequest>; /** * Response logging configuration. */ readonly response: pulumi.Output<outputs.LogConfigurationResponse>; /** * The scope configuration for this log configuration. */ readonly scope: pulumi.Output<outputs.LogConfigurationScope>; /** * Stream logging configuration. */ readonly stream: pulumi.Output<outputs.LogConfigurationStream | undefined>; /** * Last update time. */ readonly updatedAt: pulumi.Output<string>; /** * Create a LogConfiguration resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: LogConfigurationArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering LogConfiguration resources. */ export interface LogConfigurationState { /** * When the log configuration was created. */ createdAt?: pulumi.Input<string>; /** * The ID of the encryption key to use for this log configuration. */ encryptionKeyId?: pulumi.Input<string>; /** * The name of this log configuration. */ name?: pulumi.Input<string>; /** * Request logging configuration. */ request?: pulumi.Input<inputs.LogConfigurationRequest>; /** * Response logging configuration. */ response?: pulumi.Input<inputs.LogConfigurationResponse>; /** * The scope configuration for this log configuration. */ scope?: pulumi.Input<inputs.LogConfigurationScope>; /** * Stream logging configuration. */ stream?: pulumi.Input<inputs.LogConfigurationStream>; /** * Last update time. */ updatedAt?: pulumi.Input<string>; } /** * The set of arguments for constructing a LogConfiguration resource. */ export interface LogConfigurationArgs { /** * The ID of the encryption key to use for this log configuration. */ encryptionKeyId: pulumi.Input<string>; /** * The name of this log configuration. */ name?: pulumi.Input<string>; /** * Request logging configuration. */ request: pulumi.Input<inputs.LogConfigurationRequest>; /** * Response logging configuration. */ response: pulumi.Input<inputs.LogConfigurationResponse>; /** * The scope configuration for this log configuration. */ scope: pulumi.Input<inputs.LogConfigurationScope>; /** * Stream logging configuration. */ stream?: pulumi.Input<inputs.LogConfigurationStream>; }