@pulumi/gcp
Version:
A Pulumi package for creating and managing Google Cloud Platform resources.
185 lines (184 loc) • 8.02 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Represents an instance of an Event Threat Detection custom module, including
* its full module name, display name, enablement state, and last updated time.
* You can create a custom module at the organization level only.
*
* To get more information about OrganizationEventThreatDetectionCustomModule, see:
*
* * [API documentation](https://cloud.google.com/security-command-center/docs/reference/security-center-management/rest/v1/organizations.locations.eventThreatDetectionCustomModules)
* * How-to Guides
* * [Overview of custom modules for Event Threat Detection](https://cloud.google.com/security-command-center/docs/custom-modules-etd-overview)
*
* ## Example Usage
*
* ## Import
*
* OrganizationEventThreatDetectionCustomModule can be imported using any of these accepted formats:
*
* * `organizations/{{organization}}/locations/{{location}}/eventThreatDetectionCustomModules/{{name}}`
*
* * `{{organization}}/{{location}}/{{name}}`
*
* When using the `pulumi import` command, OrganizationEventThreatDetectionCustomModule can be imported using one of the formats above. For example:
*
* ```sh
* $ pulumi import gcp:securitycenter/managementOrganizationEventThreatDetectionCustomModule:ManagementOrganizationEventThreatDetectionCustomModule default organizations/{{organization}}/locations/{{location}}/eventThreatDetectionCustomModules/{{name}}
* ```
*
* ```sh
* $ pulumi import gcp:securitycenter/managementOrganizationEventThreatDetectionCustomModule:ManagementOrganizationEventThreatDetectionCustomModule default {{organization}}/{{location}}/{{name}}
* ```
*/
export declare class ManagementOrganizationEventThreatDetectionCustomModule extends pulumi.CustomResource {
/**
* Get an existing ManagementOrganizationEventThreatDetectionCustomModule 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?: ManagementOrganizationEventThreatDetectionCustomModuleState, opts?: pulumi.CustomResourceOptions): ManagementOrganizationEventThreatDetectionCustomModule;
/**
* Returns true if the given object is an instance of ManagementOrganizationEventThreatDetectionCustomModule. 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 ManagementOrganizationEventThreatDetectionCustomModule;
/**
* Config for the module. For the resident module, its config value is defined at this level.
* For the inherited module, its config value is inherited from the ancestor module.
*/
readonly config: pulumi.Output<string | undefined>;
/**
* The human readable name to be displayed for the module.
*/
readonly displayName: pulumi.Output<string | undefined>;
/**
* The state of enablement for the module at the given level of the hierarchy.
* Possible values are: `ENABLED`, `DISABLED`.
*/
readonly enablementState: pulumi.Output<string | undefined>;
/**
* The editor that last updated the custom module
*/
readonly lastEditor: pulumi.Output<string>;
/**
* Location ID of the parent organization. Only global is supported at the moment.
*/
readonly location: pulumi.Output<string | undefined>;
/**
* The resource name of the Event Threat Detection custom module.
* Its format is "organizations/{organization}/locations/{location}/eventThreatDetectionCustomModules/{eventThreatDetectionCustomModule}".
*/
readonly name: pulumi.Output<string>;
/**
* Numerical ID of the parent organization.
*
*
* - - -
*/
readonly organization: pulumi.Output<string>;
/**
* Immutable. Type for the module. e.g. CONFIGURABLE_BAD_IP.
*/
readonly type: pulumi.Output<string | undefined>;
/**
* The time at which the custom module was last updated.
* A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and
* up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
*/
readonly updateTime: pulumi.Output<string>;
/**
* Create a ManagementOrganizationEventThreatDetectionCustomModule 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: ManagementOrganizationEventThreatDetectionCustomModuleArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering ManagementOrganizationEventThreatDetectionCustomModule resources.
*/
export interface ManagementOrganizationEventThreatDetectionCustomModuleState {
/**
* Config for the module. For the resident module, its config value is defined at this level.
* For the inherited module, its config value is inherited from the ancestor module.
*/
config?: pulumi.Input<string>;
/**
* The human readable name to be displayed for the module.
*/
displayName?: pulumi.Input<string>;
/**
* The state of enablement for the module at the given level of the hierarchy.
* Possible values are: `ENABLED`, `DISABLED`.
*/
enablementState?: pulumi.Input<string>;
/**
* The editor that last updated the custom module
*/
lastEditor?: pulumi.Input<string>;
/**
* Location ID of the parent organization. Only global is supported at the moment.
*/
location?: pulumi.Input<string>;
/**
* The resource name of the Event Threat Detection custom module.
* Its format is "organizations/{organization}/locations/{location}/eventThreatDetectionCustomModules/{eventThreatDetectionCustomModule}".
*/
name?: pulumi.Input<string>;
/**
* Numerical ID of the parent organization.
*
*
* - - -
*/
organization?: pulumi.Input<string>;
/**
* Immutable. Type for the module. e.g. CONFIGURABLE_BAD_IP.
*/
type?: pulumi.Input<string>;
/**
* The time at which the custom module was last updated.
* A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and
* up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
*/
updateTime?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a ManagementOrganizationEventThreatDetectionCustomModule resource.
*/
export interface ManagementOrganizationEventThreatDetectionCustomModuleArgs {
/**
* Config for the module. For the resident module, its config value is defined at this level.
* For the inherited module, its config value is inherited from the ancestor module.
*/
config?: pulumi.Input<string>;
/**
* The human readable name to be displayed for the module.
*/
displayName?: pulumi.Input<string>;
/**
* The state of enablement for the module at the given level of the hierarchy.
* Possible values are: `ENABLED`, `DISABLED`.
*/
enablementState?: pulumi.Input<string>;
/**
* Location ID of the parent organization. Only global is supported at the moment.
*/
location?: pulumi.Input<string>;
/**
* Numerical ID of the parent organization.
*
*
* - - -
*/
organization: pulumi.Input<string>;
/**
* Immutable. Type for the module. e.g. CONFIGURABLE_BAD_IP.
*/
type?: pulumi.Input<string>;
}