@pulumi/nomad
Version:
A Pulumi package for creating and managing nomad cloud resources.
112 lines (111 loc) • 4.48 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
export declare class AclBindingRule extends pulumi.CustomResource {
/**
* Get an existing AclBindingRule 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?: AclBindingRuleState, opts?: pulumi.CustomResourceOptions): AclBindingRule;
/**
* Returns true if the given object is an instance of AclBindingRule. 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 AclBindingRule;
/**
* `(string: <required>)` - Name of the auth method for which this
* rule applies to.
*/
readonly authMethod: pulumi.Output<string>;
/**
* `(string: <optional>)` - Target of the binding. If `bindType` is
* `role` or `policy` then `bindName` is required. If `bindType` is
* `management` than `bindName` must not be defined.
*/
readonly bindName: pulumi.Output<string | undefined>;
/**
* `(string: <required>)` - Adjusts how this binding rule is applied
* at login time. Valid values are `role`, `policy`, and `management`.
*/
readonly bindType: pulumi.Output<string>;
/**
* `(string: "")` - Description for this ACL binding rule.
*/
readonly description: pulumi.Output<string | undefined>;
/**
* `(string: "")` - A boolean expression that matches against verified
* identity attributes returned from the auth method during login.
*/
readonly selector: pulumi.Output<string | undefined>;
/**
* Create a AclBindingRule 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: AclBindingRuleArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering AclBindingRule resources.
*/
export interface AclBindingRuleState {
/**
* `(string: <required>)` - Name of the auth method for which this
* rule applies to.
*/
authMethod?: pulumi.Input<string>;
/**
* `(string: <optional>)` - Target of the binding. If `bindType` is
* `role` or `policy` then `bindName` is required. If `bindType` is
* `management` than `bindName` must not be defined.
*/
bindName?: pulumi.Input<string>;
/**
* `(string: <required>)` - Adjusts how this binding rule is applied
* at login time. Valid values are `role`, `policy`, and `management`.
*/
bindType?: pulumi.Input<string>;
/**
* `(string: "")` - Description for this ACL binding rule.
*/
description?: pulumi.Input<string>;
/**
* `(string: "")` - A boolean expression that matches against verified
* identity attributes returned from the auth method during login.
*/
selector?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a AclBindingRule resource.
*/
export interface AclBindingRuleArgs {
/**
* `(string: <required>)` - Name of the auth method for which this
* rule applies to.
*/
authMethod: pulumi.Input<string>;
/**
* `(string: <optional>)` - Target of the binding. If `bindType` is
* `role` or `policy` then `bindName` is required. If `bindType` is
* `management` than `bindName` must not be defined.
*/
bindName?: pulumi.Input<string>;
/**
* `(string: <required>)` - Adjusts how this binding rule is applied
* at login time. Valid values are `role`, `policy`, and `management`.
*/
bindType: pulumi.Input<string>;
/**
* `(string: "")` - Description for this ACL binding rule.
*/
description?: pulumi.Input<string>;
/**
* `(string: "")` - A boolean expression that matches against verified
* identity attributes returned from the auth method during login.
*/
selector?: pulumi.Input<string>;
}