formal.IntegrationMfa
Explore with Pulumi AI
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. Integration Mfa Duo - 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
- Termination
Protection bool - If set to true, this Integration MFA cannot be deleted.
- Duo
Integration
Mfa Duo Args - 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
- Termination
Protection bool - If set to true, this Integration MFA cannot be deleted.
- duo
Integration
Mfa Duo - 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
- termination
Protection Boolean - If set to true, this Integration MFA cannot be deleted.
- duo
Integration
Mfa Duo - 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
- termination
Protection boolean - If set to true, this Integration MFA cannot be deleted.
- duo
Integration
Mfa Duo Args - 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
- termination
Protection 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.
- Duo
Formal.
Pulumi. Inputs. Integration Mfa Duo - 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
- Termination
Protection bool - If set to true, this Integration MFA cannot be deleted.
- Duo
Integration
Mfa Duo Args - 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
- Termination
Protection bool - If set to true, this Integration MFA cannot be deleted.
- duo
Integration
Mfa Duo - 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
- termination
Protection Boolean - If set to true, this Integration MFA cannot be deleted.
- duo
Integration
Mfa Duo - 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
- termination
Protection boolean - If set to true, this Integration MFA cannot be deleted.
- duo
Integration
Mfa Duo Args - 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
- termination
Protection Boolean - If set to true, this Integration MFA cannot be deleted.
Supporting Types
IntegrationMfaDuo, IntegrationMfaDuoArgs
- Api
Hostname string - Duo API Hostname.
- Integration
Key string - Duo Integration Key.
- Secret
Key string - Duo Secret Key.
- Api
Hostname string - Duo API Hostname.
- Integration
Key string - Duo Integration Key.
- Secret
Key string - Duo Secret Key.
- api
Hostname String - Duo API Hostname.
- integration
Key String - Duo Integration Key.
- secret
Key String - Duo Secret Key.
- api
Hostname string - Duo API Hostname.
- integration
Key string - Duo Integration Key.
- secret
Key string - Duo Secret Key.
- api_
hostname str - Duo API Hostname.
- integration_
key str - Duo Integration Key.
- secret_
key str - Duo Secret Key.
- api
Hostname String - Duo API Hostname.
- integration
Key String - Duo Integration Key.
- secret
Key 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.