Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 14x 14x 14x 14x 14x 1x | /*
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
import { Construct } from 'constructs';
import { IRabbitMqBroker } from './rabbitmq-broker';
import { RabbitMqBrokerDeploymentBase, RabbitMqBrokerDeploymentProps } from './rabbitmq-broker-deployment';
import { BrokerDeploymentMode } from '../broker-deployment-mode';
export interface RabbitMqBrokerInstanceProps extends RabbitMqBrokerDeploymentProps {
}
/**
* A representation of a single-instance broker comprised of one broker in one Availability Zone behind a Network Load Balancer (NLB)
*/
export class RabbitMqBrokerInstance extends RabbitMqBrokerDeploymentBase implements IRabbitMqBroker {
constructor(scope: Construct, id: string, props: RabbitMqBrokerInstanceProps) {
super(scope, id, {
...props,
deploymentMode: BrokerDeploymentMode.SINGLE_INSTANCE,
});
}
} |