1. Packages
  2. Google Cloud Native
  3. API Docs
  4. securitycenter
  5. securitycenter/v1
  6. OrganizationEventThreatDetectionSettingCustomModule

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.securitycenter/v1.OrganizationEventThreatDetectionSettingCustomModule

Explore with Pulumi AI

google-native logo

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 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.
    
    

    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:

    OrganizationId 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.
    DisplayName string
    The human readable name to be displayed for the module.
    EnablementState Pulumi.GoogleNative.Securitycenter.V1.OrganizationEventThreatDetectionSettingCustomModuleEnablementState
    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.
    OrganizationId 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.
    DisplayName string
    The human readable name to be displayed for the module.
    EnablementState OrganizationEventThreatDetectionSettingCustomModuleEnablementState
    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.
    organizationId 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.
    displayName String
    The human readable name to be displayed for the module.
    enablementState OrganizationEventThreatDetectionSettingCustomModuleEnablementState
    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.
    organizationId 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.
    displayName string
    The human readable name to be displayed for the module.
    enablementState OrganizationEventThreatDetectionSettingCustomModuleEnablementState
    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 OrganizationEventThreatDetectionSettingCustomModuleEnablementState
    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.
    organizationId 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.
    displayName String
    The human readable name to be displayed for the module.
    enablementState "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.
    LastEditor string
    The editor the module was last updated by.
    UpdateTime string
    The time the module was last updated.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastEditor string
    The editor the module was last updated by.
    UpdateTime string
    The time the module was last updated.
    id String
    The provider-assigned unique ID for this managed resource.
    lastEditor String
    The editor the module was last updated by.
    updateTime String
    The time the module was last updated.
    id string
    The provider-assigned unique ID for this managed resource.
    lastEditor string
    The editor the module was last updated by.
    updateTime 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.
    lastEditor String
    The editor the module was last updated by.
    updateTime String
    The time the module was last updated.

    Supporting Types

    OrganizationEventThreatDetectionSettingCustomModuleEnablementState, OrganizationEventThreatDetectionSettingCustomModuleEnablementStateArgs

    EnablementStateUnspecified
    ENABLEMENT_STATE_UNSPECIFIEDUnspecified enablement state.
    Enabled
    ENABLEDThe module is enabled at the given level.
    Disabled
    DISABLEDThe module is disabled at the given level.
    OrganizationEventThreatDetectionSettingCustomModuleEnablementStateEnablementStateUnspecified
    ENABLEMENT_STATE_UNSPECIFIEDUnspecified enablement state.
    OrganizationEventThreatDetectionSettingCustomModuleEnablementStateEnabled
    ENABLEDThe module is enabled at the given level.
    OrganizationEventThreatDetectionSettingCustomModuleEnablementStateDisabled
    DISABLEDThe module is disabled at the given level.
    EnablementStateUnspecified
    ENABLEMENT_STATE_UNSPECIFIEDUnspecified enablement state.
    Enabled
    ENABLEDThe module is enabled at the given level.
    Disabled
    DISABLEDThe module is disabled at the given level.
    EnablementStateUnspecified
    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-native logo

    Google Cloud Native is in preview. Google Cloud Classic is fully supported.

    Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi