1. Packages
  2. Hsdp Provider
  3. API Docs
  4. NotificationTopic
hsdp 0.65.3 published on Tuesday, Apr 15, 2025 by philips-software

hsdp.NotificationTopic

Explore with Pulumi AI

Create and manage HSDP Notification Topic resources

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as hsdp from "@pulumi/hsdp";

const topic = new hsdp.NotificationTopic("topic", {
    allowedScopes: ["*.*.*.NotificationTest"],
    description: "topic description",
    isAuditable: true,
    producerId: "036c8a21-6906-4485-b2e7-e31883d8f9ed",
    scope: "public",
});
Copy
import pulumi
import pulumi_hsdp as hsdp

topic = hsdp.NotificationTopic("topic",
    allowed_scopes=["*.*.*.NotificationTest"],
    description="topic description",
    is_auditable=True,
    producer_id="036c8a21-6906-4485-b2e7-e31883d8f9ed",
    scope="public")
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/hsdp/hsdp"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := hsdp.NewNotificationTopic(ctx, "topic", &hsdp.NotificationTopicArgs{
			AllowedScopes: pulumi.StringArray{
				pulumi.String("*.*.*.NotificationTest"),
			},
			Description: pulumi.String("topic description"),
			IsAuditable: pulumi.Bool(true),
			ProducerId:  pulumi.String("036c8a21-6906-4485-b2e7-e31883d8f9ed"),
			Scope:       pulumi.String("public"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Hsdp = Pulumi.Hsdp;

return await Deployment.RunAsync(() => 
{
    var topic = new Hsdp.NotificationTopic("topic", new()
    {
        AllowedScopes = new[]
        {
            "*.*.*.NotificationTest",
        },
        Description = "topic description",
        IsAuditable = true,
        ProducerId = "036c8a21-6906-4485-b2e7-e31883d8f9ed",
        Scope = "public",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.hsdp.NotificationTopic;
import com.pulumi.hsdp.NotificationTopicArgs;
import java.util.List;
import java.util.ArrayList;
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 topic = new NotificationTopic("topic", NotificationTopicArgs.builder()
            .allowedScopes("*.*.*.NotificationTest")
            .description("topic description")
            .isAuditable(true)
            .producerId("036c8a21-6906-4485-b2e7-e31883d8f9ed")
            .scope("public")
            .build());

    }
}
Copy
resources:
  topic:
    type: hsdp:NotificationTopic
    properties:
      allowedScopes:
        - '*.*.*.NotificationTest'
      description: topic description
      isAuditable: true
      producerId: 036c8a21-6906-4485-b2e7-e31883d8f9ed
      scope: public
Copy

Create NotificationTopic Resource

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

Constructor syntax

new NotificationTopic(name: string, args: NotificationTopicArgs, opts?: CustomResourceOptions);
@overload
def NotificationTopic(resource_name: str,
                      args: NotificationTopicArgs,
                      opts: Optional[ResourceOptions] = None)

@overload
def NotificationTopic(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      allowed_scopes: Optional[Sequence[str]] = None,
                      producer_id: Optional[str] = None,
                      description: Optional[str] = None,
                      is_auditable: Optional[bool] = None,
                      name: Optional[str] = None,
                      notification_topic_id: Optional[str] = None,
                      principal: Optional[NotificationTopicPrincipalArgs] = None,
                      scope: Optional[str] = None,
                      soft_delete: Optional[bool] = None)
func NewNotificationTopic(ctx *Context, name string, args NotificationTopicArgs, opts ...ResourceOption) (*NotificationTopic, error)
public NotificationTopic(string name, NotificationTopicArgs args, CustomResourceOptions? opts = null)
public NotificationTopic(String name, NotificationTopicArgs args)
public NotificationTopic(String name, NotificationTopicArgs args, CustomResourceOptions options)
type: hsdp:NotificationTopic
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. NotificationTopicArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. NotificationTopicArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. NotificationTopicArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. NotificationTopicArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. NotificationTopicArgs
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 notificationTopicResource = new Hsdp.NotificationTopic("notificationTopicResource", new()
{
    AllowedScopes = new[]
    {
        "string",
    },
    ProducerId = "string",
    Description = "string",
    IsAuditable = false,
    Name = "string",
    NotificationTopicId = "string",
    Principal = new Hsdp.Inputs.NotificationTopicPrincipalArgs
    {
        Endpoint = "string",
        Environment = "string",
        Oauth2ClientId = "string",
        Oauth2Password = "string",
        Password = "string",
        Region = "string",
        ServiceId = "string",
        ServicePrivateKey = "string",
        UaaPassword = "string",
        UaaUsername = "string",
        Username = "string",
    },
    Scope = "string",
    SoftDelete = false,
});
Copy
example, err := hsdp.NewNotificationTopic(ctx, "notificationTopicResource", &hsdp.NotificationTopicArgs{
AllowedScopes: pulumi.StringArray{
pulumi.String("string"),
},
ProducerId: pulumi.String("string"),
Description: pulumi.String("string"),
IsAuditable: pulumi.Bool(false),
Name: pulumi.String("string"),
NotificationTopicId: pulumi.String("string"),
Principal: &.NotificationTopicPrincipalArgs{
Endpoint: pulumi.String("string"),
Environment: pulumi.String("string"),
Oauth2ClientId: pulumi.String("string"),
Oauth2Password: pulumi.String("string"),
Password: pulumi.String("string"),
Region: pulumi.String("string"),
ServiceId: pulumi.String("string"),
ServicePrivateKey: pulumi.String("string"),
UaaPassword: pulumi.String("string"),
UaaUsername: pulumi.String("string"),
Username: pulumi.String("string"),
},
Scope: pulumi.String("string"),
SoftDelete: pulumi.Bool(false),
})
Copy
var notificationTopicResource = new NotificationTopic("notificationTopicResource", NotificationTopicArgs.builder()
    .allowedScopes("string")
    .producerId("string")
    .description("string")
    .isAuditable(false)
    .name("string")
    .notificationTopicId("string")
    .principal(NotificationTopicPrincipalArgs.builder()
        .endpoint("string")
        .environment("string")
        .oauth2ClientId("string")
        .oauth2Password("string")
        .password("string")
        .region("string")
        .serviceId("string")
        .servicePrivateKey("string")
        .uaaPassword("string")
        .uaaUsername("string")
        .username("string")
        .build())
    .scope("string")
    .softDelete(false)
    .build());
Copy
notification_topic_resource = hsdp.NotificationTopic("notificationTopicResource",
    allowed_scopes=["string"],
    producer_id="string",
    description="string",
    is_auditable=False,
    name="string",
    notification_topic_id="string",
    principal={
        "endpoint": "string",
        "environment": "string",
        "oauth2_client_id": "string",
        "oauth2_password": "string",
        "password": "string",
        "region": "string",
        "service_id": "string",
        "service_private_key": "string",
        "uaa_password": "string",
        "uaa_username": "string",
        "username": "string",
    },
    scope="string",
    soft_delete=False)
Copy
const notificationTopicResource = new hsdp.NotificationTopic("notificationTopicResource", {
    allowedScopes: ["string"],
    producerId: "string",
    description: "string",
    isAuditable: false,
    name: "string",
    notificationTopicId: "string",
    principal: {
        endpoint: "string",
        environment: "string",
        oauth2ClientId: "string",
        oauth2Password: "string",
        password: "string",
        region: "string",
        serviceId: "string",
        servicePrivateKey: "string",
        uaaPassword: "string",
        uaaUsername: "string",
        username: "string",
    },
    scope: "string",
    softDelete: false,
});
Copy
type: hsdp:NotificationTopic
properties:
    allowedScopes:
        - string
    description: string
    isAuditable: false
    name: string
    notificationTopicId: string
    principal:
        endpoint: string
        environment: string
        oauth2ClientId: string
        oauth2Password: string
        password: string
        region: string
        serviceId: string
        servicePrivateKey: string
        uaaPassword: string
        uaaUsername: string
        username: string
    producerId: string
    scope: string
    softDelete: false
Copy

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

AllowedScopes This property is required. List<string>

) Validates whether the subscriber can access the topic

One topic can have multiple allowedScopes, depending on the number of subscribers. The current release only validates at the organization level and the scope attached to the service account/client.

The following pattern is valid for the allowedScopes field: *.*.*.* > ORGANIZATION.PROPOSITION.APPLICATION.SCOPE

Expected values for public topics: *.*.*.somescopevalue. Public topics will not allow ? for organization value or * in scopevalues.

Expected values for private topics:

?.*.*.* - Both producer and subscriber should belong to the same organization. Scope need not be present or it can be of any value.

?.*.*.somescope - Both producer and subscriber should belong to the same organization. Subscriber should have the same scope as mentioned in the allowedScopes property.

Org1.*.*.somescope - Subscriber should belong to Org1 and should have the scope as specified. Private topics will not allow * for the organization value.

ProducerId This property is required. string
The UUID of the producer
Description string
The intended usage of this topic
IsAuditable bool
Indicates whether the topic has to be audited whenever messages are published to it. Default value is false. User has to set to true for audit to happen.
Name string
The name of a topic. The topic name length is restricted to a maximum of 256 characters. The special characters allowed are - and _.
NotificationTopicId string
The topic ID
Principal NotificationTopicPrincipal
The optional principal to use for this resource
Scope string
The intended scope of this topic. Can be either public or private
SoftDelete bool
AllowedScopes This property is required. []string

) Validates whether the subscriber can access the topic

One topic can have multiple allowedScopes, depending on the number of subscribers. The current release only validates at the organization level and the scope attached to the service account/client.

The following pattern is valid for the allowedScopes field: *.*.*.* > ORGANIZATION.PROPOSITION.APPLICATION.SCOPE

Expected values for public topics: *.*.*.somescopevalue. Public topics will not allow ? for organization value or * in scopevalues.

Expected values for private topics:

?.*.*.* - Both producer and subscriber should belong to the same organization. Scope need not be present or it can be of any value.

?.*.*.somescope - Both producer and subscriber should belong to the same organization. Subscriber should have the same scope as mentioned in the allowedScopes property.

Org1.*.*.somescope - Subscriber should belong to Org1 and should have the scope as specified. Private topics will not allow * for the organization value.

ProducerId This property is required. string
The UUID of the producer
Description string
The intended usage of this topic
IsAuditable bool
Indicates whether the topic has to be audited whenever messages are published to it. Default value is false. User has to set to true for audit to happen.
Name string
The name of a topic. The topic name length is restricted to a maximum of 256 characters. The special characters allowed are - and _.
NotificationTopicId string
The topic ID
Principal NotificationTopicPrincipalArgs
The optional principal to use for this resource
Scope string
The intended scope of this topic. Can be either public or private
SoftDelete bool
allowedScopes This property is required. List<String>

) Validates whether the subscriber can access the topic

