1. Packages
  2. CloudAMQP Provider
  3. API Docs
  4. PluginCommunity
Viewing docs for CloudAMQP v3.27.0
published on Saturday, Mar 14, 2026 by Pulumi
cloudamqp logo
Viewing docs for CloudAMQP v3.27.0
published on Saturday, Mar 14, 2026 by Pulumi

    This resource allows you to install or uninstall community plugins. Once installed the plugin will be available in cloudamqp.Plugin.

    Only available for dedicated subscription plans running RabbitMQ.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as cloudamqp from "@pulumi/cloudamqp";
    
    const rabbitmqDelayedMessageExchange = new cloudamqp.PluginCommunity("rabbitmq_delayed_message_exchange", {
        instanceId: instance.id,
        name: "rabbitmq_delayed_message_exchange",
        enabled: true,
    });
    
    import pulumi
    import pulumi_cloudamqp as cloudamqp
    
    rabbitmq_delayed_message_exchange = cloudamqp.PluginCommunity("rabbitmq_delayed_message_exchange",
        instance_id=instance["id"],
        name="rabbitmq_delayed_message_exchange",
        enabled=True)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-cloudamqp/sdk/v3/go/cloudamqp"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := cloudamqp.NewPluginCommunity(ctx, "rabbitmq_delayed_message_exchange", &cloudamqp.PluginCommunityArgs{
    			InstanceId: pulumi.Any(instance.Id),
    			Name:       pulumi.String("rabbitmq_delayed_message_exchange"),
    			Enabled:    pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using CloudAmqp = Pulumi.CloudAmqp;
    
    return await Deployment.RunAsync(() => 
    {
        var rabbitmqDelayedMessageExchange = new CloudAmqp.PluginCommunity("rabbitmq_delayed_message_exchange", new()
        {
            InstanceId = instance.Id,
            Name = "rabbitmq_delayed_message_exchange",
            Enabled = true,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.cloudamqp.PluginCommunity;
    import com.pulumi.cloudamqp.PluginCommunityArgs;
    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 rabbitmqDelayedMessageExchange = new PluginCommunity("rabbitmqDelayedMessageExchange", PluginCommunityArgs.builder()
                .instanceId(instance.id())
                .name("rabbitmq_delayed_message_exchange")
                .enabled(true)
                .build());
    
        }
    }
    
    resources:
      rabbitmqDelayedMessageExchange:
        type: cloudamqp:PluginCommunity
        name: rabbitmq_delayed_message_exchange
        properties:
          instanceId: ${instance.id}
          name: rabbitmq_delayed_message_exchange
          enabled: true
    
    Faster instance destroy when running `terraform destroy` from [v1.27.0]

    CloudAMQP Terraform provider v1.27.0 enables faster cloudamqp.Instance destroy when running terraform destroy.

    import * as pulumi from "@pulumi/pulumi";
    import * as cloudamqp from "@pulumi/cloudamqp";
    
    const instance = new cloudamqp.Instance("instance", {
        name: "terraform-cloudamqp-instance",
        plan: "bunny-1",
        region: "amazon-web-services::us-west-1",
        tags: ["terraform"],
    });
    const rabbitmqDelayedMessageExchange = new cloudamqp.PluginCommunity("rabbitmq_delayed_message_exchange", {
        instanceId: instance.id,
        name: "rabbitmq_delayed_message_exchange",
        enabled: true,
    });
    
    import pulumi
    import pulumi_cloudamqp as cloudamqp
    
    instance = cloudamqp.Instance("instance",
        name="terraform-cloudamqp-instance",
        plan="bunny-1",
        region="amazon-web-services::us-west-1",
        tags=["terraform"])
    rabbitmq_delayed_message_exchange = cloudamqp.PluginCommunity("rabbitmq_delayed_message_exchange",
        instance_id=instance.id,
        name="rabbitmq_delayed_message_exchange",
        enabled=True)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-cloudamqp/sdk/v3/go/cloudamqp"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		instance, err := cloudamqp.NewInstance(ctx, "instance", &cloudamqp.InstanceArgs{
    			Name:   pulumi.String("terraform-cloudamqp-instance"),
    			Plan:   pulumi.String("bunny-1"),
    			Region: pulumi.String("amazon-web-services::us-west-1"),
    			Tags: pulumi.StringArray{
    				pulumi.String("terraform"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = cloudamqp.NewPluginCommunity(ctx, "rabbitmq_delayed_message_exchange", &cloudamqp.PluginCommunityArgs{
    			InstanceId: instance.ID(),
    			Name:       pulumi.String("rabbitmq_delayed_message_exchange"),
    			Enabled:    pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using CloudAmqp = Pulumi.CloudAmqp;
    
    return await Deployment.RunAsync(() => 
    {
        var instance = new CloudAmqp.Instance("instance", new()
        {
            Name = "terraform-cloudamqp-instance",
            Plan = "bunny-1",
            Region = "amazon-web-services::us-west-1",
            Tags = new[]
            {
                "terraform",
            },
        });
    
        var rabbitmqDelayedMessageExchange = new CloudAmqp.PluginCommunity("rabbitmq_delayed_message_exchange", new()
        {
            InstanceId = instance.Id,
            Name = "rabbitmq_delayed_message_exchange",
            Enabled = true,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.cloudamqp.Instance;
    import com.pulumi.cloudamqp.InstanceArgs;
    import com.pulumi.cloudamqp.PluginCommunity;
    import com.pulumi.cloudamqp.PluginCommunityArgs;
    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 instance = new Instance("instance", InstanceArgs.builder()
                .name("terraform-cloudamqp-instance")
                .plan("bunny-1")
                .region("amazon-web-services::us-west-1")
                .tags("terraform")
                .build());
    
            var rabbitmqDelayedMessageExchange = new PluginCommunity("rabbitmqDelayedMessageExchange", PluginCommunityArgs.builder()
                .instanceId(instance.id())
                .name("rabbitmq_delayed_message_exchange")
                .enabled(true)
                .build());
    
        }
    }
    
    resources:
      instance:
        type: cloudamqp:Instance
        properties:
          name: terraform-cloudamqp-instance
          plan: bunny-1
          region: amazon-web-services::us-west-1
          tags:
            - terraform
      rabbitmqDelayedMessageExchange:
        type: cloudamqp:PluginCommunity
        name: rabbitmq_delayed_message_exchange
        properties:
          instanceId: ${instance.id}
          name: rabbitmq_delayed_message_exchange
          enabled: true
    

    Dependency

    This resource depends on CloudAMQP instance identifier, cloudamqp_instance.instance.id.

    Enable faster instance destroy

    When running terraform destroy this resource will try to uninstall the managed community plugin before deleting cloudamqp.Instance. This is not necessary since the servers will be deleted.

    Set enable_faster_instance_destroy to true in the provider configuration to skip this.

    Create PluginCommunity Resource

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

    Constructor syntax

    new PluginCommunity(name: string, args: PluginCommunityArgs, opts?: CustomResourceOptions);
    @overload
    def PluginCommunity(resource_name: str,
                        args: PluginCommunityArgs,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def PluginCommunity(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        enabled: Optional[bool] = None,
                        instance_id: Optional[int] = None,
                        name: Optional[str] = None,
                        sleep: Optional[int] = None,
                        timeout: Optional[int] = None)
    func NewPluginCommunity(ctx *Context, name string, args PluginCommunityArgs, opts ...ResourceOption) (*PluginCommunity, error)
    public PluginCommunity(string name, PluginCommunityArgs args, CustomResourceOptions? opts = null)
    public PluginCommunity(String name, PluginCommunityArgs args)
    public PluginCommunity(String name, PluginCommunityArgs args, CustomResourceOptions options)
    
    type: cloudamqp:PluginCommunity
    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 PluginCommunityArgs
    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 PluginCommunityArgs
    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 PluginCommunityArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PluginCommunityArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PluginCommunityArgs
    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 pluginCommunityResource = new CloudAmqp.PluginCommunity("pluginCommunityResource", new()
    {
        Enabled = false,
        InstanceId = 0,
        Name = "string",
        Sleep = 0,
        Timeout = 0,
    });
    
    example, err := cloudamqp.NewPluginCommunity(ctx, "pluginCommunityResource", &cloudamqp.PluginCommunityArgs{
    	Enabled:    pulumi.Bool(false),
    	InstanceId: pulumi.Int(0),
    	Name:       pulumi.String("string"),
    	Sleep:      pulumi.Int(0),
    	Timeout:    pulumi.Int(0),
    })
    
    var pluginCommunityResource = new PluginCommunity("pluginCommunityResource", PluginCommunityArgs.builder()
        .enabled(false)
        .instanceId(0)
        .name("string")
        .sleep(0)
        .timeout(0)
        .build());
    
    plugin_community_resource = cloudamqp.PluginCommunity("pluginCommunityResource",
        enabled=False,
        instance_id=0,
        name="string",
        sleep=0,
        timeout=0)
    
    const pluginCommunityResource = new cloudamqp.PluginCommunity("pluginCommunityResource", {
        enabled: false,
        instanceId: 0,
        name: "string",
        sleep: 0,
        timeout: 0,
    });
    
    type: cloudamqp:PluginCommunity
    properties:
        enabled: false
        instanceId: 0
        name: string
        sleep: 0
        timeout: 0
    

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

    Enabled bool
    Enable or disable the plugins.
    InstanceId int
    The CloudAMQP instance ID.
    Name string
    The name of the Rabbit MQ community plugin.
    Sleep int

    Configurable sleep time (seconds) for retries when requesting information about community plugins. Default set to 10 seconds.

    Note: Available from [v1.29.0]

    Timeout int

    Configurable timeout time (seconds) for retries when requesting information about community plugins. Default set to 1800 seconds.

    Note: Available from [v1.29.0]

    Enabled bool
    Enable or disable the plugins.
    InstanceId int
    The CloudAMQP instance ID.
    Name string
    The name of the Rabbit MQ community plugin.
    Sleep int

    Configurable sleep time (seconds) for retries when requesting information about community plugins. Default set to 10 seconds.

    Note: Available from [v1.29.0]

    Timeout int

    Configurable timeout time (seconds) for retries when requesting information about community plugins. Default set to 1800 seconds.

    Note: Available from [v1.29.0]

    enabled Boolean
    Enable or disable the plugins.
    instanceId Integer
    The CloudAMQP instance ID.
    name String
    The name of the Rabbit MQ community plugin.
    sleep Integer

    Configurable sleep time (seconds) for retries when requesting information about community plugins. Default set to 10 seconds.

    Note: Available from [v1.29.0]

    timeout Integer

    Configurable timeout time (seconds) for retries when requesting information about community plugins. Default set to 1800 seconds.

    Note: Available from [v1.29.0]

    enabled boolean
    Enable or disable the plugins.
    instanceId number
    The CloudAMQP instance ID.
    name string
    The name of the Rabbit MQ community plugin.
    sleep number

    Configurable sleep time (seconds) for retries when requesting information about community plugins. Default set to 10 seconds.

    Note: Available from [v1.29.0]

    timeout number

    Configurable timeout time (seconds) for retries when requesting information about community plugins. Default set to 1800 seconds.

    Note: Available from [v1.29.0]

    enabled bool
    Enable or disable the plugins.
    instance_id int
    The CloudAMQP instance ID.
    name str
    The name of the Rabbit MQ community plugin.
    sleep int

    Configurable sleep time (seconds) for retries when requesting information about community plugins. Default set to 10 seconds.

    Note: Available from [v1.29.0]

    timeout int

    Configurable timeout time (seconds) for retries when requesting information about community plugins. Default set to 1800 seconds.

    Note: Available from [v1.29.0]

    enabled Boolean
    Enable or disable the plugins.
    instanceId Number
    The CloudAMQP instance ID.
    name String
    The name of the Rabbit MQ community plugin.
    sleep Number

    Configurable sleep time (seconds) for retries when requesting information about community plugins. Default set to 10 seconds.

    Note: Available from [v1.29.0]

    timeout Number

    Configurable timeout time (seconds) for retries when requesting information about community plugins. Default set to 1800 seconds.

    Note: Available from [v1.29.0]

    Outputs

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

    Description string
    The description of the plugin.
    Id string
    The provider-assigned unique ID for this managed resource.
    Require string
    Required version of RabbitMQ.
    Description string
    The description of the plugin.
    Id string
    The provider-assigned unique ID for this managed resource.
    Require string
    Required version of RabbitMQ.
    description String
    The description of the plugin.
    id String
    The provider-assigned unique ID for this managed resource.
    require String
    Required version of RabbitMQ.
    description string
    The description of the plugin.
    id string
    The provider-assigned unique ID for this managed resource.
    require string
    Required version of RabbitMQ.
    description str
    The description of the plugin.
    id str
    The provider-assigned unique ID for this managed resource.
    require str
    Required version of RabbitMQ.
    description String
    The description of the plugin.
    id String
    The provider-assigned unique ID for this managed resource.
    require String
    Required version of RabbitMQ.

    Look up Existing PluginCommunity Resource

    Get an existing PluginCommunity 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?: PluginCommunityState, opts?: CustomResourceOptions): PluginCommunity
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            description: Optional[str] = None,
            enabled: Optional[bool] = None,
            instance_id: Optional[int] = None,
            name: Optional[str] = None,
            require: Optional[str] = None,
            sleep: Optional[int] = None,
            timeout: Optional[int] = None) -> PluginCommunity
    func GetPluginCommunity(ctx *Context, name string, id IDInput, state *PluginCommunityState, opts ...ResourceOption) (*PluginCommunity, error)
    public static PluginCommunity Get(string name, Input<string> id, PluginCommunityState? state, CustomResourceOptions? opts = null)
    public static PluginCommunity get(String name, Output<String> id, PluginCommunityState state, CustomResourceOptions options)
    resources:  _:    type: cloudamqp:PluginCommunity    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.
    The following state arguments are supported:
    Description string
    The description of the plugin.
    Enabled bool
    Enable or disable the plugins.
    InstanceId int
    The CloudAMQP instance ID.
    Name string
    The name of the Rabbit MQ community plugin.
    Require string
    Required version of RabbitMQ.
    Sleep int

    Configurable sleep time (seconds) for retries when requesting information about community plugins. Default set to 10 seconds.

    Note: Available from [v1.29.0]

    Timeout int

    Configurable timeout time (seconds) for retries when requesting information about community plugins. Default set to 1800 seconds.

    Note: Available from [v1.29.0]

    Description string
    The description of the plugin.
    Enabled bool
    Enable or disable the plugins.
    InstanceId int
    The CloudAMQP instance ID.
    Name string
    The name of the Rabbit MQ community plugin.
    Require string
    Required version of RabbitMQ.
    Sleep int

    Configurable sleep time (seconds) for retries when requesting information about community plugins. Default set to 10 seconds.

    Note: Available from [v1.29.0]

    Timeout int

    Configurable timeout time (seconds) for retries when requesting information about community plugins. Default set to 1800 seconds.

    Note: Available from [v1.29.0]

    description String
    The description of the plugin.
    enabled Boolean
    Enable or disable the plugins.
    instanceId Integer
    The CloudAMQP instance ID.
    name String
    The name of the Rabbit MQ community plugin.
    require String
    Required version of RabbitMQ.
    sleep Integer

    Configurable sleep time (seconds) for retries when requesting information about community plugins. Default set to 10 seconds.

    Note: Available from [v1.29.0]

    timeout Integer

    Configurable timeout time (seconds) for retries when requesting information about community plugins. Default set to 1800 seconds.

    Note: Available from [v1.29.0]

    description string
    The description of the plugin.
    enabled boolean
    Enable or disable the plugins.
    instanceId number
    The CloudAMQP instance ID.
    name string
    The name of the Rabbit MQ community plugin.
    require string
    Required version of RabbitMQ.
    sleep number

    Configurable sleep time (seconds) for retries when requesting information about community plugins. Default set to 10 seconds.

    Note: Available from [v1.29.0]

    timeout number

    Configurable timeout time (seconds) for retries when requesting information about community plugins. Default set to 1800 seconds.

    Note: Available from [v1.29.0]

    description str
    The description of the plugin.
    enabled bool
    Enable or disable the plugins.
    instance_id int
    The CloudAMQP instance ID.
    name str
    The name of the Rabbit MQ community plugin.
    require str
    Required version of RabbitMQ.
    sleep int

    Configurable sleep time (seconds) for retries when requesting information about community plugins. Default set to 10 seconds.

    Note: Available from [v1.29.0]

    timeout int

    Configurable timeout time (seconds) for retries when requesting information about community plugins. Default set to 1800 seconds.

    Note: Available from [v1.29.0]

    description String
    The description of the plugin.
    enabled Boolean
    Enable or disable the plugins.
    instanceId Number
    The CloudAMQP instance ID.
    name String
    The name of the Rabbit MQ community plugin.
    require String
    Required version of RabbitMQ.
    sleep Number

    Configurable sleep time (seconds) for retries when requesting information about community plugins. Default set to 10 seconds.

    Note: Available from [v1.29.0]

    timeout Number

    Configurable timeout time (seconds) for retries when requesting information about community plugins. Default set to 1800 seconds.

    Note: Available from [v1.29.0]

    Package Details

    Repository
    CloudAMQP pulumi/pulumi-cloudamqp
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the cloudamqp Terraform Provider.
    cloudamqp logo
    Viewing docs for CloudAMQP v3.27.0
    published on Saturday, Mar 14, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.