1. Registry
  2. Packages
  3. Google Cloud (GCP)
  4. API Docs
  5. securitycenter
  6. NotificationServiceAccount
Viewing docs for Google Cloud v10.2.0
published on Tuesday, Oct 20, 2026 by Pulumi
gcp logo
Viewing docs for Google Cloud v10.2.0
published on Tuesday, Oct 20, 2026 by Pulumi

    Generates and retrieves the email and member string of the Security Command Center Notification Service Account (gcp-sa-scc-notification.iam.gserviceaccount.com).

    Note: Once created, this resource cannot be updated or destroyed. These actions are a no-op.

    Note: This resource can be used to provision the Security Command Center Notification Service Account in IAM before configuring notification configs or applying IAM policy bindings to Pub/Sub topics, avoiding “permission denied” errors when using automated pipelines.

    To get more information about Security Command Center Notification Service Accounts, see:

    Example Usage

    Scc Notification Service Account Organization

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const sccSa = new gcp.securitycenter.NotificationServiceAccount("scc_sa", {organization: "1234567890"});
    const sccNotifications = new gcp.pubsub.Topic("scc_notifications", {name: "scc-notifications-topic"});
    const sccPubsubPublisher = new gcp.pubsub.TopicIAMMember("scc_pubsub_publisher", {
        topic: sccNotifications.id,
        role: "roles/pubsub.publisher",
        member: sccSa.member,
    });
    const customNotificationConfig = new gcp.securitycenter.NotificationConfig("custom_notification_config", {
        configId: "my-config",
        organization: "1234567890",
        description: "My custom SCC Finding Notification Configuration",
        pubsubTopic: sccNotifications.id,
    }, {
        dependsOn: [sccPubsubPublisher],
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    scc_sa = gcp.securitycenter.NotificationServiceAccount("scc_sa", organization="1234567890")
    scc_notifications = gcp.pubsub.Topic("scc_notifications", name="scc-notifications-topic")
    scc_pubsub_publisher = gcp.pubsub.TopicIAMMember("scc_pubsub_publisher",
        topic=scc_notifications.id,
        role="roles/pubsub.publisher",
        member=scc_sa.member)
    custom_notification_config = gcp.securitycenter.NotificationConfig("custom_notification_config",
        config_id="my-config",
        organization="1234567890",
        description="My custom SCC Finding Notification Configuration",
        pubsub_topic=scc_notifications.id,
        opts = pulumi.ResourceOptions(depends_on=[scc_pubsub_publisher]))
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v10/go/gcp/pubsub"
    	"github.com/pulumi/pulumi-gcp/sdk/v10/go/gcp/securitycenter"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		sccSa, err := securitycenter.NewNotificationServiceAccount(ctx, "scc_sa", &securitycenter.NotificationServiceAccountArgs{
    			Organization: pulumi.String("1234567890"),
    		})
    		if err != nil {
    			return err
    		}
    		sccNotifications, err := pubsub.NewTopic(ctx, "scc_notifications", &pubsub.TopicArgs{
    			Name: pulumi.String("scc-notifications-topic"),
    		})
    		if err != nil {
    			return err
    		}
    		sccPubsubPublisher, err := pubsub.NewTopicIAMMember(ctx, "scc_pubsub_publisher", &pubsub.TopicIAMMemberArgs{
    			Topic:  sccNotifications.ID(),
    			Role:   pulumi.String("roles/pubsub.publisher"),
    			Member: sccSa.Member,
    		})
    		if err != nil {
    			return err
    		}
    		_, err = securitycenter.NewNotificationConfig(ctx, "custom_notification_config", &securitycenter.NotificationConfigArgs{
    			ConfigId:     pulumi.String("my-config"),
    			Organization: pulumi.String("1234567890"),
    			Description:  pulumi.String("My custom SCC Finding Notification Configuration"),
    			PubsubTopic:  sccNotifications.ID(),
    		}, pulumi.DependsOn([]pulumi.Resource{
    			sccPubsubPublisher,
    		}))
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var sccSa = new Gcp.SecurityCenter.NotificationServiceAccount("scc_sa", new()
        {
            Organization = "1234567890",
        });
    
        var sccNotifications = new Gcp.PubSub.Topic("scc_notifications", new()
        {
            Name = "scc-notifications-topic",
        });
    
        var sccPubsubPublisher = new Gcp.PubSub.TopicIAMMember("scc_pubsub_publisher", new()
        {
            Topic = sccNotifications.Id,
            Role = "roles/pubsub.publisher",
            Member = sccSa.Member,
        });
    
        var customNotificationConfig = new Gcp.SecurityCenter.NotificationConfig("custom_notification_config", new()
        {
            ConfigId = "my-config",
            Organization = "1234567890",
            Description = "My custom SCC Finding Notification Configuration",
            PubsubTopic = sccNotifications.Id,
        }, new CustomResourceOptions
        {
            DependsOn =
            {
                sccPubsubPublisher,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.securitycenter.NotificationServiceAccount;
    import com.pulumi.gcp.securitycenter.NotificationServiceAccountArgs;
    import com.pulumi.gcp.pubsub.Topic;
    import com.pulumi.gcp.pubsub.TopicArgs;
    import com.pulumi.gcp.pubsub.TopicIAMMember;
    import com.pulumi.gcp.pubsub.TopicIAMMemberArgs;
    import com.pulumi.gcp.securitycenter.NotificationConfig;
    import com.pulumi.gcp.securitycenter.NotificationConfigArgs;
    import com.pulumi.resources.CustomResourceOptions;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var sccSa = new NotificationServiceAccount("sccSa", NotificationServiceAccountArgs.builder()
                .organization("1234567890")
                .build());
    
            var sccNotifications = new Topic("sccNotifications", TopicArgs.builder()
                .name("scc-notifications-topic")
                .build());
    
            var sccPubsubPublisher = new TopicIAMMember("sccPubsubPublisher", TopicIAMMemberArgs.builder()
                .topic(sccNotifications.id())
                .role("roles/pubsub.publisher")
                .member(sccSa.member())
                .build());
    
            var customNotificationConfig = new NotificationConfig("customNotificationConfig", NotificationConfigArgs.builder()
                .configId("my-config")
                .organization("1234567890")
                .description("My custom SCC Finding Notification Configuration")
                .pubsubTopic(sccNotifications.id())
                .build(), CustomResourceOptions.builder()
                    .dependsOn(sccPubsubPublisher)
                    .build());
    
        }
    }
    
    resources:
      sccSa:
        type: gcp:securitycenter:NotificationServiceAccount
        name: scc_sa
        properties:
          organization: '1234567890'
      sccNotifications:
        type: gcp:pubsub:Topic
        name: scc_notifications
        properties:
          name: scc-notifications-topic
      sccPubsubPublisher:
        type: gcp:pubsub:TopicIAMMember
        name: scc_pubsub_publisher
        properties:
          topic: ${sccNotifications.id}
          role: roles/pubsub.publisher
          member: ${sccSa.member}
      customNotificationConfig:
        type: gcp:securitycenter:NotificationConfig
        name: custom_notification_config
        properties:
          configId: my-config
          organization: '1234567890'
          description: My custom SCC Finding Notification Configuration
          pubsubTopic: ${sccNotifications.id}
        options:
          dependsOn:
            - ${sccPubsubPublisher}
    
    terraform {
      required_providers {
        gcp = {
          source = "pulumi/gcp"
        }
      }
    }
    
    resource "gcp_securitycenter_notification_service_account" "scc_sa" {
      lifecycle {
        create_before_destroy = true
      }
      organization = "1234567890"
    }
    resource "gcp_pubsub_topic" "scc_notifications" {
      lifecycle {
        create_before_destroy = true
      }
      name = "scc-notifications-topic"
    }
    resource "gcp_pubsub_topic_i_a_m_member" "scc_pubsub_publisher" {
      lifecycle {
        create_before_destroy = true
      }
      topic  = gcp_pubsub_topic.scc_notifications.id
      role   = "roles/pubsub.publisher"
      member = gcp_securitycenter_notification_service_account.scc_sa.member
    }
    resource "gcp_securitycenter_notification_config" "custom_notification_config" {
      depends_on = [gcp_pubsub_topic_i_a_m_member.scc_pubsub_publisher]
      lifecycle {
        create_before_destroy = true
      }
      config_id    = "my-config"
      organization = "1234567890"
      description  = "My custom SCC Finding Notification Configuration"
      pubsub_topic = gcp_pubsub_topic.scc_notifications.id
    }
    

    Scc Notification Service Account Project

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const sccSa = new gcp.securitycenter.NotificationServiceAccount("scc_sa", {project: "my-project-id"});
    
    import pulumi
    import pulumi_gcp as gcp
    
    scc_sa = gcp.securitycenter.NotificationServiceAccount("scc_sa", project="my-project-id")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v10/go/gcp/securitycenter"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := securitycenter.NewNotificationServiceAccount(ctx, "scc_sa", &securitycenter.NotificationServiceAccountArgs{
    			Project: pulumi.String("my-project-id"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var sccSa = new Gcp.SecurityCenter.NotificationServiceAccount("scc_sa", new()
        {
            Project = "my-project-id",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.securitycenter.NotificationServiceAccount;
    import com.pulumi.gcp.securitycenter.NotificationServiceAccountArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var sccSa = new NotificationServiceAccount("sccSa", NotificationServiceAccountArgs.builder()
                .project("my-project-id")
                .build());
    
        }
    }
    
    resources:
      sccSa:
        type: gcp:securitycenter:NotificationServiceAccount
        name: scc_sa
        properties:
          project: my-project-id
    
    terraform {
      required_providers {
        gcp = {
          source = "pulumi/gcp"
        }
      }
    }
    
    resource "gcp_securitycenter_notification_service_account" "scc_sa" {
      lifecycle {
        create_before_destroy = true
      }
      project = "my-project-id"
    }
    

    Create NotificationServiceAccount Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new NotificationServiceAccount(name: string, args?: NotificationServiceAccountArgs, opts?: CustomResourceOptions);
    @overload
    def NotificationServiceAccount(resource_name: str,
                                   args: Optional[NotificationServiceAccountArgs] = None,
                                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def NotificationServiceAccount(resource_name: str,
                                   opts: Optional[ResourceOptions] = None,
                                   organization: Optional[str] = None,
                                   project: Optional[str] = None)
    func NewNotificationServiceAccount(ctx *Context, name string, args *NotificationServiceAccountArgs, opts ...ResourceOption) (*NotificationServiceAccount, error)
    public NotificationServiceAccount(string name, NotificationServiceAccountArgs? args = null, CustomResourceOptions? opts = null)
    public NotificationServiceAccount(String name, NotificationServiceAccountArgs args)
    public NotificationServiceAccount(String name, NotificationServiceAccountArgs args, CustomResourceOptions options)
    
    type: gcp:securitycenter:NotificationServiceAccount
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "gcp_securitycenter_notification_service_account" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args NotificationServiceAccountArgs
    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 NotificationServiceAccountArgs
    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 NotificationServiceAccountArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args NotificationServiceAccountArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args NotificationServiceAccountArgs
    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 notificationServiceAccountResource = new Gcp.SecurityCenter.NotificationServiceAccount("notificationServiceAccountResource", new()
    {
        Organization = "string",
        Project = "string",
    });
    
    example, err := securitycenter.NewNotificationServiceAccount(ctx, "notificationServiceAccountResource", &securitycenter.NotificationServiceAccountArgs{
    	Organization: pulumi.String("string"),
    	Project:      pulumi.String("string"),
    })
    
    resource "gcp_securitycenter_notification_service_account" "notificationServiceAccountResource" {
      lifecycle {
        create_before_destroy = true
      }
      organization = "string"
      project      = "string"
    }
    
    var notificationServiceAccountResource = new NotificationServiceAccount("notificationServiceAccountResource", NotificationServiceAccountArgs.builder()
        .organization("string")
        .project("string")
        .build());
    
    notification_service_account_resource = gcp.securitycenter.NotificationServiceAccount("notificationServiceAccountResource",
        organization="string",
        project="string")
    
    const notificationServiceAccountResource = new gcp.securitycenter.NotificationServiceAccount("notificationServiceAccountResource", {
        organization: "string",
        project: "string",
    });
    
    type: gcp:securitycenter:NotificationServiceAccount
    properties:
        organization: string
        project: string
    

    NotificationServiceAccount 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 NotificationServiceAccount resource accepts the following input properties:

    Organization string
    The organization ID for which the service account should be generated. Exactly one of organization or project must be specified.
    Project string
    The project ID or number for which the service account should be generated. Exactly one of organization or project must be specified. If omitted and organization is not specified, it defaults to the provider project.
    Organization string
    The organization ID for which the service account should be generated. Exactly one of organization or project must be specified.
    Project string
    The project ID or number for which the service account should be generated. Exactly one of organization or project must be specified. If omitted and organization is not specified, it defaults to the provider project.
    organization string
    The organization ID for which the service account should be generated. Exactly one of organization or project must be specified.
    project string
    The project ID or number for which the service account should be generated. Exactly one of organization or project must be specified. If omitted and organization is not specified, it defaults to the provider project.
    organization String
    The organization ID for which the service account should be generated. Exactly one of organization or project must be specified.
    project String
    The project ID or number for which the service account should be generated. Exactly one of organization or project must be specified. If omitted and organization is not specified, it defaults to the provider project.
    organization string
    The organization ID for which the service account should be generated. Exactly one of organization or project must be specified.
    project string
    The project ID or number for which the service account should be generated. Exactly one of organization or project must be specified. If omitted and organization is not specified, it defaults to the provider project.
    organization str
    The organization ID for which the service account should be generated. Exactly one of organization or project must be specified.
    project str
    The project ID or number for which the service account should be generated. Exactly one of organization or project must be specified. If omitted and organization is not specified, it defaults to the provider project.
    organization String
    The organization ID for which the service account should be generated. Exactly one of organization or project must be specified.
    project String
    The project ID or number for which the service account should be generated. Exactly one of organization or project must be specified. If omitted and organization is not specified, it defaults to the provider project.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the NotificationServiceAccount resource produces the following output properties:

    Email string
    The email address of the Cloud Security Command Center Notification service account.
    Id string
    The provider-assigned unique ID for this managed resource.
    Member string
    The Identity of the Cloud Security Command Center Notification service account in the form serviceAccount:{email}. This value is often used to refer to the service account in order to grant IAM permissions.
    Email string
    The email address of the Cloud Security Command Center Notification service account.
    Id string
    The provider-assigned unique ID for this managed resource.
    Member string
    The Identity of the Cloud Security Command Center Notification service account in the form serviceAccount:{email}. This value is often used to refer to the service account in order to grant IAM permissions.
    email string
    The email address of the Cloud Security Command Center Notification service account.
    id string
    The provider-assigned unique ID for this managed resource.
    member string
    The Identity of the Cloud Security Command Center Notification service account in the form serviceAccount:{email}. This value is often used to refer to the service account in order to grant IAM permissions.
    email String
    The email address of the Cloud Security Command Center Notification service account.
    id String
    The provider-assigned unique ID for this managed resource.
    member String
    The Identity of the Cloud Security Command Center Notification service account in the form serviceAccount:{email}. This value is often used to refer to the service account in order to grant IAM permissions.
    email string
    The email address of the Cloud Security Command Center Notification service account.
    id string
    The provider-assigned unique ID for this managed resource.
    member string
    The Identity of the Cloud Security Command Center Notification service account in the form serviceAccount:{email}. This value is often used to refer to the service account in order to grant IAM permissions.
    email str
    The email address of the Cloud Security Command Center Notification service account.
    id str
    The provider-assigned unique ID for this managed resource.
    member str
    The Identity of the Cloud Security Command Center Notification service account in the form serviceAccount:{email}. This value is often used to refer to the service account in order to grant IAM permissions.
    email String
    The email address of the Cloud Security Command Center Notification service account.
    id String
    The provider-assigned unique ID for this managed resource.
    member String
    The Identity of the Cloud Security Command Center Notification service account in the form serviceAccount:{email}. This value is often used to refer to the service account in order to grant IAM permissions.

    Look up Existing NotificationServiceAccount Resource

    Get an existing NotificationServiceAccount 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>, state?: NotificationServiceAccountState, opts?: CustomResourceOptions): NotificationServiceAccount
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            email: Optional[str] = None,
            member: Optional[str] = None,
            organization: Optional[str] = None,
            project: Optional[str] = None) -> NotificationServiceAccount
    func GetNotificationServiceAccount(ctx *Context, name string, id IDInput, state *NotificationServiceAccountState, opts ...ResourceOption) (*NotificationServiceAccount, error)
    public static NotificationServiceAccount Get(string name, Input<string> id, NotificationServiceAccountState? state, CustomResourceOptions? opts = null)
    public static NotificationServiceAccount get(String name, Output<String> id, NotificationServiceAccountState state, CustomResourceOptions options)
    resources:  _:    type: gcp:securitycenter:NotificationServiceAccount    get:      id: ${id}
    import {
      to = gcp_securitycenter_notification_service_account.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Email string
    The email address of the Cloud Security Command Center Notification service account.
    Member string
    The Identity of the Cloud Security Command Center Notification service account in the form serviceAccount:{email}. This value is often used to refer to the service account in order to grant IAM permissions.
    Organization string
    The organization ID for which the service account should be generated. Exactly one of organization or project must be specified.
    Project string
    The project ID or number for which the service account should be generated. Exactly one of organization or project must be specified. If omitted and organization is not specified, it defaults to the provider project.
    Email string
    The email address of the Cloud Security Command Center Notification service account.
    Member string
    The Identity of the Cloud Security Command Center Notification service account in the form serviceAccount:{email}. This value is often used to refer to the service account in order to grant IAM permissions.
    Organization string
    The organization ID for which the service account should be generated. Exactly one of organization or project must be specified.
    Project string
    The project ID or number for which the service account should be generated. Exactly one of organization or project must be specified. If omitted and organization is not specified, it defaults to the provider project.
    email string
    The email address of the Cloud Security Command Center Notification service account.
    member string
    The Identity of the Cloud Security Command Center Notification service account in the form serviceAccount:{email}. This value is often used to refer to the service account in order to grant IAM permissions.
    organization string
    The organization ID for which the service account should be generated. Exactly one of organization or project must be specified.
    project string
    The project ID or number for which the service account should be generated. Exactly one of organization or project must be specified. If omitted and organization is not specified, it defaults to the provider project.
    email String
    The email address of the Cloud Security Command Center Notification service account.
    member String
    The Identity of the Cloud Security Command Center Notification service account in the form serviceAccount:{email}. This value is often used to refer to the service account in order to grant IAM permissions.
    organization String
    The organization ID for which the service account should be generated. Exactly one of organization or project must be specified.
    project String
    The project ID or number for which the service account should be generated. Exactly one of organization or project must be specified. If omitted and organization is not specified, it defaults to the provider project.
    email string
    The email address of the Cloud Security Command Center Notification service account.
    member string
    The Identity of the Cloud Security Command Center Notification service account in the form serviceAccount:{email}. This value is often used to refer to the service account in order to grant IAM permissions.
    organization string
    The organization ID for which the service account should be generated. Exactly one of organization or project must be specified.
    project string
    The project ID or number for which the service account should be generated. Exactly one of organization or project must be specified. If omitted and organization is not specified, it defaults to the provider project.
    email str
    The email address of the Cloud Security Command Center Notification service account.
    member str
    The Identity of the Cloud Security Command Center Notification service account in the form serviceAccount:{email}. This value is often used to refer to the service account in order to grant IAM permissions.
    organization str
    The organization ID for which the service account should be generated. Exactly one of organization or project must be specified.
    project str
    The project ID or number for which the service account should be generated. Exactly one of organization or project must be specified. If omitted and organization is not specified, it defaults to the provider project.
    email String
    The email address of the Cloud Security Command Center Notification service account.
    member String
    The Identity of the Cloud Security Command Center Notification service account in the form serviceAccount:{email}. This value is often used to refer to the service account in order to grant IAM permissions.
    organization String
    The organization ID for which the service account should be generated. Exactly one of organization or project must be specified.
    project String
    The project ID or number for which the service account should be generated. Exactly one of organization or project must be specified. If omitted and organization is not specified, it defaults to the provider project.

    Import

    Notification Service Accounts can be imported using their parent scope or email address:

    • organizations/{{organization}}
    • projects/{{project}}
    • {{email}}

    When using the pulumi import command, Notification Service Accounts can be imported using one of the formats above. For example:

    $ pulumi import gcp:securitycenter/notificationServiceAccount:NotificationServiceAccount default organizations/1234567890
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Google Cloud (GCP) Classic pulumi/pulumi-gcp
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the google-beta Terraform Provider.
    gcp logo
    Viewing docs for Google Cloud v10.2.0
    published on Tuesday, Oct 20, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial