1. Packages
  2. Formal Provider
  3. API Docs
  4. IntegrationMfa
Formal v1.0.3 published on Monday, Aug 18, 2025 by Formal

formal.IntegrationMfa

Explore with Pulumi AI

formal logo
Formal v1.0.3 published on Monday, Aug 18, 2025 by Formal

    Registering a Integration MFA app.

    Create IntegrationMfa Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new IntegrationMfa(name: string, args?: IntegrationMfaArgs, opts?: CustomResourceOptions);
    @overload
    def IntegrationMfa(resource_name: str,
                       args: Optional[IntegrationMfaArgs] = None,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def IntegrationMfa(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       duo: Optional[IntegrationMfaDuoArgs] = None,
                       name: Optional[str] = None,
                       termination_protection: Optional[bool] = None)
    func NewIntegrationMfa(ctx *Context, name string, args *IntegrationMfaArgs, opts ...ResourceOption) (*IntegrationMfa, error)
    public IntegrationMfa(string name, IntegrationMfaArgs? args = null, CustomResourceOptions? opts = null)
    public IntegrationMfa(String name, IntegrationMfaArgs args)
    public IntegrationMfa(String name, IntegrationMfaArgs args, CustomResourceOptions options)
    
    type: formal:IntegrationMfa
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args IntegrationMfaArgs
    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 IntegrationMfaArgs
    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 IntegrationMfaArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IntegrationMfaArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IntegrationMfaArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var integrationMfaResource = new Pulumi.IntegrationMfa("integrationMfaResource", new()
    {
        Duo = new Pulumi.Inputs.IntegrationMfaDuoArgs
        {
            ApiHostname = "string",
            IntegrationKey = "string",
            SecretKey = "string",
        },
        Name = "string",
        TerminationProtection = false,
    });
    
    example, err := formal.NewIntegrationMfa(ctx, "integrationMfaResource", &formal.IntegrationMfaArgs{
    	Duo: &formal.IntegrationMfaDuoArgs{
    		ApiHostname:    pulumi.String("string"),
    		IntegrationKey: pulumi.String("string"),
    		SecretKey:      pulumi.String("string"),
    	},
    	Name:                  pulumi.String("string"),
    	TerminationProtection: pulumi.Bool(false),
    })
    
    var integrationMfaResource = new IntegrationMfa("integrationMfaResource", IntegrationMfaArgs.builder()
        .duo(IntegrationMfaDuoArgs.builder()
            .apiHostname("string")
            .integrationKey("string")
            .secretKey("string")
            .build())
        .name("string")
        .terminationProtection(false)
        .build());
    
    integration_mfa_resource = formal.IntegrationMfa("integrationMfaResource",
        duo={
            "api_hostname": "string",
            "integration_key": "string",
            "secret_key": "string",
        },
        name="string",
        termination_protection=False)
    
    const integrationMfaResource = new formal.IntegrationMfa("integrationMfaResource", {
        duo: {
            apiHostname: "string",
            integrationKey: "string",
            secretKey: "string",
        },
        name: "string",
        terminationProtection: false,
    });
    
    type: formal:IntegrationMfa
    properties:
        duo:
            apiHostname: string
            integrationKey: string
            secretKey: string
        name: string
        terminationProtection: false
    

    IntegrationMfa Resource Properties

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

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The IntegrationMfa resource accepts the following input properties:

    Duo Formal.Pulumi.Inputs.IntegrationMfaDuo
    Configuration block for Duo integration. This block is optional and may be omitted if not configuring a Duo integration.
    Name string
    Name of the Integration
    TerminationProtection bool
    If set to true, this Integration MFA cannot be deleted.
    Duo IntegrationMfaDuoArgs
    Configuration block for Duo integration. This block is optional and may be omitted if not configuring a Duo integration.
    Name string
    Name of the Integration
    TerminationProtection bool
    If set to true, this Integration MFA cannot be deleted.
    duo IntegrationMfaDuo
    Configuration block for Duo integration. This block is optional and may be omitted if not configuring a Duo integration.
    name String
    Name of the Integration
    terminationProtection Boolean
    If set to true, this Integration MFA cannot be deleted.
    duo IntegrationMfaDuo
    Configuration block for Duo integration. This block is optional and may be omitted if not configuring a Duo integration.
    name string
    Name of the Integration
    terminationProtection boolean
    If set to true, this Integration MFA cannot be deleted.
    duo IntegrationMfaDuoArgs
    Configuration block for Duo integration. This block is optional and may be omitted if not configuring a Duo integration.
    name str
    Name of the Integration
    termination_protection bool
    If set to true, this Integration MFA cannot be deleted.
    duo Property Map
    Configuration block for Duo integration. This block is optional and may be omitted if not configuring a Duo integration.
    name String
    Name of the Integration
    terminationProtection Boolean
    If set to true, this Integration MFA cannot be deleted.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the IntegrationMfa 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 IntegrationMfa Resource

    Get an existing IntegrationMfa 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?: IntegrationMfaState, opts?: CustomResourceOptions): IntegrationMfa
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            duo: Optional[IntegrationMfaDuoArgs] = None,
            name: Optional[str] = None,
            termination_protection: Optional[bool] = None) -> IntegrationMfa
    func GetIntegrationMfa(ctx *Context, name string, id IDInput, state *IntegrationMfaState, opts ...ResourceOption) (*IntegrationMfa, error)
    public static IntegrationMfa Get(string name, Input<string> id, IntegrationMfaState? state, CustomResourceOptions? opts = null)
    public static IntegrationMfa get(String name, Output<String> id, IntegrationMfaState state, CustomResourceOptions options)
    resources:  _:    type: formal:IntegrationMfa    get:      id: ${id}
    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:
    Duo Formal.Pulumi.Inputs.IntegrationMfaDuo
    Configuration block for Duo integration. This block is optional and may be omitted if not configuring a Duo integration.
    Name string
    Name of the Integration
    TerminationProtection bool
    If set to true, this Integration MFA cannot be deleted.
    Duo IntegrationMfaDuoArgs
    Configuration block for Duo integration. This block is optional and may be omitted if not configuring a Duo integration.
    Name string
    Name of the Integration
    TerminationProtection bool
    If set to true, this Integration MFA cannot be deleted.
    duo IntegrationMfaDuo
    Configuration block for Duo integration. This block is optional and may be omitted if not configuring a Duo integration.
    name String
    Name of the Integration
    terminationProtection Boolean
    If set to true, this Integration MFA cannot be deleted.
    duo IntegrationMfaDuo
    Configuration block for Duo integration. This block is optional and may be omitted if not configuring a Duo integration.
    name string
    Name of the Integration
    terminationProtection boolean
    If set to true, this Integration MFA cannot be deleted.
    duo IntegrationMfaDuoArgs
    Configuration block for Duo integration. This block is optional and may be omitted if not configuring a Duo integration.
    name str
    Name of the Integration
    termination_protection bool
    If set to true, this Integration MFA cannot be deleted.
    duo Property Map
    Configuration block for Duo integration. This block is optional and may be omitted if not configuring a Duo integration.
    name String
    Name of the Integration
    terminationProtection Boolean
    If set to true, this Integration MFA cannot be deleted.

    Supporting Types

    IntegrationMfaDuo, IntegrationMfaDuoArgs

    ApiHostname string
    Duo API Hostname.
    IntegrationKey string
    Duo Integration Key.
    SecretKey string
    Duo Secret Key.
    ApiHostname string
    Duo API Hostname.
    IntegrationKey string
    Duo Integration Key.
    SecretKey string
    Duo Secret Key.
    apiHostname String
    Duo API Hostname.
    integrationKey String
    Duo Integration Key.
    secretKey String
    Duo Secret Key.
    apiHostname string
    Duo API Hostname.
    integrationKey string
    Duo Integration Key.
    secretKey string
    Duo Secret Key.
    api_hostname str
    Duo API Hostname.
    integration_key str
    Duo Integration Key.
    secret_key str
    Duo Secret Key.
    apiHostname String
    Duo API Hostname.
    integrationKey String
    Duo Integration Key.
    secretKey String
    Duo Secret Key.

    Package Details

    Repository
    formal formalco/pulumi-formal
    License
    MPL-2.0
    Notes
    This Pulumi package is based on the formal Terraform Provider.
    formal logo
    Formal v1.0.3 published on Monday, Aug 18, 2025 by Formal
      AI Agentic Workflows: Register now