Skip to main content

🧠 AWS MQ ActiveMQ Broker uses the single instance deployment mode - prod.logic.yaml🟒

Uses​

Test Results πŸŸ’β€‹

Generated at: 2026-01-31T12:02:06.286742432Z Open

ResultIdCondition IndexCondition TextRuntime Error
🟒001βœ”οΈ 199βœ”οΈ extract('CA10__engineType__c') != 'ActiveMQ'βœ”οΈ null
🟒002βœ”οΈ 299βœ”οΈ extract('CA10__deploymentMode__c') == 'ACTIVE_STANDBY_MULTI_AZ'βœ”οΈ null
🟒003βœ”οΈ 399βœ”οΈ extract('CA10__deploymentMode__c') == 'SINGLE_INSTANCE'βœ”οΈ null
🟒004βœ”οΈ 400βœ”οΈ otherwiseβœ”οΈ null

Generation Bundle​

FileMD5
Open/ce/ca/aws/mq/activemq-broker-deployment-mode/policy.yamlDADE251304BE48276EFB985942C15215
Open/ce/ca/aws/mq/activemq-broker-deployment-mode/prod.logic.yaml418A6CA373597F6E0F5EEDABF5AFDCF7
Open/ce/ca/aws/mq/activemq-broker-deployment-mode/test-data.jsonF449D02AD35672B4933CF71AB97D4246
Open/types/CA10__CaAwsMqBroker__c/object.extracts.yaml1D91E5184493B4B1AF50FC5A1E53B744

Available Commands​

repo-manager policies generate FULL /ce/ca/aws/mq/activemq-broker-deployment-mode/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/aws/mq/activemq-broker-deployment-mode/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/aws/mq/activemq-broker-deployment-mode/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/aws/mq/activemq-broker-deployment-mode/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/aws/mq/activemq-broker-deployment-mode/prod.logic.yaml

Content​

Open File

---
inputType: "CA10__CaAwsMqBroker__c"
testData:
- file: test-data.json
importExtracts:
- file: /types/CA10__CaAwsMqBroker__c/object.extracts.yaml
conditions:
- status: "INAPPLICABLE"
currentStateMessage: "This policy applies only to ActiveMQ brokers."
check:
NOT_EQUAL:
left:
EXTRACT: CA10__engineType__c
right:
TEXT: "ActiveMQ"
- status: "COMPLIANT"
currentStateMessage: "The ActiveMQ Broker is using the active/standby deployment mode."
check:
IS_EQUAL:
left:
EXTRACT: CA10__deploymentMode__c
right:
TEXT: "ACTIVE_STANDBY_MULTI_AZ"
- status: "INCOMPLIANT"
currentStateMessage: "The ActiveMQ Broker is using the single-instance deployment mode."
remediationMessage: "Consider migrating to the active/standby deployment mode."
check:
IS_EQUAL:
left:
EXTRACT: CA10__deploymentMode__c
right:
TEXT: "SINGLE_INSTANCE"
otherwise:
status: "UNDETERMINED"
currentStateMessage: "Unexpected Amazon MQ ActiveMQ Broker deployment mode value."