nomad.AclBindingRule

Explore with Pulumi AI

Create AclBindingRule Resource

new AclBindingRule(name: string, args: AclBindingRuleArgs, opts?: CustomResourceOptions);
@overload
def AclBindingRule(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   auth_method: Optional[str] = None,
                   bind_name: Optional[str] = None,
                   bind_type: Optional[str] = None,
                   description: Optional[str] = None,
                   selector: Optional[str] = None)
@overload
def AclBindingRule(resource_name: str,
                   args: AclBindingRuleArgs,
                   opts: Optional[ResourceOptions] = None)
func NewAclBindingRule(ctx *Context, name string, args AclBindingRuleArgs, opts ...ResourceOption) (*AclBindingRule, error)
public AclBindingRule(string name, AclBindingRuleArgs args, CustomResourceOptions? opts = null)
public AclBindingRule(String name, AclBindingRuleArgs args)
public AclBindingRule(String name, AclBindingRuleArgs args, CustomResourceOptions options)
type: nomad:AclBindingRule
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args AclBindingRuleArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args AclBindingRuleArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args AclBindingRuleArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args AclBindingRuleArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args AclBindingRuleArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

AclBindingRule Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The AclBindingRule resource accepts the following input properties:

AuthMethod string

(string: <required>) - Name of the auth method for which this rule applies to.

BindName string

(string: "") - Target of the binding.

BindType string

(string: <required>) - Adjusts how this binding rule is applied at login time. Valid values are role, policy, and management.

Description string

(string: "") - Description for this ACL binding rule.

Selector string

(string: "") - A boolean expression that matches against verified identity attributes returned from the auth method during login.

AuthMethod string

(string: <required>) - Name of the auth method for which this rule applies to.

BindName string

(string: "") - Target of the binding.

BindType string

(string: <required>) - Adjusts how this binding rule is applied at login time. Valid values are role, policy, and management.

Description string

(string: "") - Description for this ACL binding rule.

Selector string

(string: "") - A boolean expression that matches against verified identity attributes returned from the auth method during login.

authMethod String

(string: <required>) - Name of the auth method for which this rule applies to.

bindName String

(string: "") - Target of the binding.

bindType String

(string: <required>) - Adjusts how this binding rule is applied at login time. Valid values are role, policy, and management.

description String

(string: "") - Description for this ACL binding rule.

selector String

(string: "") - A boolean expression that matches against verified identity attributes returned from the auth method during login.

authMethod string

(string: <required>) - Name of the auth method for which this rule applies to.

bindName string

(string: "") - Target of the binding.

bindType string

(string: <required>) - Adjusts how this binding rule is applied at login time. Valid values are role, policy, and management.

description string

(string: "") - Description for this ACL binding rule.

selector string

(string: "") - A boolean expression that matches against verified identity attributes returned from the auth method during login.

auth_method str

(string: <required>) - Name of the auth method for which this rule applies to.

bind_name str

(string: "") - Target of the binding.

bind_type str

(string: <required>) - Adjusts how this binding rule is applied at login time. Valid values are role, policy, and management.

description str

(string: "") - Description for this ACL binding rule.

selector str

(string: "") - A boolean expression that matches against verified identity attributes returned from the auth method during login.

authMethod String

(string: <required>) - Name of the auth method for which this rule applies to.

bindName String

(string: "") - Target of the binding.

bindType String

(string: <required>) - Adjusts how this binding rule is applied at login time. Valid values are role, policy, and management.

description String

(string: "") - Description for this ACL binding rule.

selector String

(string: "") - A boolean expression that matches against verified identity attributes returned from the auth method during login.

Outputs

All input properties are implicitly available as output properties. Additionally, the AclBindingRule resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

Id string

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

id string

The provider-assigned unique ID for this managed resource.

id str

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

Look up Existing AclBindingRule Resource

Get an existing AclBindingRule resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: AclBindingRuleState, opts?: CustomResourceOptions): AclBindingRule
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        auth_method: Optional[str] = None,
        bind_name: Optional[str] = None,
        bind_type: Optional[str] = None,
        description: Optional[str] = None,
        selector: Optional[str] = None) -> AclBindingRule
func GetAclBindingRule(ctx *Context, name string, id IDInput, state *AclBindingRuleState, opts ...ResourceOption) (*AclBindingRule, error)
public static AclBindingRule Get(string name, Input<string> id, AclBindingRuleState? state, CustomResourceOptions? opts = null)
public static AclBindingRule get(String name, Output<String> id, AclBindingRuleState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
AuthMethod string

(string: <required>) - Name of the auth method for which this rule applies to.

BindName string

(string: "") - Target of the binding.

BindType string

(string: <required>) - Adjusts how this binding rule is applied at login time. Valid values are role, policy, and management.

Description string

(string: "") - Description for this ACL binding rule.

Selector string

(string: "") - A boolean expression that matches against verified identity attributes returned from the auth method during login.

AuthMethod string

(string: <required>) - Name of the auth method for which this rule applies to.

BindName string

(string: "") - Target of the binding.

BindType string

(string: <required>) - Adjusts how this binding rule is applied at login time. Valid values are role, policy, and management.

Description string

(string: "") - Description for this ACL binding rule.

Selector string

(string: "") - A boolean expression that matches against verified identity attributes returned from the auth method during login.

authMethod String

(string: <required>) - Name of the auth method for which this rule applies to.

bindName String

(string: "") - Target of the binding.

bindType String

(string: <required>) - Adjusts how this binding rule is applied at login time. Valid values are role, policy, and management.

description String

(string: "") - Description for this ACL binding rule.

selector String

(string: "") - A boolean expression that matches against verified identity attributes returned from the auth method during login.

authMethod string

(string: <required>) - Name of the auth method for which this rule applies to.

bindName string

(string: "") - Target of the binding.

bindType string

(string: <required>) - Adjusts how this binding rule is applied at login time. Valid values are role, policy, and management.

description string

(string: "") - Description for this ACL binding rule.

selector string

(string: "") - A boolean expression that matches against verified identity attributes returned from the auth method during login.

auth_method str

(string: <required>) - Name of the auth method for which this rule applies to.

bind_name str

(string: "") - Target of the binding.

bind_type str

(string: <required>) - Adjusts how this binding rule is applied at login time. Valid values are role, policy, and management.

description str

(string: "") - Description for this ACL binding rule.

selector str

(string: "") - A boolean expression that matches against verified identity attributes returned from the auth method during login.

authMethod String

(string: <required>) - Name of the auth method for which this rule applies to.

bindName String

(string: "") - Target of the binding.

bindType String

(string: <required>) - Adjusts how this binding rule is applied at login time. Valid values are role, policy, and management.

description String

(string: "") - Description for this ACL binding rule.

selector String

(string: "") - A boolean expression that matches against verified identity attributes returned from the auth method during login.

Package Details

Repository
HashiCorp Nomad pulumi/pulumi-nomad
License
Apache-2.0
Notes

This Pulumi package is based on the nomad Terraform Provider.