One topic can have multiple allowedScopes, depending on the number of subscribers. The current release only validates at the organization level and the scope attached to the service account/client.

The following pattern is valid for the allowedScopes field: *.*.*.* > ORGANIZATION.PROPOSITION.APPLICATION.SCOPE

Expected values for public topics: *.*.*.somescopevalue. Public topics will not allow ? for organization value or * in scopevalues.

Expected values for private topics:

?.*.*.* - Both producer and subscriber should belong to the same organization. Scope need not be present or it can be of any value.

?.*.*.somescope - Both producer and subscriber should belong to the same organization. Subscriber should have the same scope as mentioned in the allowedScopes property.

Org1.*.*.somescope - Subscriber should belong to Org1 and should have the scope as specified. Private topics will not allow * for the organization value.

producerId This property is required. String
The UUID of the producer
description String
The intended usage of this topic
isAuditable Boolean
Indicates whether the topic has to be audited whenever messages are published to it. Default value is false. User has to set to true for audit to happen.
name String
The name of a topic. The topic name length is restricted to a maximum of 256 characters. The special characters allowed are - and _.
notificationTopicId String
The topic ID
principal NotificationTopicPrincipal
The optional principal to use for this resource
scope String
The intended scope of this topic. Can be either public or private
softDelete Boolean
allowedScopes This property is required. string[]

) Validates whether the subscriber can access the topic

