Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.securitycenter/v1.OrganizationEventThreatDetectionSettingCustomModule
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
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.
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"),
})
var organizationEventThreatDetectionSettingCustomModuleResource = new OrganizationEventThreatDetectionSettingCustomModule("organizationEventThreatDetectionSettingCustomModuleResource", OrganizationEventThreatDetectionSettingCustomModuleArgs.builder()
.organizationId("string")
.config(Map.of("string", "string"))
.description("string")
.displayName("string")
.enablementState("ENABLEMENT_STATE_UNSPECIFIED")
.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
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,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 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.
Supporting Types
OrganizationEventThreatDetectionSettingCustomModuleEnablementState, OrganizationEventThreatDetectionSettingCustomModuleEnablementStateArgs
- Enablement
State Unspecified - ENABLEMENT_STATE_UNSPECIFIEDUnspecified enablement state.
- Enabled
- ENABLEDThe module is enabled at the given level.
- Disabled
- DISABLEDThe module is disabled at the given level.
- Organization
Event Threat Detection Setting Custom Module Enablement State Enablement State Unspecified - ENABLEMENT_STATE_UNSPECIFIEDUnspecified enablement state.
- Organization
Event Threat Detection Setting Custom Module Enablement State Enabled - ENABLEDThe module is enabled at the given level.
- Organization
Event Threat Detection Setting Custom Module Enablement State Disabled - DISABLEDThe module is disabled at the given level.
- Enablement
State Unspecified - ENABLEMENT_STATE_UNSPECIFIEDUnspecified enablement state.
- Enabled
- ENABLEDThe module is enabled at the given level.
- Disabled
- DISABLEDThe module is disabled at the given level.
- Enablement
State Unspecified - ENABLEMENT_STATE_UNSPECIFIEDUnspecified enablement state.
- Enabled
- ENABLEDThe module is enabled at the given level.
- Disabled
- DISABLEDThe module is disabled at the given level.
- ENABLEMENT_STATE_UNSPECIFIED
- ENABLEMENT_STATE_UNSPECIFIEDUnspecified enablement state.
- ENABLED
- ENABLEDThe module is enabled at the given level.
- DISABLED
- DISABLEDThe module is disabled at the given level.
- "ENABLEMENT_STATE_UNSPECIFIED"
- ENABLEMENT_STATE_UNSPECIFIEDUnspecified enablement state.
- "ENABLED"
- ENABLEDThe module is enabled at the given level.
- "DISABLED"
- DISABLEDThe module is disabled at the given level.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.