Google Native
getNotificationConfig
Gets a notification config.
Using getNotificationConfig
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 getNotificationConfig(args: GetNotificationConfigArgs, opts?: InvokeOptions): Promise<GetNotificationConfigResult>
function getNotificationConfigOutput(args: GetNotificationConfigOutputArgs, opts?: InvokeOptions): Output<GetNotificationConfigResult>
def get_notification_config(notification_config_id: Optional[str] = None,
organization_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetNotificationConfigResult
def get_notification_config_output(notification_config_id: Optional[pulumi.Input[str]] = None,
organization_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetNotificationConfigResult]
func LookupNotificationConfig(ctx *Context, args *LookupNotificationConfigArgs, opts ...InvokeOption) (*LookupNotificationConfigResult, error)
func LookupNotificationConfigOutput(ctx *Context, args *LookupNotificationConfigOutputArgs, opts ...InvokeOption) LookupNotificationConfigResultOutput
> Note: This function is named LookupNotificationConfig
in the Go SDK.
public static class GetNotificationConfig
{
public static Task<GetNotificationConfigResult> InvokeAsync(GetNotificationConfigArgs args, InvokeOptions? opts = null)
public static Output<GetNotificationConfigResult> Invoke(GetNotificationConfigInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetNotificationConfigResult> getNotificationConfig(GetNotificationConfigArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
Function: google-native:securitycenter/v1:getNotificationConfig
Arguments:
# Arguments dictionary
The following arguments are supported:
- Notification
Config stringId - Organization
Id string
- Notification
Config stringId - Organization
Id string
- notification
Config StringId - organization
Id String
- notification
Config stringId - organization
Id string
- notification
Config StringId - organization
Id String
getNotificationConfig 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".
- Pubsub
Topic string The Pub/Sub topic to send notifications to. Its format is "projects/[project_id]/topics/[topic]".
- Service
Account string The service account that needs "pubsub.topics.publish" permission to publish to the Pub/Sub topic.
- Streaming
Config Pulumi.Google Native. Securitycenter. V1. Outputs. Streaming Config Response 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".
- Pubsub
Topic string The Pub/Sub topic to send notifications to. Its format is "projects/[project_id]/topics/[topic]".
- Service
Account string The service account that needs "pubsub.topics.publish" permission to publish to the Pub/Sub topic.
- Streaming
Config StreamingConfig Response 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".
- pubsub
Topic String The Pub/Sub topic to send notifications to. Its format is "projects/[project_id]/topics/[topic]".
- service
Account String The service account that needs "pubsub.topics.publish" permission to publish to the Pub/Sub topic.
- streaming
Config StreamingConfig Response 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".
- pubsub
Topic string The Pub/Sub topic to send notifications to. Its format is "projects/[project_id]/topics/[topic]".
- service
Account string The service account that needs "pubsub.topics.publish" permission to publish to the Pub/Sub topic.
- streaming
Config StreamingConfig Response 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".
- 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 StreamingConfig Response 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".
- pubsub
Topic String The Pub/Sub topic to send notifications to. Its format is "projects/[project_id]/topics/[topic]".
- service
Account String The service account that needs "pubsub.topics.publish" permission to publish to the Pub/Sub topic.
- streaming
Config Property Map The config for triggering streaming-based notifications.
Supporting Types
StreamingConfigResponse
- Filter 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
andOR
. Parentheses are supported, andOR
has higher precedence thanAND
. Restrictions have the formand 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 literalstrue
andfalse
without quotes.
- Filter 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
andOR
. Parentheses are supported, andOR
has higher precedence thanAND
. Restrictions have the formand 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 literalstrue
andfalse
without quotes.
- filter 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
andOR
. Parentheses are supported, andOR
has higher precedence thanAND
. Restrictions have the formand 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 literalstrue
andfalse
without quotes.
- filter 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
andOR
. Parentheses are supported, andOR
has higher precedence thanAND
. Restrictions have the formand 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 literalstrue
andfalse
without quotes.
- filter 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
andOR
. Parentheses are supported, andOR
has higher precedence thanAND
. Restrictions have the formand 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 literalstrue
andfalse
without quotes.
- filter 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
andOR
. Parentheses are supported, andOR
has higher precedence thanAND
. Restrictions have the formand 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 literalstrue
andfalse
without quotes.
Package Details
- Repository
- https://github.com/pulumi/pulumi-google-native
- License
- Apache-2.0