One topic can have multiple allowedScopes, depending on the number of subscribers. The current release only validates at the organization level and the scope attached to the service account/client.

The following pattern is valid for the allowedScopes field: *.*.*.* > ORGANIZATION.PROPOSITION.APPLICATION.SCOPE

Expected values for public topics: *.*.*.somescopevalue. Public topics will not allow ? for organization value or * in scopevalues.

Expected values for private topics:

?.*.*.* - Both producer and subscriber should belong to the same organization. Scope need not be present or it can be of any value.

?.*.*.somescope - Both producer and subscriber should belong to the same organization. Subscriber should have the same scope as mentioned in the allowedScopes property.

Org1.*.*.somescope - Subscriber should belong to Org1 and should have the scope as specified. Private topics will not allow * for the organization value.

producerId This property is required. string
The UUID of the producer
description string
The intended usage of this topic
isAuditable boolean
Indicates whether the topic has to be audited whenever messages are published to it. Default value is false. User has to set to true for audit to happen.
name string
The name of a topic. The topic name length is restricted to a maximum of 256 characters. The special characters allowed are - and _.
notificationTopicId string
The topic ID
principal NotificationTopicPrincipal
The optional principal to use for this resource
scope string
The intended scope of this topic. Can be either public or private
softDelete boolean
allowed_scopes This property is required. Sequence[str]

) Validates whether the subscriber can access the topic

