π§ AWS MQ ActiveMQ Broker uses the single instance deployment mode - prod.logic.yamlπ’
- Contextual name: π§ prod.logic.yamlπ’
- ID:
/ce/ca/aws/mq/activemq-broker-deployment-mode/prod.logic.yaml - Tags:
- π’ Logic test success
- π’ Logic with extracts
- π’ Logic with test data
Usesβ
- π AWS MQ Broker
- π AWS MQ Broker - object.extracts.yaml
- π§ͺ test-data.json
Test Results π’β
Generated at: 2026-01-31T12:02:06.286742432Z Open
| Result | Id | Condition Index | Condition Text | Runtime 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β
| File | MD5 | |
|---|---|---|
| Open | /ce/ca/aws/mq/activemq-broker-deployment-mode/policy.yaml | DADE251304BE48276EFB985942C15215 |
| Open | /ce/ca/aws/mq/activemq-broker-deployment-mode/prod.logic.yaml | 418A6CA373597F6E0F5EEDABF5AFDCF7 |
| Open | /ce/ca/aws/mq/activemq-broker-deployment-mode/test-data.json | F449D02AD35672B4933CF71AB97D4246 |
| Open | /types/CA10__CaAwsMqBroker__c/object.extracts.yaml | 1D91E5184493B4B1AF50FC5A1E53B744 |
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β
---
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."