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

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.getFolderNotificationConfig

Explore with Pulumi AI

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

Gets a notification config.

Using getFolderNotificationConfig

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getFolderNotificationConfig(args: GetFolderNotificationConfigArgs, opts?: InvokeOptions): Promise<GetFolderNotificationConfigResult>
function getFolderNotificationConfigOutput(args: GetFolderNotificationConfigOutputArgs, opts?: InvokeOptions): Output<GetFolderNotificationConfigResult>
Copy
def get_folder_notification_config(folder_id: Optional[str] = None,
                                   notification_config_id: Optional[str] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetFolderNotificationConfigResult
def get_folder_notification_config_output(folder_id: Optional[pulumi.Input[str]] = None,
                                   notification_config_id: Optional[pulumi.Input[str]] = None,
                                   opts: Optional[InvokeOptions] = None) -> Output[GetFolderNotificationConfigResult]
Copy
func LookupFolderNotificationConfig(ctx *Context, args *LookupFolderNotificationConfigArgs, opts ...InvokeOption) (*LookupFolderNotificationConfigResult, error)
func LookupFolderNotificationConfigOutput(ctx *Context, args *LookupFolderNotificationConfigOutputArgs, opts ...InvokeOption) LookupFolderNotificationConfigResultOutput
Copy

> Note: This function is named LookupFolderNotificationConfig in the Go SDK.

public static class GetFolderNotificationConfig 
{
    public static Task<GetFolderNotificationConfigResult> InvokeAsync(GetFolderNotificationConfigArgs args, InvokeOptions? opts = null)
    public static Output<GetFolderNotificationConfigResult> Invoke(GetFolderNotificationConfigInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetFolderNotificationConfigResult> getFolderNotificationConfig(GetFolderNotificationConfigArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Copy
fn::invoke:
  function: google-native:securitycenter/v1:getFolderNotificationConfig
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

FolderId This property is required. string
NotificationConfigId This property is required. string
FolderId This property is required. string
NotificationConfigId This property is required. string
folderId This property is required. String
notificationConfigId This property is required. String
folderId This property is required. string
notificationConfigId This property is required. string
folder_id This property is required. str
notification_config_id This property is required. str
folderId This property is required. String
notificationConfigId This property is required. String

getFolderNotificationConfig Result

The following output properties are available:

Description string
The description of the notification config (max of 1024 characters).
Name string
The relative resource name of this notification config. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/notificationConfigs/notify_public_bucket", "folders/{folder_id}/notificationConfigs/notify_public_bucket", or "projects/{project_id}/notificationConfigs/notify_public_bucket".
PubsubTopic string
The Pub/Sub topic to send notifications to. Its format is "projects/[project_id]/topics/[topic]".
ServiceAccount string
The service account that needs "pubsub.topics.publish" permission to publish to the Pub/Sub topic.
StreamingConfig Pulumi.GoogleNative.Securitycenter.V1.Outputs.StreamingConfigResponse
The config for triggering streaming-based notifications.
Description string
The description of the notification config (max of 1024 characters).
Name string
The relative resource name of this notification config. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/notificationConfigs/notify_public_bucket", "folders/{folder_id}/notificationConfigs/notify_public_bucket", or "projects/{project_id}/notificationConfigs/notify_public_bucket".
PubsubTopic string
The Pub/Sub topic to send notifications to. Its format is "projects/[project_id]/topics/[topic]".
ServiceAccount string
The service account that needs "pubsub.topics.publish" permission to publish to the Pub/Sub topic.
StreamingConfig StreamingConfigResponse
The config for triggering streaming-based notifications.
description String
The description of the notification config (max of 1024 characters).
name String
The relative resource name of this notification config. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/notificationConfigs/notify_public_bucket", "folders/{folder_id}/notificationConfigs/notify_public_bucket", or "projects/{project_id}/notificationConfigs/notify_public_bucket".
pubsubTopic String
The Pub/Sub topic to send notifications to. Its format is "projects/[project_id]/topics/[topic]".
serviceAccount String
The service account that needs "pubsub.topics.publish" permission to publish to the Pub/Sub topic.
streamingConfig StreamingConfigResponse
The config for triggering streaming-based notifications.
description string
The description of the notification config (max of 1024 characters).
name string
The relative resource name of this notification config. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/notificationConfigs/notify_public_bucket", "folders/{folder_id}/notificationConfigs/notify_public_bucket", or "projects/{project_id}/notificationConfigs/notify_public_bucket".
pubsubTopic string
The Pub/Sub topic to send notifications to. Its format is "projects/[project_id]/topics/[topic]".
serviceAccount string
The service account that needs "pubsub.topics.publish" permission to publish to the Pub/Sub topic.
streamingConfig StreamingConfigResponse
The config for triggering streaming-based notifications.
description str
The description of the notification config (max of 1024 characters).
name str
The relative resource name of this notification config. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/notificationConfigs/notify_public_bucket", "folders/{folder_id}/notificationConfigs/notify_public_bucket", or "projects/{project_id}/notificationConfigs/notify_public_bucket".
pubsub_topic str
The Pub/Sub topic to send notifications to. Its format is "projects/[project_id]/topics/[topic]".
service_account str
The service account that needs "pubsub.topics.publish" permission to publish to the Pub/Sub topic.
streaming_config StreamingConfigResponse
The config for triggering streaming-based notifications.
description String
The description of the notification config (max of 1024 characters).
name String
The relative resource name of this notification config. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/notificationConfigs/notify_public_bucket", "folders/{folder_id}/notificationConfigs/notify_public_bucket", or "projects/{project_id}/notificationConfigs/notify_public_bucket".
pubsubTopic String
The Pub/Sub topic to send notifications to. Its format is "projects/[project_id]/topics/[topic]".
serviceAccount String
The service account that needs "pubsub.topics.publish" permission to publish to the Pub/Sub topic.
streamingConfig Property Map
The config for triggering streaming-based notifications.

Supporting Types

StreamingConfigResponse

Filter This property is required. string
Expression that defines the filter to apply across create/update events of assets or findings as specified by the event type. The expression is a list of zero or more restrictions combined via logical operators AND and OR. Parentheses are supported, and OR has higher precedence than AND. Restrictions have the form and may have a - character in front of them to indicate negation. The fields map to those defined in the corresponding resource. The supported operators are: * = for all value types. * >, <, >=, <= for integer values. * :, meaning substring matching, for strings. The supported value types are: * string literals in quotes. * integer literals without quotes. * boolean literals true and false without quotes.
Filter This property is required. string
Expression that defines the filter to apply across create/update events of assets or findings as specified by the event type. The expression is a list of zero or more restrictions combined via logical operators AND and OR. Parentheses are supported, and OR has higher precedence than AND. Restrictions have the form and may have a - character in front of them to indicate negation. The fields map to those defined in the corresponding resource. The supported operators are: * = for all value types. * >, <, >=, <= for integer values. * :, meaning substring matching, for strings. The supported value types are: * string literals in quotes. * integer literals without quotes. * boolean literals true and false without quotes.
filter This property is required. String
Expression that defines the filter to apply across create/update events of assets or findings as specified by the event type. The expression is a list of zero or more restrictions combined via logical operators AND and OR. Parentheses are supported, and OR has higher precedence than AND. Restrictions have the form and may have a - character in front of them to indicate negation. The fields map to those defined in the corresponding resource. The supported operators are: * = for all value types. * >, <, >=, <= for integer values. * :, meaning substring matching, for strings. The supported value types are: * string literals in quotes. * integer literals without quotes. * boolean literals true and false without quotes.
filter This property is required. string
Expression that defines the filter to apply across create/update events of assets or findings as specified by the event type. The expression is a list of zero or more restrictions combined via logical operators AND and OR. Parentheses are supported, and OR has higher precedence than AND. Restrictions have the form and may have a - character in front of them to indicate negation. The fields map to those defined in the corresponding resource. The supported operators are: * = for all value types. * >, <, >=, <= for integer values. * :, meaning substring matching, for strings. The supported value types are: * string literals in quotes. * integer literals without quotes. * boolean literals true and false without quotes.
filter This property is required. str
Expression that defines the filter to apply across create/update events of assets or findings as specified by the event type. The expression is a list of zero or more restrictions combined via logical operators AND and OR. Parentheses are supported, and OR has higher precedence than AND. Restrictions have the form and may have a - character in front of them to indicate negation. The fields map to those defined in the corresponding resource. The supported operators are: * = for all value types. * >, <, >=, <= for integer values. * :, meaning substring matching, for strings. The supported value types are: * string literals in quotes. * integer literals without quotes. * boolean literals true and false without quotes.
filter This property is required. String
Expression that defines the filter to apply across create/update events of assets or findings as specified by the event type. The expression is a list of zero or more restrictions combined via logical operators AND and OR. Parentheses are supported, and OR has higher precedence than AND. Restrictions have the form and may have a - character in front of them to indicate negation. The fields map to those defined in the corresponding resource. The supported operators are: * = for all value types. * >, <, >=, <= for integer values. * :, meaning substring matching, for strings. The supported value types are: * string literals in quotes. * integer literals without quotes. * boolean literals true and false without quotes.

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.

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