pulumi-fusionauth
Version:
A Pulumi package for managing FusionAuth instances.
140 lines (139 loc) • 6.81 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "./types/input";
import * as outputs from "./types/output";
/**
* ## # System Configuration Resource
*
* A registration is the association between a User and an Application that they log into.
*
* [System Configuration API](https://fusionauth.io/docs/v1/tech/apis/system)
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as fusionauth from "pulumi-fusionauth";
*
* const example = new fusionauth.FusionAuthSystemConfiguration("example", {
* auditLogConfiguration: {
* "delete": {
* enabled: true,
* numberOfDaysToRetain: 367,
* },
* },
* corsConfiguration: {
* allowedMethods: [
* "POST",
* "PUT",
* ],
* },
* });
* ```
*/
export declare class FusionAuthSystemConfiguration extends pulumi.CustomResource {
/**
* Get an existing FusionAuthSystemConfiguration 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?: FusionAuthSystemConfigurationState, opts?: pulumi.CustomResourceOptions): FusionAuthSystemConfiguration;
/**
* Returns true if the given object is an instance of FusionAuthSystemConfiguration. 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 FusionAuthSystemConfiguration;
readonly auditLogConfiguration: pulumi.Output<outputs.FusionAuthSystemConfigurationAuditLogConfiguration>;
readonly corsConfiguration: pulumi.Output<outputs.FusionAuthSystemConfigurationCorsConfiguration>;
/**
* An object that can hold any information about the System that should be persisted.
*/
readonly data: pulumi.Output<{
[key: string]: string;
} | undefined>;
readonly eventLogConfiguration: pulumi.Output<outputs.FusionAuthSystemConfigurationEventLogConfiguration>;
readonly loginRecordConfiguration: pulumi.Output<outputs.FusionAuthSystemConfigurationLoginRecordConfiguration>;
/**
* The time zone used to adjust the stored UTC time when generating reports. Since reports are usually rolled up hourly, this timezone will be used for demarcating the hours.
*/
readonly reportTimezone: pulumi.Output<string | undefined>;
/**
* The trusted proxy configuration.
*/
readonly trustedProxyConfiguration: pulumi.Output<outputs.FusionAuthSystemConfigurationTrustedProxyConfiguration | undefined>;
readonly uiConfiguration: pulumi.Output<outputs.FusionAuthSystemConfigurationUiConfiguration>;
/**
* The usage data configuration.
*/
readonly usageDataConfiguration: pulumi.Output<outputs.FusionAuthSystemConfigurationUsageDataConfiguration | undefined>;
readonly webhookEventLogConfiguration: pulumi.Output<outputs.FusionAuthSystemConfigurationWebhookEventLogConfiguration>;
/**
* Create a FusionAuthSystemConfiguration 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?: FusionAuthSystemConfigurationArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering FusionAuthSystemConfiguration resources.
*/
export interface FusionAuthSystemConfigurationState {
auditLogConfiguration?: pulumi.Input<inputs.FusionAuthSystemConfigurationAuditLogConfiguration>;
corsConfiguration?: pulumi.Input<inputs.FusionAuthSystemConfigurationCorsConfiguration>;
/**
* An object that can hold any information about the System that should be persisted.
*/
data?: pulumi.Input<{
[key: string]: pulumi.Input<string>;
}>;
eventLogConfiguration?: pulumi.Input<inputs.FusionAuthSystemConfigurationEventLogConfiguration>;
loginRecordConfiguration?: pulumi.Input<inputs.FusionAuthSystemConfigurationLoginRecordConfiguration>;
/**
* The time zone used to adjust the stored UTC time when generating reports. Since reports are usually rolled up hourly, this timezone will be used for demarcating the hours.
*/
reportTimezone?: pulumi.Input<string>;
/**
* The trusted proxy configuration.
*/
trustedProxyConfiguration?: pulumi.Input<inputs.FusionAuthSystemConfigurationTrustedProxyConfiguration>;
uiConfiguration?: pulumi.Input<inputs.FusionAuthSystemConfigurationUiConfiguration>;
/**
* The usage data configuration.
*/
usageDataConfiguration?: pulumi.Input<inputs.FusionAuthSystemConfigurationUsageDataConfiguration>;
webhookEventLogConfiguration?: pulumi.Input<inputs.FusionAuthSystemConfigurationWebhookEventLogConfiguration>;
}
/**
* The set of arguments for constructing a FusionAuthSystemConfiguration resource.
*/
export interface FusionAuthSystemConfigurationArgs {
auditLogConfiguration?: pulumi.Input<inputs.FusionAuthSystemConfigurationAuditLogConfiguration>;
corsConfiguration?: pulumi.Input<inputs.FusionAuthSystemConfigurationCorsConfiguration>;
/**
* An object that can hold any information about the System that should be persisted.
*/
data?: pulumi.Input<{
[key: string]: pulumi.Input<string>;
}>;
eventLogConfiguration?: pulumi.Input<inputs.FusionAuthSystemConfigurationEventLogConfiguration>;
loginRecordConfiguration?: pulumi.Input<inputs.FusionAuthSystemConfigurationLoginRecordConfiguration>;
/**
* The time zone used to adjust the stored UTC time when generating reports. Since reports are usually rolled up hourly, this timezone will be used for demarcating the hours.
*/
reportTimezone?: pulumi.Input<string>;
/**
* The trusted proxy configuration.
*/
trustedProxyConfiguration?: pulumi.Input<inputs.FusionAuthSystemConfigurationTrustedProxyConfiguration>;
uiConfiguration?: pulumi.Input<inputs.FusionAuthSystemConfigurationUiConfiguration>;
/**
* The usage data configuration.
*/
usageDataConfiguration?: pulumi.Input<inputs.FusionAuthSystemConfigurationUsageDataConfiguration>;
webhookEventLogConfiguration?: pulumi.Input<inputs.FusionAuthSystemConfigurationWebhookEventLogConfiguration>;
}