This package is deprecated. Active development has stopped. We recommend using the Google Cloud package instead.
published on Wednesday, Nov 29, 2023 by Pulumi
This package is deprecated. Active development has stopped. We recommend using the Google Cloud package instead.
published on Wednesday, Nov 29, 2023 by Pulumi
Creates an Event Threat Detection custom module. Auto-naming is currently not supported for this resource.
Create OrganizationEventThreatDetectionSettingCustomModule Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new OrganizationEventThreatDetectionSettingCustomModule(name: string, args: OrganizationEventThreatDetectionSettingCustomModuleArgs, opts?: CustomResourceOptions);@overload
def OrganizationEventThreatDetectionSettingCustomModule(resource_name: str,
args: OrganizationEventThreatDetectionSettingCustomModuleArgs,
opts: Optional[ResourceOptions] = None)
@overload
def OrganizationEventThreatDetectionSettingCustomModule(resource_name: str,
opts: Optional[ResourceOptions] = None,
organization_id: Optional[str] = None,
config: Optional[Mapping[str, str]] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
enablement_state: Optional[OrganizationEventThreatDetectionSettingCustomModuleEnablementState] = None,
name: Optional[str] = None,
type: Optional[str] = None)func NewOrganizationEventThreatDetectionSettingCustomModule(ctx *Context, name string, args OrganizationEventThreatDetectionSettingCustomModuleArgs, opts ...ResourceOption) (*OrganizationEventThreatDetectionSettingCustomModule, error)public OrganizationEventThreatDetectionSettingCustomModule(string name, OrganizationEventThreatDetectionSettingCustomModuleArgs args, CustomResourceOptions? opts = null)
public OrganizationEventThreatDetectionSettingCustomModule(String name, OrganizationEventThreatDetectionSettingCustomModuleArgs args)
public OrganizationEventThreatDetectionSettingCustomModule(String name, OrganizationEventThreatDetectionSettingCustomModuleArgs args, CustomResourceOptions options)
type: google-native:securitycenter/v1:OrganizationEventThreatDetectionSettingCustomModule
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "google-native_securitycenter_v1_organization_event_threat_detection_setting_custom_module" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args OrganizationEventThreatDetectionSettingCustomModuleArgs
- 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 OrganizationEventThreatDetectionSettingCustomModuleArgs
- 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 OrganizationEventThreatDetectionSettingCustomModuleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args OrganizationEventThreatDetectionSettingCustomModuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args OrganizationEventThreatDetectionSettingCustomModuleArgs
- 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 organizationEventThreatDetectionSettingCustomModuleResource = new GoogleNative.Securitycenter.V1.OrganizationEventThreatDetectionSettingCustomModule("organizationEventThreatDetectionSettingCustomModuleResource", new()
{
OrganizationId = "string",
Config =
{
{ "string", "string" },
},
Description = "string",
DisplayName = "string",
EnablementState = GoogleNative.Securitycenter.V1.OrganizationEventThreatDetectionSettingCustomModuleEnablementState.EnablementStateUnspecified,
Name = "string",
Type = "string",
});
example, err := securitycenter.NewOrganizationEventThreatDetectionSettingCustomModule(ctx, "organizationEventThreatDetectionSettingCustomModuleResource", &securitycenter.OrganizationEventThreatDetectionSettingCustomModuleArgs{
OrganizationId: pulumi.String("string"),
Config: pulumi.StringMap{
"string": pulumi.String("string"),
},
Description: pulumi.String("string"),
DisplayName: pulumi.String("string"),
EnablementState: securitycenter.OrganizationEventThreatDetectionSettingCustomModuleEnablementStateEnablementStateUnspecified,
Name: pulumi.String("string"),
Type: pulumi.String("string"),
})
resource "google-native_securitycenter_v1_organization_event_threat_detection_setting_custom_module" "organizationEventThreatDetectionSettingCustomModuleResource" {
lifecycle {
create_before_destroy = true
}
organization_id = "string"
config = {
"string" = "string"
}
description = "string"
display_name = "string"
enablement_state = "ENABLEMENT_STATE_UNSPECIFIED"
name = "string"
type = "string"
}
var organizationEventThreatDetectionSettingCustomModuleResource = new OrganizationEventThreatDetectionSettingCustomModule("organizationEventThreatDetectionSettingCustomModuleResource", OrganizationEventThreatDetectionSettingCustomModuleArgs.builder()
.organizationId("string")
.config(Map.of("string", "string"))
.description("string")
.displayName("string")
.enablementState(com.pulumi.googlenative.securitycenter_v1.enums.OrganizationEventThreatDetectionSettingCustomModuleEnablementState.EnablementStateUnspecified)
.name("string")
.type("string")
.build());
organization_event_threat_detection_setting_custom_module_resource = google_native.securitycenter.v1.OrganizationEventThreatDetectionSettingCustomModule("organizationEventThreatDetectionSettingCustomModuleResource",
organization_id="string",
config={
"string": "string",
},
description="string",
display_name="string",
enablement_state=google_native.securitycenter.v1.OrganizationEventThreatDetectionSettingCustomModuleEnablementState.ENABLEMENT_STATE_UNSPECIFIED,
name="string",
type="string")
const organizationEventThreatDetectionSettingCustomModuleResource = new google_native.securitycenter.v1.OrganizationEventThreatDetectionSettingCustomModule("organizationEventThreatDetectionSettingCustomModuleResource", {
organizationId: "string",
config: {
string: "string",
},
description: "string",
displayName: "string",
enablementState: google_native.securitycenter.v1.OrganizationEventThreatDetectionSettingCustomModuleEnablementState.EnablementStateUnspecified,
name: "string",
type: "string",
});
type: google-native:securitycenter/v1:OrganizationEventThreatDetectionSettingCustomModule
properties:
config:
string: string
description: string
displayName: string
enablementState: ENABLEMENT_STATE_UNSPECIFIED
name: string
organizationId: string
type: string
OrganizationEventThreatDetectionSettingCustomModule 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 OrganizationEventThreatDetectionSettingCustomModule resource accepts the following input properties:
- Organization
Id string - Config Dictionary<string, string>
- 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.
- Description string
- The description for the module.
- Display
Name string - The human readable name to be displayed for the module.
- Enablement
State Pulumi.Google Native. Securitycenter. V1. Organization Event Threat Detection Setting Custom Module Enablement State - The state of enablement for the module at the given level of the hierarchy.
- Name string
- Immutable. The resource name of the Event Threat Detection custom module. Its format is: * "organizations/{organization}/eventThreatDetectionSettings/customModules/{module}". * "folders/{folder}/eventThreatDetectionSettings/customModules/{module}". * "projects/{project}/eventThreatDetectionSettings/customModules/{module}".
- Type string
- Type for the module. e.g. CONFIGURABLE_BAD_IP.
- Organization
Id string - Config map[string]string
- 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.
- Description string
- The description for the module.
- Display
Name string - The human readable name to be displayed for the module.
- Enablement
State OrganizationEvent Threat Detection Setting Custom Module Enablement State - The state of enablement for the module at the given level of the hierarchy.
- Name string
- Immutable. The resource name of the Event Threat Detection custom module. Its format is: * "organizations/{organization}/eventThreatDetectionSettings/customModules/{module}". * "folders/{folder}/eventThreatDetectionSettings/customModules/{module}". * "projects/{project}/eventThreatDetectionSettings/customModules/{module}".
- Type string
- Type for the module. e.g. CONFIGURABLE_BAD_IP.
- organization_
id string - config map(string)
- 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.
- description string
- The description for the module.
- display_
name string - The human readable name to be displayed for the module.
- enablement_
state "ENABLEMENT_STATE_UNSPECIFIED" | "ENABLED" | "DISABLED" - The state of enablement for the module at the given level of the hierarchy.
- name string
- Immutable. The resource name of the Event Threat Detection custom module. Its format is: * "organizations/{organization}/eventThreatDetectionSettings/customModules/{module}". * "folders/{folder}/eventThreatDetectionSettings/customModules/{module}". * "projects/{project}/eventThreatDetectionSettings/customModules/{module}".
- type string
- Type for the module. e.g. CONFIGURABLE_BAD_IP.
- organization
Id String - config Map<String,String>
- 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.
- description String
- The description for the module.
- display
Name String - The human readable name to be displayed for the module.
- enablement
State OrganizationEvent Threat Detection Setting Custom Module Enablement State - The state of enablement for the module at the given level of the hierarchy.
- name String
- Immutable. The resource name of the Event Threat Detection custom module. Its format is: * "organizations/{organization}/eventThreatDetectionSettings/customModules/{module}". * "folders/{folder}/eventThreatDetectionSettings/customModules/{module}". * "projects/{project}/eventThreatDetectionSettings/customModules/{module}".
- type String
- Type for the module. e.g. CONFIGURABLE_BAD_IP.
- organization
Id string - config {[key: string]: string}
- 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.
- description string
- The description for the module.
- display
Name string - The human readable name to be displayed for the module.
- enablement
State OrganizationEvent Threat Detection Setting Custom Module Enablement State - The state of enablement for the module at the given level of the hierarchy.
- name string
- Immutable. The resource name of the Event Threat Detection custom module. Its format is: * "organizations/{organization}/eventThreatDetectionSettings/customModules/{module}". * "folders/{folder}/eventThreatDetectionSettings/customModules/{module}". * "projects/{project}/eventThreatDetectionSettings/customModules/{module}".
- type string
- Type for the module. e.g. CONFIGURABLE_BAD_IP.
- organization_
id str - config Mapping[str, str]
- 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.
- description str
- The description for the module.
- display_
name str - The human readable name to be displayed for the module.
- enablement_
state OrganizationEvent Threat Detection Setting Custom Module Enablement State - The state of enablement for the module at the given level of the hierarchy.
- name str
- Immutable. The resource name of the Event Threat Detection custom module. Its format is: * "organizations/{organization}/eventThreatDetectionSettings/customModules/{module}". * "folders/{folder}/eventThreatDetectionSettings/customModules/{module}". * "projects/{project}/eventThreatDetectionSettings/customModules/{module}".
- type str
- Type for the module. e.g. CONFIGURABLE_BAD_IP.
- organization
Id String - config Map<String>
- 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.
- description String
- The description for the module.
- display
Name String - The human readable name to be displayed for the module.
- enablement
State "ENABLEMENT_STATE_UNSPECIFIED" | "ENABLED" | "DISABLED" - The state of enablement for the module at the given level of the hierarchy.
- name String
- Immutable. The resource name of the Event Threat Detection custom module. Its format is: * "organizations/{organization}/eventThreatDetectionSettings/customModules/{module}". * "folders/{folder}/eventThreatDetectionSettings/customModules/{module}". * "projects/{project}/eventThreatDetectionSettings/customModules/{module}".
- type String
- Type for the module. e.g. CONFIGURABLE_BAD_IP.
Outputs
All input properties are implicitly available as output properties. Additionally, the OrganizationEventThreatDetectionSettingCustomModule resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Editor string - The editor the module was last updated by.
- Update
Time string - The time the module was last updated.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Editor string - The editor the module was last updated by.
- Update
Time string - The time the module was last updated.
- id string
- The provider-assigned unique ID for this managed resource.
- last_
editor string - The editor the module was last updated by.
- update_
time string - The time the module was last updated.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Editor String - The editor the module was last updated by.
- update
Time String - The time the module was last updated.
- id string
- The provider-assigned unique ID for this managed resource.
- last
Editor string - The editor the module was last updated by.
- update
Time string - The time the module was last updated.
- id str
- The provider-assigned unique ID for this managed resource.
- last_
editor str - The editor the module was last updated by.
- update_
time str - The time the module was last updated.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Editor String - The editor the module was last updated by.
- update
Time String - The time the module was last updated.
Look up Existing OrganizationEventThreatDetectionSettingCustomModule Resource
Get an existing OrganizationEventThreatDetectionSettingCustomModule 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>, opts?: CustomResourceOptions): OrganizationEventThreatDetectionSettingCustomModule@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None) -> OrganizationEventThreatDetectionSettingCustomModulefunc GetOrganizationEventThreatDetectionSettingCustomModule(ctx *Context, name string, id IDInput, state *OrganizationEventThreatDetectionSettingCustomModuleState, opts ...ResourceOption) (*OrganizationEventThreatDetectionSettingCustomModule, error)public static OrganizationEventThreatDetectionSettingCustomModule Get(string name, Input<string> id, CustomResourceOptions? opts = null)public static OrganizationEventThreatDetectionSettingCustomModule get(String name, Output<String> id, CustomResourceOptions options)resources: existingOrganizationEventThreatDetectionSettingCustomModule: type: google-native:securitycenter/v1:OrganizationEventThreatDetectionSettingCustomModule get: id: ${id}import {
to = google-native_securitycenter_v1_organization_event_threat_detection_setting_custom_module.example
id = "${id}"
}
- name string
- The unique name of the resulting resource.
- id Input<ID>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resulting resource.
- id str
- The unique provider ID of the resource to look up.
- 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 resulting resource.
- id IDInput
- The unique provider ID of the resource to look up.
- state OrganizationEventThreatDetectionSettingCustomModuleState
- Pass nil. This resource has no state arguments.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resulting resource.
- id Input<string>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resulting resource.
- id Output<String>
- The unique provider ID of the resource to look up.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Supporting Types
OrganizationEventThreatDetectionSettingCustomModuleEnablementState, OrganizationEventThreatDetectionSettingCustomModuleEnablementStateArgs
The state of enablement for the module at the given level of the hierarchy.| Name | Value | Description |
|---|---|---|
| Enablement | ENABLEMENT_STATE_UNSPECIFIED | Unspecified enablement state. |
| Enabled | ENABLED | The module is enabled at the given level. |
| Disabled | DISABLED | The module is disabled at the given level. |
| Name | Value | Description |
|---|---|---|
| Organization | ENABLEMENT_STATE_UNSPECIFIED | Unspecified enablement state. |
| Organization | ENABLED | The module is enabled at the given level. |
| Organization | DISABLED | The module is disabled at the given level. |
| Value | Description |
|---|---|
ENABLEMENT_STATE_UNSPECIFIED | Unspecified enablement state. |
ENABLED | The module is enabled at the given level. |
DISABLED | The module is disabled at the given level. |
| Name | Value | Description |
|---|---|---|
| Enablement | ENABLEMENT_STATE_UNSPECIFIED | Unspecified enablement state. |
| Enabled | ENABLED | The module is enabled at the given level. |
| Disabled | DISABLED | The module is disabled at the given level. |
| Name | Value | Description |
|---|---|---|
| Enablement | ENABLEMENT_STATE_UNSPECIFIED | Unspecified enablement state. |
| Enabled | ENABLED | The module is enabled at the given level. |
| Disabled | DISABLED | The module is disabled at the given level. |
| Name | Value | Description |
|---|---|---|
| ENABLEMENT_STATE_UNSPECIFIED | ENABLEMENT_STATE_UNSPECIFIED | Unspecified enablement state. |
| ENABLED | ENABLED | The module is enabled at the given level. |
| DISABLED | DISABLED | The module is disabled at the given level. |
| Value | Description |
|---|---|
ENABLEMENT_STATE_UNSPECIFIED | Unspecified enablement state. |
ENABLED | The module is enabled at the given level. |
DISABLED | The module is disabled at the given level. |
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
This package is deprecated. Active development has stopped. We recommend using the Google Cloud package instead.
published on Wednesday, Nov 29, 2023 by Pulumi