UNPKG

@formalco/pulumi

Version:

A Pulumi package for creating and managing Formal resources.

88 lines (87 loc) 3.49 kB
import * as pulumi from "@pulumi/pulumi"; /** * Registering a Connector Listener Rule with Formal. */ export declare class ConnectorListenerRule extends pulumi.CustomResource { /** * Get an existing ConnectorListenerRule 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?: ConnectorListenerRuleState, opts?: pulumi.CustomResourceOptions): ConnectorListenerRule; /** * Returns true if the given object is an instance of ConnectorListenerRule. 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 ConnectorListenerRule; /** * The ID of the listener this rule is associated with. */ readonly connectorListenerId: pulumi.Output<string>; /** * The rule to apply to the listener. It should be either the id of the resource or the name of the technology. */ readonly rule: pulumi.Output<string>; /** * If set to true, this connector listener rule cannot be deleted. */ readonly terminationProtection: pulumi.Output<boolean | undefined>; /** * The type of the rule. It can be either `any`, `resource` or `technology` */ readonly type: pulumi.Output<string>; /** * Create a ConnectorListenerRule 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: ConnectorListenerRuleArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ConnectorListenerRule resources. */ export interface ConnectorListenerRuleState { /** * The ID of the listener this rule is associated with. */ connectorListenerId?: pulumi.Input<string>; /** * The rule to apply to the listener. It should be either the id of the resource or the name of the technology. */ rule?: pulumi.Input<string>; /** * If set to true, this connector listener rule cannot be deleted. */ terminationProtection?: pulumi.Input<boolean>; /** * The type of the rule. It can be either `any`, `resource` or `technology` */ type?: pulumi.Input<string>; } /** * The set of arguments for constructing a ConnectorListenerRule resource. */ export interface ConnectorListenerRuleArgs { /** * The ID of the listener this rule is associated with. */ connectorListenerId: pulumi.Input<string>; /** * The rule to apply to the listener. It should be either the id of the resource or the name of the technology. */ rule: pulumi.Input<string>; /** * If set to true, this connector listener rule cannot be deleted. */ terminationProtection?: pulumi.Input<boolean>; /** * The type of the rule. It can be either `any`, `resource` or `technology` */ type: pulumi.Input<string>; }