@pulumi/sumologic
Version:
A Pulumi package for creating and managing sumologic cloud resources.
168 lines (167 loc) • 6.49 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "./types/input";
import * as outputs from "./types/output";
/**
* Provides the Sumologic CSE Entity Normalization Configuration for the whole organization. There can be only one configuration per organization.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as sumologic from "@pulumi/sumologic";
*
* const entityNormalizationConfiguration = new sumologic.CseEntityNormalizationConfiguration("entity_normalization_configuration", {
* windowsNormalizationEnabled: true,
* fqdnNormalizationEnabled: true,
* awsNormalizationEnabled: true,
* defaultNormalizedDomain: "domain.com",
* normalizeHostnames: true,
* normalizeUsernames: true,
* domainMappings: [{
* normalizedDomain: "normalized.domain",
* rawDomain: "raw.domain",
* }],
* });
* ```
*
* ## Import
*
* Entity Normalization Configuration can be imported using the id `cse-entity-normalization-configuration`:
*
* hcl
*
* ```sh
* $ pulumi import sumologic:index/cseEntityNormalizationConfiguration:CseEntityNormalizationConfiguration entity_normalization_configuration cse-entity-normalization-configuration
* ```
*/
export declare class CseEntityNormalizationConfiguration extends pulumi.CustomResource {
/**
* Get an existing CseEntityNormalizationConfiguration 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?: CseEntityNormalizationConfigurationState, opts?: pulumi.CustomResourceOptions): CseEntityNormalizationConfiguration;
/**
* Returns true if the given object is an instance of CseEntityNormalizationConfiguration. 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 CseEntityNormalizationConfiguration;
/**
* Normalize AWS ARN and Usernames.
*/
readonly awsNormalizationEnabled: pulumi.Output<boolean>;
/**
* When normalization is configured, at least one domain must be configured and a "Normalized Default Domain" must be provided.
*/
readonly defaultNormalizedDomain: pulumi.Output<string | undefined>;
/**
* Secondary domains.
*/
readonly domainMappings: pulumi.Output<outputs.CseEntityNormalizationConfigurationDomainMapping[]>;
/**
* Normalize names in the form user@somedomain.net or hostname.somedomain.net
*/
readonly fqdnNormalizationEnabled: pulumi.Output<boolean>;
/**
* If hostname normalization is enabled.
*/
readonly normalizeHostnames: pulumi.Output<boolean>;
/**
* If username normalization is enabled.
*
* - The following attributes are exported:
*
* - `ID` - The internal ID of the entity normalization configuration.
*/
readonly normalizeUsernames: pulumi.Output<boolean>;
/**
* Normalize active directory domains username and hostname formats.
*/
readonly windowsNormalizationEnabled: pulumi.Output<boolean>;
/**
* Create a CseEntityNormalizationConfiguration 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: CseEntityNormalizationConfigurationArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering CseEntityNormalizationConfiguration resources.
*/
export interface CseEntityNormalizationConfigurationState {
/**
* Normalize AWS ARN and Usernames.
*/
awsNormalizationEnabled?: pulumi.Input<boolean>;
/**
* When normalization is configured, at least one domain must be configured and a "Normalized Default Domain" must be provided.
*/
defaultNormalizedDomain?: pulumi.Input<string>;
/**
* Secondary domains.
*/
domainMappings?: pulumi.Input<pulumi.Input<inputs.CseEntityNormalizationConfigurationDomainMapping>[]>;
/**
* Normalize names in the form user@somedomain.net or hostname.somedomain.net
*/
fqdnNormalizationEnabled?: pulumi.Input<boolean>;
/**
* If hostname normalization is enabled.
*/
normalizeHostnames?: pulumi.Input<boolean>;
/**
* If username normalization is enabled.
*
* - The following attributes are exported:
*
* - `ID` - The internal ID of the entity normalization configuration.
*/
normalizeUsernames?: pulumi.Input<boolean>;
/**
* Normalize active directory domains username and hostname formats.
*/
windowsNormalizationEnabled?: pulumi.Input<boolean>;
}
/**
* The set of arguments for constructing a CseEntityNormalizationConfiguration resource.
*/
export interface CseEntityNormalizationConfigurationArgs {
/**
* Normalize AWS ARN and Usernames.
*/
awsNormalizationEnabled: pulumi.Input<boolean>;
/**
* When normalization is configured, at least one domain must be configured and a "Normalized Default Domain" must be provided.
*/
defaultNormalizedDomain?: pulumi.Input<string>;
/**
* Secondary domains.
*/
domainMappings: pulumi.Input<pulumi.Input<inputs.CseEntityNormalizationConfigurationDomainMapping>[]>;
/**
* Normalize names in the form user@somedomain.net or hostname.somedomain.net
*/
fqdnNormalizationEnabled: pulumi.Input<boolean>;
/**
* If hostname normalization is enabled.
*/
normalizeHostnames: pulumi.Input<boolean>;
/**
* If username normalization is enabled.
*
* - The following attributes are exported:
*
* - `ID` - The internal ID of the entity normalization configuration.
*/
normalizeUsernames: pulumi.Input<boolean>;
/**
* Normalize active directory domains username and hostname formats.
*/
windowsNormalizationEnabled: pulumi.Input<boolean>;
}