def METHOD_NAME(self):
    session_factory = self.replay_flight_data("test_connect_campaign_instance_config_filter")
    p = self.load_policy(
        {
            "name": "connect-instance-attribute-test",
            "resource": "connect-campaign",
            'filters': [
                {
                    'type': 'value',
                    'key': 'connectInstanceConfig.encryptionConfig.enabled',
                    'value': True
                }
            ]
        },session_factory=session_factory)
    resources = p.run()
    self.assertEqual(len(resources), 2)