  We consider a defect solution in the AdS5 x S5 spacetime. This is the
generalization of the previous work [arXiv:1109.1927] to the other spacetime.
This also gives the generalization of Complexity and Action relation
[arXiv:1705.08424] including the flux. The equation of motion for an interface
is given and its solution is shown by the numerical calculation. We also
consider the Nambu-Goto action of the string affected by this interface. This
corresponds the quark-interface potential in the black hole spacetime.
