cloudamqp.RabbitConfiguration
Explore with Pulumi AI
Import
cloudamqp_rabbitmq_configuration
can be imported using the CloudAMQP instance identifier.
$ pulumi import cloudamqp:index/rabbitConfiguration:RabbitConfiguration config <instance_id>`
Create RabbitConfiguration Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RabbitConfiguration(name: string, args: RabbitConfigurationArgs, opts?: CustomResourceOptions);
@overload
def RabbitConfiguration(resource_name: str,
args: RabbitConfigurationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def RabbitConfiguration(resource_name: str,
opts: Optional[ResourceOptions] = None,
instance_id: Optional[int] = None,
channel_max: Optional[int] = None,
cluster_partition_handling: Optional[str] = None,
connection_max: Optional[int] = None,
consumer_timeout: Optional[int] = None,
heartbeat: Optional[int] = None,
log_exchange_level: Optional[str] = None,
max_message_size: Optional[int] = None,
queue_index_embed_msgs_below: Optional[int] = None,
sleep: Optional[int] = None,
timeout: Optional[int] = None,
vm_memory_high_watermark: Optional[float] = None)
func NewRabbitConfiguration(ctx *Context, name string, args RabbitConfigurationArgs, opts ...ResourceOption) (*RabbitConfiguration, error)
public RabbitConfiguration(string name, RabbitConfigurationArgs args, CustomResourceOptions? opts = null)
public RabbitConfiguration(String name, RabbitConfigurationArgs args)
public RabbitConfiguration(String name, RabbitConfigurationArgs args, CustomResourceOptions options)
type: cloudamqp:RabbitConfiguration
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 RabbitConfigurationArgs
- 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 RabbitConfigurationArgs
- 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 RabbitConfigurationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RabbitConfigurationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RabbitConfigurationArgs
- 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 rabbitConfigurationResource = new CloudAmqp.RabbitConfiguration("rabbitConfigurationResource", new()
{
InstanceId = 0,
ChannelMax = 0,
ClusterPartitionHandling = "string",
ConnectionMax = 0,
ConsumerTimeout = 0,
Heartbeat = 0,
LogExchangeLevel = "string",
MaxMessageSize = 0,
QueueIndexEmbedMsgsBelow = 0,
Sleep = 0,
Timeout = 0,
VmMemoryHighWatermark = 0,
});
example, err := cloudamqp.NewRabbitConfiguration(ctx, "rabbitConfigurationResource", &cloudamqp.RabbitConfigurationArgs{
InstanceId: pulumi.Int(0),
ChannelMax: pulumi.Int(0),
ClusterPartitionHandling: pulumi.String("string"),
ConnectionMax: pulumi.Int(0),
ConsumerTimeout: pulumi.Int(0),
Heartbeat: pulumi.Int(0),
LogExchangeLevel: pulumi.String("string"),
MaxMessageSize: pulumi.Int(0),
QueueIndexEmbedMsgsBelow: pulumi.Int(0),
Sleep: pulumi.Int(0),
Timeout: pulumi.Int(0),
VmMemoryHighWatermark: pulumi.Float64(0),
})
var rabbitConfigurationResource = new RabbitConfiguration("rabbitConfigurationResource", RabbitConfigurationArgs.builder()
.instanceId(0)
.channelMax(0)
.clusterPartitionHandling("string")
.connectionMax(0)
.consumerTimeout(0)
.heartbeat(0)
.logExchangeLevel("string")
.maxMessageSize(0)
.queueIndexEmbedMsgsBelow(0)
.sleep(0)
.timeout(0)
.vmMemoryHighWatermark(0)
.build());
rabbit_configuration_resource = cloudamqp.RabbitConfiguration("rabbitConfigurationResource",
instance_id=0,
channel_max=0,
cluster_partition_handling="string",
connection_max=0,
consumer_timeout=0,
heartbeat=0,
log_exchange_level="string",
max_message_size=0,
queue_index_embed_msgs_below=0,
sleep=0,
timeout=0,
vm_memory_high_watermark=0)
const rabbitConfigurationResource = new cloudamqp.RabbitConfiguration("rabbitConfigurationResource", {
instanceId: 0,
channelMax: 0,
clusterPartitionHandling: "string",
connectionMax: 0,
consumerTimeout: 0,
heartbeat: 0,
logExchangeLevel: "string",
maxMessageSize: 0,
queueIndexEmbedMsgsBelow: 0,
sleep: 0,
timeout: 0,
vmMemoryHighWatermark: 0,
});
type: cloudamqp:RabbitConfiguration
properties:
channelMax: 0
clusterPartitionHandling: string
connectionMax: 0
consumerTimeout: 0
heartbeat: 0
instanceId: 0
logExchangeLevel: string
maxMessageSize: 0
queueIndexEmbedMsgsBelow: 0
sleep: 0
timeout: 0
vmMemoryHighWatermark: 0
RabbitConfiguration 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 RabbitConfiguration resource accepts the following input properties:
- Instance
Id int - The CloudAMQP instance ID.
- Channel
Max int - Set the maximum permissible number of channels per connection.
- Cluster
Partition stringHandling - Set how the cluster should handle network partition.
- Connection
Max int - Set the maximum permissible number of connection.
- Consumer
Timeout int - A consumer that has recevied a message and does not acknowledge that message within the timeout in milliseconds
- Heartbeat int
- Set the server AMQP 0-9-1 heartbeat timeout in seconds.
- Log
Exchange stringLevel Log level for the logger used for log integrations and the CloudAMQP Console log view.
Note: Requires a restart of RabbitMQ to be applied.
- Max
Message intSize - The largest allowed message payload size in bytes.
- Queue
Index intEmbed Msgs Below - Size in bytes below which to embed messages in the queue index. 0 will turn off payload embedding in the queue index.
- Sleep int
- Configurable sleep time in seconds between retries for RabbitMQ configuration. Default set to 60 seconds.
- Timeout int
- Configurable timeout time in seconds for RabbitMQ configuration. Default set to 3600 seconds.
- Vm
Memory doubleHigh Watermark - When the server will enter memory based flow-control as relative to the maximum available memory.
- Instance
Id int - The CloudAMQP instance ID.
- Channel
Max int - Set the maximum permissible number of channels per connection.
- Cluster
Partition stringHandling - Set how the cluster should handle network partition.
- Connection
Max int - Set the maximum permissible number of connection.
- Consumer
Timeout int - A consumer that has recevied a message and does not acknowledge that message within the timeout in milliseconds
- Heartbeat int
- Set the server AMQP 0-9-1 heartbeat timeout in seconds.
- Log
Exchange stringLevel Log level for the logger used for log integrations and the CloudAMQP Console log view.
Note: Requires a restart of RabbitMQ to be applied.
- Max
Message intSize - The largest allowed message payload size in bytes.
- Queue
Index intEmbed Msgs Below - Size in bytes below which to embed messages in the queue index. 0 will turn off payload embedding in the queue index.
- Sleep int
- Configurable sleep time in seconds between retries for RabbitMQ configuration. Default set to 60 seconds.
- Timeout int
- Configurable timeout time in seconds for RabbitMQ configuration. Default set to 3600 seconds.
- Vm
Memory float64High Watermark - When the server will enter memory based flow-control as relative to the maximum available memory.
- instance
Id Integer - The CloudAMQP instance ID.
- channel
Max Integer - Set the maximum permissible number of channels per connection.
- cluster
Partition StringHandling - Set how the cluster should handle network partition.
- connection
Max Integer - Set the maximum permissible number of connection.
- consumer
Timeout Integer - A consumer that has recevied a message and does not acknowledge that message within the timeout in milliseconds
- heartbeat Integer
- Set the server AMQP 0-9-1 heartbeat timeout in seconds.
- log
Exchange StringLevel Log level for the logger used for log integrations and the CloudAMQP Console log view.
Note: Requires a restart of RabbitMQ to be applied.
- max
Message IntegerSize - The largest allowed message payload size in bytes.
- queue
Index IntegerEmbed Msgs Below - Size in bytes below which to embed messages in the queue index. 0 will turn off payload embedding in the queue index.
- sleep Integer
- Configurable sleep time in seconds between retries for RabbitMQ configuration. Default set to 60 seconds.
- timeout Integer
- Configurable timeout time in seconds for RabbitMQ configuration. Default set to 3600 seconds.
- vm
Memory DoubleHigh Watermark - When the server will enter memory based flow-control as relative to the maximum available memory.
- instance
Id number - The CloudAMQP instance ID.
- channel
Max number - Set the maximum permissible number of channels per connection.
- cluster
Partition stringHandling - Set how the cluster should handle network partition.
- connection
Max number - Set the maximum permissible number of connection.
- consumer
Timeout number - A consumer that has recevied a message and does not acknowledge that message within the timeout in milliseconds
- heartbeat number
- Set the server AMQP 0-9-1 heartbeat timeout in seconds.
- log
Exchange stringLevel Log level for the logger used for log integrations and the CloudAMQP Console log view.
Note: Requires a restart of RabbitMQ to be applied.
- max
Message numberSize - The largest allowed message payload size in bytes.
- queue
Index numberEmbed Msgs Below - Size in bytes below which to embed messages in the queue index. 0 will turn off payload embedding in the queue index.
- sleep number
- Configurable sleep time in seconds between retries for RabbitMQ configuration. Default set to 60 seconds.
- timeout number
- Configurable timeout time in seconds for RabbitMQ configuration. Default set to 3600 seconds.
- vm
Memory numberHigh Watermark - When the server will enter memory based flow-control as relative to the maximum available memory.
- instance_
id int - The CloudAMQP instance ID.
- channel_
max int - Set the maximum permissible number of channels per connection.
- cluster_
partition_ strhandling - Set how the cluster should handle network partition.
- connection_
max int - Set the maximum permissible number of connection.
- consumer_
timeout int - A consumer that has recevied a message and does not acknowledge that message within the timeout in milliseconds
- heartbeat int
- Set the server AMQP 0-9-1 heartbeat timeout in seconds.
- log_
exchange_ strlevel Log level for the logger used for log integrations and the CloudAMQP Console log view.
Note: Requires a restart of RabbitMQ to be applied.
- max_
message_ intsize - The largest allowed message payload size in bytes.
- queue_
index_ intembed_ msgs_ below - Size in bytes below which to embed messages in the queue index. 0 will turn off payload embedding in the queue index.
- sleep int
- Configurable sleep time in seconds between retries for RabbitMQ configuration. Default set to 60 seconds.
- timeout int
- Configurable timeout time in seconds for RabbitMQ configuration. Default set to 3600 seconds.
- vm_
memory_ floathigh_ watermark - When the server will enter memory based flow-control as relative to the maximum available memory.
- instance
Id Number - The CloudAMQP instance ID.
- channel
Max Number - Set the maximum permissible number of channels per connection.
- cluster
Partition StringHandling - Set how the cluster should handle network partition.
- connection
Max Number - Set the maximum permissible number of connection.
- consumer
Timeout Number - A consumer that has recevied a message and does not acknowledge that message within the timeout in milliseconds
- heartbeat Number
- Set the server AMQP 0-9-1 heartbeat timeout in seconds.
- log
Exchange StringLevel Log level for the logger used for log integrations and the CloudAMQP Console log view.
Note: Requires a restart of RabbitMQ to be applied.
- max
Message NumberSize - The largest allowed message payload size in bytes.
- queue
Index NumberEmbed Msgs Below - Size in bytes below which to embed messages in the queue index. 0 will turn off payload embedding in the queue index.
- sleep Number
- Configurable sleep time in seconds between retries for RabbitMQ configuration. Default set to 60 seconds.
- timeout Number
- Configurable timeout time in seconds for RabbitMQ configuration. Default set to 3600 seconds.
- vm
Memory NumberHigh Watermark - When the server will enter memory based flow-control as relative to the maximum available memory.
Outputs
All input properties are implicitly available as output properties. Additionally, the RabbitConfiguration 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 RabbitConfiguration Resource
Get an existing RabbitConfiguration 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?: RabbitConfigurationState, opts?: CustomResourceOptions): RabbitConfiguration
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
channel_max: Optional[int] = None,
cluster_partition_handling: Optional[str] = None,
connection_max: Optional[int] = None,
consumer_timeout: Optional[int] = None,
heartbeat: Optional[int] = None,
instance_id: Optional[int] = None,
log_exchange_level: Optional[str] = None,
max_message_size: Optional[int] = None,
queue_index_embed_msgs_below: Optional[int] = None,
sleep: Optional[int] = None,
timeout: Optional[int] = None,
vm_memory_high_watermark: Optional[float] = None) -> RabbitConfiguration
func GetRabbitConfiguration(ctx *Context, name string, id IDInput, state *RabbitConfigurationState, opts ...ResourceOption) (*RabbitConfiguration, error)
public static RabbitConfiguration Get(string name, Input<string> id, RabbitConfigurationState? state, CustomResourceOptions? opts = null)
public static RabbitConfiguration get(String name, Output<String> id, RabbitConfigurationState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Channel
Max int - Set the maximum permissible number of channels per connection.
- Cluster
Partition stringHandling - Set how the cluster should handle network partition.
- Connection
Max int - Set the maximum permissible number of connection.
- Consumer
Timeout int - A consumer that has recevied a message and does not acknowledge that message within the timeout in milliseconds
- Heartbeat int
- Set the server AMQP 0-9-1 heartbeat timeout in seconds.
- Instance
Id int - The CloudAMQP instance ID.
- Log
Exchange stringLevel Log level for the logger used for log integrations and the CloudAMQP Console log view.
Note: Requires a restart of RabbitMQ to be applied.
- Max
Message intSize - The largest allowed message payload size in bytes.
- Queue
Index intEmbed Msgs Below - Size in bytes below which to embed messages in the queue index. 0 will turn off payload embedding in the queue index.
- Sleep int
- Configurable sleep time in seconds between retries for RabbitMQ configuration. Default set to 60 seconds.
- Timeout int
- Configurable timeout time in seconds for RabbitMQ configuration. Default set to 3600 seconds.
- Vm
Memory doubleHigh Watermark - When the server will enter memory based flow-control as relative to the maximum available memory.
- Channel
Max int - Set the maximum permissible number of channels per connection.
- Cluster
Partition stringHandling - Set how the cluster should handle network partition.
- Connection
Max int - Set the maximum permissible number of connection.
- Consumer
Timeout int - A consumer that has recevied a message and does not acknowledge that message within the timeout in milliseconds
- Heartbeat int
- Set the server AMQP 0-9-1 heartbeat timeout in seconds.
- Instance
Id int - The CloudAMQP instance ID.
- Log
Exchange stringLevel Log level for the logger used for log integrations and the CloudAMQP Console log view.
Note: Requires a restart of RabbitMQ to be applied.
- Max
Message intSize - The largest allowed message payload size in bytes.
- Queue
Index intEmbed Msgs Below - Size in bytes below which to embed messages in the queue index. 0 will turn off payload embedding in the queue index.
- Sleep int
- Configurable sleep time in seconds between retries for RabbitMQ configuration. Default set to 60 seconds.
- Timeout int
- Configurable timeout time in seconds for RabbitMQ configuration. Default set to 3600 seconds.
- Vm
Memory float64High Watermark - When the server will enter memory based flow-control as relative to the maximum available memory.
- channel
Max Integer - Set the maximum permissible number of channels per connection.
- cluster
Partition StringHandling - Set how the cluster should handle network partition.
- connection
Max Integer - Set the maximum permissible number of connection.
- consumer
Timeout Integer - A consumer that has recevied a message and does not acknowledge that message within the timeout in milliseconds
- heartbeat Integer
- Set the server AMQP 0-9-1 heartbeat timeout in seconds.
- instance
Id Integer - The CloudAMQP instance ID.
- log
Exchange StringLevel Log level for the logger used for log integrations and the CloudAMQP Console log view.
Note: Requires a restart of RabbitMQ to be applied.
- max
Message IntegerSize - The largest allowed message payload size in bytes.
- queue
Index IntegerEmbed Msgs Below - Size in bytes below which to embed messages in the queue index. 0 will turn off payload embedding in the queue index.
- sleep Integer
- Configurable sleep time in seconds between retries for RabbitMQ configuration. Default set to 60 seconds.
- timeout Integer
- Configurable timeout time in seconds for RabbitMQ configuration. Default set to 3600 seconds.
- vm
Memory DoubleHigh Watermark - When the server will enter memory based flow-control as relative to the maximum available memory.
- channel
Max number - Set the maximum permissible number of channels per connection.
- cluster
Partition stringHandling - Set how the cluster should handle network partition.
- connection
Max number - Set the maximum permissible number of connection.
- consumer
Timeout number - A consumer that has recevied a message and does not acknowledge that message within the timeout in milliseconds
- heartbeat number
- Set the server AMQP 0-9-1 heartbeat timeout in seconds.
- instance
Id number - The CloudAMQP instance ID.
- log
Exchange stringLevel Log level for the logger used for log integrations and the CloudAMQP Console log view.
Note: Requires a restart of RabbitMQ to be applied.
- max
Message numberSize - The largest allowed message payload size in bytes.
- queue
Index numberEmbed Msgs Below - Size in bytes below which to embed messages in the queue index. 0 will turn off payload embedding in the queue index.
- sleep number
- Configurable sleep time in seconds between retries for RabbitMQ configuration. Default set to 60 seconds.
- timeout number
- Configurable timeout time in seconds for RabbitMQ configuration. Default set to 3600 seconds.
- vm
Memory numberHigh Watermark - When the server will enter memory based flow-control as relative to the maximum available memory.
- channel_
max int - Set the maximum permissible number of channels per connection.
- cluster_
partition_ strhandling - Set how the cluster should handle network partition.
- connection_
max int - Set the maximum permissible number of connection.
- consumer_
timeout int - A consumer that has recevied a message and does not acknowledge that message within the timeout in milliseconds
- heartbeat int
- Set the server AMQP 0-9-1 heartbeat timeout in seconds.
- instance_
id int - The CloudAMQP instance ID.
- log_
exchange_ strlevel Log level for the logger used for log integrations and the CloudAMQP Console log view.
Note: Requires a restart of RabbitMQ to be applied.
- max_
message_ intsize - The largest allowed message payload size in bytes.
- queue_
index_ intembed_ msgs_ below - Size in bytes below which to embed messages in the queue index. 0 will turn off payload embedding in the queue index.
- sleep int
- Configurable sleep time in seconds between retries for RabbitMQ configuration. Default set to 60 seconds.
- timeout int
- Configurable timeout time in seconds for RabbitMQ configuration. Default set to 3600 seconds.
- vm_
memory_ floathigh_ watermark - When the server will enter memory based flow-control as relative to the maximum available memory.
- channel
Max Number - Set the maximum permissible number of channels per connection.
- cluster
Partition StringHandling - Set how the cluster should handle network partition.
- connection
Max Number - Set the maximum permissible number of connection.
- consumer
Timeout Number - A consumer that has recevied a message and does not acknowledge that message within the timeout in milliseconds
- heartbeat Number
- Set the server AMQP 0-9-1 heartbeat timeout in seconds.
- instance
Id Number - The CloudAMQP instance ID.
- log
Exchange StringLevel Log level for the logger used for log integrations and the CloudAMQP Console log view.
Note: Requires a restart of RabbitMQ to be applied.
- max
Message NumberSize - The largest allowed message payload size in bytes.
- queue
Index NumberEmbed Msgs Below - Size in bytes below which to embed messages in the queue index. 0 will turn off payload embedding in the queue index.
- sleep Number
- Configurable sleep time in seconds between retries for RabbitMQ configuration. Default set to 60 seconds.
- timeout Number
- Configurable timeout time in seconds for RabbitMQ configuration. Default set to 3600 seconds.
- vm
Memory NumberHigh Watermark - When the server will enter memory based flow-control as relative to the maximum available memory.
Package Details
- Repository
- CloudAMQP pulumi/pulumi-cloudamqp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudamqp
Terraform Provider.