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",
});
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")
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
})
}
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",
});
});
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());
}
}
resources:
topic:
type: hsdp:NotificationTopic
properties:
allowedScopes:
- '*.*.*.NotificationTest'
description: topic description
isAuditable: true
producerId: 036c8a21-6906-4485-b2e7-e31883d8f9ed
scope: public
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 string
- The unique name of the resource.
- args NotificationTopicArgs
- 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 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 string
- The unique name of the resource.
- args NotificationTopicArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NotificationTopicArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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,
});
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: &hsdp.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),
})
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());
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)
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,
});
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
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:
- Allowed
Scopes 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.- Producer
Id string - The UUID of the producer
- Description string
- 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 totrue
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_
. - Notification
Topic stringId - The topic ID
- Principal
Notification
Topic Principal - The optional principal to use for this resource
- Scope string
- The intended scope of this topic. Can be either
public
orprivate
- Soft
Delete bool
- Allowed
Scopes []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.- Producer
Id string - The UUID of the producer
- Description string
- 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 totrue
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_
. - Notification
Topic stringId - The topic ID
- Principal
Notification
Topic Principal Args - The optional principal to use for this resource
- Scope string
- The intended scope of this topic. Can be either
public
orprivate
- Soft
Delete bool
- allowed
Scopes 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.- producer
Id String - The UUID of the producer
- description String
- The intended usage of this topic
- is
Auditable Boolean - Indicates whether the topic has to be audited whenever messages are published to it. Default value is
false
. User has to set totrue
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_
. - notification
Topic StringId - The topic ID
- principal
Notification
Topic Principal - The optional principal to use for this resource
- scope String
- The intended scope of this topic. Can be either
public
orprivate
- soft
Delete Boolean
- allowed
Scopes 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.- producer
Id string - The UUID of the producer
- description string
- The intended usage of this topic
- is
Auditable boolean - Indicates whether the topic has to be audited whenever messages are published to it. Default value is
false
. User has to set totrue
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_
. - notification
Topic stringId - The topic ID
- principal
Notification
Topic Principal - The optional principal to use for this resource
- scope string
- The intended scope of this topic. Can be either
public
orprivate
- soft
Delete 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.- producer_
id 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 totrue
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_ strid - The topic ID
- principal
Notification
Topic Principal Args - The optional principal to use for this resource
- scope str
- The intended scope of this topic. Can be either
public
orprivate
- soft_
delete bool
- allowed
Scopes 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.- producer
Id String - The UUID of the producer
- description String
- The intended usage of this topic
- is
Auditable Boolean - Indicates whether the topic has to be audited whenever messages are published to it. Default value is
false
. User has to set totrue
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_
. - notification
Topic StringId - 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
orprivate
- soft
Delete 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
- 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.
- Allowed
Scopes 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
- 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 totrue
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_
. - Notification
Topic stringId - The topic ID
- Principal
Notification
Topic Principal - The optional principal to use for this resource
- Producer
Id string - The UUID of the producer
- Scope string
- The intended scope of this topic. Can be either
public
orprivate
- Soft
Delete bool
- Allowed
Scopes []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
- 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 totrue
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_
. - Notification
Topic stringId - The topic ID
- Principal
Notification
Topic Principal Args - The optional principal to use for this resource
- Producer
Id string - The UUID of the producer
- Scope string
- The intended scope of this topic. Can be either
public
orprivate
- Soft
Delete bool
- allowed
Scopes 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
- is
Auditable Boolean - Indicates whether the topic has to be audited whenever messages are published to it. Default value is
false
. User has to set totrue
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_
. - notification
Topic StringId - The topic ID
- principal
Notification
Topic Principal - The optional principal to use for this resource
- producer
Id String - The UUID of the producer
- scope String
- The intended scope of this topic. Can be either
public
orprivate
- soft
Delete Boolean
- allowed
Scopes 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
- is
Auditable boolean - Indicates whether the topic has to be audited whenever messages are published to it. Default value is
false
. User has to set totrue
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_
. - notification
Topic stringId - The topic ID
- principal
Notification
Topic Principal - The optional principal to use for this resource
- producer
Id string - The UUID of the producer
- scope string
- The intended scope of this topic. Can be either
public
orprivate
- soft
Delete 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 totrue
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_ strid - The topic ID
- principal
Notification
Topic Principal Args - 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
orprivate
- soft_
delete bool
- allowed
Scopes 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
- is
Auditable Boolean - Indicates whether the topic has to be audited whenever messages are published to it. Default value is
false
. User has to set totrue
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_
. - notification
Topic StringId - The topic ID
- principal Property Map
- The optional principal to use for this resource
- producer
Id String - The UUID of the producer
- scope String
- The intended scope of this topic. Can be either
public
orprivate
- soft
Delete 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
- Oauth2Client
Id string - Oauth2Password string
- Password string
- Region string
- Region to use. When not set, the provider config is used
- Service
Id string - The IAM service ID
- Service
Private stringKey - The IAM service private key to use
- Uaa
Password string - Uaa
Username 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
- Oauth2Client
Id string - Oauth2Password string
- Password string
- Region string
- Region to use. When not set, the provider config is used
- Service
Id string - The IAM service ID
- Service
Private stringKey - The IAM service private key to use
- Uaa
Password string - Uaa
Username 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
- oauth2Client
Id String - oauth2Password String
- password String
- region String
- Region to use. When not set, the provider config is used
- service
Id String - The IAM service ID
- service
Private StringKey - The IAM service private key to use
- uaa
Password String - uaa
Username 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
- oauth2Client
Id string - oauth2Password string
- password string
- region string
- Region to use. When not set, the provider config is used
- service
Id string - The IAM service ID
- service
Private stringKey - The IAM service private key to use
- uaa
Password string - uaa
Username 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_ strid - 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_ strkey - 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
- oauth2Client
Id String - oauth2Password String
- password String
- region String
- Region to use. When not set, the provider config is used
- service
Id String - The IAM service ID
- service
Private StringKey - The IAM service private key to use
- uaa
Password String - uaa
Username 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.