You want to change properties of mediation primitive at runtime. You need the Jython example to deploy a mediation module EAR file and modify the promoted properties using the wsadmin command.
The relevant Jython would contain the following:
You should also specify new properties during application installation using wsadmin using the following:
AdminApp.install('/path/to/Module.ear', '[-SIBSCAClientInstall [[,"