One topic can have multiple allowedScopes, depending on the number of subscribers. The current release only validates at the organization level and the scope attached to the service account/client.

The following pattern is valid for the allowedScopes field: *.*.*.* > ORGANIZATION.PROPOSITION.APPLICATION.SCOPE

Expected values for public topics: *.*.*.somescopevalue. Public topics will not allow ? for organization value or * in scopevalues.

Expected values for private topics:

?.*.*.* - Both producer and subscriber should belong to the same organization. Scope need not be present or it can be of any value.

?.*.*.somescope - Both producer and subscriber should belong to the same organization. Subscriber should have the same scope as mentioned in the allowedScopes property.

Org1.*.*.somescope - Subscriber should belong to Org1 and should have the scope as specified. Private topics will not allow * for the organization value.

producer_id This property is required. str
The UUID of the producer
description str
The intended usage of this topic
is_auditable bool
Indicates whether the topic has to be audited whenever messages are published to it. Default value is false. User has to set to true for audit to happen.
name str
The name of a topic. The topic name length is restricted to a maximum of 256 characters. The special characters allowed are - and _.
notification_topic_id str
The topic ID
principal NotificationTopicPrincipalArgs
The optional principal to use for this resource
scope str
The intended scope of this topic. Can be either public or private
soft_delete bool
allowedScopes This property is required. List<String>

) Validates whether the subscriber can access the topic

One topic can have multiple allowedScopes, depending on the number of subscribers. The current release only validates at the organization level and the scope attached to the service account/client.

The following pattern is valid for the allowedScopes field: *.*.*.* > ORGANIZATION.PROPOSITION.APPLICATION.SCOPE

Expected values for public topics: *.*.*.somescopevalue. Public topics will not allow ? for organization value or * in scopevalues.

Expected values for private topics:

?.*.*.* - Both producer and subscriber should belong to the same organization. Scope need not be present or it can be of any value.

?.*.*.somescope - Both producer and subscriber should belong to the same organization. Subscriber should have the same scope as mentioned in the allowedScopes property.

Org1.*.*.somescope - Subscriber should belong to Org1 and should have the scope as specified. Private topics will not allow * for the organization value.

producerId This property is required. String
The UUID of the producer
description String
The intended usage of this topic
isAuditable Boolean
Indicates whether the topic has to be audited whenever messages are published to it. Default value is false. User has to set to true for audit to happen.
name String
The name of a topic. The topic name length is restricted to a maximum of 256 characters. The special characters allowed are - and _.
notificationTopicId String
The topic ID
principal Property Map
The optional principal to use for this resource
scope String
The intended scope of this topic. Can be either public or private
softDelete Boolean

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing NotificationTopic Resource

Get an existing NotificationTopic 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?: NotificationTopicState, opts?: CustomResourceOptions): NotificationTopic
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        allowed_scopes: Optional[Sequence[str]] = None,
        description: Optional[str] = None,
        is_auditable: Optional[bool] = None,
        name: Optional[str] = None,
        notification_topic_id: Optional[str] = None,
        principal: Optional[NotificationTopicPrincipalArgs] = None,
        producer_id: Optional[str] = None,
        scope: Optional[str] = None,
        soft_delete: Optional[bool] = None) -> NotificationTopic
func GetNotificationTopic(ctx *Context, name string, id IDInput, state *NotificationTopicState, opts ...ResourceOption) (*NotificationTopic, error)
public static NotificationTopic Get(string name, Input<string> id, NotificationTopicState? state, CustomResourceOptions? opts = null)
public static NotificationTopic get(String name, Output<String> id, NotificationTopicState state, CustomResourceOptions options)
resources:  _:    type: hsdp:NotificationTopic    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
AllowedScopes List<string>

) Validates whether the subscriber can access the topic

One topic can have multiple allowedScopes, depending on the number of subscribers. The current release only validates at the organization level and the scope attached to the service account/client.

The following pattern is valid for the allowedScopes field: *.*.*.* > ORGANIZATION.PROPOSITION.APPLICATION.SCOPE

Expected values for public topics: *.*.*.somescopevalue. Public topics will not allow ? for organization value or * in scopevalues.

Expected values for private topics:

?.*.*.* - Both producer and subscriber should belong to the same organization. Scope need not be present or it can be of any value.

?.*.*.somescope - Both producer and subscriber should belong to the same organization. Subscriber should have the same scope as mentioned in the allowedScopes property.

Org1.*.*.somescope - Subscriber should belong to Org1 and should have the scope as specified. Private topics will not allow * for the organization value.

Description string
The intended usage of this topic
IsAuditable bool
Indicates whether the topic has to be audited whenever messages are published to it. Default value is false. User has to set to true for audit to happen.
Name string
The name of a topic. The topic name length is restricted to a maximum of 256 characters. The special characters allowed are - and _.
NotificationTopicId string
The topic ID
Principal NotificationTopicPrincipal
The optional principal to use for this resource
ProducerId string
The UUID of the producer
Scope string
The intended scope of this topic. Can be either public or private
SoftDelete bool
AllowedScopes []string

) Validates whether the subscriber can access the topic

One topic can have multiple allowedScopes, depending on the number of subscribers. The current release only validates at the organization level and the scope attached to the service account/client.

The following pattern is valid for the allowedScopes field: *.*.*.* > ORGANIZATION.PROPOSITION.APPLICATION.SCOPE

Expected values for public topics: *.*.*.somescopevalue. Public topics will not allow ? for organization value or * in scopevalues.

Expected values for private topics:

?.*.*.* - Both producer and subscriber should belong to the same organization. Scope need not be present or it can be of any value.

?.*.*.somescope - Both producer and subscriber should belong to the same organization. Subscriber should have the same scope as mentioned in the allowedScopes property.

Org1.*.*.somescope - Subscriber should belong to Org1 and should have the scope as specified. Private topics will not allow * for the organization value.

Description string
The intended usage of this topic
IsAuditable bool
Indicates whether the topic has to be audited whenever messages are published to it. Default value is false. User has to set to true for audit to happen.
Name string
The name of a topic. The topic name length is restricted to a maximum of 256 characters. The special characters allowed are - and _.
NotificationTopicId string
The topic ID
Principal NotificationTopicPrincipalArgs
The optional principal to use for this resource
ProducerId string
The UUID of the producer
Scope string
The intended scope of this topic. Can be either public or private
SoftDelete bool
allowedScopes List<String>

) Validates whether the subscriber can access the topic

One topic can have multiple allowedScopes, depending on the number of subscribers. The current release only validates at the organization level and the scope attached to the service account/client.

The following pattern is valid for the allowedScopes field: *.*.*.* > ORGANIZATION.PROPOSITION.APPLICATION.SCOPE

Expected values for public topics: *.*.*.somescopevalue. Public topics will not allow ? for organization value or * in scopevalues.

Expected values for private topics:

?.*.*.* - Both producer and subscriber should belong to the same organization. Scope need not be present or it can be of any value.

?.*.*.somescope - Both producer and subscriber should belong to the same organization. Subscriber should have the same scope as mentioned in the allowedScopes property.

Org1.*.*.somescope - Subscriber should belong to Org1 and should have the scope as specified. Private topics will not allow * for the organization value.

description String
The intended usage of this topic
isAuditable Boolean
Indicates whether the topic has to be audited whenever messages are published to it. Default value is false. User has to set to true for audit to happen.
name String
The name of a topic. The topic name length is restricted to a maximum of 256 characters. The special characters allowed are - and _.
notificationTopicId String
The topic ID
principal NotificationTopicPrincipal
The optional principal to use for this resource
producerId String
The UUID of the producer
scope String
The intended scope of this topic. Can be either public or private
softDelete Boolean
allowedScopes string[]

) Validates whether the subscriber can access the topic

One topic can have multiple allowedScopes, depending on the number of subscribers. The current release only validates at the organization level and the scope attached to the service account/client.

The following pattern is valid for the allowedScopes field: *.*.*.* > ORGANIZATION.PROPOSITION.APPLICATION.SCOPE

Expected values for public topics: *.*.*.somescopevalue. Public topics will not allow ? for organization value or * in scopevalues.

Expected values for private topics:

?.*.*.* - Both producer and subscriber should belong to the same organization. Scope need not be present or it can be of any value.

?.*.*.somescope - Both producer and subscriber should belong to the same organization. Subscriber should have the same scope as mentioned in the allowedScopes property.

Org1.*.*.somescope - Subscriber should belong to Org1 and should have the scope as specified. Private topics will not allow * for the organization value.

description string
The intended usage of this topic
isAuditable boolean
Indicates whether the topic has to be audited whenever messages are published to it. Default value is false. User has to set to true for audit to happen.
name string
The name of a topic. The topic name length is restricted to a maximum of 256 characters. The special characters allowed are - and _.
notificationTopicId string
The topic ID
principal NotificationTopicPrincipal
The optional principal to use for this resource
producerId string
The UUID of the producer
scope string
The intended scope of this topic. Can be either public or private
softDelete boolean
allowed_scopes Sequence[str]

) Validates whether the subscriber can access the topic

One topic can have multiple allowedScopes, depending on the number of subscribers. The current release only validates at the organization level and the scope attached to the service account/client.

The following pattern is valid for the allowedScopes field: *.*.*.* > ORGANIZATION.PROPOSITION.APPLICATION.SCOPE

Expected values for public topics: *.*.*.somescopevalue. Public topics will not allow ? for organization value or * in scopevalues.

Expected values for private topics:

?.*.*.* - Both producer and subscriber should belong to the same organization. Scope need not be present or it can be of any value.

?.*.*.somescope - Both producer and subscriber should belong to the same organization. Subscriber should have the same scope as mentioned in the allowedScopes property.

Org1.*.*.somescope - Subscriber should belong to Org1 and should have the scope as specified. Private topics will not allow * for the organization value.

description str
The intended usage of this topic
is_auditable bool
Indicates whether the topic has to be audited whenever messages are published to it. Default value is false. User has to set to true for audit to happen.
name str
The name of a topic. The topic name length is restricted to a maximum of 256 characters. The special characters allowed are - and _.
notification_topic_id str
The topic ID
principal NotificationTopicPrincipalArgs
The optional principal to use for this resource
producer_id str
The UUID of the producer
scope str
The intended scope of this topic. Can be either public or private
soft_delete bool
allowedScopes List<String>

) Validates whether the subscriber can access the topic

One topic can have multiple allowedScopes, depending on the number of subscribers. The current release only validates at the organization level and the scope attached to the service account/client.

The following pattern is valid for the allowedScopes field: *.*.*.* > ORGANIZATION.PROPOSITION.APPLICATION.SCOPE

Expected values for public topics: *.*.*.somescopevalue. Public topics will not allow ? for organization value or * in scopevalues.

Expected values for private topics:

?.*.*.* - Both producer and subscriber should belong to the same organization. Scope need not be present or it can be of any value.

?.*.*.somescope - Both producer and subscriber should belong to the same organization. Subscriber should have the same scope as mentioned in the allowedScopes property.

Org1.*.*.somescope - Subscriber should belong to Org1 and should have the scope as specified. Private topics will not allow * for the organization value.

description String
The intended usage of this topic
isAuditable Boolean
Indicates whether the topic has to be audited whenever messages are published to it. Default value is false. User has to set to true for audit to happen.
name String
The name of a topic. The topic name length is restricted to a maximum of 256 characters. The special characters allowed are - and _.
notificationTopicId String
The topic ID
principal Property Map
The optional principal to use for this resource
producerId String
The UUID of the producer
scope String
The intended scope of this topic. Can be either public or private
softDelete Boolean

Supporting Types

NotificationTopicPrincipal
, NotificationTopicPrincipalArgs

Endpoint string
The endpoint URL to use if applicable. When not set, the provider config is used
Environment string
Environment to use. When not set, the provider config is used
Oauth2ClientId string
Oauth2Password string
Password string
Region string
Region to use. When not set, the provider config is used
ServiceId string
The IAM service ID
ServicePrivateKey string
The IAM service private key to use
UaaPassword string
UaaUsername string
Username string
Endpoint string
The endpoint URL to use if applicable. When not set, the provider config is used
Environment string
Environment to use. When not set, the provider config is used
Oauth2ClientId string
Oauth2Password string
Password string
Region string
Region to use. When not set, the provider config is used
ServiceId string
The IAM service ID
ServicePrivateKey string
The IAM service private key to use
UaaPassword string
UaaUsername string
Username string
endpoint String
The endpoint URL to use if applicable. When not set, the provider config is used
environment String
Environment to use. When not set, the provider config is used
oauth2ClientId String
oauth2Password String
password String
region String
Region to use. When not set, the provider config is used
serviceId String
The IAM service ID
servicePrivateKey String
The IAM service private key to use
uaaPassword String
uaaUsername String
username String
endpoint string
The endpoint URL to use if applicable. When not set, the provider config is used
environment string
Environment to use. When not set, the provider config is used
oauth2ClientId string
oauth2Password string
password string
region string
Region to use. When not set, the provider config is used
serviceId string
The IAM service ID
servicePrivateKey string
The IAM service private key to use
uaaPassword string
uaaUsername string
username string
endpoint str
The endpoint URL to use if applicable. When not set, the provider config is used
environment str
Environment to use. When not set, the provider config is used
oauth2_client_id str
oauth2_password str
password str
region str
Region to use. When not set, the provider config is used
service_id str
The IAM service ID
service_private_key str
The IAM service private key to use
uaa_password str
uaa_username str
username str
endpoint String
The endpoint URL to use if applicable. When not set, the provider config is used
environment String
Environment to use. When not set, the provider config is used
oauth2ClientId String
oauth2Password String
password String
region String
Region to use. When not set, the provider config is used
serviceId String
The IAM service ID
servicePrivateKey String
The IAM service private key to use
uaaPassword String
uaaUsername String
username String

Import

ing

Importing a HSDP Notification topic is supported.

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

Package Details

Repository
hsdp philips-software/terraform-provider-hsdp
License
Notes
This Pulumi package is based on the hsdp Terraform Provider.